Function at 0x426eb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b0fe
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x587978]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00408ac0
mov byte [ebp - 4], 1
mov esi, dword [esi]
push 0x104
push 0x104
lea ecx, [ebp - 0x220]
call fcn.004071b0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x220]
call fcn.00406cd0
push 1
lea eax, [ebp - 0x220]
push eax
mov ecx, edi
call fcn.0041df60
test al, al
je 0x42714e
lea ecx, [ebp - 0x234]
push ecx
mov ecx, ebx
call fcn.00409990
mov byte [ebp - 4], 2
jmp 0x426f60
xor esi, esi
cmp dword [ebp - 0x230], esi
je 0x4271f3
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x234]
call fcn.00409850
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24c]
push eax
call fcn.004208e0
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x224]
call fcn.00408180
test eax, eax
sete bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.00406ef0
test bl, bl
je 0x4271ae
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00425940
mov dword [ebp - 0x250], esi
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x248], edx
jmp 0x427000
cmp esi, dword [ebp - 0x248]
jge 0x42719f
test esi, esi
js 0x42718e
cmp esi, dword [ebp - 0x238]
jge 0x42718e
mov eax, dword [ebp - 0x240]
lea eax, [eax + esi*4]
push eax
lea ecx, [ebp - 0x228]
call fcn.004070a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x254]
push ecx
call fcn.00474cc0
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x228]
call fcn.00408180
test eax, eax
sete bl
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x254]
call fcn.00406ef0
test bl, bl
je 0x427173
cmp esi, dword [ebp - 0x238]
jge 0x42718e
mov edx, dword [ebp - 0x23c]
lea eax, [edx + esi*4]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004070a0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0041ddf0
add esp, 8
mov edx, dword [ebp - 0x22c]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x244]
call fcn.00409590
mov byte [ebp - 4], 9
push 0
lea edx, [ebp - 0x244]
push edx
mov ecx, edi
call fcn.0041df60
test al, al
sete bl
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x244]
call fcn.00406ef0
test bl, bl
je 0x427164
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x22c]
call fcn.00406ef0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
call fcn.00406ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
call fcn.0041ed90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.00406ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.00408110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00406ef0
mov al, 1
jmp 0x427213
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x22c]
call fcn.00406ef0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
call fcn.00406ef0
inc esi
mov dword [ebp - 0x250], esi
jmp 0x427000
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
call fcn.0041ed90
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00409b50
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x234]
call fcn.00408c80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x25c]
call fcn.00408110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.00406ef0
jmp 0x426f60
lea ecx, [ebp + 8]
push ecx
lea ecx, [edi + 0x10]
call fcn.00488030
jmp 0x42713f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004eb16b
mov esp, ebp
pop ebp
ret 0xc