Function at 0x10014bbd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007cbe7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
and dword [ebp - 0x12c], 0
push 2
lea ecx, [ebp - 0x1a0]
call fcn.1001810a
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x1dc]
push eax
push 0x1daa
push 0
lea eax, [ebp - 0x1a0]
push eax
call fcn.10015ff9
add esp, 0x10
mov dword [ebp - 0x18], 1
jmp 0x10014c27
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10014c66
mov dword [ebp - 0x138], 0xd4ea6801
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x138]
push eax
push 0
call fcn.1001606f
add esp, 0xc
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1a0]
call fcn.10018198
cmp dword [eax], 0
je 0x10014c64
jmp 0x10014c20
jmp 0x10014c20
mov dword [ebp - 0x18], 0
jmp 0x10014c76
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x10014cc3
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x3c], 1
jmp 0x10014c93
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10014cb0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x1a0]
call fcn.10018198
cmp dword [eax], 0
je 0x10014cae
jmp 0x10014cb0
jmp 0x10014c8c
mov byte [ebp - 0x27], 0
lea eax, [ebp - 0x27]
push eax
push 1
call fcn.10014718
pop ecx
pop ecx
jmp 0x10014c6f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.10018193
lea ecx, [ebp - 0x21c]
call fcn.10017ee7
mov dword [ebp - 4], 1
push 3
lea ecx, [ebp - 0x1d8]
call fcn.1001810a
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 6
push 2
lea ecx, [ebp - 0x1cc]
call fcn.1001810a
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 0
jmp 0x10014d1d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10014d39
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1d8]
call fcn.10018198
mov dword [eax], 0x540d7f82
jmp 0x10014d16
mov dword [ebp - 0x1c], 0
jmp 0x10014d49
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10014d65
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1cc]
call fcn.10018198
mov dword [eax], 2
jmp 0x10014d42
mov dword [ebp - 0x44], 0
jmp 0x10014d75
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jg 0x10014de5
mov dword [ebp - 0x130], 4
mov dword [ebp - 0x168], 0xa0d018d3
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10014daf
push 0
push 0x6e3b
push 0x32db
call fcn.10015a76
add esp, 0xc
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1cc]
push eax
push 0
push 0x58c
push 0x7083
lea eax, [ebp - 0x168]
push eax
call fcn.10015dec
add esp, 0x20
jmp 0x10014d6e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1cc]
call fcn.10018193
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d8]
call fcn.10018193
mov eax, dword [ebp + 0xc]
shr eax, 1
push eax
lea ecx, [ebp - 0x21c]
call fcn.10017fa3
mov dword [ebp - 0x14], 0x10c93b4e
mov dword [ebp - 0x1ec], 0xfffffffd
mov dword [ebp - 0x54], 0
jmp 0x10014e35
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10014e48
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x24], 1
jmp 0x10014e2e
mov dword [ebp - 0x14], 8
jmp 0x10014e58
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jle 0x10015079
mov dword [ebp - 0x68], 0xf592
mov dword [ebp - 0x34], 1
mov dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0x128], 9
cmp dword [ebp - 0x34], 0
je 0x10014eb0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24], 0
je 0x10014eb0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24], 0
je 0x10014eb0
mov dword [ebp - 0xbc], 1
jmp 0x10014eb7
and dword [ebp - 0xbc], 0
imul eax, dword [ebp - 0x34], 0xfffae2fa
cmp eax, dword [ebp - 0xbc]
jg 0x10014ed2
mov dword [ebp - 0x88], 1
jmp 0x10014ed9
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x88], eax
jl 0x10014ef0
mov dword [ebp - 0x118], 1
jmp 0x10014ef7
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x118], eax
jg 0x10014f0e
mov dword [ebp - 0x90], 1
jmp 0x10014f15
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x170]
jne 0x10014f4b
mov dword [ebp - 0xe0], 1
jmp 0x10014f52
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xe0], eax
je 0x10014f69
mov dword [ebp - 0x98], 1
jmp 0x10014f70
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x98], eax
jg 0x10014f8a
mov dword [ebp - 0x108], 1
jmp 0x10014f91
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0x108], eax
jg 0x10014faf
mov dword [ebp - 0xe8], 1
jmp 0x10014fb6
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xa0]
imul eax, dword [ebp - 0xe8]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x24]
jg 0x10014fdb
mov dword [ebp - 0x148], 1
jmp 0x10014fe2
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1f4], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x24]
cmp dword [ebp + eax - 0x24], ecx
jg 0x1001500d
mov dword [ebp - 0xa8], 1
jmp 0x10015014
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xa8]
lea eax, [ecx + eax + 0xa23a]
cmp eax, dword [ebp - 0x128]
jne 0x10015038
mov dword [ebp - 0x70], 1
jmp 0x1001503c
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x24], ecx
mov eax, dword [ebp - 0x70]
add eax, 0x7e17f75
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10015074
push 0
push 0xf65
push 0x34f
call fcn.100159c1
add esp, 0xc
jmp 0x10014e51
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x24], 0xce005ab1
cmp dword [ebp - 0x14], 0xce005ab1
jne 0x100150a4
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x100150a2
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x100150e3
mov dword [ebp - 0x14], 0
jmp 0x100150b4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x100150e3
mov dword [ebp - 0x64], 0x256cd219
mov dword [ebp - 0x64], 0
jmp 0x100150d1
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x100150e1
push 1
call fcn.1001475c
pop ecx
jmp 0x100150ca
jmp 0x100150ad
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp + 0xc]
jae 0x100154ef
lea eax, [ebp - 0x160]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x174], 0x7865
mov dword [ebp - 0x158], 0x23279329
mov dword [ebp - 0x16c], 0xc609e820
mov dword [ebp - 0x18c], 0x2fe868e0
mov dword [ebp - 0x1b4], 0xcb070fcb
mov dword [ebp - 0x180], 0x573c098b
mov dword [ebp - 0x164], 0xe137c2b4
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x190], 0xfffffffa
mov dword [ebp - 0x178], 0xffffffff
mov dword [ebp - 0x188], 0
push 0x2790
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x188]
push eax
push 1
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.10014793
add esp, 0x34
and dword [ebp - 0x58], 0
jmp 0x100151dd
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x58], 2
jae 0x1001521c
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x38]
xor edx, edx
div dword [0x10083830]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.1000a7d8
mov ecx, dword [ebp - 0x194]
add ecx, dword [ebp - 0x58]
mov byte [ecx], al
jmp 0x100151cf
mov dword [ebp - 0x5c], 0xe81de98
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0xf0], 0x1ac7eb23
mov dword [ebp - 0xc0], 0x38951fe5
mov dword [ebp - 0x120], 0xfffffffc
mov dword [ebp - 0x40], 0xfffffff9
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x60], 0
jmp 0x10015269
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1001527c
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x10], 1
jmp 0x10015262
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x10], 0x16
jmp 0x100152a1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x10], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0xfffffff5
jl 0x100152eb
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x4c], 0
jmp 0x100152c5
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x11
jl 0x100152e9
mov byte [ebp - 0x28], 0
push 0x5fa6
push 0x5095
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.10015bc3
add esp, 0x10
jmp 0x100152be
jmp 0x1001528c
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x10]
cmp dword [ebp + eax - 0x10], ecx
jge 0x1001530d
mov dword [ebp - 0xb0], 1
jmp 0x10015314
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xf0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0xf0]
imul ecx, ecx, 6
cmp ecx, dword [ebp + eax - 0x10]
jl 0x10015357
mov dword [ebp - 0xb8], 1
jmp 0x1001535e
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0x3585
jg 0x10015376
mov dword [ebp - 0x110], 1
jmp 0x1001537d
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xfffffff9
jbe 0x1001539e
mov dword [ebp - 0xf8], 1
jmp 0x100153a5
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0xf8], eax
jle 0x100153c3
mov dword [ebp - 0xc8], 1
jmp 0x100153ca
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x120], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp eax, dword [ebp - 0x120]
jg 0x100153f4
mov dword [ebp - 0x17c], 1
jmp 0x100153fb
and dword [ebp - 0x17c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x5c], 0xffffffff
jae 0x10015437
mov dword [ebp - 0x6c], 1
jmp 0x1001543b
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x10], ecx
cmp dword [ebp - 0x6c], 0
jne 0x10015452
cmp dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
jle 0x10015466
mov dword [ebp - 0x1a4], 1
jmp 0x1001546d
and dword [ebp - 0x1a4], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 9
jl 0x10015486
mov dword [ebp - 0xd0], 1
jmp 0x1001548d
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xd0], eax
je 0x100154a4
mov dword [ebp - 0x100], 1
jmp 0x100154ab
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x100], eax
jl 0x100154c2
mov dword [ebp - 0x184], 1
jmp 0x100154c9
and dword [ebp - 0x184], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x15c], eax
push dword [ebp - 0x160]
lea ecx, [ebp - 0x21c]
call fcn.10017f6c
jmp 0x100150e7
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x74], 0xfffffffe
mov dword [ebp - 0x2c], 0x8ad88ca0
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0xac], 4
mov dword [ebp - 0x154], 3
mov dword [ebp - 0x20], 0
jmp 0x1001552f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10015545
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1b0], 0xfffffffa
jmp 0x10015528
mov dword [ebp - 0x20], 0
jmp 0x10015555
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1001556b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1c0], 0
jmp 0x1001554e
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x134], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1c0]
mov dword [ebp - 0x13c], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1c0]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x1c0], eax
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x13c]
jl 0x100155b9
mov dword [ebp - 0xd8], 1
jmp 0x100155c0
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x14c]
jge 0x100155f6
mov dword [ebp - 0x84], 1
jmp 0x100155fd
and dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1b0]
mov dword [ebp - 0x8c], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x1b0], ecx
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x8c]
jl 0x10015639
mov dword [ebp - 0x80], 1
jmp 0x1001563d
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x48], 0x7796
jg 0x10015664
mov dword [ebp - 0x94], 1
jmp 0x1001566b
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x7c], eax
jle 0x10015688
mov dword [ebp - 0x9c], 1
jmp 0x1001568f
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xffffffff
jne 0x100156a4
mov dword [ebp - 0xa4], 1
jmp 0x100156ab
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x4d41
jle 0x100156cf
mov dword [ebp - 0xb4], 1
jmp 0x100156d6
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xc74c3eec
jbe 0x100156ee
mov dword [ebp - 0xc4], 1
jmp 0x100156f5
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x2c]
jne 0x1001570f
mov dword [ebp - 0xcc], 1
jmp 0x10015716
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0xcc]
cmp eax, 9
jne 0x10015731
mov dword [ebp - 0xd4], 1
jmp 0x10015738
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xd4], eax
jg 0x1001574f
mov dword [ebp - 0xdc], 1
jmp 0x10015756
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x48]
cmp eax, 1
jle 0x100157cb
mov dword [ebp - 0x1f8], 0x5d909cc0
mov dword [ebp - 0x1f0], 0x42f2aa78
mov dword [ebp - 0x200], 0xffffffff
mov dword [ebp - 0x50], 0
jmp 0x10015795
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x100157ab
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x224], 1
jmp 0x1001578e
push 1
push 0x7a95
push 0x44fc
lea eax, [ebp - 0x154]
push eax
call fcn.10014b47
add esp, 0x10
jmp 0x100158ff
mov dword [ebp - 0x114], 0x995e
mov dword [ebp - 0x10c], 6
push 4
pop eax
test eax, eax
je 0x100157f8
cmp dword [ebp - 0x2c], 0
je 0x100157f8
mov dword [ebp - 0xe4], 1
jmp 0x100157ff
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0x6ae4
jle 0x10015817
mov dword [ebp - 0xf4], 1
jmp 0x1001581e
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x2c], eax
jl 0x10015835
mov dword [ebp - 0xec], 1
jmp 0x1001583c
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
add eax, 0x18e0da55
mov ecx, dword [ebp - 0xf4]
sub ecx, eax
jne 0x10015860
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1b0], 0
je 0x10015872
cmp dword [ebp - 0x7c], 0
je 0x10015872
mov dword [ebp - 0xfc], 1
jmp 0x10015879
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
add eax, 6
test eax, eax
jle 0x10015892
mov dword [ebp - 0x104], 1
jmp 0x10015899
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1b0]
cmp dword [ebp - 0x10c], eax
je 0x100158c5
mov dword [ebp - 0x11c], 1
jmp 0x100158cc
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x11c], eax
je 0x100158e6
mov dword [ebp - 0x124], 1
jmp 0x100158ed
and dword [ebp - 0x124], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax - 0x1b0], ecx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10017efa
mov eax, dword [ebp - 0x12c]
or eax, 1
mov dword [ebp - 0x12c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.10017f44
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret