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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
movzx r12d, r8b
mov r14d, edx
mov rbx, rcx
call fcn.140014650
or rsi, 0xffffffffffffffff
mov r15, rax
mov qword [rsp + 0x68], rax
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140004bc0
movzx eax, r12b
lea rdx, [0x1400ed4d4]
sub al, r14b
sub al, r15b
add dil, al
movzx ecx, dil
call fcn.140013de0
lea rdx, [0x1400ed4d4]
lea rcx, [0x1400ed4d4]
mov r9, rax
mov r8, rax
mov r13, rax
mov qword [rsp + 0x78], rax
call fcn.14000ab40
mov qword [rbp + 0xe0], r13
mov r14, rax
lea rax, str.score
mov rdx, rsi
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x170]
mov r10d, dword [rax + 8]
nop dword [rax]
inc rdx
cmp byte [r14 + rdx], 0
jne 0x140004c30
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140004c40
mov r11, qword [rbp + 0x168]
mov ecx, r10d
mov r9d, 2
mov eax, r9d
add edx, r11d
imul ecx, r13d
imul ecx, r15d
sub eax, ecx
add edx, r8d
mov rcx, rsi
lea eax, [rdx + rax*2]
mov dword [rbp + 0xe8], eax
nop dword [rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140004c80
mov eax, r10d
imul eax, r11d
add ecx, eax
mov rax, rsi
imul ecx, r13d
sub r9d, ecx
sub r9d, dword [rbp + 0x158]
inc rax
cmp byte [rbx + rax], 0
jne 0x140004ca4
add r9d, eax
movzx r8d, dil
mov rax, rsi
mov dword [rsp + 0x60], r9d
mov dword [rbp + 0xec], r9d
mov dword [rsp + 0x70], r8d
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140004cd0
mov r9d, dword [rbp + 0x158]
add eax, 4
movsx r12, r12b
add eax, r8d
mov rcx, rsi
add eax, r13d
add eax, r9d
mov dword [rbp + 0xf0], eax
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140004d00
mov eax, r10d
add ecx, 2
sub eax, r8d
sub eax, r12d
sub eax, r13d
add eax, ecx
mov rcx, rsi
mov dword [rbp + 0xf4], eax
mov rax, qword [rbp + 0x170]
mov edx, dword [rax]
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140004d30
mov eax, edx
imul ecx, r9d
imul eax, r11d
sub ecx, eax
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x140004d50
imul eax, r13d
mov qword [rbp + 0x108], 0
sub ecx, eax
lea eax, [r15 + 2]
add ecx, r8d
add eax, ecx
mov dword [rbp + 0xf8], eax
lea rax, str.azimuth
mov qword [rbp + 0x100], rax
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140004d90
imul eax, r11d
lea ecx, [r13*2]
mov r15, rsi
sub eax, edx
lea edx, [rax - 2]
lea eax, [r8 + r8]
add edx, r8d
mov dword [rbp - 0x38], eax
mov dword [rsp + 0x64], edx
nop dword [rax + rax]
inc r15
cmp byte [rbx + r15], 0
jne 0x140004dc0
movups xmm0, xmmword [rbp + 0xd8]
movups xmm1, xmmword [rbp + 0xe8]
sub eax, ecx
sub eax, r10d
lea rcx, [rbp - 0x80]
sub eax, r13d
sub eax, r11d
add eax, r9d
add r15d, eax
mov r8d, r15d
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rbp + 0xf8]
movsd xmm1, qword [rbp + 0x108]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
call fcn.14000bcd0
lea rcx, str.cymbals
mov r13, rax
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x78], rcx
mov rcx, rsi
mov qword [rbp - 0x80], rax
inc rcx
cmp byte [r14 + rcx], 0
jne 0x140004e33
imul ecx, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x64]
mov edx, r12d
sub edx, ecx
mov ecx, dword [rsp + 0x70]
sub edx, ecx
sub edx, r15d
sub edx, eax
mov rax, rsi
add edx, r8d
nop dword [rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x140004e60
sub edx, eax
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x140004e70
movsx r12d, byte [rbp + 0x160]
add edx, eax
lea rax, str.streetcar
mov dword [rbp - 0x70], edx
xor edx, edx
mov r9d, r8d
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], ecx
lea rdx, [0x1400ed4d4]
mov r8, r13
mov ecx, r12d
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], 4
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rsi
mov qword [rbp - 0x58], rax
lea rax, str.monkey
mov qword [rbp + 0x80], rax
xor eax, eax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
nop dword [rax]
inc rcx
cmp byte [r13 + rcx], al
jne 0x140004f00
mov rax, qword [rbp + 0x170]
mov r8, qword [rsp + 0x78]
mov r13d, dword [rsp + 0x64]
mov edx, dword [rax + 8]
mov eax, r13d
imul eax, r8d
imul edx, r12d
add edx, eax
mov rax, rsi
sub edx, r15d
sub edx, dword [rsp + 0x68]
lea edx, [rdx + r8*2]
sub edx, ecx
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140004f40
add edx, eax
mov dword [rbp + 0x98], edx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsxd rcx, dword [rbp + 0x158]
xor edx, edx
lea r8, [0x1400ed4d4]
mov r9d, r12d
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], ecx
lea rdx, [0x1400ed4d4]
mov ecx, r15d
mov dword [rsp + 0x28], r12d
mov qword [rbp + 0xa0], rax
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0x61
xor ecx, ecx
mov qword [rbp + 0xa8], rax
lea r8d, [rdx - 0x4c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rsi
mov qword [rbp + 0xb0], rax
nop word [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140004fd0
movaps xmm0, xmmword [rbp + 0x80]
movaps xmm1, xmmword [rbp + 0x90]
movsx rax, byte [rbp + 0x160]
sub eax, r15d
add ecx, 4
lea rdx, [rbp + 0x30]
sub eax, dword [rsp + 0x60]
mov r8d, 0x10
movaps xmmword [rbp + 0x30], xmm0
movaps xmm0, xmmword [rbp + 0xa0]
movaps xmmword [rbp + 0x40], xmm1
add eax, ecx
lea rcx, [rbp - 0x10]
mov dword [rbp + 0xb8], eax
movaps xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rbp - 0x80]
movaps xmm1, xmmword [rbp + 0xb0]
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp], xmm1
movaps xmmword [rbp + 0x10], xmm0
call fcn.1400157e0
xor ecx, ecx
mov edx, 0x33f
lea r8d, [rcx + 0x14]
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, str.c2a1
mov rcx, rax
mov qword [rbp - 0x30], rax
call fcn.14000d680
xor ecx, ecx
mov edx, 0x331
lea r8d, [rcx + 0x13]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rsi
mov r10, rax
mov qword [rbp + 0x20], rax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140005090
mov r11, qword [rsp + 0x68]
movzx eax, byte [rbp + 0x168]
mov rdx, qword [rsp + 0x78]
imul cl
movzx r8d, al
movzx eax, dl
movzx ecx, r11b
add cl, cl
mov qword [rbp - 0x80], r11
mov dword [rbp - 0x70], 0x10
inc cl
mov dword [rbp - 0x60], 0x10
mov qword [rbp - 0x58], r11
imul cl
sub r8b, al
lea rax, str.c5ret
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], rax
mov rax, rsi
sub r8b, 6
nop dword [rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x1400050f0
mov ecx, 1
sub cl, al
movzx eax, dl
imul cl
movzx ecx, byte [rbp - 0x40]
shl cl, 2
lea r12d, [rcx + rax]
mov rcx, rsi
sub r12b, byte [rbp - 0x30]
nop dword [rax + rax]
inc rcx
cmp byte [r13 + rcx], 0
jne 0x140005120
add r12b, cl
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x140005131
movups xmm0, xmmword [rbp - 0x80]
movups xmm1, xmmword [rbp - 0x70]
add r12b, al
add r12b, dil
movzx edi, byte [rbp + 0x160]
lea r9, [rbp - 0x10]
add r12b, dil
mov rdx, r10
mov rcx, r11
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm1
mov byte [rsp + 0x20], r12b
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x10], xmm0
call fcn.1400097c0
mov r9d, dword [rbp + 0x158]
mov r8d, eax
mov dword [rsp + 0x60], eax
cmp r12b, r9b
je 0x14000526b
mov rax, qword [rbp - 0x20]
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x140005194
mov rax, rsi
inc rax
cmp byte [r14 + rax], 0
jne 0x1400051a0
imul ecx, eax
mov rax, qword [rbp + 0x170]
imul ecx, dword [rsp + 0x78]
mov edx, dword [rax + 8]
movsx eax, r12b
shl ecx, 4
imul edx, dword [rsp + 0x70]
imul eax, r8d
imul edx, dword [rsp + 0x68]
sub edx, eax
mov rax, rsi
sub edx, ecx
nop dword [rax + rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x1400051e0
imul eax, dword [rbp + 0x20]
lea eax, [rax + rax*4]
add edx, eax
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x1400051f7
imul eax, r9d
movsx rdi, dil
add edx, eax
xor eax, eax
sub edx, dword [rbp - 0x30]
mov qword [rbp - 0x10], rax
sub edx, dword [rbp - 0x40]
add edi, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
mov dword [rbp - 8], eax
mov rax, qword [rsp + 0x68]
lea r8d, [rcx + 4]
mov edx, 0x1e4
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8, str.c5a1
lea rdx, [rbp - 0x80]
movups xmm0, xmmword [rbp - 0x10]
movsd xmm1, qword [rbp]
lea ecx, [rdi + 4]
mov r9d, 8
mov qword [rsp + 0x20], rax
movaps xmmword [rbp - 0x80], xmm0
movsd qword [rbp - 0x70], xmm1
call fcn.140016b20
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx eax, ax
mov dword [rbp - 0x28], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov rdi, rax
mov qword [rbp + 0xd0], rax
lea rax, str.c2a1
lea r8d, [rcx + 0x1a]
mov edx, 0x3b7
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x3d6
lea r8d, [rcx + 0xa]
mov qword [rbp - 0x78], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
movsx ecx, r12b
mov r12d, dword [rsp + 0x70]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rbp - 0x70], rax
movsxd rax, r15d
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x64]
lea r9d, [rdx + 0x10]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x10
lea rdx, [0x1400ed4d4]
mov r8, rbx
mov dword [rsp + 0x28], r12d
mov dword [rbp - 0x68], 0x40
mov dword [rsp + 0x20], r15d
mov dword [rbp - 0x24], ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor r8d, r8d
mov edx, 0x1f8
xor ecx, ecx
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x50], rax
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140005340
imul eax, dword [rbp + 0x168]
imul r12d, dword [rsp + 0x78]
mov rcx, rsi
sub eax, r12d
sub eax, dword [rbp + 0x20]
sub eax, dword [rbp - 0x40]
sub eax, dword [rsp + 0x68]
add eax, dword [rsp + 0x60]
nop word [rax + rax]
inc rcx
cmp byte [r13 + rcx], 0
jne 0x140005370
mov r15, qword [rbp - 0x20]
sub eax, ecx
mov rcx, rsi
inc rcx
cmp byte [r15 + rcx], 0
jne 0x140005384
movaps xmm0, xmmword [rbp - 0x80]
movaps xmm1, xmmword [rbp - 0x70]
mov r12d, dword [rbp - 0x28]
add eax, 5
lea rdx, [0x1400ed4d4]
mov r9b, 0x40
add eax, ecx
mov r8, rdi
mov ecx, r12d
movaps xmmword [rbp + 0x30], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
mov dword [rbp - 0x48], eax
lea rax, str.brian
mov qword [rsp + 0x20], rax
movaps xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x60], xmm1
call fcn.1400096e0
lea rcx, [rbp - 0x80]
mov rdi, rax
call fcn.140018a40
mov rcx, rsi
nop word [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400053f0
mov eax, dword [rbp - 0x24]
movsx rdx, byte [rbp + 0x160]
mov r8d, dword [rsp + 0x60]
imul r12d, r8d
mov rdi, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x64]
neg edx
add edx, edx
sub edx, r12d
imul eax, edi
sub edx, eax
mov rax, rsi
sub edx, dword [rbp - 0x40]
add edx, r9d
sub edx, ecx
nop
inc rax
cmp byte [r14 + rax], 0
jne 0x140005430
add edx, eax
mov rax, rsi
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140005440
add eax, 9
mov qword [rbp + 0x40], rdi
add eax, edx
mov dword [rbp + 0x30], eax
lea rax, str.station
mov qword [rbp + 0x38], rax
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140005460
imul esi, dword [rbp + 0x158]
mov eax, dword [rbp - 0x38]
lea r14, str.c2a1
mov rdx, r15
mov rcx, r14
imul eax, dword [rbp + 0xf4]
add esi, eax
mov eax, dword [rbp + 0xa8]
imul eax, edi
add esi, eax
mov rax, qword [rbp + 0x170]
sub esi, dword [rax + 8]
lea rax, str.c2a0
sub esi, r8d
mov qword [rbp + 0x60], rax
lea rax, str.cattle
sub esi, r9d
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0xd0]
add esi, 0x50
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x48], esi
xor esi, esi
lea r8d, [rsi + 0x40]
mov qword [rbp + 0x50], rsi
mov dword [rbp + 0x58], esi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x10], rdi
mov ebx, eax
lea rax, str.shampoo
mov qword [rbp], rsi
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x30], rdi
movups xmm0, xmmword [rbp - 0x10]
movsd xmm1, qword [rbp]
mov byte [rsp + 0x28], al
lea rax, [rbp - 0x80]
lea r9d, [rsi + 1]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movsd qword [rbp - 0x70], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x80], xmm0
movaps xmm0, xmmword [rbp + 0x50]
lea rdx, [rbp + 0x80]
lea rcx, str.wound
mov r8d, ebx
mov qword [rsp + 0x20], rax
movaps xmmword [rbp + 0x90], xmm1
movaps xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0xa0], xmm0
movsd xmm0, qword [rbp + 0x70]
movsd qword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xb0], xmm1
call fcn.14000a600
lea edx, [rsi + 4]
lea rcx, str.c10ret
mov r8, r14
call fcn.14000d4a0
call fcn.140014650
mov rbx, qword [rsp + 0x250]
lea rax, str.spinach
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret