Function at 0x14008d800
Capabilities:
Create thread
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r12, qword [rbp + 0x200]
movsx rax, cl
or rbx, 0xffffffffffffffff
mov r13, r9
mov esi, r8d
mov dword [rsp + 0x78], r8d
mov byte [rsp + 0x60], al
mov rcx, rax
mov qword [rbp - 0x80], rax
mov r14, rbx
mov r15, rdx
nop dword [rax + rax]
inc r14
cmp byte [rdx + r14], 0
jne 0x14008d860
movsx edi, al
imul r14d, ecx
mov eax, edi
sub eax, r9d
sub r14d, r9d
mov dword [rbp - 0x70], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x6c], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov qword [rbp - 0x60], r13
mov dword [rbp - 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rbx
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x58], eax
inc rdx
cmp byte [r12 + rdx], 0
jne 0x14008d8a2
mov eax, r13d
mov ecx, edi
imul eax, esi
sub ecx, eax
mov rax, rbx
sub ecx, edx
mov dword [rbp - 0x54], ecx
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x14008d8c0
mov rdi, qword [rbp - 0x80]
mov ecx, r14d
imul eax, edi
imul eax, r14d
sub eax, 6
mov dword [rbp - 0x50], eax
lea rax, str.canal
mov qword [rbp - 0x48], rax
lea rax, str.resident
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xffff
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov r9, qword [rsp + 0x70]
movups xmm0, xmmword [rbp - 0x70]
movups xmm1, xmmword [rbp - 0x60]
lea rcx, [0x1400ed3b4]
mov dword [rsp + 0x68], eax
lea r8, [rbp - 0x30]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rbp - 0x50]
movsd xmm1, qword [rbp - 0x40]
mov qword [rsp + 0x38], rcx
xor ecx, ecx
lea rdx, str.gladiolus
movaps xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm1
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, str.c0ret
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400da940
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [rax + 0x20]
movups xmmword [rbp - 0x20], xmm1
mov eax, dword [rsp + 0x68]
movsd qword [rbp - 0x10], xmm0
cmp byte [rsp + 0x60], al
je 0x14008d9a0
mov edx, 0x84
xor ecx, ecx
lea r8d, [rdx - 0x7d]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
imul eax, dword [rbp - 0x68], 0x36
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
sub eax, dword [rsp + 0x68]
add eax, 2
add eax, edi
add eax, edx
mov dword [rsp + 0x64], eax
nop dword [rax + rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14008d9c0
lea edx, [rdx + rdx*8]
lea eax, [r13*2]
add eax, r13d
add eax, eax
sub edx, eax
add edx, esi
add edx, edi
sub edx, ecx
xor ecx, ecx
sub edx, 5
mov dword [rsp + 0x70], edx
mov edx, 0x2a
lea r8d, [rdx - 0x22]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x6c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
imul edi, dword [rsp + 0x6c]
sub dword [rsp + 0x64], edi
mov edi, dword [rsp + 0x64]
sub edi, esi
sub edi, eax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
inc rbx
cmp byte [r15 + rbx], 0
jne 0x14008da31
mov eax, dword [rsp + 0x70]
mov r15d, dword [rsp + 0x78]
mov esi, dword [rsp + 0x6c]
imul eax, dword [rbp - 0x18]
imul ebx, r15d
imul ebx, dword [rbp - 0x80]
add ebx, eax
sub ebx, r13d
mov r13d, dword [rsp + 0x68]
sub ebx, edi
add r13d, 5
sub ebx, dword [rbp - 0x78]
add ebx, esi
add r13d, ebx
call qword [sym.imp.USER32.dll_GetActiveWindow]
movsx eax, byte [rsp + 0x60]
mov ebx, eax
cmp esi, eax
ja 0x14008daef
xor ecx, ecx
mov edx, 0x3c0
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x1e7
lea r8d, [rcx + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x40]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rbp + 0x40]
lea rcx, str.dirndl
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x1af
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x241
lea r8d, [rcx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov eax, edi
lea r8, [0x1400ed3b4]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r13d
mov r9d, r15d
mov rdx, r12
mov ecx, esi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rbp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor r8d, r8d
mov edx, 0x2f3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, 0x14
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp edi, ebx
jbe 0x14008db99
xor ecx, ecx
lea r8, [0x140001b00]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor edx, edx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rax, str.c9a1
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret