Function at 0x140038cd0
Capabilities:
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov edi, ecx
mov ebx, ecx
mov r12, r8
sub ebx, edx
mov qword [rbp], r8
mov esi, edx
imul edi, edx
mov dword [rsp + 0x44], edx
mov r14, rcx
mov dword [rsp + 0x50], edi
mov dword [rbp - 0x50], edi
mov dword [rbp - 0x4c], edi
mov dword [rbp - 0x48], edi
mov dword [rsp + 0x48], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rbp + 0x90]
mov qword [rbp - 0x40], rax
lea eax, [r14 + r12]
mov edx, 0x104
mov dword [rbp - 0x38], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rbp + 0x90]
mov edx, 0x104
mov dword [rbp - 0x28], r14d
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r15d, r14d
mov qword [rbp + 0x18], r12
mov r13, rax
lea rax, str.compulsion
sub r15d, r12d
mov qword [rbp + 0x20], rax
lea rax, str.blinker
mov dword [rbp + 0x28], r14d
mov dword [rsp + 0x58], r15d
mov dword [rbp + 0x10], r15d
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [rsp + 0x60]
movaps xmm0, xmmword [rbp + 0x10]
movaps xmm1, xmmword [rbp + 0x20]
mov qword [rbp + 0x40], rax
lea eax, [rsi + r15]
movzx r15d, r14b
movaps xmmword [rbp + 0x50], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x60], xmm1
mov dword [rbp + 0x48], eax
lea rax, [rbp + 0x50]
sub r15b, r12b
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rbp - 0x50]
mov r9, r13
mov ecx, ebx
mov byte [rsp + 0x28], r15b
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x40]
mov byte [rsp + 0x40], r15b
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov qword [rsp + 0x20], rax
call fcn.1400ac8a0
mov qword [rbp - 0x10], rax
movsx eax, r15b
mov dword [rsp + 0x4c], eax
cmp esi, eax
jae 0x14003919d
xor ecx, ecx
call fcn.14007baa0
xor ecx, ecx
mov edx, 0x256
lea r8d, [rcx + 4]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
or r15, 0xffffffffffffffff
mov qword [rbp - 8], rax
mov rsi, r15
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140038e50
mov eax, r13d
mov ecx, r14d
imul eax, edi
imul ecx, r12d
sub ecx, eax
mov eax, dword [rsp + 0x48]
sub ecx, dword [rbp + 0x40]
add eax, ecx
add esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
movsx rdx, byte [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov eax, 1
lea ecx, [r12 + r12*2]
sub eax, r13d
add ecx, ecx
mov dword [rsp + 0x6c], 8
mov dword [rbp - 0x60], ecx
mov qword [rsp + 0x78], r14
imul eax, r14d
sub eax, edx
mov edx, 0x258
sub eax, ecx
xor ecx, ecx
sub eax, dword [rbp + 0x40]
lea r8d, [rcx + 0x1d]
mov dword [rsp + 0x68], eax
lea rax, str.rack
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx rcx, byte [rsp + 0x40]
mov rdi, qword [rbp - 0x10]
mov qword [rbp - 0x80], rax
mov eax, dword [rsp + 0x48]
lea eax, [rax + rax*2]
add eax, eax
sub eax, ecx
mov ecx, dword [rsp + 0x4c]
add eax, r14d
add eax, edi
mov dword [rbp - 0x78], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, r12d
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
imul ecx, dword [rsp + 0x44]
mov r12d, dword [rsp + 0x50]
mov qword [rbp - 0x70], rax
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
mov eax, dword [rsp + 0x4c]
add r12d, 6
lea r9, str.c0a1
movups xmm0, xmmword [rbp - 0x80]
movsd xmm1, qword [rbp - 0x70]
lea r8, [rbp - 0x50]
mov edx, esi
movaps xmmword [rbp - 0x30], xmm0
movsd qword [rbp - 0x20], xmm1
imul eax, edi
sub ecx, eax
add ecx, r14d
add r12d, ecx
mov rcx, qword [rbp - 8]
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call fcn.1400a8220
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0
mov qword [rsp + 0x50], rax
lea rax, str.ride
mov rcx, r15
mov qword [rbp - 0x40], rax
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140038f90
imul ecx, edi
mov eax, r13d
imul eax, dword [rbp + 0x48]
sub eax, ecx
movsx rcx, byte [rsp + 0x40]
sub eax, ecx
sub eax, dword [rbp - 0x60]
sub eax, dword [rbp - 8]
sub eax, esi
add eax, r14d
add eax, dword [rsp + 0x60]
add eax, r12d
mov dword [rbp - 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov rsi, qword [rsp + 0x50]
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x34], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
mov edx, 0x2c2
mov dword [rbp - 0x28], eax
lea r8d, [rcx + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, r15
mov rdx, rax
mov qword [rbp - 0x60], rax
movzx eax, r14b
imul byte [rbp]
mov byte [rsp + 0x41], al
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140039003
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
sub r12b, sil
mov rsi, qword [rbp - 8]
add r12b, al
lea r8, [rsp + 0x60]
add r12b, byte [rsp + 0x60]
mov r9, rdx
movaps xmmword [rsp + 0x70], xmm1
add r12b, sil
add r12b, dil
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rbp - 0x30]
add r12b, r13b
sub r12b, cl
sub r12b, 4
mov byte [rsp + 0x28], r12b
mov dword [rsp + 0x20], 0x10
movaps xmmword [rbp - 0x80], xmm0
call fcn.140073170
mov rdi, rax
call fcn.1400938f0
mov ecx, eax
movzx eax, dil
imul cl
movzx r9d, al
inc r15
cmp byte [rbx + r15], 0
jne 0x140039073
mov rax, qword [rsp + 0x50]
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x10]
add al, al
movzx ecx, sil
sub sil, 8
sub cl, al
movzx eax, r13b
shl cl, 2
imul byte [rsp + 0x41]
add cl, al
movzx eax, r12b
imul r8b
sub al, 3
add cl, al
movzx eax, r8b
add cl, r9b
add cl, dl
imul byte [rbp - 0x34]
add r15b, cl
mov ecx, 1
movzx edi, al
movzx eax, byte [rsp + 0x40]
shl dil, 4
imul byte [rsp + 0x44]
add dil, al
sub dil, dl
add dil, r14b
add dil, r9b
add dil, sil
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x59
lea r8d, [rdx - 0x40]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x30], r13
lea rdx, str.c3a0
mov qword [rsp + 0x28], rax
lea rcx, str.c2a3
movzx r9d, dil
movzx r8d, r15b
mov qword [rsp + 0x20], rbx
call fcn.14009bc60
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor ecx, ecx
lea r8d, [rcx + 0xb]
mov edx, 0x1dd
mov esi, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
movzx r8d, al
mov ecx, esi
mov rdi, rax
call fcn.1400c52a0
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
movzx r9d, dil
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, qword [rbp]
mov esi, dword [rsp + 0x44]
movzx r15d, byte [rsp + 0x40]
lea rax, str.comportment
lea rdi, str.c0a1
lea rcx, str.cirrus
mov qword [rbp], rdi
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xor edx, edx
lea ecx, [r13*2]
add ecx, r13d
mov ebx, eax
lea rax, str.page
add ecx, ecx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
sub ecx, dword [rsp + 0x48]
mov qword [rsp + 0x78], rdx
mov r9d, ebx
movaps xmmword [rbp - 0x50], xmm0
movaps xmm0, xmmword [rbp]
add ecx, r14d
movdqa xmmword [rbp], xmm0
add ecx, dword [rbp - 0x10]
mov dword [rsp + 0x70], ecx
lea rcx, str.satire
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x40], xmm1
call fcn.14008eb10
cmp ebx, esi
ja 0x14003928d
mov eax, dword [rsp + 0x58]
mov ecx, r14d
mov edx, 0x104
add eax, ebx
movsx ebx, r15b
imul eax, r13d
sub ecx, eax
lea eax, [r13*4]
add ecx, 0xfffffffa
sub r14d, eax
movsx rax, r15b
add ecx, r12d
sub r14d, eax
add ecx, esi
add ebx, ecx
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, str.master
lea edx, [r14 - 0x10]
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov ecx, ebx
mov r9, rax
call fcn.140071090
lea rdx, str.waitress
mov rcx, r13
call fcn.1400c3df0
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x308]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret