Function at 0x42867e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x4289f9
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xd8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x4287c0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xe0]
movzx eax, byte [eax]
test eax, eax
je 0x428796
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe8]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x80]
mov dword [eax], ecx
jmp 0x4287bb
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x4287bb
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x4289f4
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x428825
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
jmp 0x4289f4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0xfffffff0
jmp 0x42889e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x15
jne 0x4289f4
mov dword [ebp - 4], 0xfffe
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0xcc], 0xba6aed1d
cmp dword [ebp - 4], 2
jl 0x4289df
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 4], 0
jne 0x4288f3
mov dword [ebp - 0x38], 1
jmp 0x4288f7
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0
ja 0x428906
mov dword [ebp - 0x20], 1
jmp 0x42890a
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x20], eax
jg 0x42891e
cmp dword [ebp - 4], 0
jne 0x42891e
and dword [ebp - 0x14], 0
jmp 0x428925
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp dword [eax], ecx
jl 0x428941
mov dword [ebp - 0x28], 1
jmp 0x428945
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x428958
mov dword [ebp - 0x18], 1
jmp 0x42895c
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
neg eax
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
je 0x428971
mov dword [ebp - 0x1c], 1
jmp 0x428975
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 5
je 0x428984
mov dword [ebp - 0x24], 1
jmp 0x428988
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
je 0x4289a4
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x4289a4
mov dword [ebp - 0x34], 1
jmp 0x4289a8
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x34], eax
jge 0x4289b9
mov dword [ebp - 0xc], 1
jmp 0x4289bd
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0
jne 0x4289df
and dword [ebp - 0x3c], 0
jmp 0x4289e6
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xcc], eax
jmp 0x428893
jmp 0x428a8e
lea eax, [ebp + 0x38]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xd4]
movzx eax, byte [eax]
test eax, eax
je 0x428a52
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
push dword [ebp - 0xe4]
push 0x7e05
push 0
push 0x42e5
call fcn.00408a86
add esp, 0x10
jmp 0x428a8e
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x104], eax
push 0
push 1
push 1
push dword [ebp - 0xfc]
push dword [ebp - 0x104]
push 0x573
push 0x218f
call fcn.0041433c
add esp, 0x1c
mov esp, ebp
pop ebp
ret