Function at 0x100299df
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
push edi
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1f8], eax
mov eax, 0x469ad59e
test eax, eax
je 0x10029aba
mov dword [ebp - 0x6c], 0
jmp 0x10029a16
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x10029a29
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x3c], 0xa0029bf3
jmp 0x10029a0f
mov dword [ebp - 8], 0
jmp 0x10029a39
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x10029a95
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x3c]
mov dword [ebp - 0x224], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x3c]
mov dword [ebp - 0x258], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x1c8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp + ecx*4 - 0x3c], eax
jmp 0x10029a32
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x10029ab5
push 1
push 0x6ffc
push 0x6280
call fcn.10028b0b
add esp, 0xc
jmp 0x10029b4f
mov dword [ebp - 0x4c], 0
jmp 0x10029aca
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x10029ae0
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x218], 3
jmp 0x10029ac3
mov dword [ebp - 8], 0
jmp 0x10029af0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x10029b39
mov dword [ebp - 0x190], 8
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10029b1c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push 0
push 0x7628
lea eax, [ebp - 0x190]
push eax
push 0x1cdb
call fcn.1002add2
add esp, 0x10
jmp 0x10029ae9
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x10029b4f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x10029b69
push 0
push 0x6525
call fcn.1002ae4a
pop ecx
pop ecx
and dword [ebp - 0x274], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x270]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0x9beb0647
mov dword [ebp - 0x10], 0xfffffffb
mov dword [ebp - 0x24], 0x974ca779
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x244], eax
push 6
pop eax
cmp eax, 0x1f38
jne 0x10029bbc
xor eax, eax
inc eax
jne 0x10029bbc
and dword [ebp - 0xd4], 0
jmp 0x10029bc6
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xd4], eax
jge 0x10029bdd
mov dword [ebp - 0x198], 1
jmp 0x10029be4
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], eax
jg 0x10029bfe
mov dword [ebp - 0x16c], 1
jmp 0x10029c05
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x16c], eax
jg 0x10029c1c
mov dword [ebp - 0x138], 1
jmp 0x10029c23
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 4]
jg 0x10029c3d
mov dword [ebp - 0x1a0], 1
jmp 0x10029c44
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x12
jmp 0x10029c6c
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
jne 0x1002a0b6
mov dword [ebp - 0x74], 0x3f12
mov dword [ebp - 0x18], 0xff51
mov dword [ebp - 0x28], 0x39c1d5
mov dword [ebp - 0x54], 0
jmp 0x10029c9b
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x10029cae
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x48], 0x91450187
jmp 0x10029c94
cmp dword [ebp - 4], 0
je 0x10029d30
push 3
pop eax
test eax, eax
je 0x10029ccd
cmp dword [ebp - 0x74], 0
je 0x10029ccd
mov dword [ebp - 0x164], 1
jmp 0x10029cd4
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 0x5f4
jne 0x10029cec
mov dword [ebp - 0xa0], 1
jmp 0x10029cf3
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xa0], eax
jl 0x10029d0d
cmp dword [ebp - 0x74], 0
je 0x10029d0d
mov dword [ebp - 0x7c], 1
jmp 0x10029d11
and dword [ebp - 0x7c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0x48], ecx
cmp dword [ebp - 0x7c], 0
je 0x10029d30
mov dword [ebp - 0x170], 1
jmp 0x10029d37
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1e0], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x48], 0
je 0x10029d56
mov eax, 0xa048c84
test eax, eax
jne 0x10029d5a
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x28], eax
jge 0x10029d87
mov dword [ebp - 0x108], 1
jmp 0x10029d8e
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
neg eax
sub eax, 0x7f583923
cmp eax, dword [ebp - 0x18]
jge 0x10029db2
mov dword [ebp - 0xa8], 1
jmp 0x10029db9
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 1
jmp 0x10029dd2
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1002a0b1
mov dword [ebp - 0xd0], 0x58b9e079
mov dword [ebp - 0x34], 0xc66c3c34
mov dword [ebp - 0x194], 0xfffffffb
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x48], 0
jne 0x10029fbb
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x48]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x10], 0
je 0x10029f97
cmp dword [ebp - 0x24], 0x42a26b13
je 0x10029e34
mov dword [ebp - 0x160], 1
jmp 0x10029e3b
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x160], eax
je 0x10029e52
mov dword [ebp - 0xb0], 1
jmp 0x10029e59
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xb0], eax
jne 0x10029e70
mov dword [ebp - 0x17c], 1
jmp 0x10029e77
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x48]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 4], 7
jle 0x10029e96
mov dword [ebp - 0x110], 1
jmp 0x10029e9d
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x110], eax
jge 0x10029eb4
mov dword [ebp - 0xb8], 1
jmp 0x10029ebb
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x48]
cmp dword [ebp - 0xb8], eax
je 0x10029ed6
mov dword [ebp - 0x140], 1
jmp 0x10029edd
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 4
jne 0x10029ef2
mov dword [ebp - 0xc0], 1
jmp 0x10029ef9
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 7
jne 0x10029f18
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x48], 0
jne 0x10029f18
and dword [ebp - 0x118], 0
jmp 0x10029f22
mov dword [ebp - 0x118], 1
cmp dword [ebp - 0x118], 0x6324
jle 0x10029f3a
mov dword [ebp - 0xc8], 1
jmp 0x10029f41
and dword [ebp - 0xc8], 0
imul eax, dword [ebp - 0xc8], 0xbfd
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x158]
mov dword [ebp + eax*4 - 0x48], ecx
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 4]
test eax, eax
jne 0x10029f8b
push 3
pop eax
test eax, eax
je 0x10029f97
mov dword [ebp - 0x120], 1
jmp 0x10029f9e
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
dec eax
imul eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x194]
cmp eax, 0xe8f1e0ef
jb 0x1002a046
mov dword [ebp - 0x254], 0x26224f16
mov dword [ebp - 0x1c0], 0xae89e6d5
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0x28], 1
jmp 0x10029fe9
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1002a037
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x48], 0
je 0x10029ffb
jmp 0x1002a037
push 0x4066
lea eax, [ebp - 0x34]
push eax
push 1
push 0x79ca
push 0x8d2
push 0x5544
push 0x765f
push 0x1079
lea eax, [ebp - 0x24]
push eax
push 0x6f9f
push 0x5eef
call fcn.100296e8
add esp, 0x2c
jmp 0x10029fe2
mov eax, dword [ebp - 0xd8]
dec eax
mov dword [ebp - 0xd8], eax
jmp 0x1002a0a1
mov dword [ebp - 0x34], 0
jmp 0x1002a056
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jle 0x1002a087
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0xfffffff8
jle 0x1002a075
mov dword [ebp - 0x148], 1
jmp 0x1002a07c
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 4], eax
jmp 0x1002a04f
mov byte [ebp - 0x38], 0
movzx eax, byte [ebp - 0x38]
test eax, eax
je 0x1002a0a1
push 1
push 0x4859
call fcn.100298a9
pop ecx
pop ecx
cmp dword [ebp - 0x74], 0
je 0x1002a0ac
jmp 0x10029dcb
jmp 0x10029dcb
jmp 0x10029c65
push 0x1c
lea eax, [ebp - 0x274]
push eax
push dword [ebp + 8]
push 0xa50b
push 0xca49
call fcn.100239d6
pop ecx
pop ecx
call eax
test eax, eax
je 0x1002aa44
mov dword [ebp - 0x40], 0x43d837bc
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x1bc], 0xd39c7c6f
mov dword [ebp - 0x1b8], 0xd39c7c6f
mov dword [ebp - 0x1b4], 0xd39c7c6f
mov dword [ebp - 0x1b0], 0xd39c7c6f
mov dword [ebp - 0x19c], 0x2280
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x5c], 0
jmp 0x1002a137
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1002a14d
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x280], 1
jmp 0x1002a130
cmp dword [ebp - 0x40], 0
jne 0x1002a1fd
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x80], eax
jg 0x1002a16b
mov dword [ebp - 0xe0], 1
jmp 0x1002a172
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0xe0], eax
jge 0x1002a189
mov dword [ebp - 0x128], 1
jmp 0x1002a190
and dword [ebp - 0x128], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1bc]
cmp dword [ebp - 0x128], eax
jne 0x1002a1b1
mov dword [ebp - 0x184], 1
jmp 0x1002a1b8
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x19c]
imul eax, dword [ebp - 0x40]
imul eax, eax, 9
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x80], eax
jge 0x1002a1e2
mov dword [ebp - 0x168], 1
jmp 0x1002a1e9
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x168], eax
jne 0x1002a1fd
and dword [ebp - 0xf0], 0
jmp 0x1002a207
mov dword [ebp - 0xf0], 1
cmp dword [ebp - 0xf0], 0xdffb
je 0x1002a21f
mov dword [ebp - 0x18c], 1
jmp 0x1002a226
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x234], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov eax, dword [ebp + eax - 0x1bc]
mov dword [ebp + ecx - 0x280], eax
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1002a262
push 0x5882
push 1
call fcn.100298eb
pop ecx
pop ecx
mov dword [ebp - 0x180], 0xee
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x178], 0xcbad
mov dword [ebp - 0x174], 0xfc371865
mov dword [ebp - 0x68], 0
jmp 0x1002a297
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jge 0x1002a2ad
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x290], 0x223fa3a9
jmp 0x1002a290
mov dword [ebp - 0x64], 0xffffffe4
jmp 0x1002a2bd
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x16
jge 0x1002a34c
mov dword [ebp - 0x130], 0x8b5131d8
mov dword [ebp - 0x70], 0
jmp 0x1002a2e1
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 4
jge 0x1002a2f7
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x2a0], 0xd416db6d
jmp 0x1002a2da
mov dword [ebp - 0x174], 0xffff
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a0]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
cmp dword [ebp - 0x178], eax
jg 0x1002a32e
mov dword [ebp - 0xf8], 1
jmp 0x1002a335
and dword [ebp - 0xf8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xf8]
mov dword [ebp + eax - 0x290], ecx
jmp 0x1002a2b6
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1002a360
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x260]
and eax, dword [ebp - 0x180]
jne 0x1002a37a
mov dword [ebp - 0x150], 1
jmp 0x1002a381
and dword [ebp - 0x150], 0
mov al, byte [ebp - 0x150]
mov byte [ebp - 0x11], al
mov dword [ebp - 0x84], 0xa945cb81
mov dword [ebp - 0x9c], 4
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0xc4], 0xe2b79dc8
mov dword [ebp - 0xcc], 7
mov dword [ebp - 0x188], 0xffffffff
mov dword [ebp - 0x200], 0xffffffff
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x208], 0xe784b52d
mov dword [ebp - 0x23c], 1
mov dword [ebp - 0x210], 0x8792891f
mov dword [ebp - 0x248], 0xc090200
mov dword [ebp - 0x1c4], 0xfffffff9
mov dword [ebp - 0x1cc], 0x3de76903
mov dword [ebp - 0x1d4], 0xfffffffd
mov dword [ebp - 0x1dc], 0xfffffff8
mov dword [ebp - 0x1e4], 0x5d3e8ea4
mov dword [ebp - 0x1ec], 0x80dda259
mov dword [ebp - 0x1f4], 0xfffffff7
mov dword [ebp - 0xec], 0x846e1d67
mov dword [ebp - 0x78], 0
jmp 0x1002a462
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x1002a478
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x90], 0x5e1f6f08
jmp 0x1002a45b
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
mov dword [ebp - 0x1fc], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
mov dword [ebp - 0x204], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x90], 0
jne 0x1002a4c6
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x90], 0
jne 0x1002a4c6
and dword [ebp - 0x100], 0
jmp 0x1002a4d0
mov dword [ebp - 0x100], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
sub eax, dword [ebp - 0x100]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x20c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x84], 0
je 0x1002a526
mov eax, 0xbec5
test eax, eax
je 0x1002a526
mov dword [ebp - 0x98], 1
jmp 0x1002a52d
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp eax, dword [ebp - 0x9c]
jle 0x1002a566
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x90], 0
jne 0x1002a566
and dword [ebp - 0xa4], 0
jmp 0x1002a570
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
inc eax
imul eax, eax, 0x445a
add eax, 7
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x90]
jne 0x1002a5a7
mov dword [ebp - 0xb4], 1
jmp 0x1002a5ae
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xcca69919
jb 0x1002a5c6
mov dword [ebp - 0xbc], 1
jmp 0x1002a5cd
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0xcc], eax
jge 0x1002a606
mov dword [ebp - 0x94], 1
jmp 0x1002a60d
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 1
jae 0x1002a622
mov dword [ebp - 0xdc], 1
jmp 0x1002a629
and dword [ebp - 0xdc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0xdc], eax
jge 0x1002a649
mov dword [ebp - 0xe4], 1
jmp 0x1002a650
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x260]
and eax, 0x101
je 0x1002a67a
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x1c], 0x12aa53f0
mov dword [ebp - 0x20], 0
jmp 0x1002a691
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1002a6a4
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xc], 0x289a6957
jmp 0x1002a68a
mov dword [ebp - 0x20], 0
jmp 0x1002a6b4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002a6ca
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x230], 0
jmp 0x1002a6ad
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
jle 0x1002a6ee
mov dword [ebp - 0xf4], 1
jmp 0x1002a6f5
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 0xfc36fe5a
je 0x1002a70d
mov dword [ebp - 0xfc], 1
jmp 0x1002a714
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xbb8b
jl 0x1002a732
mov dword [ebp - 0x104], 1
jmp 0x1002a739
and dword [ebp - 0x104], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
mov ecx, dword [ebp - 0x104]
add ecx, 0x32c5b641
imul eax, ecx
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0xc]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xc]
je 0x1002a781
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
je 0x1002a781
mov dword [ebp - 0x10c], 1
jmp 0x1002a788
and dword [ebp - 0x10c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x10c], eax
jl 0x1002a7a6
mov dword [ebp - 0x114], 1
jmp 0x1002a7ad
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
neg eax
je 0x1002a7d0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
je 0x1002a7d0
mov dword [ebp - 0x11c], 1
jmp 0x1002a7d7
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
add eax, dword [ebp - 0x11c]
cmp eax, 7
jbe 0x1002a7f8
mov dword [ebp - 0x124], 1
jmp 0x1002a7ff
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 9
jne 0x1002a814
mov dword [ebp - 0x12c], 1
jmp 0x1002a81b
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
neg eax
je 0x1002aa25
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1002a843
push 0x67cb
push 1
call fcn.10029935
pop ecx
pop ecx
mov dword [ebp - 0x1c], 0
jmp 0x1002a853
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1002aa23
mov dword [ebp - 0x14c], 0xb66c
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xc], 0
je 0x1002a896
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1002a891
push 0x396f
push 0
push 0x4efd
call fcn.1002aa4b
add esp, 0xc
jmp 0x1002a94e
mov dword [ebp - 0x50], 0
jmp 0x1002a8a6
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1002a8bc
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1ac], 0xc7e011b5
jmp 0x1002a89f
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1ac], 0
jmp 0x1002a8ea
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1ac]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1ac], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1ac], 0
jl 0x1002a94e
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x58], 0
jmp 0x1002a911
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jg 0x1002a94c
mov dword [ebp - 0x60], 9
mov dword [ebp - 0x60], 0
jmp 0x1002a92e
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x1002a94a
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x1002a948
push 1
call fcn.10029974
pop ecx
jmp 0x1002a927
jmp 0x1002a90a
jmp 0x1002a8cf
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
je 0x1002aa04
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xc], 0
je 0x1002a97a
xor eax, eax
inc eax
je 0x1002a97a
mov dword [ebp - 0x13c], 1
jmp 0x1002a981
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0x7758a8ce
jne 0x1002a99d
mov dword [ebp - 0x134], 1
jmp 0x1002a9a4
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x14c]
add eax, dword [ebp - 0x134]
cmp dword [ebp - 0x13c], eax
jle 0x1002a9c4
mov dword [ebp - 0x144], 1
jmp 0x1002a9cb
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0xe630971c
jbe 0x1002a9e3
mov dword [ebp - 0x154], 1
jmp 0x1002a9ea
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x14c]
cmp dword [ebp - 0x154], eax
jle 0x1002aa04
mov dword [ebp - 0x15c], 1
jmp 0x1002aa0b
and dword [ebp - 0x15c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x15c]
mov dword [ebp + eax - 0x230], ecx
jmp 0x1002a84c
jmp 0x1002aa3f
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002aa3f
push 0xb02
push 1
call fcn.1002999f
pop ecx
pop ecx
mov al, byte [ebp - 0x11]
jmp 0x1002aa46
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret