Function at 0x180010be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x18008b218]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, r8
mov rbx, rdx
mov r12, rcx
mov qword [rbp + 0x40], r8
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov esi, r13d
movzx edx, r9w
lea r8d, [r13 + 0xa]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
jne 0x180010c56
mov rcx, rdi
call fcn.1800020b0
xor al, al
jmp 0x180010f7b
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180010c47
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
test r15, r15
jne 0x180010c8b
test eax, eax
je 0x180010c47
cmp qword [rdi + 0x10], r13
jbe 0x180010da4
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.1800069f0
nop
lea rcx, [rbp + 0xb0]
call fcn.180004500
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.180006600
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0xb0]
call fcn.180005a10
nop
lea eax, [r14 + 1]
mov ebx, eax
mov ecx, eax
call fcn.180040388
mov rsi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.18003c880
lea r9, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae r9, qword [rbp + 0x48]
mov r8d, r14d
mov rdx, rsi
mov rcx, r15
call fcn.180003be0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x180010d44
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010d3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010faa
call fcn.18001e5a4
movdqa xmm0, xmmword [0x1800649e0]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x180010d93
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010d8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010fb0
call fcn.18001e5a4
movdqa xmm0, xmmword [0x1800649e0]
movdqu xmmword [rbp + 0x78], xmm0
mov byte [rbp + 0x68], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rsi + r8], 0
jne 0x180010dc0
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1800022b0
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x88]
call fcn.180007070
nop
lea rax, [0x180068500]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 1
lea rsi, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x20], rsi
mov dword [rbp - 0x24], 0x78
mov qword [rsp + 0x58], r13
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.180014ce0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], rbx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x4c], edx
mov r8d, 1
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x60]
call fcn.18000ed90
nop
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.1800128f0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rbx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.18000f1a0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.18001cffc
nop
cmp qword [r12 + 8], 0
seta bl
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x180010f1c
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010f17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010f9e
call fcn.18001e5a4
movdqa xmm0, xmmword [0x1800649e0]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180010f69
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180010f64
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180010fa4
mov rcx, r8
call fcn.18001e5a4
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movzx eax, bl
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.18001e6b0
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800400b4
nop
call fcn.1800400b4
nop
call fcn.1800400b4
nop
call fcn.1800400b4
int3