Function at 0x10027b3b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100280a7
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xf0], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x64], 0x3db4
mov dword [ebp - 0x80], 0x100083e4
cmp dword [ebp - 0x64], 0x40a1
jle 0x10027c51
and dword [ebp - 0xc], 0
jmp 0x10027bab
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2719
jge 0x10027c51
and dword [ebp - 0x14], 0
jmp 0x10027bc5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5385
jge 0x10027c4c
and dword [ebp - 0x24], 0
jmp 0x10027bdb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6ac
jge 0x10027c47
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x24]
xor edx, dword [ebp - 0xc]
mov eax, edx
cdq
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xfc], eax
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
lea ecx, [ebp - 0x11c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x11c]
call fcn.100252df
jmp 0x10027bd4
jmp 0x10027bbe
jmp 0x10027ba4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x64], 0x3ad6
jge 0x10027c6c
push dword [ebp - 0x80]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x3c], 0x73c4
mov dword [ebp - 0xbc], 0x10008408
cmp dword [ebp - 0x3c], 0x74b3
jle 0x10027d78
and dword [ebp - 0x2c], 0
jmp 0x10027ca9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4c0
jge 0x10027d78
and dword [ebp - 0x10], 0
jmp 0x10027cc3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3462
jge 0x10027d73
and dword [ebp - 0x18], 0
jmp 0x10027cdd
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x634c
jge 0x10027d6e
and dword [ebp - 0x20], 0
jmp 0x10027cf7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3b10
jge 0x10027d69
mov eax, dword [ebp - 0x2c]
cdq
idiv dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
shl edx, cl
xor edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x88], ax
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x134]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x134]
call fcn.100252df
jmp 0x10027cf0
jmp 0x10027cd6
jmp 0x10027cbc
jmp 0x10027ca2
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x10028050
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x44], 0x4b9a
mov dword [ebp - 0x78], 0x10008448
cmp dword [ebp - 0x44], 0x4ea3
jle 0x10027ea9
and dword [ebp - 0x28], 0
jmp 0x10027e26
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7f94
jge 0x10027ea9
and dword [ebp - 0x30], 0
jmp 0x10027e3c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6dbd
jge 0x10027ea4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
sar eax, cl
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x104], eax
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x14c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x14c]
call fcn.100252df
jmp 0x10027e35
jmp 0x10027e1f
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x44], 0x48ec
jge 0x10027ec4
push dword [ebp - 0x78]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
inc eax
cmp eax, 1
jne 0x10027eed
mov dword [ebp - 0x4c], 1
jmp 0x10027ef1
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x4c]
jne 0x10027f0a
mov eax, 0xd3c5
test eax, eax
jne 0x10027f0a
and dword [ebp - 0x6c], 0
jmp 0x10027f11
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x6c]
je 0x10027f24
mov dword [ebp - 0x1c], 1
jmp 0x10027f28
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 0xffffffff
jle 0x10027f47
mov dword [ebp - 0x54], 1
jmp 0x10027f4b
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x9f111191
ja 0x10027f5d
mov dword [ebp - 0x38], 1
jmp 0x10027f61
and dword [ebp - 0x38], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.10025597
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jg 0x10027f7b
mov dword [ebp - 0x40], 1
jmp 0x10027f7f
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0xfffffffa
jb 0x10027f8e
mov dword [ebp - 0x48], 1
jmp 0x10027f92
and dword [ebp - 0x48], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.10025597
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jge 0x10027fb4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10027fb4
mov dword [ebp - 0x50], 1
jmp 0x10027fb8
and dword [ebp - 0x50], 0
push 1
mov ecx, dword [ebp - 8]
call fcn.10025597
mov ecx, dword [ebp - 0x50]
sub ecx, dword [eax]
je 0x10027fd2
mov eax, 0x8a9a2627
test eax, eax
jne 0x10027fdd
or eax, 0xffffffff
jne 0x10027fdd
and dword [ebp - 0x58], 0
jmp 0x10027fe4
mov dword [ebp - 0x58], 1
push 2
mov ecx, dword [ebp - 8]
call fcn.10025597
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
je 0x10027ffe
mov dword [ebp - 0x34], 1
jmp 0x10028002
and dword [ebp - 0x34], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.10025597
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jne 0x10028024
mov dword [ebp - 0x68], 1
jmp 0x10028028
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
cmp dword [ebp - 0x68], eax
jl 0x1002803b
mov dword [ebp - 0x70], 1
jmp 0x1002803f
and dword [ebp - 0x70], 0
imul eax, dword [ebp - 0x70], 0x2174
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
jmp 0x10028090
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx]
mov dword [eax], ecx
cmp dword [ebp - 0x3c], 0x7201
jge 0x100280a5
push dword [ebp - 0xbc]
call fcn.1008287d
pop ecx
jmp 0x100280b5
push 1
push 0x45ec
call fcn.1002784f
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret