Function at 0x4718a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b09c1
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4b95f515
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xd4], 0
push eax
mov ecx, 0x4dcfec
call fcn.00457540
mov eax, dword [eax + 4]
test eax, eax
je 0x471b47
cmp eax, dword [0x4dcff0]
je 0x471b47
push 0x4b95f515
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0
push eax
lea eax, [ebp - 0x18]
mov ecx, 0x4dcfec
push eax
call fcn.00457540
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x471a16
cmp dword [0x4dcff4], 0x71c71c7
je 0x471eaa
mov dword [ebp - 0x20], 0x4dcff0
push 0x24
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], eax
call fcn.0048113f
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0xd4]
lea esi, [edi + 8]
mov dword [ebp - 0x1c], edi
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov eax, dword [0x4dcff4]
inc eax
mov byte [ebp - 4], 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4c7ab0]
mov eax, dword [0x4dd008]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4c7ab0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x4dcfec]
seta al
test al, al
je 0x4719fe
mov ecx, 0x4dcfec
call fcn.004691e0
push 0x4b95f515
push esi
lea eax, [ebp - 0x20]
mov ecx, 0x4dcfec
push eax
call fcn.00457540
mov ecx, dword [eax]
jmp 0x471a01
mov ecx, dword [ebp - 0x18]
push edi
push ecx
push 0x4b95f515
mov ecx, 0x4dcfec
mov byte [ebp - 4], 0
call fcn.00433ac0
add eax, 0xc
mov ecx, 0x4d912c
push eax
call fcn.00428060
push 0xb0
lea eax, [ebp - 0xd0]
push 0
push eax
call fcn.00483710
add esp, 0xc
lea ecx, [ebp - 0xd0]
push 1
call fcn.0041d2a0
push 0x4b6d24
push dword [0x4d9098]
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 5
push eax
call fcn.004280f0
add esp, 8
push eax
call fcn.004280f0
add esp, 8
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae ecx, dword [ebp + 8]
push 0x4b84fc
push ecx
push eax
call fcn.004280f0
add esp, 8
push eax
call fcn.004280f0
add esp, 8
mov ecx, eax
push 2
call fcn.0041ddf0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0041d280
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 6
jb 0x471abb
mov eax, dword [eax]
push ecx
xor edx, edx
mov dword [ebp - 0xec], 0
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], dx
call fcn.00437950
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 7
push eax
mov ecx, 0x4d912c
call fcn.00405760
mov edx, dword [ebp - 0xd8]
cmp edx, 8
jb 0x471e12
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471e08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471eb4
jmp 0x471e08
lea eax, [ebp - 0x104]
push eax
call fcn.0046c880
add esp, 4
mov ecx, 0x4d912c
push eax
call fcn.0041e870
lea ecx, [ebp - 0x104]
call fcn.00405c30
lea eax, [ebp - 0xd4]
xor esi, esi
push eax
push 8
mov dword [ebp - 0xd4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x471bb3
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push 0x14
push dword [ebp - 0xd4]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x471bc4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x471a24
push esi
push esi
push str.ProgramData
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x471c82
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481be8
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push esi
push edi
push str.ProgramData
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x471c6f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471c20
sub ecx, edx
mov dword [ebp - 0xec], 0
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
call fcn.00437950
mov byte [ebp - 4], 0
test edi, edi
je 0x471c9d
push 2
push edi
call fcn.00481131
add esp, 8
jmp 0x471c9d
mov byte [ebp - 4], 0
test edi, edi
je 0x471c82
push 2
push edi
call fcn.00481131
add esp, 8
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0xec]
push dword [ebp - 0x14]
push 0x4c436b
push eax
call fcn.004566a0
add esp, 0xc
lea eax, [ebp - 0xec]
mov ecx, 0x4d912c
push eax
call fcn.0041e870
lea ecx, [ebp - 0xec]
call fcn.00405c30
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0xec]
push dword [ebp - 0x14]
push 0x4c436b
push eax
call fcn.004566a0
add esp, 0xc
lea eax, [ebp - 0xec]
cmp dword [ebp - 0xd8], 8
mov ecx, 0x4d912c
cmovae eax, dword [ebp - 0xec]
push dword [ebp - 0xdc]
push eax
call fcn.0046a990
lea ecx, [ebp - 0xec]
mov esi, eax
call fcn.00405c30
test esi, esi
je 0x471e59
push 0x24
xor eax, eax
mov dword [ebp - 0xec], 0
push str.48C4687D_9760_4F5B_BAB3_60351B0841E4
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
call fcn.00437950
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x4d912c
call fcn.00405760
mov edx, dword [ebp - 0xd8]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x471da0
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471d96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471eb9
push edx
push ecx
call fcn.00481131
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x4d912c
mov dword [ebp - 0x14], 0x4d9bd0
call fcn.00406640
add esp, 8
test al, al
je 0x471dd6
lea eax, [ebp - 0x18]
push eax
push 0x4d912c
call fcn.0046dcf0
add esp, 8
jmp 0x471def
cmp dword [0x4d9140], 8
mov eax, 0x4d912c
cmovae eax, dword [0x4d912c]
push eax
call fcn.0043f9ef
test al, al
jne 0x471a24
push 0x4c436b
mov ecx, 0x4d912c
call fcn.00455ed0
jmp 0x471e59
push edx
push ecx
call fcn.00481131
add esp, 8
mov edx, dword [ebp - 0xf0]
cmp edx, 8
jb 0x471e4e
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471e44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471ebe
push edx
push ecx
call fcn.00481131
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.00404590
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x471e8f
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471e85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471ec3
push edx
push ecx
call fcn.00481131
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
push str.unordered_map_set_too_long
call fcn.0043eb67
call fcn.004861f9
call fcn.004861f9
call fcn.004861f9
call fcn.004861f9
int3