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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rdx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r9, str.thong
lea rcx, [0x1400ed4d4]
mov r15, rax
mov qword [rbp - 0x50], rax
call fcn.1400846d0
lea rcx, [rbp + 0x180]
mov edx, 0x104
mov r13, rax
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r12, rax
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea rcx, str.opera
lea rdi, str.c0a3
xor r9d, r9d
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x28], al
mov r8b, 4
xor ecx, ecx
mov rdx, r12
mov word [rsp + 0x62], ax
mov qword [rsp + 0x20], rdi
call fcn.1400ae5b0
lea rcx, str.thong
mov r8d, 4
mov rdx, rdi
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
or r14, 0xffffffffffffffff
mov dword [rbp - 0x30], eax
lea rax, str.c1a6
mov rdi, r14
mov qword [rbp - 0x28], rax
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14005b8c1
movups xmm0, xmmword [rbp - 0x30]
mov eax, r15d
mov qword [rbp - 0x18], r12
sub eax, dword [rsp + 0x7c]
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rbp - 0x10]
add edi, eax
lea rdx, [rbp + 0x10]
xor ecx, ecx
movaps xmmword [rbp + 0x30], xmm0
mov dword [rbp - 0x20], edi
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x20], xmm1
call fcn.1400ccce0
mov byte [rsp + 0x60], al
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15, r14
mov qword [rbp - 0x48], rax
inc r15
cmp byte [rsi + r15], 0
jne 0x14005b921
movzx eax, byte [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
sub al, r12b
sub al, byte [rsp + 0x62]
add r15b, al
add r15b, byte [rbp - 0x50]
movzx r8d, r15b
call fcn.1400d29c0
mov r12, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r8, r14
mov qword [rbp - 0x60], rax
nop dword [rax + rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x14005b960
mov rax, r14
nop dword [rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x14005b970
movsx rcx, word [rsp + 0x62]
add r8d, eax
mov eax, dword [rsp + 0x7c]
movsx rdx, cl
add r8d, 0xb
imul edx, dword [rsp + 0x70]
imul edx, edi
movsx edi, cl
lea rcx, str.opera
imul edx, dword [rbp - 0x80]
shl edx, 2
sub eax, edx
lea rdx, [0x1400ed4d4]
add eax, r8d
mov r8d, edi
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
lea r8d, [rcx + 2]
mov edx, 0x27c
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx r9d, byte [rsp + 0x68]
mov r8d, dword [rsp + 0x64]
mov rcx, qword [rbp - 0x60]
xor edx, edx
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x20], rax
call fcn.1400b1f70
movzx r10d, byte [rsp + 0x68]
movzx r9d, r15b
mov qword [rbp - 0x40], rax
mov r8, r14
mov dword [rbp - 0x70], r9d
nop dword [rax + rax]
cmp byte [rsi + r8 + 1], 0
lea r8, [r8 + 1]
jne 0x14005ba10
mov rax, r14
nop
inc rax
cmp byte [r13 + rax], 0
jne 0x14005ba20
mov edx, dword [rbp - 0x30]
imul edi, dword [rbp - 0x80]
mov r13, qword [rbp - 0x58]
add edx, eax
movzx eax, byte [rsp + 0x60]
mov ecx, r10d
imul ecx, dword [rbp - 0x68]
imul eax, r9d
imul eax, dword [rsp + 0x70]
sub ecx, eax
add ecx, edi
mov rdi, qword [rbp - 0x50]
lea eax, [rdi + rdi]
sub ecx, eax
lea eax, [rdx + r8]
mov r8, r13
add ecx, 0xfffffff9
mov rdx, r13
add ecx, dword [rsp + 0x64]
add eax, ecx
lea rcx, [rbp - 0x30]
mov r9d, eax
mov dword [rsp + 0x6c], eax
call fcn.140095470
mov eax, dword [rsp + 0x6c]
cmp byte [rsp + 0x60], al
je 0x14005bb1b
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, r14
mov qword [rbp - 0x78], rax
nop dword [rax + rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x14005baa0
mov eax, dword [rsp + 0x7c]
imul ecx, dword [rbp - 0x60]
imul eax, edi
lea edx, [rcx + rax*2]
mov rax, r14
sub edx, dword [rbp - 0x70]
sub edx, dword [rbp - 0x48]
sub edx, r13d
sub edx, dword [rsp + 0x64]
nop dword [rax + rax]
cmp byte [rsi + rax + 1], 0
lea rax, [rax + 1]
jne 0x14005bad0
lea edi, [rax - 1]
xor ecx, ecx
add edi, edx
mov rdx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, str.toad
lea r9, str.c0a3
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp - 0x78]
lea rdx, str.wetsuit
mov r8d, edi
mov qword [rsp + 0x20], rax
call fcn.14006ec30
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x64]
xor r9d, r9d
mov r8, r13
mov rdx, r13
mov rcx, r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, r14
mov dword [rsp + 0x78], eax
movzx eax, byte [rsp + 0x70]
imul byte [rbp - 0x48]
movzx edx, al
mov byte [rsp + 0x61], al
inc rcx
cmp byte [r12 + rcx], 0
jne 0x14005bb53
movzx eax, byte [rbp - 0x60]
imul byte [rbp - 0x68]
movzx edi, al
sub dil, r13b
add dil, dl
add dil, byte [rsp + 0x60]
add dil, byte [rsp + 0x62]
sub dil, cl
mov rcx, r14
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14005bb80
add dil, cl
xor ecx, ecx
mov byte [rsp + 0x60], dil
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
lea r8d, [rcx + 0x13]
mov edx, 0x21b
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx r8d, byte [rsp + 0x78]
lea rdx, str.nonconformist
mov rcx, rax
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
lea rcx, str.popsicle
movzx r9d, dil
mov qword [rsp + 0x20], r13
call fcn.14009bc60
mov rdx, r14
movzx edi, al
nop word [rax + rax]
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14005bbf0
mov rcx, r14
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x14005bc00
mov r8, qword [rbp - 0x60]
movzx eax, r15b
mov r15, qword [rbp - 0x58]
imul cl
movzx ecx, al
movzx eax, dl
imul bl
movzx ebx, byte [rsp + 0x60]
movzx r10d, al
movzx eax, dil
imul r13b
sub r10b, al
mov al, 0xd
sub r10b, cl
movzx ecx, r15b
imul byte [rsp + 0x6c]
shl cl, 2
sub r10b, al
mov rax, r14
sub r10b, cl
mov rcx, qword [rbp - 0x38]
sub r10b, byte [rsp + 0x61]
sub r10b, byte [rbp - 0x40]
sub r10b, byte [rbp - 0x68]
sub r10b, byte [rsp + 0x62]
add r10b, byte [rsp + 0x64]
add r10b, r8b
add r10b, bl
add r10b, byte [rsp + 0x78]
add r10b, byte [rbp - 0x80]
inc rax
cmp byte [rcx + rax], 0
jne 0x14005bc76
sub r10b, al
mov rax, r14
sub r10b, 7
mov byte [rsp + 0x61], r10b
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x14005bc90
shl r13b, 2
lea r9, str.c1a6
movzx ecx, r10b
sub r13b, r15b
dec r13b
add r13b, r13b
sub r13b, byte [rbp - 0x48]
sub r13b, byte [rbp - 0x50]
add r13b, byte [rbp - 0x78]
add r13b, dil
add r13b, r8b
lea r8, str.c1a4
add r13b, dl
mov rdx, qword [rsp + 0x70]
add r13b, byte [rsp + 0x68]
sub r13b, al
mov byte [rsp + 0x20], r13b
call fcn.1400a8eb0
mov rcx, r14
mov qword [rbp - 0x68], rax
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x14005bcf0
imul ecx, dword [rbp - 0x70]
movsx eax, r13b
imul edx, r15d, 0xfffffff6
add eax, dword [rbp - 0x80]
imul eax, dword [rsp + 0x70]
sub edx, eax
movsx rax, byte [rsp + 0x78]
sub edx, ecx
add edx, eax
mov rax, r14
sub edx, dword [rbp - 0x78]
sub edx, dword [rbp - 0x60]
inc rax
cmp byte [rsi + rax], 0
jne 0x14005bd23
lea r12d, [rdx + 3]
lea rcx, [rbp + 0x40]
mov r8d, 0x140
xor edx, edx
add r12d, eax
call fcn.1400e27d0
mov rcx, qword [rbp - 0x68]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea r8, str.c3ret
mov ecx, r12d
mov rdx, rax
mov r13, rax
call fcn.1400b62f0
movzx ecx, bl
mov r15, rax
cmp r12d, ecx
je 0x14005bdba
call fcn.14008c070
mov rax, qword [rbp - 0x58]
mov dword [rbp + 0x18], 8
mov qword [rbp + 0x10], rax
lea rax, str.c0a0
lea r8, [0x1400ed4d4]
movups xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x20], rax
lea rdx, [rbp - 0x30]
lea rcx, str.streetcar
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rbp + 0x20]
movsd qword [rbp - 0x20], xmm1
call fcn.140070750
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp - 0x78], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r8, qword [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x78]
mov byte [rsp + 0x28], al
mov rax, qword [rbp - 0x50]
lea rdx, str.demur
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], rax
call fcn.1400c24e0
mov dword [rsp + 0x70], eax
movzx eax, word [rsp + 0x62]
cmp byte [rsp + 0x61], al
jne 0x14005bef2
xor ecx, ecx
mov edx, 0x126
lea r8d, [rcx + 0x1d]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, r14
inc rdx
cmp byte [r15 + rdx], 0
jne 0x14005be25
mov r10d, dword [rsp + 0x6c]
movzx eax, r10b
add al, al
sub dil, al
mov rax, qword [rbp - 0x58]
shl dil, 2
lea ecx, [rax + 1]
imul cl
mov ecx, dword [rsp + 0x68]
sub dil, al
movzx eax, cl
imul byte [rbp - 0x40]
sub dil, al
movzx eax, r13b
shl al, 2
add r13b, al
mov eax, dword [rsp + 0x64]
add dil, r13b
sub dil, byte [rbp - 0x68]
sub dil, bl
sub dil, byte [rsp + 0x78]
sub dil, byte [rbp - 0x80]
add dil, r12b
add dil, byte [rsp + 0x70]
add dil, al
add dil, byte [rbp - 0x78]
sub dil, dl
sub dil, 8
inc r14
cmp byte [rsi + r14], 0
jne 0x14005be91
xor edx, edx
movzx r9d, cl
lea r8, str.c3ret
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov rdx, qword [rbp - 0x38]
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x70]
mov ecx, r10d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r9d
add dil, r14b
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r9, str.c0a3
mov byte [rsp + 0x20], dil
call fcn.14009e960
lea rax, str.lemonade
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret