Function at 0x471dc8
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1c0
mov qword [rbp + 0x10], rcx
lea rax, [0x0042d812]
mov qword [rsp + 0x30], rax
lea rax, [0x0042d6ed]
mov qword [rsp + 0x28], rax
lea rax, [0x0042d5b9]
mov qword [rsp + 0x20], rax
lea rax, [0x0042d0dd]
mov r9, rax
mov eax, 0x10
mov r8, rax
mov eax, 0x10
mov r11, rax
lea rax, [rbp - 0xf0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0042d868
mov eax, 0x78
mov r8, rax
lea rax, [rbp - 0xf0]
mov r11, rax
lea rax, [rbp - 0x78]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
call sub.kernel32.dll_GetEnvironmentStringsW
mov qword [rbp - 0xf8], rax
lea rax, [0x00677c67]
mov qword [rbp - 0x118], rax
mov eax, 0
mov dword [rbp - 0x110], eax
mov eax, 1
mov dword [rbp - 0x10c], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x118]
mov r11, rax
lea rax, [rbp - 0x108]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov rax, qword [rbp - 0xf8]
mov qword [rbp - 0x120], rax
mov rax, qword [rbp - 0x120]
movzx ecx, word [rax]
cmp ecx, 0
je 0x4720a8
mov rax, qword [rbp - 0x120]
mov r11, rax
lea rax, [rbp - 0x130]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00445b98
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x130]
mov r11, rax
lea rax, [rbp - 0x108]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [rsp + 0x20]
mov ecx, 0x10
mov r8, rcx
lea rcx, [rbp - 0x108]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x3d
mov r11, rax
lea r10, [rsp + 0x20]
mov rcx, r10
mov rdx, r11
call fcn.0043b1f9
mov dword [rbp - 0x134], eax
mov eax, dword [rbp - 0x134]
cmp eax, 0
jle 0x472081
lea rax, [rsp + 0x20]
mov ecx, 0x10
mov r8, rcx
lea rcx, [rbp - 0x108]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, dword [rbp - 0x134]
mov r9, rax
mov eax, 0
mov r8, rax
lea r11, [rsp + 0x20]
lea rax, [rbp - 0x158]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004398be
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x158]
mov r11, rax
lea rax, [rbp - 0x148]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, dword [rbp - 0x134]
add eax, 1
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov r8, rdx
lea rdx, [rbp - 0x108]
mov r11, rdx
mov r10, rcx
mov dword [rbp - 0x17c], eax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x7fffffff
mov r9, rax
mov eax, dword [rbp - 0x17c]
mov r8, rax
lea r11, [rsp + 0x20]
lea rax, [rbp - 0x178]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004398be
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x178]
mov r11, rax
lea rax, [rbp - 0x168]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [rbp - 0x168]
mov r8, rax
lea rax, [rbp - 0x148]
mov r11, rax
lea rax, [rbp - 0x78]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0042dbfb
mov eax, dword [rbp - 0x100]
movsxd rax, eax
shl rax, 1
mov rcx, qword [rbp - 0x120]
add rcx, rax
add rcx, 2
mov qword [rbp - 0x120], rcx
jmp 0x471eb3
mov rax, qword [rbp - 0xf8]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_FreeEnvironmentStringsW
mov rax, qword [rbp + 0x10]
mov ecx, 0x78
mov r8, rcx
lea rcx, [rbp - 0x78]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
leave
ret