Function at 0x140049370
Capabilities:
Copy file
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x390], rax
movzx eax, cl
mov byte [rsp + 0x60], al
lea ebx, [rax*4]
mov dword [rsp + 0x6c], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rbp + 0x110]
xor edx, edx
mov r8d, 0x140
mov r15, rax
mov qword [rbp - 0x18], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x110]
lea rcx, str.anywhere
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea r8, [0x1400ed3f4]
mov rdx, r15
mov ecx, ebx
mov r12, rax
mov qword [rbp - 0x20], rax
call fcn.1400b62f0
lea rcx, [rbp + 0x250]
xor edx, edx
mov r8d, 0x140
mov r14, rax
call fcn.1400e27d0
lea rdx, [rbp + 0x250]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
lea rdi, str.c0ret
mov esi, eax
mov rcx, rdi
mov dword [rsp + 0x64], eax
call fcn.1400d7da0
mov qword [rsp + 0x30], rdi
lea rcx, [rbp + 0xd0]
mov r13, rax
mov qword [rbp - 0x10], rax
lea rax, str.pool
mov qword [rsp + 0x28], rax
lea rax, str.burst
mov r9, rdi
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.140086ec0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0xa0], xmm1
movsd xmm1, qword [rax + 0x30]
movups xmmword [rbp + 0xb0], xmm0
movzx eax, r15b
shl al, 2
lea ecx, [rax + r15]
movzx r15d, sil
movsd qword [rbp + 0xc0], xmm1
add cl, cl
sub r15b, cl
sub r15b, 0xe
add r15b, byte [rsp + 0x60]
movzx ecx, r15b
mov byte [rsp + 0x61], r15b
call fcn.1400833d0
or rdi, 0xffffffffffffffff
mov rsi, rax
cmp r15b, bl
jae 0x140049631
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx ebx, byte [rsp + 0x61]
mov rcx, rdi
mov r15, rax
lea rax, str.c0a2
mov qword [rbp - 0x70], rax
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140049511
imul ecx, ebx
lea eax, [r13*4]
xor r8d, r8d
add eax, r13d
mov edx, 0x36b
sub eax, dword [rbp + 0xa0]
lea ecx, [rcx + rax*4]
movzx eax, byte [rsp + 0x60]
sub ecx, dword [rbp - 0x18]
add eax, 0xfffffffb
add eax, ecx
xor ecx, ecx
mov dword [rbp - 0x68], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x60], rax
movzx eax, byte [rsp + 0x61]
lea r8, str.pool
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea rdx, str.burst
mov r9d, ebx
mov ecx, 2
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
mov edx, 0x20e
mov qword [rbp - 0x58], rax
mov rax, qword [rsp + 0x78]
lea r8d, [rcx + 1]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x40], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x62
lea r8d, [rdx - 0x56]
xor ecx, ecx
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8, [rbp + 0x40]
lea rdx, str.c0a2
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov rcx, r15
movaps xmmword [rbp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x50], xmm1
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x60], xmm0
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x70], xmm1
call fcn.140064c00
mov ebx, dword [rsp + 0x6c]
lea r8, [0x1400ed4fc]
lea rdx, str.c2a3
lea rcx, str.c3ret
call fcn.1400b48e0
mov dword [rbp - 0x70], 0x40
mov qword [rbp - 8], rax
lea rax, str.loft
mov qword [rbp - 0x68], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx ecx, byte [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov eax, r12d
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], r13
lea r15d, [rcx*8]
imul eax, r13d
mov edx, eax
mov dword [rbp + 8], eax
movzx eax, byte [rsp + 0x61]
imul edx, dword [rsp + 0x64]
lea r8d, [rax + rax*4]
mov dword [rsp + 0x70], edx
mov dword [rbp + 0x10], r8d
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x1400496b0
imul eax, dword [rsp + 0x78]
mov ecx, r15d
imul ecx, ebx
sub ecx, eax
mov rax, rdi
add ecx, r8d
add ecx, edx
add ecx, dword [rbp - 8]
add ecx, r12d
inc rax
cmp byte [rsi + rax], 0
jne 0x1400496d5
sub ecx, eax
lea rax, str.page
mov qword [rbp - 0x40], rax
lea rax, str.c0a2
add ecx, 3
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x48], ecx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp - 0x30], rax
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140049710
movzx eax, byte [rsp + 0x61]
imul ecx, eax
mov eax, r12d
imul eax, r13d
sub eax, ecx
mov rcx, rdi
lea edx, [rax + rbx*4]
mov rax, qword [rbp + 0x90]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140049737
lea eax, [rbx + rcx*4]
mov r12, rdi
add ecx, eax
nop dword [rax + rax]
inc r12
cmp byte [r14 + r12], 0
jne 0x140049750
lea eax, [rcx + rdx*2]
mov ecx, 0xffff
add r12d, eax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov edx, dword [rsp + 0x78]
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp - 0x60]
mov r8d, eax
mov dword [rbp - 0x80], eax
mov rax, qword [rbp - 0x20]
imul edx, dword [rsp + 0x64]
movaps xmmword [rbp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x50], xmm1
lea ecx, [rax + rax*4]
mov rax, qword [rbp - 0x18]
mov r9d, r12d
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x60], xmm0
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x80], xmm0
sub edx, ecx
lea ecx, [rax + rax]
movaps xmmword [rbp + 0x70], xmm1
sub edx, ecx
movzx ecx, byte [rsp + 0x60]
sub edx, r13d
mov r13d, dword [rbp + 0xb8]
add edx, ecx
lea eax, [r13 - 0x1b]
add eax, edx
lea rdx, [rbp + 0x40]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x20], r8d
call fcn.140074e50
lea rcx, str.astrolabe
mov qword [rbp], rax
call fcn.140083b20
movzx ecx, byte [rsp + 0x61]
mov rbx, rax
cmp dword [rsp + 0x68], ecx
jne 0x14004988d
call fcn.1400bd150
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140049813
sub r15d, ebx
sub r15d, dword [rsp + 0x68]
sub r15d, dword [rbp - 0x80]
sub r15d, dword [rbp - 0x10]
add r15d, dword [rbp]
add r15d, r13d
add r15d, dword [rsp + 0x6c]
sub r15d, ecx
add r15d, 0x37
mov dword [rbp + 0x18], r15d
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [rbp + 0x28], 1
mov qword [rbp + 0x20], rax
lea rax, str.satire
mov qword [rbp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13, qword [rsp + 0x78]
movups xmm0, xmmword [rbp + 0x18]
movups xmm1, xmmword [rbp + 0x28]
lea rcx, [rbp - 0x70]
mov r9, r13
xor r8d, r8d
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm1
mov edx, eax
call fcn.1400adc70
jmp 0x140049892
mov r13, qword [rsp + 0x78]
xor ecx, ecx
mov edx, 0x391
lea r8d, [rcx + 0x1a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, str.c0ret
lea rcx, str.c2a3
mov qword [rbp + 0x18], rax
lea rax, str.c2a4
mov r8d, r12d
mov qword [rbp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor r15d, r15d
lea r8d, [r15 + 0x18]
mov edx, 0x2c5
xor ecx, ecx
mov dword [rbp + 0x28], eax
mov qword [rbp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x70], rax
lea rax, str.chrome
mov dword [rbp - 0x60], r15d
mov r15, qword [rbp - 8]
mov qword [rbp - 0x68], rax
lea rax, str.aftershave
xor ecx, ecx
mov rdx, r15
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 0x48], 0
mov rcx, rdi
mov qword [rbp - 0x50], rax
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140049920
mov r8d, dword [rsp + 0x6c]
mov r9, qword [rbp]
mov eax, r9d
mov edx, r8d
imul eax, dword [rbp - 0x10]
imul edx, r8d
add edx, eax
lea eax, [r13*2]
sub edx, eax
mov rax, rdi
sub edx, dword [rbp + 0x10]
sub edx, dword [rbp + 8]
add edx, dword [rsp + 0x64]
sub edx, ecx
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140049960
add edx, 0xfffffff5
add eax, edx
mov rdx, rdi
mov dword [rbp - 0x40], eax
inc rdx
cmp byte [r14 + rdx], 0
jne 0x140049974
mov ecx, dword [rbp - 0x18]
mov r13d, dword [rsp + 0x68]
mov eax, ebx
imul eax, r9d
imul ecx, r8d
movzx r8d, byte [rsp + 0x60]
imul eax, r13d
sub ecx, eax
add ecx, dword [rsp + 0x70]
add ecx, r8d
add ecx, r15d
add ecx, dword [rbp - 0x20]
sub ecx, edx
add ecx, 3
mov dword [rbp - 0x3c], ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15, rdi
mov rdx, rax
mov qword [rbp + 8], rax
inc r15
cmp byte [r14 + r15], 0
jne 0x1400499c1
movups xmm0, xmmword [rbp - 0x70]
movups xmm1, xmmword [rbp - 0x60]
mov eax, dword [rbp + 0xc0]
movzx r9d, byte [rsp + 0x60]
movzx ecx, byte [rsp + 0x61]
add eax, eax
sub r9d, eax
mov eax, dword [rbp - 0x20]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmmword [rbp + 0xe0], xmm1
movups xmm0, xmmword [rbp - 0x50]
movsd xmm1, qword [rbp - 0x40]
add r13d, 0xffffff0b
lea r8, [rbp + 0xd0]
imul eax, dword [rbp - 0x10]
movaps xmmword [rbp + 0xf0], xmm0
movups xmm0, xmmword [rbp + 0x18]
movsd qword [rbp + 0x100], xmm1
imul eax, eax, 0x19
add ecx, eax
movups xmm1, xmmword [rbp + 0x28]
lea eax, [rcx + r9*2]
mov r9, rdx
lea rdx, [rbp - 0x70]
add eax, ebx
xor ecx, ecx
movaps xmmword [rbp - 0x70], xmm0
add eax, r13d
add r15d, eax
lea rax, str.c2a2
movaps xmmword [rbp - 0x60], xmm1
mov qword [rsp + 0x30], rax
lea rax, str.c7a0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
call fcn.140064ce0
lea rcx, str.chard
xor edx, edx
mov dword [rsp + 0x70], eax
call fcn.14008c780
call fcn.1400c6d60
xor ecx, ecx
lea r8d, [rcx + 0x15]
mov edx, 0x3d9
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rax
mov qword [rbp + 0x10], rax
call fcn.1400c2da0
mov byte [rsp + 0x62], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1400a5280
mov rcx, rdi
nop dword [rax + rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140049ac0
movzx eax, byte [rsp + 0x78]
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp + 8]
imul cl
movzx ecx, al
movzx eax, r9b
imul cl
movzx edx, al
movzx eax, r8b
imul r15b
movzx ecx, al
movzx eax, byte [rbp + 0x18]
imul cl
add dl, al
movzx eax, byte [rsp + 0x61]
movzx ecx, dl
shl cl, 2
add dl, cl
add dl, dl
imul byte [rbp + 0xa0]
movzx ecx, al
movzx eax, r9b
sub cl, dl
mov rdx, qword [rbp - 8]
imul byte [rbp - 0x10]
sub cl, al
movzx eax, byte [rbp - 0x80]
add dl, 4
imul r12b
sub cl, al
mov al, 7
imul dl
add cl, al
mov rax, rdi
sub cl, byte [rsp + 0x68]
sub cl, r8b
sub cl, byte [rsp + 0x62]
sub cl, byte [rsp + 0x6c]
sub cl, byte [rbp - 0x18]
add cl, byte [rsp + 0x70]
add cl, byte [rsp + 0x64]
add cl, byte [rsp + 0x60]
add cl, byte [rbp + 0x10]
add cl, bl
add cl, byte [rbp]
nop dword [rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x140049b60
sub cl, al
nop dword [rax]
cmp byte [rsi + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x140049b70
lea eax, [rdi + rcx]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret