Function at 0x10032b1c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push esi
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x10032b47
push 0x6887
push 0x718a
push 1
call fcn.10032f65
add esp, 0xc
jmp 0x10032f60
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x10032bc2
push 0x773
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x10032f60
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xd8], 0x2169
cmp dword [ebp - 0xd8], 0x132a
jge 0x10032cb7
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x1000b1fc
call fcn.1005856b
pop ecx
pop ecx
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x88], 0
je 0x10032ca8
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0x1000b1fc
call fcn.1005856b
pop ecx
pop ecx
cmp dword [ebp - 0x24], 0
jge 0x10032c9d
cmp dword [ebp - 4], 0
jle 0x10032c8b
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc0], eax
jmp 0x10032c9b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc0], eax
jmp 0x10032ca6
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
jmp 0x10032c40
push dword [ebp - 0x10]
push 0x1000b22c
call fcn.10058bc8
pop ecx
pop ecx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x94], 0x237e
cmp dword [ebp - 0x94], 0x5c9
jge 0x10032e49
lea eax, [ebp - 0x20]
push eax
push 0x1000b200
call fcn.1005856b
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x9c], 0
je 0x10032e49
lea eax, [ebp - 0xac]
push eax
push 0x1000b200
call fcn.1005856b
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
push eax
push 0x1000b200
call fcn.1005856b
pop ecx
pop ecx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x28], eax
and dword [ebp - 8], 0
mov dword [ebp - 0x30], 1
jmp 0x10032dc5
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xac]
jge 0x10032e17
lea eax, [ebp - 0x1c]
push eax
push 0x1000b200
call fcn.1005856b
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jle 0x10032df0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x10032e15
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x38]
jle 0x10032e09
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
jmp 0x10032e0f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
jmp 0x10032dbe
and dword [ebp - 0x18], 0
cmp dword [ebp - 8], 0
je 0x10032e35
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
jmp 0x10032e1b
push dword [ebp - 0x18]
push 0x1000b22c
call fcn.10058bc8
pop ecx
pop ecx
jmp 0x10032d65
mov eax, dword [ebp - 0x44]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0xb4]
call fcn.10011fc8
mov dword [eax], esi
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
sub eax, 0x1cbbc969
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xc4]
jg 0x10032e9a
mov dword [ebp - 0x14], 1
jmp 0x10032e9e
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffc
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0xffffffff
jge 0x10032ecf
mov dword [ebp - 0x3c], 1
jmp 0x10032ed3
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jge 0x10032ee9
mov dword [ebp - 0xd4], 1
jmp 0x10032ef0
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0xd8cf
jg 0x10032f19
mov dword [ebp - 0x58], 1
jmp 0x10032f1d
and dword [ebp - 0x58], 0
push 1
mov ecx, dword [ebp - 0xdc]
call fcn.10011fc8
mov dword [eax], 4
cmp dword [ebp - 0x58], 4
jne 0x10032f3f
mov dword [ebp - 0x34], 1
jmp 0x10032f43
and dword [ebp - 0x34], 0
push 1
mov ecx, dword [ebp - 0xe4]
call fcn.10011fc8
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret