Function at 0x1001298d
Capabilities:
Get file system object information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d9d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
and dword [ebp - 0x10c], 0
push 1
lea ecx, [ebp - 0x130]
call fcn.100166d2
and dword [ebp - 4], 0
mov dword [ebp - 0x15c], 0xfffffff8
mov dword [ebp - 0x54], 0
jmp 0x100129de
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x100129fa
push dword [ebp - 0x54]
lea ecx, [ebp - 0x130]
call fcn.1001675e
mov dword [eax], 4
jmp 0x100129d7
push 0
lea ecx, [ebp - 0x130]
call fcn.1001675e
and dword [eax], 0
jmp 0x10012a30
push 0
lea ecx, [ebp - 0x130]
call fcn.1001675e
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xf8]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x130]
call fcn.1001675e
cmp dword [eax], 0xffffffed
jne 0x10012a90
mov dword [ebp - 0x188], 0xb4e76ab2
mov dword [ebp - 0x134], 1
lea eax, [ebp - 0x188]
push eax
push 0
lea eax, [ebp - 0x15c]
push eax
push 0x2171
push 0x6a00
push 0x39c5
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.10012687
add esp, 0x20
jmp 0x10012a0c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.10016759
lea ecx, [ebp - 0x208]
call fcn.100164af
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x68], 0
jmp 0x10012ac8
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x10012ade
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x214], 0x90be4438
jmp 0x10012ac1
mov dword [ebp - 0x5c], 0
jmp 0x10012aee
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffe6
jge 0x10012b40
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10012b0f
push 1
call fcn.1001260a
pop ecx
mov dword [ebp - 0x3c], 0
jmp 0x10012b1f
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffef
je 0x10012b3e
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax - 0x214], ecx
cmp dword [ebp - 0x3c], 0
je 0x10012b3c
jmp 0x10012b3e
jmp 0x10012b18
jmp 0x10012ae7
mov byte [ebp - 0x1b], 0
push 0x15a5
push 0
push 0x3244
lea eax, [ebp - 0x1b]
push eax
call fcn.10014012
add esp, 0x10
mov eax, dword [ebp + 0xc]
shr eax, 1
push eax
lea ecx, [ebp - 0x208]
call fcn.1001656b
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x114], 0xd52aa0a5
push 3
lea ecx, [ebp - 0x198]
call fcn.100166d2
mov byte [ebp - 4], 2
mov dword [ebp - 0x84], 0xfffffff9
push 2
lea ecx, [ebp - 0x16c]
call fcn.100166d2
mov byte [ebp - 4], 3
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x184], 5
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x198]
push eax
push 0
push 0x320a
call fcn.10013bc2
add esp, 0x10
lea eax, [ebp - 0x154]
push eax
push 0x23f5
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x35a7
push 0x7729
call fcn.10014707
add esp, 0x18
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x114], eax
jle 0x10012c22
mov dword [ebp - 0xa0], 1
jmp 0x10012c29
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xa0], eax
jg 0x10012c40
mov dword [ebp - 0x8c], 1
jmp 0x10012c47
and dword [ebp - 0x8c], 0
push 1
lea ecx, [ebp - 0x198]
call fcn.1001675e
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x34], eax
je 0x10012c7f
mov dword [ebp - 0x140], 1
jmp 0x10012c86
and dword [ebp - 0x140], 0
push 0
lea ecx, [ebp - 0x16c]
call fcn.1001675e
mov esi, dword [ebp - 0x34]
push 0
lea ecx, [ebp - 0x16c]
call fcn.1001675e
imul esi, dword [eax]
sub esi, 0x51efdb7f
cmp esi, dword [ebp - 0x170]
jg 0x10012cc0
mov dword [ebp - 0x148], 1
jmp 0x10012cc7
and dword [ebp - 0x148], 0
push 1
lea ecx, [ebp - 0x198]
call fcn.1001675e
cmp dword [ebp - 0x84], 0
je 0x10012cef
cmp dword [ebp - 0x34], 0
je 0x10012cef
mov dword [ebp - 0xe0], 1
jmp 0x10012cf6
and dword [ebp - 0xe0], 0
push 0
lea ecx, [ebp - 0x16c]
call fcn.1001675e
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [eax]
jl 0x10012d19
mov dword [ebp - 0xa8], 1
jmp 0x10012d20
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.10016759
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x198]
call fcn.10016759
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp + 0xc]
jae 0x100134ae
mov dword [ebp - 0x1e8], 0x204e2db5
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10012d9d
push 0x2da7
push 0
push 0x6458
push 0x1bf1
push 0x42a3
push 0x671b
push 0x6828
push 0x6eb8
call fcn.10016226
add esp, 0x20
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10012db1
push 0
call fcn.1001634f
pop ecx
mov dword [ebp - 0x70], 0xa61928c1
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x70], 4
jmp 0x10012dd2
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 9
jne 0x10012eed
push 1
lea ecx, [ebp - 0x17c]
call fcn.100166d2
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x150], 0x8b0d193e
mov dword [ebp - 0x48], 0
jmp 0x10012e0e
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x10012e2a
push dword [ebp - 0x48]
lea ecx, [ebp - 0x17c]
call fcn.1001675e
mov dword [eax], 0x9ac7
jmp 0x10012e07
mov dword [ebp - 0x24], 0
jmp 0x10012e3a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x10012ed9
mov dword [ebp - 0x6c], 0xf07b4bc6
mov dword [ebp - 0x6c], 0
jmp 0x10012e5b
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jg 0x10012e98
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10012e81
push 0x2400
push 0
push 0x566a
call fcn.100163e8
add esp, 0xc
push dword [ebp - 0x24]
lea ecx, [ebp - 0x17c]
call fcn.1001675e
cmp dword [eax], 0
je 0x10012e96
jmp 0x10012e54
jmp 0x10012e54
push dword [ebp - 0x24]
lea ecx, [ebp - 0x17c]
call fcn.1001675e
mov dword [ebp - 0x100], eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x17c]
call fcn.1001675e
mov ecx, dword [ebp - 0x100]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
neg eax
mov dword [ebp - 0x150], eax
jmp 0x10012e33
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.10016759
jmp 0x10012dcb
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x144], eax
push 2
lea ecx, [ebp - 0x1dc]
call fcn.100166d2
mov byte [ebp - 4], 5
mov dword [ebp - 0x4c], 9
mov dword [ebp - 0x1c8], 0xd898
mov dword [ebp - 0x64], 0
jmp 0x10012f28
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x10012f44
push dword [ebp - 0x64]
lea ecx, [ebp - 0x1dc]
call fcn.1001675e
mov dword [eax], 0xffff
jmp 0x10012f21
mov dword [ebp - 0x4c], 1
jmp 0x10012f54
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x10012f7c
mov dword [ebp - 0x180], 0x888adae8
lea eax, [ebp - 0x180]
push eax
push 1
push 0x39c8
call fcn.10012645
add esp, 0xc
jmp 0x10012f4d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1dc]
call fcn.10016759
and dword [ebp - 0x60], 0
jmp 0x10012f9f
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x60], 2
jae 0x1001348a
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x1ac], 2
mov dword [ebp - 0x1a8], 2
mov dword [ebp - 0x1a4], 2
mov dword [ebp - 0x1a0], 2
lea ecx, [ebp - 0x71]
call fcn.10008be3
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1001676d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1c4]
call fcn.10016733
mov byte [ebp - 4], 6
mov dword [ebp - 0x1e0], 0x30f
mov dword [ebp - 0x14], 0
jmp 0x1001302f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1c
jl 0x100133d3
mov dword [ebp - 0x50], 0
jmp 0x10013049
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x1001305f
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x124], 0xeb0647dc
jmp 0x10013042
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x10013084
push 0xf43
push 0x7ed
push 0
push 0x6a8
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x124], 0
jmp 0x100130b2
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x124], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x124], 0xffffffec
je 0x100133ce
mov dword [ebp - 0x18], 0xfaaaeb9a
mov dword [ebp - 0xf0], 0x19f88dd0
mov dword [ebp - 0x18], 0xfffffff1
jmp 0x100130e7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x19
jge 0x100133c9
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x78], 0xfffffff9
mov dword [ebp - 0x38], 0
jmp 0x1001310f
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffeb
jne 0x100133c4
mov dword [ebp - 0x30], 0x99040c3f
mov dword [ebp - 0x138], 0x9347a64a
mov dword [ebp - 0x58], 0
jmp 0x1001313a
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x10013150
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x18c], 0xe65fbc01
jmp 0x10013133
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1001316b
cmp dword [ebp - 0x38], 0
jne 0x1001316b
and dword [ebp - 0xb0], 0
jmp 0x10013175
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x38], eax
je 0x10013192
mov dword [ebp - 0xb8], 1
jmp 0x10013199
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0x18], 0xa814b11f
ja 0x100131ae
mov dword [ebp - 0xe8], 1
jmp 0x100131b5
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xe8], eax
jg 0x100131cc
mov dword [ebp - 0x110], 1
jmp 0x100131d3
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0xb8]
imul eax, dword [ebp - 0x110]
test eax, eax
jne 0x100131fd
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x124], 0
jne 0x100131fd
and dword [ebp - 0xc0], 0
jmp 0x10013207
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 0
jmp 0x10013223
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x100133bf
mov dword [ebp - 0x108], 0xecf58a4
push 0x74ad
push 1
push 0x30a
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x3cf1
push 0x17b1
call fcn.10012687
add esp, 0x20
mov dword [ebp - 0xf0], 3
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0xf0], eax
je 0x10013288
mov dword [ebp - 0xc8], 1
jmp 0x1001328f
and dword [ebp - 0xc8], 0
mov eax, 0x20a048c8
sub eax, dword [ebp - 0xc8]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x124]
je 0x100132b5
mov dword [ebp - 0xd0], 1
jmp 0x100132bc
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0xd0], eax
jne 0x100132d6
mov dword [ebp - 0x94], 1
jmp 0x100132dd
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x94]
je 0x100132f4
mov dword [ebp - 0xd8], 1
jmp 0x100132fb
and dword [ebp - 0xd8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
cmp eax, dword [ebp - 0xd8]
jl 0x1001331c
mov dword [ebp - 0x158], 1
jmp 0x10013323
and dword [ebp - 0x158], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
mov dword [ebp - 0x98], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x18c], ecx
cmp dword [ebp - 0x98], 1
jne 0x1001336e
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x124], 0
je 0x1001336e
mov dword [ebp - 0x9c], 1
jmp 0x10013375
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x9c], eax
jne 0x1001338c
mov dword [ebp - 0x160], 1
jmp 0x10013393
and dword [ebp - 0x160], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x138]
neg eax
mov dword [ebp - 0x44], eax
jmp 0x1001321c
jmp 0x10013108
jmp 0x100130e0
jmp 0x10013097
jmp 0x10013028
mov dword [ebp - 0x14], 0xc
jmp 0x100133e3
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jne 0x1001343b
mov dword [ebp - 0x80], 0xfffffffd
mov dword [ebp - 0x13c], 4
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
push 0x7f6d
lea eax, [ebp - 0x13c]
push eax
push 0x4038
push 0
push 0x4ee2
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x69f9
lea eax, [ebp - 0x44]
push eax
call fcn.1001439a
add esp, 0x28
jmp 0x100133dc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.10016759
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x40]
xor edx, edx
div dword [0x10085840]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10008d58
pop ecx
pop ecx
mov ecx, dword [ebp - 0x144]
add ecx, dword [ebp - 0x60]
mov byte [ecx], al
jmp 0x10012f91
lea eax, [ebp - 0x7c]
push eax
push 0x6526
push 0
push 0x3fa3
lea eax, [ebp - 0x208]
push eax
call fcn.10013cad
add esp, 0x14
jmp 0x10012d4e
mov dword [ebp - 0x10], 0xb4bc662a
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x88], 0xf9b6917a
mov dword [ebp - 0x90], 0xfc657863
mov dword [ebp - 0x2c], 0xfffffffc
mov dword [ebp - 0x14c], 0xf30385d
push 1
lea ecx, [ebp - 0x1b8]
call fcn.100166d2
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0
call fcn.10013c44
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x1001353b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x1001353b
mov dword [ebp - 0xa4], 1
jmp 0x10013542
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x10], 0
jne 0x10013562
or eax, 0xffffffff
jne 0x10013562
and dword [ebp - 0xac], 0
jmp 0x1001356c
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xac]
jne 0x10013586
mov dword [ebp - 0xb4], 1
jmp 0x1001358d
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x90]
add ecx, dword [ebp - 0xb4]
add eax, ecx
mov dword [ebp - 0x2c], eax
je 0x100135b5
cmp dword [ebp - 0x2c], 0
je 0x100135b5
mov dword [ebp - 0xbc], 1
jmp 0x100135bc
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0x77c4
jl 0x100135d4
mov dword [ebp - 0xc4], 1
jmp 0x100135db
and dword [ebp - 0xc4], 0
imul eax, dword [ebp - 0xc4], 0xfff7
cmp eax, 0xffffffff
jl 0x100135f6
mov dword [ebp - 0xcc], 1
jmp 0x100135fd
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0xc2f5a260
jae 0x1001361b
cmp dword [ebp - 0x88], 0
jne 0x1001361b
and dword [ebp - 0xd4], 0
jmp 0x10013625
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0xd4], 0
jb 0x1001363a
mov dword [ebp - 0xec], 1
jmp 0x10013641
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0x10]
jge 0x10013673
mov dword [ebp - 0xf4], 1
jmp 0x1001367a
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0xf4], eax
jge 0x10013694
mov dword [ebp - 0xfc], 1
jmp 0x1001369b
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xfc], eax
jle 0x100136b4
or eax, 0xffffffff
jne 0x100136b4
and dword [ebp - 0x104], 0
jmp 0x100136be
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x2c], 0
jmp 0x100136dd
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1001375f
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100136f7
push 0
call fcn.100138cc
pop ecx
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10013709
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x10], 0
jmp 0x10013719
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1001375a
lea eax, [ebp - 0x1b8]
push eax
push 0x1d2
push 1
push 0x4e3e
lea eax, [ebp - 0x10]
push eax
call fcn.10012891
add esp, 0x14
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10013758
push 0x6ab0
push 1
call fcn.1001292a
pop ecx
pop ecx
jmp 0x10013712
jmp 0x100136d6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b8]
call fcn.10016759
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
call fcn.100164c2
mov eax, dword [ebp - 0x10c]
or eax, 1
mov dword [ebp - 0x10c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.1001650c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret