Function at 0x180062d50
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov word [rsp + 8], cx
push rsi
push rdi
sub rsp, 0x5c8
lea rdx, [0x18006ca60]
lea rcx, [rsp + 0x83]
call fcn.1800120f0
mov rcx, rax
call fcn.1800245e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180063003
mov rax, qword [rsp + 0x5f0]
cmp dword [rax + 0x28], 1
jg 0x180062db3
mov eax, 0x277a
jmp 0x180063005
lea rax, [0x1800754f0]
mov rdi, rax
mov rsi, qword [rsp + 0x5f8]
mov ecx, 0x78
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x34]
call fcn.180060dd0
mov qword [rsp + 0x48], rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x5f0]
mov eax, dword [rcx + rax + 0x2c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0
jmp 0x180062e08
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jge 0x180062e5e
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x274
mov rcx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x38]
cmp dword [rcx + rax + 0x24], edx
jne 0x180062e5c
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x274
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov r8d, 0x274
mov rdx, rax
lea rcx, [rsp + 0x340]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x180062e5e
jmp 0x180062dfe
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jl 0x180062e72
mov eax, 0x277a
jmp 0x180063005
mov dword [rsp + 0x3c], 0x104
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x354]
call sub.WS2_32.dll_WSCGetProviderPath
cmp eax, 0xffffffff
jne 0x180062ea8
mov eax, 0x277a
jmp 0x180063005
mov r8d, 0x104
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x180062ed2
mov eax, 0x277a
jmp 0x180063005
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x90]
call fcn.180060390
mov rcx, rax
call fcn.180003850
mov r8d, 8
xor edx, edx
mov rcx, rax
call fcn.18001ed60
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x90]
call fcn.180002d50
mov qword [rsp + 0x50], 0
lea rdx, [0x18006ca70]
lea rcx, [rsp + 0x78]
call fcn.1800122b0
mov rcx, rax
call fcn.180024650
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x368], 1
jne 0x180062f6a
lea rax, [rsp + 0x340]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0x5f8]
mov ecx, 0x78
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x600]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x5e8]
movzx ecx, word [rsp + 0x5e0]
call qword [rsp + 0x70]
mov dword [rsp + 0x40], eax
lea rax, [0x180075570]
mov rdi, rax
mov rsi, qword [rsp + 0x600]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov r8d, 0xf0
mov rdx, qword [rsp + 0x600]
lea rcx, [0x180075870]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x48]
call fcn.180060d20
mov eax, dword [rsp + 0x40]
jmp 0x180063005
xor eax, eax
add rsp, 0x5c8
pop rdi
pop rsi
ret