Function at 0x140059010
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, qword [rbp + 0x290]
movsxd r14, dword [rbp + 0x298]
mov qword [rbp - 0x50], rcx
mov rbx, r8
mov r15, rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp + 0xe0]
mov edx, 0x104
mov qword [rbp - 0x48], rdi
mov dword [rsp + 0x60], r14d
mov qword [rbp - 0x70], rbx
mov dword [rbp + 0x60], 1
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, 0xffff
mov qword [rbp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
xor ecx, ecx
lea r8d, [rcx + 0x16]
mov edx, 0x1bf
mov dword [rbp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea ecx, [r14*4]
lea r12, [0x1400ed7c8]
add ecx, r15d
mov edx, 0xf8
mov qword [rbp], r12
mov dword [rbp - 8], ecx
xor ecx, ecx
mov qword [rbp - 0x10], rax
lea r8d, [rcx + 7]
mov qword [rbp + 8], r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x333
lea r8d, [rcx + 0xa]
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r13d, [r15*4]
lea rcx, str.toad
mov qword [rbp + 0x18], rax
mov eax, ebx
mov dword [rbp + 0x24], r13d
sub eax, edi
add eax, r15d
mov dword [rsp + 0x64], eax
mov dword [rbp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0x3aa
lea r8d, [rcx + 0x17]
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x3e2
lea r8d, [rcx + 0x1c]
mov qword [rbp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
mov qword [rbp - 0x78], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
sub r13d, edi
mov qword [rsp + 0x78], rax
movaps xmmword [rbp + 0x90], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0xa0], xmm1
sub r13d, 4
mov dword [rsp + 0x30], r13d
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0xb0], xmm0
movsd xmm0, qword [rbp + 0x30]
movsd qword [rbp + 0xd0], xmm0
movups xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [rbp + 0x70]
movsd qword [rbp + 0x50], xmm1
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x90]
lea rcx, [rbp + 0x40]
mov r9, rsi
mov rdx, rdi
mov qword [rsp + 0x20], r12
call fcn.1400b2a30
mov r12, rax
mov qword [rbp - 0x68], rax
cmp r13d, r14d
jl 0x140059314
sub r15d, edi
mov ecx, 0xffff
sub r15d, dword [rbp - 0x10]
sub r15d, r13d
add r15d, r14d
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea edx, [r15 + 4]
movsxd rsi, eax
lea rcx, [rbp - 0x38]
movzx r8d, sil
call fcn.1400bf030
movsx r12, sil
lea rdx, str.toad
mov r9, r14
mov r8, r12
xor ecx, ecx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rbx, r14
movups xmmword [rbp + 0x90], xmm0
movsd xmm0, qword [rax + 0x20]
movups xmmword [rbp + 0x40], xmm1
movsd qword [rbp + 0xb0], xmm0
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov ecx, dword [rbp - 0x70]
mov edx, r14d
imul edx, dword [rbp + 0x68]
mov edi, eax
xor eax, eax
lea r8, str.toad
imul ecx, dword [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
lea r14d, [rdx + rcx*2]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
add r14d, r14d
movsx edx, sil
mov dword [rsp + 0x30], ebx
sub r14d, dword [rbp - 0x78]
mov dword [rsp + 0x28], edx
lea ecx, [r15 + 4]
add r14d, dword [rbp + 0x40]
lea rdx, str.toad
mov r9d, r13d
mov eax, ebx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r9, str.netsuke
mov edx, r14d
mov ecx, edi
mov r8, rax
mov rbx, rax
call fcn.14009fd80
mov ecx, dword [rbp + 0x10]
mov rsi, qword [rbp - 0x78]
imul ecx, esi
mov rdi, qword [rbp - 0x48]
mov r15, qword [rsp + 0x70]
sub ecx, ebx
sub ecx, dword [rbp + 0xb0]
add r12d, 0xfffffffe
sub ecx, r14d
add ecx, edi
add ecx, r15d
add ecx, r12d
mov r12, qword [rbp - 0x68]
add ecx, eax
mov rdx, r12
add ecx, r12d
add ecx, r13d
call fcn.1400be4e0
mov r14d, dword [rsp + 0x60]
mov rbx, qword [rbp - 0x70]
imul ecx, dword [rsp + 0x78], 0xfffffffe
mov eax, r12d
xor edx, edx
mov r8d, 0x140
imul eax, r13d
sub ecx, eax
add ecx, r15d
add ecx, r14d
add ecx, dword [rsp + 0x64]
mov dword [rsp + 0x68], ecx
lea rcx, [rbp + 0xe0]
call fcn.1400e27d0
lea rdx, [rbp + 0xe0]
lea rcx, str.toad
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, r15d
lea r9, str.leaver
mov rdx, rax
mov qword [rbp - 0x80], rax
mov eax, dword [rbp + 0x28]
sub ecx, r12d
add eax, 4
lea r8, str.manservant
add eax, ecx
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x60], eax
lea rax, str.help
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov edx, 0x40
call fcn.14007d950
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
mov r8, qword [rbp - 0x40]
mov word [rsp + 0x6c], ax
lea eax, [r14*4]
mov ecx, r15d
sub ecx, esi
mov esi, 0x10
mov qword [rbp - 0x28], rsi
imul ecx, edi
add ecx, eax
lea eax, [r13 - 0xa]
lea edx, [rcx + r8*4]
mov ecx, edi
add eax, edx
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x68]
imul ecx, ebx
imul ecx, r14d
mov rbx, qword [rsp + 0x78]
lea edx, [rax + rax*2]
mov eax, dword [rsp + 0x60]
sub edx, ecx
mov ecx, edi
add edx, edx
sub edx, dword [rbp - 0x80]
sub edx, ebx
imul ecx, r14d
mov dword [rbp - 0x58], ecx
add edx, r15d
add edx, r8d
add edx, eax
add edx, r13d
mov dword [rbp - 0x5c], edx
mov dword [rbp - 0x34], edx
xor edx, edx
imul eax, r12d
imul eax, dword [rbp - 0x10]
add eax, eax
mov dword [rbp - 0x30], edx
mov edx, 0x2fa
sub ecx, eax
lea rax, str.c0a4
add ecx, edi
mov qword [rbp - 0x20], rax
add ecx, r15d
add ecx, r8d
mov dword [rbp - 0x2c], ecx
xor ecx, ecx
lea r8d, [rsi - 8]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
sub esi, dword [rbp + 0x70]
mov ecx, dword [rsp + 0x68]
imul ecx, r12d
add esi, esi
mov qword [rbp - 0x18], rax
mov eax, dword [rbp + 0x10]
sub esi, edi
mov dword [rbp - 0x60], ecx
imul eax, dword [rbp - 0x78]
add esi, esi
sub esi, eax
sub esi, r14d
add esi, ecx
add esi, r15d
add esi, dword [rbp - 0x80]
add esi, ebx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
mov qword [rbp + 0x40], rax
movzx eax, word [rsp + 0x6c]
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0xa0], xmm1
movsd xmm0, qword [rbp - 0x18]
movsd qword [rbp + 0xb0], xmm0
cmp al, sil
ja 0x1400594e0
lea r9, [rbp + 0x90]
lea r8, str.c4a2
lea rcx, [0x1400ed4fc]
movzx edx, al
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
call fcn.1400c8160
jmp 0x1400594e6
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, esi
mov qword [rsp + 0x70], rax
mov eax, dword [rbp + 0x68]
mov edi, r15d
imul ecx, dword [rsp + 0x60]
lea r8, [0x140001b00]
movsxd r9, r14d
xor edx, edx
imul eax, dword [rsp + 0x64]
lea ecx, [rax + rcx*4]
xor eax, eax
lea ecx, [rcx*4 + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
sub edi, ecx
xor ecx, ecx
sub edi, r14d
sub edi, ebx
add edi, dword [rsp + 0x78]
add edi, dword [rsp + 0x68]
add edi, dword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x70]
lea rdx, str.c5a0
mov r9, rax
mov r8d, edi
mov rbx, rax
call fcn.1400998d0
lea rcx, [rbp + 0x60]
mov dword [rsp + 0x64], eax
call fcn.14006bc50
mov rcx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x70]
xor edx, edx
movups xmm2, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movsd xmm0, qword [rax + 0x20]
movzx eax, word [rsp + 0x6c]
mov qword [rcx], rdx
imul r8d, r15d
movzx r9d, al
or rdx, 0xffffffffffffffff
psrldq xmm2, 8
movsd qword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xa0], xmm1
mov dword [rsp + 0x6c], r9d
movq rax, xmm2
inc rdx
cmp byte [rax + rdx], 0
jne 0x1400595b0
mov r15, qword [rbp - 0x40]
mov ecx, dword [rbp - 0x80]
mov r10, qword [rbp + 0x40]
sub ecx, r9d
mov r9, qword [rbp - 0x48]
mov r11, qword [rbp - 0x78]
shl ecx, 2
mov eax, r15d
imul r15d, dword [rsp + 0x60]
imul eax, dword [rsp + 0x60]
add r15d, r15d
sub ecx, eax
mov eax, r9d
imul eax, dword [rbp + 0x28]
add ecx, eax
mov eax, esi
imul esi, dword [rbp - 0x5c]
imul eax, dword [rbp - 0x38]
add ecx, eax
mov eax, dword [rsp + 0x78]
imul eax, r13d
add ecx, eax
mov rax, qword [rbp - 0x50]
sub ecx, dword [rbp - 0x58]
sub ecx, r12d
sub ecx, dword [rbp - 0x68]
add ecx, r8d
add ecx, ebx
imul r12d, r10d
add ecx, dword [rsp + 0x70]
add ecx, dword [rsp + 0x64]
add ecx, r10d
add ecx, edi
add ecx, dword [rsp + 0x68]
add ecx, r11d
sub ecx, edx
mov edx, 0x3e5
sub ecx, 0x75
mov dword [rax + 8], ecx
mov eax, dword [rbp + 0xb0]
lea ecx, [r14*4 + 1]
imul ecx, r9d
imul eax, ebx
mov rbx, qword [rbp - 0x50]
imul eax, dword [rsp + 0x64]
imul eax, edi
sub ecx, eax
lea eax, [r11 - 0x27b]
sub ecx, esi
add ecx, r12d
sub ecx, r15d
sub ecx, dword [rsp + 0x6c]
sub ecx, dword [rbp - 0x60]
sub ecx, dword [rsp + 0x70]
sub ecx, dword [rbp - 0x80]
sub ecx, r13d
add ecx, r8d
add ecx, dword [rsp + 0x78]
add ecx, dword [rbp + 0x10]
add eax, ecx
xor ecx, ecx
lea r8d, [rcx + 8]
mov dword [rbx + 0xc], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbx + 0x10], rax
mov rax, rbx
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret