Function at 0x418ca0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x45127f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x463e90]
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov al, byte [esp + 0x2c]
mov ebx, 1
test al, al
mov dword [esp + 0x1c], ebx
je 0x418d09
push 0x3ff
push 0x400
lea ecx, [esp + 0x14]
call fcn.00444f4c
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00444f9c
jmp 0x418d17
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push edx
call fcn.00444cb3
push 0x462154
lea ecx, [esp + 0x10]
call fcn.004432e2
test eax, eax
jge 0x418d5b
push 0x4637a0
lea ecx, [esp + 0x10]
call fcn.004432e2
test eax, eax
jge 0x418d5b
push 0x463798
lea ecx, [esp + 0x10]
call fcn.004432e2
test eax, eax
jge 0x418d5b
push str.___1_
lea ecx, [esp + 0x10]
call fcn.00444f0d
mov esi, dword [esp + 0x30]
test esi, esi
je 0x419037
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x462134
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x24], 2
push eax
call fcn.00444dc1
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463790
mov byte [esp + 0x24], 3
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x4620ec
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x28], 4
call fcn.00444dc1
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463788
mov byte [esp + 0x24], 5
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 4
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x46a72c
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x28], 6
call fcn.00444dc1
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463780
mov byte [esp + 0x24], 7
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 6
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x462134
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x24], 8
push eax
call fcn.00444dc1
mov byte [esp + 0x1c], 9
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463778
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 8
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x4620ec
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x28], 0xa
call fcn.00444dc1
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463770
mov byte [esp + 0x24], 0xb
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0xa
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x46a72c
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x28], 0xc
call fcn.00444dc1
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463768
mov byte [esp + 0x24], 0xd
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0xc
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x462134
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x24], 0xe
push eax
call fcn.00444dc1
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463760
mov byte [esp + 0x24], 0xf
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0xe
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x4620ec
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x28], 0x10
call fcn.00444dc1
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463758
mov byte [esp + 0x24], 0x11
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0x10
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push esi
lea ecx, [esp + 0x2c]
call fcn.00444b90
push 0x46a72c
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x28], 0x12
call fcn.00444dc1
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x463750
mov byte [esp + 0x24], 0x13
call fcn.004430bd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0x12
call fcn.00444b1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], bl
call fcn.00444b1c
push 0x4681a0
push str._idlist__I_
lea ecx, [esp + 0x14]
call fcn.004430bd
xor eax, eax
push eax
push 0x25
lea ecx, [esp + 0x14]
call fcn.00444ff4
mov esi, eax
test esi, esi
jl 0x4190bd
mov eax, dword [esp + 0xc]
push eax
call fcn.00432a93
lea edi, [esi + 1]
add esp, 4
cmp edi, eax
jge 0x4190b7
mov edx, dword [esp + 0xc]
mov cx, word [edx + edi*2]
cmp cx, 0x31
je 0x4190b7
cmp cx, 0x6c
je 0x4190b7
cmp cx, 0x4c
je 0x4190b7
lea ecx, [esi + 2]
cmp ecx, eax
jge 0x4190ab
mov dx, word [edx + ecx*2]
cmp dx, 0x20
je 0x4190a3
cmp dx, 0x22
jne 0x4190a7
push 3
jmp 0x4190ad
cmp ecx, eax
jl 0x4190b7
push 2
push esi
lea ecx, [esp + 0x14]
call fcn.00443016
mov eax, edi
test eax, eax
jge 0x41904c
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00444889
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00444b1c
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10