Function at 0x140001d30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14003d080]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, r8
mov rbx, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], r8
xor r12d, r12d
movzx edx, dx
xor ecx, ecx
lea r8d, [r12 + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x14000209a
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
je 0x14000209a
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r15d, eax
test eax, eax
je 0x14000209a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14000209a
mov rdx, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 1
jb 0x1400020a2
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140001df2
mov r9, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400371e4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x48]
call fcn.1400057a0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140001e24
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140004c30
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140001e9c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020a8
call fcn.140006930
movdqa xmm0, xmmword [0x1400374b0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call fcn.14002a220
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140003e90
nop
cmp qword [rbp + 0x48], 0
je 0x1400020ae
mov r8, r15
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.140004310
lea rcx, [rbp - 0x38]
call fcn.140004af0
test rax, rax
jne 0x140001f32
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 8], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x30]
and eax, 0x17
mov dword [rbp + rcx - 0x30], eax
mov edx, dword [rbp + rcx - 0x2c]
and edx, eax
jne 0x1400020b6
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call fcn.140003be0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x44], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
call fcn.140005fa8
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140001fd4
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000210a
call fcn.140006930
movdqa xmm0, xmmword [0x1400374b0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000201f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000201a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002110
mov rcx, r8
call fcn.140006930
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002064
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000205f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002094
mov rcx, r8
call fcn.140006930
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140006910
add rsp, 0x1e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140011cf0
nop
xor ecx, ecx
call fcn.14000d568
int3
call fcn.140001240
nop
call fcn.140011cf0
nop
xor ecx, ecx
call fcn.14000d568
int3
test dl, 4
je 0x1400020c4
lea rbx, [0x140037020]
jmp 0x1400020d9
test dl, 2
lea rbx, [0x140037038]
lea rax, [0x140037050]
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.1400013e0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140001bd0
lea rdx, [0x14003b748]
lea rcx, [rsp + 0x68]
call fcn.1400086fc
nop
call fcn.140011cf0
nop
call fcn.140011cf0
int3