Function at 0x1400040c0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [r11 - 0xe8]
sub rsp, 0x1c0
mov rax, qword [0x14008b1c0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov qword [rsp + 0x78], rcx
mov rbx, r8
mov qword [r11 + 0x10], r12
lea rcx, [rbp + 0x50]
mov qword [r11 + 0x18], r15
mov rsi, rdx
call fcn.1400166d0
lea rcx, str._main_thread_
call fcn.140016850
mov r9d, dword [0x14008be84]
xor r14d, r14d
mov rax, qword gs:[0x58]
xor edi, edi
xor r15d, r15d
mov ecx, 8
xor r12d, r12d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rdi
mov rax, qword [rax + r9*8]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
mov rcx, qword [rcx + rax]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
mov rax, qword [rcx + 8]
mov r13, qword [rax + 0x18]
add r13, qword [rax + 0x10]
mov qword [rbp - 0x80], r13
test ebx, ebx
jle 0x1400041ec
mov r13d, ebx
mov rax, qword [rsi]
mov rbx, rax
cmp byte [rax], 0
je 0x140004188
nop dword [rax + rax]
inc rbx
cmp byte [rbx], 0
jne 0x140004180
sub rbx, rax
mov qword [rsp + 0x50], rax
mov edx, 0x18
mov qword [rsp + 0x58], rbx
call fcn.1400012c0
movaps xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x30], rax
test r14, r14
je 0x1400041b3
mov qword [rdi], rax
jmp 0x1400041bb
mov r14, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x20]
inc r15
mov qword [rax], 0
add r12, rbx
add rsi, 8
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
mov rdi, rax
movups xmmword [rax + 8], xmm0
sub r13, 1
jne 0x140004170
mov r13, qword [rbp - 0x80]
movups xmm0, xmmword [rsp + 0x28]
mov rdx, rcx
lea r8, [rsp + 0x50]
movups xmm1, xmmword [rsp + 0x38]
lea rcx, [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.1400016f0
lea rcx, str.kernel32.dll
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rax + 0x50]
movsd qword [rbp - 0x20], xmm1
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, qword [rsp + 0x200]
mov rbx, rax
mov r12, qword [rsp + 0x1f8]
test rax, rax
je 0x14000429e
lea rdx, str.VirtualAlloc2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.MapViewOfFile3
mov rcx, rbx
mov qword [0x14008bdd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x14008bde0], rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x14008be10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [0x14008be58], 0
je 0x1400042c0
mov ecx, 0x800000
mov edx, 0x200000
jmp 0x1400042ca
mov ecx, 0x4000000
mov edx, 0x10000
call fcn.1400010e0
lea rcx, [rsp + 0x70]
mov qword [0x14008bde8], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
lea r8, [rsp + 0x28]
test eax, eax
mov ecx, 1
mov edi, 2
cmovne rcx, qword [rsp + 0x70]
mov edx, edi
mov qword [0x14008be48], rcx
mov rcx, qword [0x14008bde8]
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
call fcn.140005a60
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14000432a
add rax, 8
jmp 0x140004337
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [0x14008be38], xmm0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
movaps xmmword [rsp + 0x1b0], xmm6
mov ecx, r14d
mov ebx, r14d
mov rsi, rax
nop dword [rax + rax]
cmp word [rsi + rdi - 2], r14w
jne 0x14000440b
cmp rcx, rbx
je 0x140004417
mov rdx, qword [0x14008bde8]
lea rax, [rsi + rcx*2]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
mov rax, rbx
sub rax, rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x58], rax
call fcn.140015e10
mov rcx, qword [0x14008bde8]
mov edx, 0x18
movups xmm6, xmmword [rax]
call fcn.1400012c0
cmp qword [0x14008bdf0], r14
mov rdx, rax
je 0x1400043ca
mov rcx, qword [0x14008bdf8]
mov qword [rcx], rax
jmp 0x1400043d1
mov qword [0x14008bdf0], rdx
mov qword [0x14008bdf8], rdx
lea rcx, [rbx + 1]
mov qword [rax], r14
movdqa xmm0, xmm6
inc qword [0x14008be00]
mov rbx, rcx
psrldq xmm0, 8
movq rax, xmm0
add qword [0x14008be08], rax
add rdi, 2
movups xmmword [rdx + 8], xmm6
jmp 0x140004360
inc rbx
add rdi, 2
jmp 0x140004360
call fcn.140016910
lea rcx, [rbp - 0x70]
call qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov rdx, r13
call fcn.140001240
call fcn.140016780
movaps xmm6, xmmword [rsp + 0x1b0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400184d0
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret