Function at 0x10029518
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081906
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push esi
push edi
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x28], 0xfffffff2
jmp 0x1002954f
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffee
jg 0x100295b8
cmp dword [ebp - 0x28], 0
je 0x1002956f
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1002956d
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x100295b6
mov dword [ebp - 0x38], 0x3099cfe0
mov dword [ebp - 0x38], 0xffffffe6
jmp 0x10029586
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff8
jne 0x100295b6
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x100295a0
push 1
call fcn.1002900b
pop ecx
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x100295b4
push 0
call fcn.10029414
pop ecx
jmp 0x1002957f
jmp 0x10029548
and dword [ebp - 0x124], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x120]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0x67b8
mov dword [ebp - 0x10], 0x90069f30
mov dword [ebp - 0x14], 0xb2aee5a9
push 2
lea ecx, [ebp - 0x50]
call fcn.10015351
and dword [ebp - 4], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0xb4], 0xffff
mov dword [ebp - 0x34], 0
jmp 0x10029610
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10029629
push dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.100153f2
mov dword [eax], 0xf7c8b166
jmp 0x10029609
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x14], 0xffff
jb 0x10029644
mov dword [ebp - 0x58], 1
jmp 0x10029648
and dword [ebp - 0x58], 0
mov dword [ebp - 0x2c], 0x6e7f737b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x58]
add ecx, 0x47c9d5fa
imul eax, ecx
add eax, dword [ebp - 0x14]
cmp eax, 0xd3672969
ja 0x10029677
mov dword [ebp - 0x5c], 1
jmp 0x1002967b
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x5c], eax
jle 0x1002968f
mov dword [ebp - 0xa0], 1
jmp 0x10029696
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100297de
mov dword [ebp - 0xd4], 0xe2c9
mov dword [ebp - 0xf4], 0x38d679bd
mov dword [ebp - 0xb0], 4
mov dword [ebp - 0x104], 0xfffffff6
mov dword [ebp - 0xc8], 0x38325423
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0xbc], 0x32f1efa
mov dword [ebp - 0xd8], 0x23988f15
mov dword [ebp - 0x14], 0
jmp 0x10029709
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x11
jle 0x10029731
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x1002972f
push 1
push 0x2a5a
push 0x1ae7
call fcn.10029078
add esp, 0xc
jmp 0x10029702
mov dword [ebp - 0x10], 1
jmp 0x10029741
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x100297dc
push 2
lea ecx, [ebp - 0xf0]
call fcn.10015351
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.1002a5a2
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x67da
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xd4]
push eax
push 0x6d08
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xbc]
push eax
push 0xf76
push 1
push 0x1e5a
lea eax, [ebp - 0x2c]
push eax
call fcn.100290e8
add esp, 0x38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf0]
call fcn.100153d6
jmp 0x1002973a
jmp 0x1002982e
mov dword [ebp - 0xc4], 0x67e7
mov dword [ebp - 0xd0], 3
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.100292f5
add esp, 0x1c
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1002982e
push 1
call fcn.10029414
pop ecx
mov dword [ebp - 0x10], 1
jmp 0x1002983e
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10029a26
mov dword [ebp - 0x44], 1
push 1
lea ecx, [ebp - 0xe4]
call fcn.10015351
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
jmp 0x10029870
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1002988c
push dword [ebp - 0x30]
lea ecx, [ebp - 0xe4]
call fcn.100153f2
mov dword [eax], 0xfffffffc
jmp 0x10029869
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.100153f2
cmp dword [eax], 0x1653144d
je 0x100298a8
mov dword [ebp - 0x7c], 1
jmp 0x100298ac
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], eax
jne 0x100298c0
mov dword [ebp - 0x84], 1
jmp 0x100298c7
and dword [ebp - 0x84], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.100153f2
mov eax, dword [eax]
cmp eax, dword [ebp - 0x84]
jle 0x100298e8
mov dword [ebp - 0xcc], 1
jmp 0x100298ef
and dword [ebp - 0xcc], 0
push 1
lea ecx, [ebp - 0x50]
call fcn.100153f2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.100153f2
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x14], eax
je 0x10029915
mov dword [ebp - 0x64], 1
jmp 0x10029919
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x64], eax
jg 0x1002992d
mov dword [ebp - 0x3c], 1
jmp 0x10029931
and dword [ebp - 0x3c], 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.100153f2
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
cmp dword [ebp - 0x3c], 0
je 0x1002995e
mov eax, 0xfffc
test eax, eax
je 0x1002995e
mov dword [ebp - 0xa4], 1
jmp 0x10029965
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xffffffff
ja 0x10029977
mov dword [ebp - 0x6c], 1
jmp 0x1002997b
and dword [ebp - 0x6c], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.100153f2
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax]
je 0x10029999
mov dword [ebp - 0x8c], 1
jmp 0x100299a0
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
add eax, 0x23aa3630
cmp dword [ebp - 0x74], eax
jg 0x100299bc
mov dword [ebp - 0x9c], 1
jmp 0x100299c3
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x44]
jg 0x100299dd
mov dword [ebp - 0x94], 1
jmp 0x100299e4
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x94]
jle 0x100299f8
mov dword [ebp - 0x54], 1
jmp 0x100299fc
and dword [ebp - 0x54], 0
mov esi, dword [ebp - 0x54]
sub esi, 0x1e91be67
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.100153f2
mov dword [eax], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.100153d6
jmp 0x10029837
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.100153d6
push 0x1c
lea eax, [ebp - 0x124]
push eax
push dword [ebp + 8]
push 0xaf48
push 0x9a42
call fcn.100228f2
pop ecx
pop ecx
call eax
test eax, eax
je 0x10029c46
mov dword [ebp - 0xb8], 0x5c81
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x1c], 0
jmp 0x10029a7a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10029a90
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x130], 0xfff9
jmp 0x10029a73
mov dword [ebp - 0x1c], 0
jmp 0x10029aa0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10029ab6
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xac], 0xda7fe64f
jmp 0x10029a99
xor eax, eax
jne 0x10029b86
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb8]
cmp dword [ebp + eax - 0xac], ecx
jge 0x10029adc
mov dword [ebp - 0x60], 1
jmp 0x10029ae0
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 6
jne 0x10029aef
mov dword [ebp - 0x68], 1
jmp 0x10029af3
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x10029b15
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xac], 0
jne 0x10029b15
and dword [ebp - 0x70], 0
jmp 0x10029b1c
mov dword [ebp - 0x70], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
cmp eax, dword [ebp - 0x70]
jl 0x10029b37
mov dword [ebp - 0x78], 1
jmp 0x10029b3b
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0
ja 0x10029b50
cmp dword [ebp - 0x40], 0
je 0x10029b50
mov dword [ebp - 0x80], 1
jmp 0x10029b54
and dword [ebp - 0x80], 0
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x130], 0xfffffffc
imul eax, dword [ebp - 0x80], 0xfffffffc
test eax, eax
je 0x10029b7d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xac], 0
jne 0x10029b86
and dword [ebp - 0x88], 0
jmp 0x10029b90
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x88], 0x710dd01
jl 0x10029ba8
mov dword [ebp - 0x90], 1
jmp 0x10029baf
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax - 0xac], ecx
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x1543
push 1
call fcn.10029449
add esp, 0xc
mov dword [ebp - 0xc0], 0xee
mov eax, dword [ebp - 0x110]
and eax, dword [ebp - 0xc0]
jne 0x10029bfd
mov dword [ebp - 0x98], 1
jmp 0x10029c04
and dword [ebp - 0x98], 0
mov al, byte [ebp - 0x98]
mov byte [ebp - 0x15], al
mov dword [ebp - 0xfc], 0xfff6
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
push 1
call fcn.10029495
pop ecx
pop ecx
push 1
call fcn.100294dc
pop ecx
mov eax, dword [ebp - 0x110]
and eax, 0x101
je 0x10029c41
mov byte [ebp - 0x15], 1
mov al, byte [ebp - 0x15]
jmp 0x10029c48
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret