Function at 0x14001f510
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 - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
mov rax, qword [rbp + 0x258]
mov rbx, qword [rbp + 0x250]
movsxd r14, edx
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x68], rax
mov r13d, ecx
mov dword [rsp + 0x64], r14d
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmm1, xmmword [r9 + 0x10]
mov rax, rsi
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [r9]
movaps xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [r9 + 0x20]
movaps xmmword [rbp + 0x50], xmm0
inc rax
cmp byte [rbx + rax], 0
jne 0x14001f596
mov r12d, dword [rbp + 0x38]
xor edi, edi
lea r8, [0x140001b00]
mov r9, r13
xor edx, edx
xor ecx, ecx
imul r12d, r13d
sub r12d, eax
mov qword [rsp + 0x28], rdi
mov qword [rbp], rdi
mov dword [rbp - 0x74], r12d
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rbx
mov dword [rbp + 0x10], edi
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, r13
mov r8, r14
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea rcx, [rbp + 0x90]
xor edx, edx
mov r8d, 0x140
mov dword [rbp + 0x14], eax
call fcn.1400e27d0
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rbp + 0x48]
mov qword [rsp + 0x78], rax
mov eax, dword [rbp + 0x50]
lea r9, [0x1400ed3b4]
sub eax, r14d
mov qword [rbp - 0x60], r9
mov rcx, rsi
add eax, r8d
add eax, r13d
mov dword [rsp + 0x70], eax
mov dword [rbp - 0x58], eax
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], dil
jne 0x14001f650
imul ecx, r14d
mov r15d, r13d
mov rax, rsi
sub r15d, ecx
sub r15d, r8d
nop dword [rax]
inc rax
cmp byte [rbx + rax], dil
jne 0x14001f670
mov rcx, qword [rbp - 0x20]
sub r15d, eax
mov rax, rsi
mov dword [rbp - 0x54], r15d
inc rax
cmp byte [rcx + rax], dil
jne 0x14001f687
movups xmm0, xmmword [rbp - 0x60]
mov ecx, r8d
lea r8, [rbp - 0x60]
sub ecx, dword [rbp + 0x40]
mov edx, r12d
add ecx, r13d
sub ecx, eax
lea rax, [rbp + 0x60]
movaps xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [rbp]
mov dword [rbp - 0x50], ecx
mov qword [rsp + 0x30], rax
lea rax, str.fill
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rbp - 0x50]
movsd qword [rbp + 0x70], xmm1
movsd xmm1, qword [rbp + 0x10]
mov dword [rbp - 0x78], ecx
mov rcx, r9
mov dword [rsp + 0x28], 0x20
movsd qword [rbp - 0x50], xmm1
mov qword [rsp + 0x20], rax
call fcn.140088380
mov edx, 0xb
lea r8d, [rdx - 1]
xor ecx, ecx
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rsi
mov qword [rbp - 0x70], rax
nop dword [rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x14001f710
lea eax, [r13 - 2]
lea r8, [0x140001b00]
movsxd r9, r12d
add al, r14b
xor edx, edx
xor ecx, ecx
add al, byte [rbp - 8]
add dil, al
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x60], rax
xor eax, eax
lea r8, str.fill
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 0x20
mov dword [rsp + 0x30], r12d
mov r9d, r12d
mov rdx, rbx
mov ecx, r14d
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, r13d
mov dword [rbp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rsi
mov qword [rbp + 0x78], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x80], rax
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14001f7c0
imul ecx, dword [rbp + 0x38]
mov eax, r13d
mov edx, 0x17c
sub eax, ecx
mov rcx, qword [rsp + 0x78]
sub eax, ecx
mov qword [rbp - 0x30], rcx
xor ecx, ecx
sub eax, r15d
lea r8d, [rcx + 0x15]
add eax, 2
mov dword [rbp + 0x88], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rsp + 0x68]
mov qword [rbp - 0x28], rax
mov eax, dword [rbp + 8]
imul ecx, r14d
imul ecx, r13d
lea rdx, [0x1400ed3b4]
mov qword [rbp - 0x20], rdx
imul eax, dword [rsp + 0x70]
imul eax, r12d
add eax, eax
sub ecx, eax
mov dword [rbp - 0x18], ecx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400ed3b4]
mov r9, r13
mov rcx, rax
mov r8, r13
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov r9d, r12d
mov ecx, r13d
mov dword [rbp - 0x14], eax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0x20
lea rax, [0x1400ed3b4]
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], 0x20
mov r8, rax
mov rdx, rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp - 0x10], rax
mov rax, qword [rsp + 0x78]
lea rcx, [rbp + 0x90]
lea edx, [rax*4]
mov eax, dword [rsp + 0x68]
mov r8d, 0x140
imul eax, r13d
sub eax, dword [rbp - 0x80]
sub eax, edx
xor edx, edx
add eax, 2
add eax, r12d
mov dword [rbp - 8], eax
call fcn.1400e27d0
lea rdx, [rbp + 0x90]
lea rcx, str.fill
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x60]
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp + 0x20], xmm0
mov rcx, qword [rbp - 0x70]
lea r9, [rbp]
movzx edx, dil
call fcn.1400d6b00
mov r14, rax
cmp r12d, r13d
jle 0x14001f95d
mov edx, 8
xor ecx, ecx
lea r8d, [rdx + 0x14]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rax
call fcn.1400b94f0
mov rcx, rsi
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14001f960
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rbp + 0x50]
mov r9, qword [rbp - 0x80]
lea eax, [rdx*4]
mov rdx, qword [rsp + 0x68]
shl eax, 4
add eax, r12d
mov r12d, dword [rsp + 0x64]
imul r8d, edx
lea eax, [rax*2 + 0x10]
sub eax, r8d
add eax, dword [rsp + 0x70]
imul r12d, r13d
add eax, ecx
lea rcx, [rbp - 0x60]
add r12d, eax
add r12d, dword [rbp - 0x78]
mov r8d, r12d
call fcn.14009df20
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x60], rax
movups xmmword [rbp + 0x60], xmm0
movsd qword [rbp + 0x70], xmm1
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
xor edx, edx
movsx ecx, dil
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
movzx eax, ax
lea r8, str.vein
mov r9d, r13d
mov dword [rbp - 0x58], eax
movsx rax, dil
mov edi, dword [rsp + 0x64]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], ecx
mov rdx, rbx
mov ecx, r12d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r9, [rbp]
movups xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x50], rax
xor eax, eax
lea rcx, str.midwife
movaps xmmword [rbp], xmm0
mov qword [rbp - 0x48], rax
xor r8d, r8d
mov dl, 1
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 2
movups xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x10], xmm1
call fcn.140066100
mov qword [rbp - 0x70], rax
call fcn.140079de0
mov byte [rsp + 0x60], al
cmp edi, 0x20
je 0x14001fb26
mov rdx, rsi
inc rdx
cmp byte [r14 + rdx], 0
jne 0x14001fa83
mov r8, qword [rsp + 0x68]
movzx ecx, al
mov eax, dword [rbp - 8]
imul ecx, dword [rbp - 0x70]
lea eax, [rax*2 + 0x40]
imul edx, r8d
sub ecx, eax
mov rax, qword [rbp - 0x80]
lea edi, [rdx + rcx*2]
sub edi, dword [rbp + 0x70]
sub edi, r12d
sub edi, eax
sub edi, eax
add edi, r8d
add edi, r13d
add edi, dword [rsp + 0x78]
add edi, r15d
add edi, dword [rbp - 0x74]
nop word [rax + rax]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x14001fad0
sub edi, esi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ecx, edi
mov edx, eax
call fcn.1400c6b50
call fcn.14008f500
mov r9d, 4
lea r8d, [r9 - 2]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea rcx, str.manservant
movzx edx, al
call fcn.140079580
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [rsp + 0x64]
movzx eax, byte [rsp + 0x60]
movzx ecx, al
xor eax, eax
lea r8, str.vein
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 0x20
mov dword [rsp + 0x30], r12d
lea rdx, [0x1400ed3b4]
mov r9d, edi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret