Function at 0x1400213c0
Capabilities:
Copy file
Create thread
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 - 0x2a8]
sub rsp, 0x3a8
movaps xmmword [rsp + 0x390], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x280], rax
movsxd r13, ecx
mov rsi, r9
mov qword [rsp + 0x70], r9
mov ecx, r13d
mov r14, r8
mov qword [rbp - 0x70], r8
mov r15, rdx
mov qword [rbp - 0x58], rdx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdx, r14
xor ecx, ecx
mov rdi, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, r14
xor ecx, ecx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea r8, [0x140001b00]
mov r9, r13
mov qword [rbp + 0x40], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rbp + 0x140]
xor edx, edx
mov r8d, 0x140
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x48], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x140]
lea rcx, str.cope
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor edx, edx
lea r8, [0x140001b00]
xorps xmm6, xmm6
mov qword [rsp + 0x28], rdx
mov r9, r13
xor ecx, ecx
mov qword [rbp + 0x58], rax
mov dword [rsp + 0x20], edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rbp + 0x100]
movaps xmm0, xmmword [rbp + 0x40]
movaps xmm1, xmmword [rbp + 0x50]
movaps xmmword [rbp + 0xe0], xmm6
mov qword [rbp + 0x78], rax
mov rdx, rdi
mov qword [rsp + 0x38], rsi
movaps xmmword [rbp + 0xc0], xmm0
movaps xmm0, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0xd0], xmm1
mov qword [rsp + 0x20], r12
movaps xmmword [rbp + 0xf0], xmm0
call fcn.1400a5880
movzx ecx, dil
shl cl, 3
mov byte [rsp + 0x61], cl
movups xmm0, xmmword [rax]
movups xmm2, xmmword [rax + 0x10]
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [rax + 0x20]
psrldq xmm2, 8
movzx eax, byte [r15 + 4]
imul r14b
movzx r14d, r13b
movaps xmmword [rbp + 0xe0], xmm0
sub r14b, al
movq rax, xmm2
sub r14b, sil
sub r14b, cl
sub r14b, al
add r14b, 0xa
add r14b, r12b
mov byte [rsp + 0x60], r14b
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15d, 8
mov r8d, r15d
mov edx, 0x37d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8d, [r15 + 0x13]
mov edx, 0xee
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r9d, [r15 + 0x18]
lea r8, [0x140001b00]
mov qword [rbp - 0x48], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov qword [rsp + 0x28], rdx
lea r8, [0x140001b00]
movzx r9d, r14b
xor ecx, ecx
mov dword [rsp + 0x20], edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, edi
movzx r14d, r14b
mov qword [rbp - 0x80], rax
shl ecx, 5
sub ebx, ecx
lea ecx, [r14 + 2]
add ecx, ebx
cmp ecx, 0x20
jg 0x14002161e
lea r8d, [r15 + 0x10]
mov edx, 0x235
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rax, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
lea r8d, [rax*4]
mov eax, dword [rbp + 0xf8]
imul eax, dword [rbp + 0x58]
mov edi, edx
lea r9d, [rsi*4]
mov dword [rbp - 0x68], r8d
movzx ebx, r13b
lea rcx, str.c1a5
imul edi, r13d
sub edi, eax
lea eax, [r14*8]
mov dword [rsp + 0x68], r9d
sub edi, eax
movzx eax, sil
add al, al
sub edi, r9d
sub bl, al
lea rax, str.monkey
add edi, 0xb
sub bl, dl
add edi, r8d
mov qword [rsp + 0x28], rax
sub bl, byte [rsp + 0x61]
mov r8d, edi
mov rdx, r12
sub bl, 0x3a
mov dword [rsp + 0x6c], edi
mov byte [rsp + 0x62], bl
mov byte [rsp + 0x20], bl
call fcn.1400bb990
movzx ebx, bl
or r14, 0xffffffffffffffff
mov rsi, rax
mov dword [rbp - 0x74], ebx
cmp edi, ebx
jne 0x140021bb8
movzx r8d, byte [rsp + 0x60]
mov rbx, qword [rbp + 0xe0]
mov rax, qword [rsp + 0x78]
mov ecx, ebx
add eax, 0xffffff63
imul ecx, r12d
imul ecx, r8d
lea edx, [rcx + rcx*2]
shl edx, 4
add edx, r13d
imul edx, dword [rsp + 0x70]
sub edx, r12d
add eax, edx
mov dword [rbp + 0x80], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx r8d, byte [rsp + 0x60]
mov edx, dword [rbp - 0x74]
mov qword [rbp + 0x88], rax
imul ecx, r8d, 0xfffffffb
lea rax, str.c0a2
mov r10d, r8d
mov r9d, edx
mov qword [rbp + 0x90], rax
lea eax, [rdi*4]
sub ecx, eax
lea eax, [rdx - 0xb]
sub ecx, dword [rsp + 0x70]
sub ecx, ebx
add ecx, dword [rbp - 0x80]
add ecx, r13d
add ecx, dword [rbp + 0x70]
add ecx, r12d
add eax, ecx
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], edi
mov dword [rbp + 0x98], eax
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], edx
lea rax, str.c1a6
mov qword [rbp + 0xa8], rcx
mov dword [rsp + 0x20], ecx
lea rdx, str.cope
lea r8, str.hard_hat
mov ecx, r10d
mov qword [rbp + 0xa0], rax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [rbp + 0xb8], 0x10
mov qword [rbp + 0xb0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, r14
mov rbx, rax
cmp byte [rsi + rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x1400217b2
movzx r8d, byte [rsp + 0x60]
mov r9, qword [rsp + 0x70]
lea edx, [rdx - 8]
mov ecx, r12d
mov qword [rbp - 0x10], r9
mov qword [rbp - 0x18], r12
mov dword [rbp - 8], 1
imul ecx, r8d
mov r8, qword [rsp + 0x78]
movups xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [rbp + 0x90]
imul eax, r8d, 0x19
sub ecx, eax
movaps xmmword [rbp - 0x10], xmm1
movaps xmm1, xmmword [rbp + 0xb0]
lea eax, [rcx + r13]
lea ecx, [rax + rdx*4]
mov rax, qword [rbp - 0x50]
imul edx, dword [rbp - 0x80], 0x1c
mov dword [rbp - 0x20], ecx
mov ecx, dword [rbp - 0x70]
dec edx
movaps xmmword [rbp + 0x10], xmm1
imul eax, dword [rbp + 0xc8]
imul ecx, dword [rsp + 0x68]
lea eax, [rax + rax*4]
imul edx, r12d
sub edx, eax
lea eax, [r9 + rdx]
lea r9, [rbp - 0x40]
mov rdx, rbx
add ecx, eax
add ecx, r13d
add ecx, r8d
lea r8, str.numismatist
add ecx, edi
mov dword [rbp - 0x1c], ecx
lea rcx, [rbp - 0x20]
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm0, xmmword [rbp + 0xa0]
movaps xmmword [rbp], xmm0
call fcn.1400bae70
mov r8d, dword [rbp - 0x74]
mov r9, qword [rbp - 0x70]
mov edx, dword [rbp - 0x80]
mov qword [rbp - 0x50], rax
mov eax, r12d
imul eax, r8d
mov dword [rsp + 0x64], eax
mov ecx, r9d
shl ecx, 6
sub edx, ecx
mov rcx, r14
imul eax, edi
sub edx, eax
mov dword [rbp - 0x60], eax
mov rax, qword [rsp + 0x78]
sub edx, r12d
sub edx, eax
lea eax, [r13 - 0x15]
add eax, edx
mov dword [rbp - 0x78], eax
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400218c0
mov eax, dword [rbp - 0x68]
mov r10, qword [rbp - 0x58]
mov rdi, qword [rbp + 0x70]
imul eax, dword [rsp + 0x6c]
movzx edx, byte [rsp + 0x60]
inc edi
mov dword [rbp - 0x20], 0x10
imul edi, r12d
add edi, eax
mov eax, r9d
imul eax, dword [r10 + 4]
add edi, eax
sub edi, ebx
sub edi, r8d
add edi, dword [rsp + 0x70]
add edi, r13d
add edi, edx
mov edx, 0x155
sub edi, ecx
xor ecx, ecx
lea r8d, [rcx + 0x12]
sub edi, 0xd
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, r14
mov qword [rbp - 0x18], rax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x140021922
mov r9, qword [rbp - 0x58]
mov r8, qword [rsp + 0x78]
movups xmm0, xmmword [rbp - 0x20]
mov ecx, dword [r9 + 0x10]
imul eax, ebx, 0xb
mov qword [rbp - 8], r12
movaps xmmword [rbp - 0x40], xmm0
sub ecx, eax
lea eax, [r8 + r8*4]
add r8d, 0x27
add ecx, eax
mov rax, qword [rbp - 0x80]
sub ecx, dword [rbp - 0x60]
sub ecx, dword [rsp + 0x70]
add eax, ecx
mov ecx, dword [rbp - 0x78]
add edx, eax
lea eax, [r13 + 3]
add eax, edx
mov edx, edi
mov dword [rbp - 0x10], eax
mov eax, dword [r9 + 8]
mov r9, r12
imul eax, r13d
sub eax, dword [rsp + 0x64]
sub eax, ebx
add eax, r8d
lea r8, [rbp - 0x40]
mov dword [rbp - 0xc], eax
lea rax, str.c0a2
mov qword [rsp + 0x20], rax
movups xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x30], xmm1
call fcn.1400b0390
mov qword [rbp - 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
mov r9d, eax
mov rax, qword [rbp - 0x60]
nop dword [rax + rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x1400219c0
mov r10, qword [rbp - 0x58]
movzx eax, r12b
imul byte [rsp + 0x6c]
movzx ecx, al
movzx eax, byte [rbp + 0x40]
imul byte [rsp + 0x70]
add cl, al
movzx eax, r12b
sub cl, dl
imul cl
movzx edx, al
movzx eax, byte [rbp - 0x50]
imul byte [rbp - 0x78]
movzx ecx, al
movzx eax, bl
imul cl
mov ecx, r9d
sub dl, al
movzx eax, r13b
imul byte [r10 + 8]
add dl, al
mov rax, qword [rbp - 0x48]
shl al, 2
sub dl, al
add dl, 0x21
add dl, byte [rbp - 0x80]
add dl, byte [rsp + 0x60]
mov byte [rsp + 0x61], dl
call fcn.1400cd6e0
mov dword [rsp + 0x64], eax
call fcn.140092f90
mov qword [rbp - 0x48], rax
call fcn.1400a7cd0
xor ecx, ecx
lea r8d, [rcx + 0x12]
mov edx, 0x3d3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, str.crib
mov r8, rax
mov qword [rbp + 0x20], rax
call fcn.140060080
mov edx, 0x6e
xor ecx, ecx
lea r8d, [rdx - 0x59]
mov qword [rbp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx r9d, byte [rsp + 0x61]
mov rcx, r14
mov r10d, r9d
mov qword [rbp - 0x40], rax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140021a85
mov rdx, qword [rbp - 0x48]
mov rax, r14
inc rax
cmp byte [rdx + rax], 0
jne 0x140021a95
mov r11d, dword [rsp + 0x64]
mov r8, qword [rsp + 0x78]
imul ecx, eax
mov rax, r14
imul ecx, r11d
imul ecx, r10d
add ecx, ecx
sub ecx, r8d
lea edx, [rcx + rcx*4]
nop
cmp byte [rsi + rax + 1], 0
lea rax, [rax + 1]
jne 0x140021ac0
lea eax, [rax + rax*2]
xor ecx, ecx
lea edx, [rdx + rax*8]
mov eax, dword [rbp - 0xc]
mov qword [rsp + 0x58], rcx
inc eax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov ecx, r10d
imul eax, r12d
add edx, eax
mov eax, edi
imul eax, dword [rbp - 0x78]
add edx, eax
lea eax, [r13 - 7]
sub edx, dword [rbp - 0x70]
sub edx, dword [rbp + 0x30]
sub edx, dword [rbp + 0x20]
sub edx, r8d
lea r8, str.numismatist
add edx, dword [rsp + 0x70]
add eax, edx
lea rdx, str.motel
mov dword [rbp - 0x38], eax
movzx eax, r9b
movzx r9d, byte [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edi
mov edi, dword [rsp + 0x6c]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, qword [rbp - 0x60]
mov r8d, r13d
mov rdx, rsi
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
mov edx, 0x1c4
lea r8d, [rcx + 6]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x80]
movups xmm0, xmmword [rbp - 0x40]
movsd xmm1, qword [rbp - 0x30]
mov qword [rsp + 0x38], rcx
lea rcx, str.crime
lea rdx, [rbp - 0x20]
movaps xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm1
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x20]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
call fcn.140084480
mov ebx, dword [rbp - 0x74]
movzx edx, byte [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov ecx, r12d
imul ecx, r12d
lea eax, [rax + rax*2]
lea r9, str.c2a5
lea r8, str.brush
lea ecx, [rcx + rax*4]
mov rax, qword [rbp - 0x58]
mov eax, dword [rax]
imul eax, r13d
lea r10d, [rax + rcx*4]
mov rax, qword [rbp + 0xf8]
imul ecx, edx, 0xffffffe4
imul eax, edx
add r10d, eax
lea eax, [rbx + rbx*2]
add eax, eax
mov edx, 0x40
mov dword [rsp + 0x64], r10d
sub ecx, eax
lea eax, [r12 + 8]
sub ecx, dword [rbp - 0x68]
add ecx, r13d
add ecx, dword [rsp + 0x68]
add eax, ecx
mov ecx, r10d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x68], eax
lea rax, str.c2ret
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call fcn.14007d950
mov rdx, rax
mov qword [rbp + 0x20], rax
test r13d, r13d
jg 0x140021d10
mov ecx, dword [rsp + 0x64]
xor eax, eax
mov edx, edi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x68]
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8, str.loan
lea rdx, str.wetsuit
mov r9d, eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
xor ecx, ecx
mov edx, 0x263
lea r8d, [rcx + 0x11]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0xe8
lea r8d, [rcx + 0x1d]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor edx, edx
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x30], rdx
mov qword [rsp + 0x28], rdx
movups xmm0, xmmword [rbp - 0x40]
movsd xmm1, qword [rbp - 0x30]
lea rax, str.gender
lea r9, [rbp - 0x20]
mov r8d, r15d
movaps xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm1
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400cbdd0
mov rdx, qword [rbp + 0x20]
nop dword [rax]
inc r14
cmp byte [rsi + r14], 0
jne 0x140021d10
sub r15b, byte [rsp + 0x70]
movzx eax, byte [rsp + 0x62]
shl r15b, 2
imul r14b
movzx ecx, al
mov al, 0x1e
imul cl
movzx ecx, al
movzx eax, r12b
imul byte [rsp + 0x68]
sub r15b, al
mov rax, qword [rsp + 0x78]
sub r15b, cl
mov ecx, 0x10
sub r15b, byte [rsp + 0x60]
add r15b, r13b
add r15b, byte [rbp - 0x70]
add dl, r15b
add dl, al
call fcn.1400b71f0
cmp dword [rsp + 0x6c], 0x40
movzx edi, al
jg 0x140021d99
xor ecx, ecx
mov edx, 0x323
lea r8d, [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, str.c10a2
mov r8, rax
mov rcx, rbx
call fcn.140066bc0
xor eax, eax
lea r8, [0x140001b00]
movzx r9d, dil
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400dd340
movaps xmm6, xmmword [rsp + 0x390]
add rsp, 0x3a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret