Function at 0x100289f8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push esi
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x10028a3c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x90]
push dword [ebp - 0x88]
push 1
push 0x378e
call fcn.10028dc0
add esp, 0x10
jmp 0x10028dbb
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x44], 0x67e
mov dword [ebp - 0xb0], 0x100097e0
cmp dword [ebp - 0x44], 0x954
jle 0x10028b28
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
and dword [ebp - 0x10], 0
jmp 0x10028a9a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x39c2
jge 0x10028b28
and dword [ebp - 0x14], 0
jmp 0x10028ab4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x466f
jge 0x10028b23
and dword [ebp - 0xc], 0
jmp 0x10028aca
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xbbd
jge 0x10028b21
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xd4]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0xd4]
call fcn.1001fbea
jmp 0x10028ac3
jmp 0x10028aad
jmp 0x10028a93
lea eax, [ebp + 0x30]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x44], 0x30f
jge 0x10028b43
push dword [ebp - 0xb0]
call fcn.100714f3
pop ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10028d35
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
cmp dword [eax], 0
je 0x10028c02
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
cmp dword [eax], 4
jne 0x10028bec
mov dword [ebp - 0x20], 1
jmp 0x10028bf0
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x5b6478c3
je 0x10028c02
mov dword [ebp - 0x2c], 1
jmp 0x10028c06
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x10028c33
mov dword [ebp - 0x3c], 1
jmp 0x10028c37
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0xfffffff6
jg 0x10028c46
mov dword [ebp - 0x34], 1
jmp 0x10028c4a
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 1
ja 0x10028c59
mov dword [ebp - 0x24], 1
jmp 0x10028c5d
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x2978
jl 0x10028c6f
mov dword [ebp - 0x28], 1
jmp 0x10028c73
and dword [ebp - 0x28], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jg 0x10028c8d
mov dword [ebp - 0x30], 1
jmp 0x10028c91
and dword [ebp - 0x30], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax]
jle 0x10028cab
mov dword [ebp - 0x38], 1
jmp 0x10028caf
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x76a47cde
jl 0x10028cc1
mov dword [ebp - 0x18], 1
jmp 0x10028cc5
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov esi, dword [ebp - 0x18]
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
cmp esi, dword [eax]
jge 0x10028cf4
mov dword [ebp - 0x1c], 1
jmp 0x10028cf8
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax]
cmp ecx, 1
jle 0x10028d1d
mov dword [ebp - 0x40], 1
jmp 0x10028d21
and dword [ebp - 0x40], 0
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x10028dbb
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10028d8a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffff9
jne 0x10028dbb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10028daa
mov dword [ebp - 0x48], 1
jmp 0x10028dae
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x10028d7f
pop esi
mov esp, ebp
pop ebp
ret