Function at 0x1400a5880
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x320
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov r12, qword [rsp + 0x370]
mov rbx, qword [rsp + 0x388]
mov rsi, rcx
mov r14, rdx
lea rcx, [rsp + 0x1d0]
mov r8d, 0x140
xor edx, edx
call fcn.1400e27d0
lea rdx, [rsp + 0x1d0]
lea rcx, str.ocelot
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, r14d
xor edx, edx
mov ecx, eax
sub ebp, ebx
inc ebx
mov r8d, 0x140
mov rdi, rax
imul ecx, ebp
add ebx, ecx
lea rcx, [rsp + 0x90]
call fcn.1400e27d0
lea rdx, [rsp + 0x90]
lea rcx, [0x1400ed4fc]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rdx, str.gown
lea rcx, str.hard_hat
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [r12 + r14]
add ecx, edi
lea edi, [rbp + 0x1a]
mov r15d, eax
add edi, ecx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r13d, r13d
cmp ebp, edi
je 0x1400a5a0e
lea r8, [0x140001b00]
mov r9d, edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebx
lea r8, str.rain
lea rdx, [0x1400ed4fc]
mov r9d, ebp
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 8
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8d, [r13 + 0x1c]
mov edx, 0x2bf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, str.c0a0
lea rcx, str.ocelot
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0x3ca
lea r8d, [rcx + 0x1a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, str.collar
lea rcx, str.rain
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
mov edx, 0x35e
lea r8d, [rcx + 0xb]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
cmp r15d, 8
je 0x1400a5aeb
xor r8d, r8d
mov edx, 0x348
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea rcx, [rsp + 0x1d0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x235
lea r8d, [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0xb4
lea r8d, [rcx + 0x15]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x1b0
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x161
lea r8d, [rcx + 3]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x90]
lea rcx, [0x1400edfa4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea r8, [0x140001b00]
mov r9d, ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x140001b00]
mov r9d, 8
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rbx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
lea r8d, [rcx + 0xe]
mov edx, 0x1a3
mov qword [rsi + 0x18], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 0x140
mov qword [rsi + 0x28], r13
mov qword [rsi + 0x20], rax
call fcn.1400e27d0
lea rdx, [rsp + 0x90]
lea rcx, str.rain
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsi + 0x38], r12
mov qword [rsi + 0x30], rax
mov rax, rsi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret