Function at 0x1400c5b30
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
or rbp, 0xffffffffffffffff
mov rbx, r8
mov r13, rdx
mov rax, rbp
mov qword [rsp + 0xe0], rcx
nop
inc rax
cmp byte [r8 + rax], 0
jne 0x1400c5b70
mov ecx, edx
mov r14, rbp
sub ecx, eax
mov dword [rsp + 0x60], ecx
inc r14
cmp byte [r8 + r14], 0
jne 0x1400c5b85
add r14d, edx
lea rcx, [rsp + 0x4a0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0x120], rax
mov rax, rbp
inc rax
cmp byte [rbx + rax], 0
jne 0x1400c5bb0
imul eax, r13d
lea rcx, [rsp + 0x390]
mov edx, 0x104
mov dword [rsp + 0x128], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movzx r12d, byte [rsp + 0x128]
xor ecx, ecx
mov edx, 0x156
mov qword [rsp + 0x130], rax
lea r8d, [rcx + 0x1c]
sub r12b, 2
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
mov qword [rsp + 0x88], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x78], rax
mov r15, rbp
nop word [rax + rax]
cmp byte [rbx + r15 + 1], 0
lea r15, [r15 + 1]
jne 0x1400c5c20
lea r15d, [r15 + rdi*2]
movzx eax, r12b
mov edi, r13d
sub edi, dword [rsp + 0x130]
mov ecx, eax
mov dword [rsp + 0x64], eax
imul r15d, r13d
sub edi, r15d
add edi, 6
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rsp + 0x140]
xor edx, edx
mov r8d, 0x140
mov rsi, rax
mov qword [rsp + 0x48], rax
call fcn.1400e27d0
lea rdx, [rsp + 0x140]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
shl r12b, 2
mov r8d, r15d
mov rcx, rax
sub r12b, dil
mov qword [rsp + 0x90], rax
movzx eax, sil
mov rdx, rbx
imul dil
movzx esi, al
sub sil, cl
add cl, 6
sub sil, 0x20
sub r12b, sil
add r12b, r13b
add r12b, cl
lea rcx, [0x1400ed3f4]
add r12b, byte [rsp + 0x48]
add r12b, byte [rsp + 0x78]
add r12b, byte [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, eax
movsx rax, sil
mov qword [rsp + 0x58], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
movsx ecx, sil
mov qword [rsp + 0x98], rax
movzx eax, dil
mov dword [rsp + 0x3c], eax
imul ecx, eax
sub ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x90]
sub ecx, r15d
add eax, 2
add eax, ecx
mov ecx, 0xffff
mov dword [rsp + 0xf8], eax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov dword [rsp + 0x38], eax
cmp dil, byte [rsp + 0xf8]
je 0x1400c5d8b
xor ecx, ecx
mov edx, 0x2e2
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x2dc
lea r8d, [rcx + 0xb]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x26f
lea r8d, [rcx + 0x14]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x280]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
movsx rax, r12b
mov edx, r8d
mov ecx, r13d
mov qword [rsp + 0xe8], rax
movsx r12d, sil
add edi, 0xa
imul ecx, dword [rsp + 0x64]
imul edx, dword [rsp + 0x98]
imul r10d, eax, 0xb
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xb8], edx
mov dword [rsp + 0x80], r10d
imul eax, r15d
sub ecx, eax
mov eax, r12d
sub ecx, edx
movsx rdx, sil
sub ecx, r9d
add edx, 0xfffffff5
add ecx, r10d
add ecx, dword [rsp + 0x3c]
add ecx, edx
imul eax, edx
mov dword [rsp + 0x34], ecx
mov ecx, r13d
sub ecx, eax
sub ecx, r8d
sub ecx, r9d
sub ecx, dword [rsp + 0x78]
add edi, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r10d, dword [rsp + 0x3c]
mov esi, dword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
movzx r11d, byte [rsp + 0xf8]
add r9d, 0xfffffff5
mov eax, r12d
mov ecx, 3
shl eax, 4
lea r8d, [rsi + rsi*2]
sub ecx, eax
add r8d, r8d
mov eax, r10d
sub ecx, dword [rsp + 0x48]
mov dword [rsp + 0x40], r8d
imul eax, r9d
add ecx, ecx
sub ecx, eax
mov eax, r11d
imul eax, dword [rsp + 0xf8]
sub ecx, eax
mov rax, qword [rsp + 0x98]
sub ecx, dword [rsp + 0x70]
sub ecx, r15d
add ecx, eax
add ecx, r8d
mov dword [rsp + 0x68], ecx
mov ecx, dword [rsp + 0x34]
mov edx, ecx
imul edx, eax
mov r8d, edx
mov dword [rsp + 0xc0], edx
imul edx, r10d, 0xb
sub r8d, edi
lea edi, [rax + rax*4]
mov eax, edx
sub r8d, 5
mov dword [rsp + 0xb4], edx
mov rdx, qword [rsp + 0x90]
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0xbc], edi
imul eax, edx
imul eax, r9d
sub eax, ecx
sub eax, dword [rsp + 0x78]
sub eax, edi
add eax, r13d
add eax, r8d
add eax, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x88]
add edx, 0xfffffffe
add eax, edx
mov dword [rsp + 0x30], eax
mov rax, rbp
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1400c5ef0
mov edi, r13d
mov edx, 0x104
sub edi, r11d
sub edi, r8d
sub edi, ecx
lea rcx, [rsp + 0x280]
sub edi, dword [rsp + 0x60]
add edi, r10d
sub edi, eax
add edi, 0x168
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movsxd r9, dword [rsp + 0x34]
mov qword [rsp + 0xd0], rax
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
lea r8d, [rcx + 0xf]
mov edx, 0x391
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r8d, dword [rsp + 0x80]
mov r11d, dword [rsp + 0xd0]
imul r8d, dword [rsp + 0x3c]
imul r11d, edi
mov rdx, rax
mov qword [rsp + 0xc8], rax
mov rcx, rbp
mov dword [rsp + 0xb0], r8d
mov dword [rsp + 0xa8], r11d
nop
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400c5fc0
mov r9, qword [rsp + 0x78]
mov r10, qword [rsp + 0x90]
imul ecx, r13d
imul ecx, r13d
mov eax, r9d
imul eax, dword [rsp + 0x88]
sub ecx, eax
mov eax, dword [rsp + 0x34]
imul eax, dword [rsp + 0x98]
lea ecx, [rcx + rax*2]
mov eax, dword [rsp + 0x50]
add ecx, ecx
imul eax, dword [rsp + 0x68]
sub ecx, eax
lea eax, [r10 - 1]
imul eax, dword [rsp + 0x48]
add ecx, eax
mov eax, dword [rsp + 0x40]
imul eax, r15d
sub ecx, eax
movzx eax, byte [rsp + 0xf8]
sub ecx, eax
mov rax, qword [rsp + 0x58]
sub ecx, dword [rsp + 0x64]
add eax, 0xfffffff5
sub ecx, dword [rsp + 0x30]
sub ecx, r8d
mov r8, qword [rsp + 0xd8]
sub ecx, eax
mov rax, qword [rsp + 0x70]
add ecx, r11d
inc eax
add ecx, edx
add ecx, r8d
add ecx, dword [rsp + 0xa0]
add ecx, dword [rsp + 0x58]
add ecx, dword [rsp + 0x38]
add eax, ecx
mov rcx, qword [rsp + 0xe0]
mov dword [rcx], eax
lea rax, str.expansionism
mov qword [rcx + 8], rax
mov eax, r8d
mov r8d, dword [rsp + 0x48]
imul eax, dword [rsp + 0x38]
lea edx, [rax + rax*2]
mov rax, rbp
add edx, edx
mov dword [rsp + 0xac], edx
imul r8d, esi
mov dword [rsp + 0x60], r8d
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1400c60a0
mov rsi, qword [rsp + 0xe0]
imul eax, r13d
imul eax, dword [rsp + 0x64]
imul eax, dword [rsp + 0x130]
lea ecx, [rax*2 - 0x20]
mov eax, dword [rsp + 0x68]
lea eax, [rax + rax*4]
sub ecx, eax
sub ecx, r11d
mov r11, qword [rsp + 0x58]
sub ecx, dword [rsp + 0xc8]
lea eax, [r11 - 0xb]
sub ecx, dword [rsp + 0xa0]
sub ecx, dword [rsp + 0x30]
sub ecx, dword [rsp + 0x70]
sub ecx, eax
lea rax, [0x1400ed830]
sub ecx, r9d
mov qword [rsi + 0x18], rax
sub ecx, r15d
add ecx, dword [rsp + 0xb4]
add ecx, r8d
add ecx, dword [rsp + 0xe8]
add ecx, r11d
add ecx, dword [rsp + 0x50]
add ecx, edx
mov edx, 0x195
add ecx, dword [rsp + 0x48]
add ecx, dword [rsp + 0x98]
add ecx, r10d
add ecx, dword [rsp + 0xc0]
add ecx, dword [rsp + 0x88]
mov dword [rsi + 0x10], ecx
xor ecx, ecx
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbp
mov qword [rsi + 0x20], rax
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400c6160
mov r9, qword [rsp + 0xa0]
mov r11d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r10, qword [rsp + 0xc8]
mov edx, dword [rsp + 0x34]
add r8d, 0xfffffff5
lea eax, [r11 + r9*2]
add eax, eax
sub eax, dword [rsp + 0xb8]
sub eax, dword [rsp + 0x60]
sub eax, r10d
sub eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x30]
sub eax, edx
sub eax, dword [rsp + 0x70]
sub eax, r8d
mov r8, qword [rsp + 0x90]
sub eax, dword [rsp + 0x78]
sub eax, dword [rsp + 0xbc]
add eax, 0xffffffe7
add eax, dword [rsp + 0xa8]
add eax, r13d
add eax, dword [rsp + 0xac]
add eax, dword [rsp + 0xb0]
add eax, r8d
add ecx, eax
mov dword [rsi + 0x28], ecx
inc rbp
cmp byte [rbx + rbp], 0
jne 0x1400c61e6
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0xf8]
imul r12d, r8d
dec eax
shl r12d, 5
imul eax, dword [rsp + 0x48]
sub eax, r12d
sub eax, dword [rsp + 0x80]
sub eax, dword [rsp + 0x3c]
sub eax, r10d
sub eax, dword [rsp + 0xd0]
sub eax, dword [rsp + 0x38]
sub eax, edi
sub eax, dword [rsp + 0x30]
sub eax, r11d
sub eax, edx
sub eax, dword [rsp + 0x88]
add eax, ecx
mov rcx, qword [rsp + 0x58]
add eax, r13d
add ecx, 0xfffffff0
add eax, dword [rsp + 0xd8]
add eax, r9d
add eax, dword [rsp + 0x68]
add eax, ecx
add eax, dword [rsp + 0x40]
add eax, r15d
add eax, r14d
add ebp, eax
mov rax, rsi
mov dword [rsi + 0x2c], ebp
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x600]
add rsp, 0x5c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret