Function at 0x140037040
Capabilities:
Create thread
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 - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r12d, edx
mov dword [rsp + 0x40], edx
mov r14, rcx
call fcn.1400a0640
mov dword [rbp + 0x20], 2
mov r15, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov qword [rbp + 0x28], rax
lea rax, str.tail
lea r8d, [rcx + 0x17]
mov qword [rbp + 0x30], rax
lea rax, str.leaver
mov edx, 0x324
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x38], 4
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0x48], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rsi, 0xffffffffffffffff
mov qword [rbp + 0x50], rax
mov rax, rsi
inc rax
cmp byte [r15 + rax], 0
jne 0x1400370d6
mov ecx, r12d
sub ecx, eax
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x1400370f0
movaps xmm0, xmmword [rbp + 0x20]
movaps xmm1, xmmword [rbp + 0x30]
add ecx, eax
mov dword [rbp + 0x58], ecx
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x70]
xor edx, edx
movaps xmmword [rbp - 0x30], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm1, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm1
call fcn.140084280
mov rbx, rsi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x30], xmm1
lea rax, str.sheet
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], rax
movups xmmword [rbp + 0x40], xmm0
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140037160
mov eax, 0xfffffff9
xor edx, edx
xor ecx, ecx
sub eax, r12d
add ebx, eax
mov dword [rbp + 0x80], ebx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [rbp + 0x90], 0x40
movups xmm0, xmmword [rbp + 0x70]
mov qword [rbp + 0x88], rax
lea rdx, [rbp - 0x30]
lea rcx, str.loan
movaps xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [rbp + 0x90]
movsd qword [rbp - 0x10], xmm0
movups xmm1, xmmword [rbp + 0x80]
xor r8d, r8d
movaps xmmword [rbp - 0x20], xmm1
call fcn.14007e5d0
mov edx, 0x12
lea r8d, [rdx - 7]
xor ecx, ecx
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x30], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 0x18]
mov edx, 0x147
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp - 0x20], rax
mov eax, 0xfffffffc
sub eax, ebx
mov dword [rbp - 0x18], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x65
lea r8d, [rdx - 0x57]
xor ecx, ecx
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [rbp - 0x78], 0x20
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, str.agreement
movups xmm0, xmmword [rbp - 0x80]
mov qword [rbp - 0x70], rax
xor r9d, r9d
mov dword [rsp + 0x20], 2
movaps xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rbp - 0x30]
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp - 0x40], xmm1
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [rbp - 0x10]
movaps xmmword [rbp - 0x70], xmm1
movsd qword [rbp - 0x60], xmm0
call fcn.140089e80
mov r13, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rbp + 0x110]
xor edx, edx
mov r8d, 0x140
mov rdi, rax
call fcn.1400e27d0
lea rdx, [rbp + 0x110]
lea rcx, str.washtub
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, [rbp + 0x250]
xor edx, edx
mov r8d, 0x140
mov rbx, rax
call fcn.1400e27d0
lea rdx, [rbp + 0x250]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea rax, str.drill
mov qword [rsp + 0x20], rax
lea r8, str.c2a0
lea rcx, [0x1400ed4d4]
mov r9, rbx
mov rdx, rdi
call fcn.1400ae870
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov rbx, rax
call fcn.14008ee80
mov qword [rsp + 0x68], rax
cmp r12d, 2
jae 0x14003734a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, str.economics
mov r8, rax
mov rdx, rdi
call fcn.1400d4530
call fcn.1400bab40
mov edx, 0x40
xor ecx, ecx
movzx r12d, al
call fcn.1400bdce0
mov rcx, rsi
mov qword [rsp + 0x58], rax
nop word [rax + rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x140037370
movzx eax, r12b
mov edi, 0xfffffff7
shl al, 6
sub dil, al
mov rax, rsi
sub dil, byte [rsp + 0x40]
sub dil, cl
inc rax
cmp byte [r14 + rax], 0
jne 0x140037394
add dil, al
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov dword [rsp + 0x44], eax
movsx rax, r12b
mov qword [rbp + 0x60], rax
inc rcx
cmp byte [r14 + rcx], 0
jne 0x1400373c1
add ecx, eax
mov eax, dword [rbp + 0x88]
add ecx, dword [rsp + 0x40]
add eax, 9
add eax, ecx
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov r9d, dword [rsp + 0x44]
movzx eax, ax
xor edx, edx
movzx ecx, dil
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x30], eax
call fcn.14007c280
lea rcx, [rbp + 0x110]
mov edx, 0x104
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
lea rcx, [rbp + 0xc0]
dec r12b
mov dword [rsp + 0x48], r12d
call fcn.1400d9370
lea r8, [0x140001b00]
movzx r9d, r12b
xor edx, edx
xor ecx, ecx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x90], xmm1
movsd xmm1, qword [rax + 0x40]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x80], xmm0
movups xmm0, xmmword [rax + 0x30]
movsd qword [rbp + 0xb0], xmm1
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
movaps xmmword [rbp + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
mov qword [rsp + 0x70], rax
call fcn.1400b7d70
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x50], 0
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
mov dword [rbp - 0x4c], eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [rbp - 0x80]
mov qword [rbp - 0x40], rax
mov rcx, rsi
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400374e5
mov rax, rsi
inc rax
cmp byte [r12 + rax], 0
jne 0x1400374f1
mov edx, dword [rsp + 0x4c]
imul ecx, eax
movzx eax, byte [rsp + 0x48]
imul edx, dword [rsp + 0x44]
imul ecx, eax
mov rax, rsi
imul ecx, dword [rsp + 0x70]
shl ecx, 3
sub edx, ecx
mov rcx, qword [rsp + 0x68]
inc rax
cmp byte [rcx + rax], 0
jne 0x140037521
imul eax, dword [rbp + 0x60]
sub edx, eax
movsx rax, dil
add edx, eax
mov rax, rsi
sub edx, dword [rsp + 0x40]
sub edx, dword [rsp + 0x78]
sub edx, dword [rsp + 0x58]
sub edx, dword [rbp - 0x20]
add edx, ebx
nop word [rax + rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x140037550
sub edx, eax
mov rax, rsi
inc rax
cmp byte [r14 + rax], 0
jne 0x140037560
movups xmm0, xmmword [rbp - 0x50]
add eax, 0xfffffffe
lea r8, [rbp - 0x80]
add eax, edx
movzx edx, byte [rsp + 0x50]
lea rcx, str.link
mov dword [rbp - 0x38], eax
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x70], xmm1
call fcn.14008d4c0
mov r8d, eax
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x1400375a0
mov ecx, 1
mov rdx, rsi
sub cl, al
movzx eax, byte [rsp + 0x58]
imul cl
movzx ecx, al
nop
inc rdx
cmp byte [r13 + rdx], 0
jne 0x1400375c0
movzx eax, byte [rsp + 0x50]
imul byte [rbp - 0x40]
add al, al
add dl, al
mov rax, qword [rbp + 0x10]
add dl, dl
sub cl, dl
mov rdx, rsi
inc rdx
cmp byte [rax + rdx], 0
jne 0x1400375e2
movzx eax, byte [rsp + 0x70]
imul dl
movzx edx, al
movzx eax, byte [rbp + 0x88]
imul dl
movzx edx, al
movzx eax, byte [rsp + 0x48]
imul dl
mov rdx, rsi
add cl, al
nop dword [rax]
inc rdx
cmp byte [r14 + rdx], 0
jne 0x140037610
movzx eax, byte [rsp + 0x40]
imul dl
mov rdx, rsi
add cl, al
movzx eax, bl
shl al, 2
add bl, al
sub cl, bl
inc rdx
cmp byte [r15 + rdx], 0
jne 0x140037630
mov al, 7
imul dl
add cl, al
mov rax, qword [rsp + 0x68]
sub cl, byte [rsp + 0x60]
sub cl, byte [rsp + 0x44]
sub cl, byte [rsp + 0x78]
sub cl, byte [rbp - 0x10]
add cl, byte [rsp + 0x4c]
add cl, byte [rbp + 0x44]
add cl, byte [rsp + 0x64]
add cl, r8b
add cl, dil
inc rsi
cmp byte [rax + rsi], 0
jne 0x140037665
sub cl, sil
lea eax, [rcx + 0x13]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret