Function at 0x10028b62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10028be6
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1c0]
push dword [eax]
push 0x4df9
push 0x15e1
mov eax, dword [ebp - 0x170]
push dword [eax]
push 0
push 0x2f9f
push dword [ebp - 0x1a0]
call fcn.10028b62
add esp, 0x1c
jmp 0x10029ab4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1f4], 1
mov dword [ebp - 0x1f0], 1
mov dword [ebp - 0x1ec], 1
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x44], 0
jmp 0x10028c65
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x10028c78
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x34], 0xfffffff6
jmp 0x10028c5e
mov dword [ebp - 0x10], 0x42eb90da
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp + eax - 0x34], ecx
mov dword [ebp - 0x10], 0
jmp 0x10028c9c
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffeb
jle 0x10028e7e
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 4
xor eax, eax
inc eax
je 0x10028ccb
cmp dword [ebp - 0x10], 0
je 0x10028ccb
mov dword [ebp - 0x178], 1
jmp 0x10028cd2
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x10], 0
je 0x10028ced
mov eax, 0xd02268f6
test eax, eax
je 0x10028ced
mov dword [ebp - 0xcc], 1
jmp 0x10028cf4
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
neg eax
inc eax
inc eax
sub eax, dword [ebp - 0x54]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x34]
jl 0x10028d19
mov dword [ebp - 0x12c], 1
jmp 0x10028d20
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0xd68f9855
ja 0x10028d38
mov dword [ebp - 0x148], 1
jmp 0x10028d3f
and dword [ebp - 0x148], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp eax, dword [ebp - 0x148]
je 0x10028d5d
mov dword [ebp - 0x1a4], 1
jmp 0x10028d64
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x214], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x21c], eax
push 0xfffffffffffffff8
pop eax
cmp eax, 0x82f
je 0x10028d9c
mov dword [ebp - 0x84], 1
jmp 0x10028da3
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x84], eax
jge 0x10028dba
mov dword [ebp - 0x180], 1
jmp 0x10028dc1
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x54], 0x65835a7
jne 0x10028ddf
mov dword [ebp - 0x150], 1
jmp 0x10028de6
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 5
jl 0x10028dfb
mov dword [ebp - 0x158], 1
jmp 0x10028e02
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0xffff
ja 0x10028e1a
mov dword [ebp - 0x90], 1
jmp 0x10028e21
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x90]
je 0x10028e3a
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1f4], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x34]
cmp dword [ebp + eax - 0x1e4], ecx
jge 0x10028e5f
mov dword [ebp - 0xf8], 1
jmp 0x10028e66
and dword [ebp - 0xf8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xf8]
mov dword [ebp + eax - 0x1e4], ecx
jmp 0x10028c95
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1a8]
add ecx, dword [eax]
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x3c], 0xb9f9b31
mov dword [ebp - 0x188], 0xdbaf9eb1
mov dword [ebp - 0x1b4], 0xd1fe9056
mov dword [ebp - 0x198], 0x788afb1c
mov dword [ebp - 0x1c], 0
jmp 0x10028ec6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10028edc
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x160], 0xfffffff9
jmp 0x10028ebf
mov dword [ebp - 0x1c], 0
jmp 0x10028eec
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10028f02
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x98], 0xfffffffa
jmp 0x10028ee5
mov dword [ebp - 0x3c], 0xe
jmp 0x10028f12
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1c
jle 0x1002917b
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x248], 0x2cb3a3fc
mov dword [ebp - 0x1c4], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x10028f54
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10028f6a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1d4], 0xda37bb00
jmp 0x10028f4d
mov dword [ebp - 0x14], 0
jmp 0x10028f7a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10028f90
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x228], 0xe0d6
jmp 0x10028f73
mov eax, dword [ebp - 0x3c]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x160], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x98], eax
cmp dword [ebp - 0x188], 0xfffffffd
jne 0x10028fd2
mov dword [ebp - 0x128], 1
jmp 0x10028fd9
and dword [ebp - 0x128], 0
imul eax, dword [ebp - 0x128], 0x2a90
cmp eax, dword [ebp - 0x1bc]
jne 0x10028ffd
mov eax, 0xfff8
test eax, eax
jne 0x10028ffd
and dword [ebp - 0xa0], 0
jmp 0x10029007
mov dword [ebp - 0xa0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x160]
imul eax, dword [ebp - 0xa0]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x1d4]
je 0x10029036
mov dword [ebp - 0x100], 1
jmp 0x1002903d
and dword [ebp - 0x100], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x160]
mov ecx, dword [ebp - 0x100]
sub ecx, 0xec51
imul eax, ecx
cmp eax, dword [ebp - 0xa8]
jl 0x1002906d
mov dword [ebp - 0x144], 1
jmp 0x10029074
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x144], eax
jne 0x1002908e
mov dword [ebp - 0xb0], 1
jmp 0x10029095
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1d4]
cmp dword [ebp - 0xb0], eax
jge 0x100290b6
mov dword [ebp - 0x108], 1
jmp 0x100290bd
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xfffffffc
jle 0x100290d2
mov dword [ebp - 0x190], 1
jmp 0x100290d9
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x23c], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x228]
cmp dword [ebp + eax - 0x160], ecx
je 0x1002910d
mov dword [ebp - 0xb8], 1
jmp 0x10029114
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1d4]
cmp eax, dword [ebp - 0xb8]
jle 0x10029135
mov dword [ebp - 0x134], 1
jmp 0x1002913c
and dword [ebp - 0x134], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1d4]
add eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x198]
jl 0x10029163
mov dword [ebp - 0xc0], 1
jmp 0x1002916a
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x1c4], eax
jmp 0x10028f0b
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xc], 0xfffffffd
mov dword [ebp - 8], 0x17e5c285
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0xfc], 3
mov dword [ebp - 0x18], 0
jmp 0x100291bf
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x100291d2
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 4], 0x56a9ef72
jmp 0x100291b8
mov dword [ebp - 0x18], 0
jmp 0x100291e2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100291f8
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x254], 0xd7774ca6
jmp 0x100291db
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 4]
cmp dword [ebp + eax - 4], ecx
jge 0x10029227
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0
je 0x10029227
mov dword [ebp - 0xc8], 1
jmp 0x1002922e
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x281d21f1
jle 0x10029250
mov dword [ebp - 0x110], 1
jmp 0x10029257
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
add eax, dword [ebp - 0x110]
cmp dword [ebp - 0xc8], eax
jg 0x1002927b
mov dword [ebp - 0x154], 1
jmp 0x10029282
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1002948a
mov dword [ebp - 0x64], 0x227d373e
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x6c], 0x5533f2a6
mov dword [ebp - 0x14c], 1
cmp dword [ebp - 0x64], 1
jle 0x100292c6
mov dword [ebp - 0xd0], 1
jmp 0x100292cd
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0xd0]
jg 0x100292ea
mov dword [ebp - 0x118], 1
jmp 0x100292f1
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x118], eax
jle 0x10029308
mov dword [ebp - 0xd8], 1
jmp 0x1002930f
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0xffffffff
jg 0x10029324
mov dword [ebp - 0x13c], 1
jmp 0x1002932b
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x13c]
sub ecx, dword [ebp + eax - 4]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x38], 0xd7c8
jle 0x10029365
mov dword [ebp - 0xe0], 1
jmp 0x1002936c
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xfffa
jne 0x10029384
mov dword [ebp - 0x168], 1
jmp 0x1002938b
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
imul eax, dword [ebp - 0x6c], 0xd73c
test eax, eax
je 0x100293b7
cmp dword [ebp - 0x6c], 0
je 0x100293b7
mov dword [ebp - 0x120], 1
jmp 0x100293be
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 4]
cmp eax, 0xffffffff
jge 0x100293e2
mov dword [ebp - 0xe8], 1
jmp 0x100293e9
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x38]
je 0x1002942c
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0
jne 0x1002942c
and dword [ebp - 0xf0], 0
jmp 0x10029436
mov dword [ebp - 0xf0], 1
cmp dword [ebp - 0xf0], 0x407858f9
jge 0x1002946c
mov byte [ebp - 0x2b], 0
push 0
push 0x281f
lea eax, [ebp - 0x2b]
push eax
push 0x2a67
push 0x1bb7
push 0x71
push 0x5c7c
call fcn.1002e125
add esp, 0x1c
jmp 0x10029485
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10029485
push 0x1a1d
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x100296c0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x16c], 0x53d1739c
mov dword [ebp - 8], 0
jmp 0x100294ab
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x100296c0
mov dword [ebp - 0x58], 0xb132dc1b
mov dword [ebp - 0xbc], 0xfffffff8
mov dword [ebp - 0xc], 0
jmp 0x100294d6
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x10029681
mov eax, dword [ebp - 8]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 4]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x28]
add eax, ecx
cmp eax, dword [ebp - 0x58]
jne 0x10029506
mov dword [ebp - 0x88], 1
jmp 0x1002950d
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0x88], eax
jge 0x1002952b
mov dword [ebp - 0x8c], 1
jmp 0x10029532
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x8c]
cmp eax, 0x2523
je 0x1002954e
mov dword [ebp - 0x94], 1
jmp 0x10029555
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x94], eax
jle 0x1002956c
mov dword [ebp - 0x9c], 1
jmp 0x10029573
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 4]
cmp dword [ebp - 0x9c], eax
jg 0x1002958e
mov dword [ebp - 0xa4], 1
jmp 0x10029595
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xa4], eax
jg 0x100295ac
mov dword [ebp - 0xac], 1
jmp 0x100295b3
and dword [ebp - 0xac], 0
imul eax, dword [ebp - 0xac], 0xffffffff
cmp eax, dword [ebp - 0x28]
jl 0x100295cb
mov dword [ebp - 0xb4], 1
jmp 0x100295d2
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x218], eax
mov eax, 0x1a9f1398
cmp eax, 0x327bc4a6
je 0x1002960e
mov dword [ebp - 0xc4], 1
jmp 0x10029615
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0xc4]
je 0x1002962c
cmp dword [ebp - 0x28], 0
jne 0x1002962c
and dword [ebp - 0x78], 0
jmp 0x10029633
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 4]
cmp eax, dword [ebp - 0x78]
jg 0x1002964b
mov dword [ebp - 0xd4], 1
jmp 0x10029652
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xd4], eax
jl 0x10029669
mov dword [ebp - 0xdc], 1
jmp 0x10029670
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x16c], eax
jmp 0x100294cf
mov dword [ebp - 0x30], 0
jmp 0x10029691
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x100296bb
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x100296ab
push 0
call fcn.1002cd56
pop ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 4]
mov dword [ebp + ecx*4 - 4], eax
jmp 0x1002968a
jmp 0x100294a4
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 8], eax
jl 0x100296ee
mov dword [ebp - 0xe4], 1
jmp 0x100296f5
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0xec], eax
jg 0x1002971f
mov dword [ebp - 0xf4], 1
jmp 0x10029726
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 4]
sub ecx, dword [ebp - 0xf4]
sub eax, ecx
imul eax, eax, 0
mov dword [ebp - 0xfc], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xfc]
mov dword [ebp + eax - 0x254], ecx
and dword [ebp - 0x60], 0
jmp 0x10029773
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
inc eax
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x60], eax
jae 0x100297fb
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax]
sar eax, 0xc
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax]
and eax, 0xfff
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 3
je 0x100297be
jmp 0x100297f6
mov eax, dword [ebp - 0x184]
add eax, dword [ebp - 0x18c]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x194]
push eax
push 1
push 0x5645
push 0xeff
push 0x4d04
push dword [ebp - 0x19c]
call fcn.100278b7
add esp, 0x18
jmp 0x10029764
mov dword [ebp - 0x80], 0xa22e974a
mov dword [ebp - 0x238], 0x4952f341
mov dword [ebp - 0x220], 0x88753e1e
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x68], 0x206d
mov dword [ebp - 0x20], 0
jmp 0x10029841
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x10029854
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x24], 0
jmp 0x1002983a
mov dword [ebp - 0x20], 0
jmp 0x10029864
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x10029877
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x74], 0xffffffff
jmp 0x1002985d
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x24], 0xffffffeb
jmp 0x1002989c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x24], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24], 0xfffffff5
jg 0x100298ff
mov dword [ebp - 0x40], 0xa290be44
mov dword [ebp - 0x48], 0
jmp 0x100298c0
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x100298d6
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x264], 0x7ca0029b
jmp 0x100298b9
mov dword [ebp - 0x40], 3
jmp 0x100298e6
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x100298fd
mov eax, dword [ebp - 0x40]
cmp dword [ebp + eax*4 - 0x264], 0
je 0x100298fb
jmp 0x100298fd
jmp 0x100298df
jmp 0x10029887
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x1fc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x204], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x74], 0
jge 0x1002993e
cmp dword [ebp - 0x80], 0
je 0x1002993e
mov dword [ebp - 0x104], 1
jmp 0x10029945
and dword [ebp - 0x104], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0x104], eax
jle 0x10029963
mov dword [ebp - 0x10c], 1
jmp 0x1002996a
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 1
ja 0x1002997f
mov dword [ebp - 0x114], 1
jmp 0x10029986
and dword [ebp - 0x114], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
imul eax, dword [ebp - 0x114]
test eax, eax
je 0x100299b4
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x74], 0
je 0x100299b4
mov dword [ebp - 0x11c], 1
jmp 0x100299bb
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
sub eax, dword [ebp - 0x11c]
jne 0x100299d9
mov dword [ebp - 0x124], 1
jmp 0x100299e0
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x124]
jge 0x100299fe
mov dword [ebp - 0x1b0], 1
jmp 0x10029a05
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x20c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x74], 0
je 0x10029a37
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x74], 0
je 0x10029a37
mov dword [ebp - 0x130], 1
jmp 0x10029a3e
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0xfff7
je 0x10029a56
mov dword [ebp - 0x138], 1
jmp 0x10029a5d
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0x138], eax
je 0x10029a7b
mov dword [ebp - 0x140], 1
jmp 0x10029a82
and dword [ebp - 0x140], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp eax, dword [ebp - 0x140]
je 0x10029a9d
mov dword [ebp - 0x7c], 1
jmp 0x10029aa1
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.10028acc
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret