Function at 0x100290e1
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10029129
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0xc], 0
jmp 0x1002978a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], 0xd4081c29
mov dword [ebp - 0x40], 0
jmp 0x10029155
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1002916b
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x130], 0x713b
jmp 0x1002914e
mov dword [ebp - 0x48], 1
jmp 0x1002917b
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1002919f
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0xd23
push 1
push 0x3dfc
call fcn.10025751
add esp, 0x10
jmp 0x10029174
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x100291c9
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x100291dc
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x44], 1
jmp 0x100291c2
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x44], 0
jmp 0x10029201
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x44], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0xfffffff8
jge 0x1002925d
mov dword [ebp - 0x54], 0x6cce57bf
mov dword [ebp - 0x5c], 0xc6e5c7a0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0x5c]
push eax
call fcn.100257af
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x10029252
mov byte [ebp - 0x19], 0
push 1
lea eax, [ebp - 0x19]
push eax
push 0x7238
push 0x68a1
call fcn.100257ed
add esp, 0x10
jmp 0x1002925b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x90], eax
jmp 0x100291ec
push 1
push 0x1e6c
push 0x4edb
call fcn.1002585f
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0xa0], 0xffffffff
push 1
lea ecx, [ebp - 0xbc]
call fcn.10014bbc
and dword [ebp - 4], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x38], 0
jmp 0x100292b8
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x100292d1
push dword [ebp - 0x38]
lea ecx, [ebp - 0xbc]
call fcn.10014c48
and dword [eax], 0
jmp 0x100292b1
lea eax, [ebp - 0x78]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
push 0x3bb6
lea eax, [ebp - 0xbc]
push eax
call fcn.100260ea
add esp, 0x14
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10029312
push 0x3c47
push 0x5294
push 0
call fcn.1002802d
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.10014c43
and dword [ebp - 0x4c], 0
jmp 0x10029336
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x4c], eax
jae 0x10029778
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 0
jmp 0x10029363
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff6
jne 0x100293fb
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x6c], 0xf9531def
mov dword [ebp - 0x28], 0
jmp 0x10029392
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc
jge 0x100293f6
mov dword [ebp - 0x68], 0x223
mov dword [ebp - 0x98], 0x5f7626a9
mov dword [ebp - 0x74], 0x48648546
mov dword [ebp - 0x88], 0xc1ab
lea eax, [ebp - 0x64]
push eax
push 0x1fb2
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0x3879
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.1002640e
add esp, 0x2c
jmp 0x1002938b
jmp 0x1002935c
push 1
lea ecx, [ebp - 0x108]
call fcn.10014bbc
mov dword [ebp - 4], 1
mov dword [ebp - 0xf0], 0xfc3a065c
mov dword [ebp - 0x50], 0x4f5ac3d6
push 1
lea eax, [ebp - 0x14]
push eax
push 0x1ad5
lea eax, [ebp - 0x108]
push eax
call fcn.100258d6
add esp, 0x10
mov dword [ebp - 0x14], 0
jmp 0x1002944a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10029460
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf8], 0x57a7c203
jmp 0x10029443
mov dword [ebp - 0x14], 0
jmp 0x10029470
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10029486
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xc0], 8
jmp 0x10029469
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.10014c43
mov dword [ebp - 0xcc], 0xfffffff7
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x100294b8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x100294d2
push 1
push 0x34df
call fcn.1002594c
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
movzx eax, word [eax]
sar eax, 0xc
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.10027298
add esp, 0xc
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x1002950a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10029520
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x13c], 9
jmp 0x10029503
mov dword [ebp - 0x24], 0
jmp 0x10029530
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x10029558
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10029556
push 0x3619
push 0x4a56
push 1
call fcn.1002598c
add esp, 0xc
jmp 0x10029529
cmp dword [ebp - 0x24], 0
je 0x10029588
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10029583
push 0x1feb
push 1
push 0x1f6e
push 0x3ba2
call fcn.10025a01
add esp, 0x10
jmp 0x1002973c
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0xfffffff7
mov dword [ebp - 0xe8], 0x4b4b1328
mov dword [ebp - 0xfc], 0xb32a831d
mov dword [ebp - 0xec], 0x79c63c40
mov dword [ebp - 0x11c], 0xbe56890c
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0x76373a4c
push 4
lea ecx, [ebp - 0xe4]
call fcn.10014bbc
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0x128]
call fcn.10014bbc
mov byte [ebp - 4], 3
mov dword [ebp - 0xd0], 0x6ae3d475
push 3
lea ecx, [ebp - 0x118]
call fcn.10014bbc
mov byte [ebp - 4], 4
push 2
lea ecx, [ebp - 0xb0]
call fcn.10014bbc
mov byte [ebp - 4], 5
push 1
push 0x4018
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe4]
push eax
push 0x295b
call fcn.10025f50
add esp, 0x14
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0x7bb9
call fcn.10025ff4
add esp, 0x10
mov dword [ebp - 0x10], 0
jmp 0x1002967c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10029698
push dword [ebp - 0x10]
lea ecx, [ebp - 0x118]
call fcn.10014c48
mov dword [eax], 0xdd33d73c
jmp 0x10029675
mov dword [ebp - 0x10], 0
jmp 0x100296a8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x100296c4
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb0]
call fcn.10014c48
mov dword [eax], 0xfffffff9
jmp 0x100296a1
push 0
lea ecx, [ebp - 0xb0]
call fcn.10014c48
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov byte [ebp - 0x17], 0
push 1
push 0x3be0
push 0x144b
lea eax, [ebp - 0x17]
push eax
push 0x6d20
call fcn.10026065
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.10014c43
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.10014c43
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.10014c43
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.10014c43
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
je 0x10029752
jmp 0x10029773
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x94]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x9c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
jmp 0x10029327
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
add ecx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret