Function at 0x425180
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c4f5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call fcn.00426540
mov esi, dword [ebp + 0xc]
add esp, 4
mov ecx, dword [esi]
dec ecx
cmp ecx, 0xc
ja case.0x4251c3.5
jmp dword [ecx*4 + 0x4257fc]
cmp dword [esi + 4], 0xc350
jne 0x4251f4
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push edi
mov dword [ebp + 0xc], 0
call dword [eax + 0x90]
cmp dword [ebp + 0xc], 0
je 0x4251f4
push 0
jmp 0x4257ca
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x59effc
push 0x2710
push edi
mov dword [ebp - 4], 1
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425226
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 2
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x59f00c
push 0x271f
push edi
mov dword [ebp - 4], 4
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42527f
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 5
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0x59effc
push 0x2710
push edi
mov dword [ebp - 4], 8
call dword [eax + 0x38]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4252d7
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
jmp 0x425314
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x59f01c
push 0x2715
push edi
mov byte [ebp - 4], 0xa
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425306
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x425314
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xc
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x59f01c
push 0x2715
push edi
mov dword [ebp - 4], 0xf
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425370
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x10
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
cmp ecx, 0xc368
jne 0x425406
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x59f02c
push 0x271a
push edi
mov dword [ebp - 4], 0x13
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4253d1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 1
push edi
call fcn.00424e40
add esp, 8
mov dword [ebp - 4], 0x14
mov eax, dword [ebp + 0xc]
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
cmp ecx, 0xc352
jne 0x42548f
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x16
push ecx
push 0x59f00c
push 0x271f
push edi
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425468
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x14], 1
je 0x425465
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x425465
push 0
push dword [esi + 0x2c]
push dword [esi + 0x28]
push edi
call fcn.00424f40
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x17
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x19
push ecx
push 0x59f02c
push 0x271a
push edi
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4254bf
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x1a
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
cmp ecx, 0xc368
jne 0x425537
mov dword [ebp + 0xc], 0
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x59f02c
push 0x271a
push edi
mov dword [ebp - 4], 0x1c
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425520
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 0
push edi
call fcn.00424e40
add esp, 8
mov dword [ebp - 4], 0x1d
jmp 0x4253e3
mov eax, dword [edi]
cmp ecx, 0xc352
jne 0x4255c0
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x1f
push ecx
push 0x59f00c
push 0x271f
push edi
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425599
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x14], 0
je 0x425596
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x425596
push 0
push dword [esi + 0x2c]
push dword [esi + 0x28]
push edi
call fcn.00424f40
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x20
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x22
push ecx
push 0x59f02c
push 0x271a
push edi
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4255f0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0x23
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0xc353
lea ebx, [esi + 0x14]
jne 0x425645
push dword [ebx]
push 0
push 0x14d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402070
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov dword [ebp - 4], 0x24
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42567c
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00408b40
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 0x104
jl 0x4257f0
push 0x104
mov dword [esi - 0xc], 0x104
xor eax, eax
push esi
mov word [esi + 0x208], ax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esi - 8]
push esi
call fcn.00566c08
add esp, 8
test eax, eax
js 0x4257f0
cmp eax, dword [esi - 8]
jg 0x4257f0
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov dword [ebp + 0xc], ecx
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
push 0x59f03c
push 0x2712
push edi
mov byte [ebp - 4], 0x26
call dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425732
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebx, eax
test ebx, ebx
je 0x4257eb
mov eax, dword [ebp + 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push ebx
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x42572f
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00402070
push edi
call fcn.00426ad0
add esp, 8
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x27
test eax, eax
je 0x425740
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0x59f04c
push 0x2714
push edi
mov dword [ebp - 4], 0x29
call dword [eax + 0x38]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4257a5
movsd xmm0, qword [0x59f060]
sub esp, 0x10
mov ecx, dword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [esp], xmm0
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0x2a
test eax, eax
je case.0x4251c3.5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push dword [esi + 0x2c]
push dword [esi + 0x28]
push edi
call fcn.00424f40
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040a050
push 0x80070057
call fcn.00403c70
nop
retf 0x4251