Function at 0x1004baaf
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e96b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2a4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1004c983
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0xdc], 0x3b6d
mov dword [ebp - 0x114], 0x100093b0
cmp dword [ebp - 0xdc], 0x3edd
jle 0x1004bba5
and dword [ebp - 0x48], 0
jmp 0x1004bb1a
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x1924
jge 0x1004bb9f
and dword [ebp - 0x7c], 0
jmp 0x1004bb30
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x7dd2
jge 0x1004bb9a
and dword [ebp - 0x74], 0
jmp 0x1004bb46
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x65b8
jge 0x1004bb98
and dword [ebp - 0x50], 0
jmp 0x1004bb5c
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x7fe4
jge 0x1004bb96
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x74]
xor eax, dword [ebp - 0x50]
cdq
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], edx
push dword [ebp - 0x170]
push dword [ebp - 0x174]
mov ecx, 0x10615778
call fcn.1000f4d4
jmp 0x1004bb55
jmp 0x1004bb3f
jmp 0x1004bb29
jmp 0x1004bb13
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea eax, [ebp + 0x28]
mov dword [ebp - 0x184], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0xdc], 0x3a26
jge 0x1004bbce
mov edx, dword [ebp - 0x114]
mov ecx, 0x10615778
call fcn.1001223d
jmp 0x1004bbea
or dword [ebp - 4], 0xffffffff
jmp 0x1004bbf4
lea eax, [ebp + 0x18]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x1004bc5f
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
movzx eax, byte [eax]
test eax, eax
je 0x1004bc5a
push 0x1d2b
push 0x2633
push 1
push 1
push 0x79d9
push 0
push 0x3e5c
call fcn.1004b0ce
add esp, 0x1c
jmp 0x1004c981
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0xd4f2887c
mov dword [ebp - 0x70], 0
jmp 0x1004bc92
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x1004bca8
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x29c], 0xfffffff7
jmp 0x1004bc8b
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x168d
push 0
push 1
push 0x3c2e
push 0x5e0f
push 0x40a8
call fcn.1004e524
add esp, 0x20
mov dword [ebp - 0x30], 0
jmp 0x1004bce0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x26
jle 0x1004be6b
mov dword [ebp - 0x98], 0x49c3
mov dword [ebp - 0x11c], 0x100093d0
cmp dword [ebp - 0x98], 0x4d8a
jle 0x1004bdd7
and dword [ebp - 0x80], 0
jmp 0x1004bd1b
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x458c
jge 0x1004bdd7
and dword [ebp - 0x58], 0
jmp 0x1004bd35
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xfaa
jge 0x1004bdd2
and dword [ebp - 0x78], 0
jmp 0x1004bd4f
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x54ec
jge 0x1004bdcd
and dword [ebp - 0x60], 0
jmp 0x1004bd65
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x4646
jge 0x1004bdc8
mov eax, dword [ebp - 0x58]
cdq
idiv dword [ebp - 0x78]
add edx, dword [ebp - 0x60]
and edx, dword [ebp - 0x80]
mov eax, edx
cdq
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
lea ecx, [ebp - 0x278]
call fcn.1000abb3
pop ecx
pop ecx
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
call fcn.1000f3f9
push eax
call fcn.10058105
pop ecx
lea ecx, [ebp - 0x278]
call fcn.1000f3db
jmp 0x1004bd5e
jmp 0x1004bd48
jmp 0x1004bd2e
jmp 0x1004bd14
mov dword [ebp - 0x38], 0
jmp 0x1004bde7
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jg 0x1004bdfa
push 1
push 1
call fcn.10044e22
pop ecx
pop ecx
jmp 0x1004bde0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x98], 0x4649
jge 0x1004be19
push dword [ebp - 0x11c]
call fcn.10058105
pop ecx
jmp 0x1004be35
or dword [ebp - 4], 0xffffffff
jmp 0x1004be3f
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004be66
push 1
push 0
push 0x66e3
push 0x16a0
push 0x2374
call fcn.10047698
add esp, 0x14
jmp 0x1004bcd9
mov eax, dword [0x106dbc44]
and eax, 1
jne 0x1004bea2
mov eax, dword [0x106dbc44]
or eax, 1
mov dword [0x106dbc44], eax
mov dword [ebp - 4], 4
mov ecx, 0x106dbc24
call fcn.10028d02
push 0x1006ecf2
call fcn.100580db
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x68], 0
jmp 0x1004beb9
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jge 0x1004becf
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x260], 0
jmp 0x1004beb2
mov dword [ebp - 0x34], 0
jmp 0x1004bedf
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x1004bef6
mov eax, dword [ebp - 0x34]
cmp dword [ebp + eax*4 - 0x260], 0
je 0x1004bef4
jmp 0x1004bef6
jmp 0x1004bed8
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1d0]
push eax
mov ecx, 0x106dbc24
call fcn.10028db9
push eax
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x106dbc24
call fcn.10028dd0
mov ecx, eax
call fcn.10028cef
movzx eax, al
test eax, eax
je 0x1004c046
mov dword [ebp - 0x124], 0x4cd4
mov dword [ebp - 0x164], 0xd2e8588d
mov dword [ebp - 0x134], 0x7c28cae2
push 2
lea ecx, [ebp - 0x1c0]
call fcn.1000f72c
mov dword [ebp - 4], 5
mov dword [ebp - 0x13c], 8
mov dword [ebp - 0x12c], 0xbac89d73
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x190], 0xfffffffd
mov dword [ebp - 0x44], 0
jmp 0x1004bfa7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1004bfc3
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1c0]
call fcn.1000f7aa
mov dword [eax], 0xfffffff7
jmp 0x1004bfa0
lea eax, [ebp - 0x124]
push eax
push 1
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x13c]
push eax
push 0x7d14
call fcn.1004834d
add esp, 0x2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.1000f78e
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x19c]
push eax
mov ecx, 0x106dbc24
call fcn.1004f2fd
mov ecx, dword [ebp - 0xe8]
mov al, byte [eax]
mov byte [ecx], al
jmp 0x1004c9ce
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x4c], 0
jmp 0x1004c07e
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1004c094
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x1a8], 0xffffffff
jmp 0x1004c077
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xf8], 0
jmp 0x1004c0c2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf8]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xf8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xf8], 2
jg 0x1004c214
mov dword [ebp - 0x28], 0xad86e52d
mov dword [ebp - 0x28], 2
jmp 0x1004c0ed
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1004c1ef
mov dword [ebp - 0x54], 0xfffffffa
mov dword [ebp - 0x54], 2
jmp 0x1004c10e
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1004c1ea
mov dword [ebp - 0x144], 0xb3a00d0e
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x1a8], 0
je 0x1004c134
jmp 0x1004c1ea
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x1a8]
add eax, 0xfffe
mov ecx, dword [ebp - 0x28]
cmp dword [ebp + ecx*4 - 0x1a8], eax
jge 0x1004c15b
mov dword [ebp - 0x90], 1
jmp 0x1004c162
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x1a8], 0
je 0x1004c184
mov eax, 0xffff
test eax, eax
je 0x1004c184
mov dword [ebp - 0xa0], 1
jmp 0x1004c18b
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0xa0]
jg 0x1004c1a5
mov dword [ebp - 0xc8], 1
jmp 0x1004c1ac
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xf8]
add eax, dword [ebp - 0xc8]
jne 0x1004c1cf
xor eax, eax
inc eax
jne 0x1004c1cf
and dword [ebp - 0xa8], 0
jmp 0x1004c1d9
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x144], eax
jmp 0x1004c107
jmp 0x1004c0e6
mov byte [ebp - 0x2b], 0
lea eax, [ebp - 0x2b]
push eax
push 1
push 0x2ff0
push 0x53ca
push 0
push 0
call fcn.10048a0d
add esp, 0x18
jmp 0x1004c0a7
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0xf8], 0xffffffff
mov eax, dword [ebp - 0x5c]
push dword [eax]
lea eax, [ebp - 0x290]
push eax
call fcn.10044d2e
pop ecx
pop ecx
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x14c]
call fcn.1000f3f9
mov al, byte [eax]
mov byte [ebp - 0x11], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.1000f67a
mov dword [ebp - 0x198], 3
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x110], 0x37b1891f
mov dword [ebp - 0x220], 8
mov dword [ebp - 0x218], 0x29aa810d
mov dword [ebp - 0x1d4], 0xfffffffc
mov dword [ebp - 0x1d8], 1
mov dword [ebp - 0x1e0], 0x250db856
mov dword [ebp - 0x22c], 0xbe9fb1c0
mov dword [ebp - 0x1f8], 0x789328a
mov dword [ebp - 0x1dc], 0xcd9d75
mov dword [ebp - 0x20c], 0xaa61fc2d
mov dword [ebp - 0x1e4], 0xfffffff9
mov dword [ebp - 0x214], 0x8900fdb6
mov dword [ebp - 0x1f4], 7
push 2
lea ecx, [ebp - 0x1f0]
call fcn.1000f72c
mov dword [ebp - 4], 7
mov dword [ebp - 0x208], 1
mov dword [ebp - 0x204], 1
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x21c], 0xae45
mov dword [ebp - 0x20], 0
jmp 0x1004c366
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1004c382
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1f0]
call fcn.1000f7aa
mov dword [eax], 0x7110e6b6
jmp 0x1004c35f
mov dword [ebp - 0x20], 0
jmp 0x1004c392
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004c3a8
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x84], 0
jmp 0x1004c38b
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x100], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
mov dword [ebp - 0x108], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x84], eax
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x108]
jg 0x1004c3fc
mov dword [ebp - 0xd8], 1
jmp 0x1004c403
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x110], eax
push 0x2d34
push 1
push 1
push 0
push 0x5d6c
lea eax, [ebp - 0x118]
push eax
call fcn.100457d7
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.1000f78e
push 0x1e9a
push 0
push 0x12b4
push 0x6f44
push 0x106dbc24
push dword [ebp - 0x5c]
lea eax, [ebp - 0x11]
push eax
push 1
push 1
call fcn.1004552b
add esp, 0x24
mov dword [ebp - 0xb0], 0x591c
mov dword [ebp - 0x128], 0x10009434
cmp dword [ebp - 0xb0], 0x5bfa
jle 0x1004c52b
and dword [ebp - 0x64], 0
jmp 0x1004c497
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x408f
jge 0x1004c52b
and dword [ebp - 0x40], 0
jmp 0x1004c4b1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x5c36
jge 0x1004c526
and dword [ebp - 0x6c], 0
jmp 0x1004c4c7
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x139c
jge 0x1004c524
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x6c]
cdq
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
lea ecx, [ebp - 0x2b4]
call fcn.1000abb3
pop ecx
pop ecx
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
call fcn.1000f3f9
push eax
call fcn.10058105
pop ecx
lea ecx, [ebp - 0x2b4]
call fcn.1000f3db
jmp 0x1004c4c0
jmp 0x1004c4aa
jmp 0x1004c490
mov dword [ebp - 0x1c], 0xe6bacd79
mov dword [ebp - 4], 8
cmp dword [ebp - 0xb0], 0x55e5
jge 0x1004c551
push dword [ebp - 0x128]
call fcn.10058105
pop ecx
jmp 0x1004c56d
or dword [ebp - 4], 0xffffffff
jmp 0x1004c577
mov dword [ebp - 0x138], 0xb199
push 3
lea ecx, [ebp - 0x1cc]
call fcn.1000f72c
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x3c], 0
jmp 0x1004c5a5
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1004c5bb
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x238], 0xfffffffe
jmp 0x1004c59e
push 1
push 0
push 0x160a
lea eax, [ebp - 0x1cc]
push eax
push 0x54be
lea eax, [ebp - 0x3c]
push eax
push 0x364d
call fcn.1004503b
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jge 0x1004c5f5
mov dword [ebp - 0xc0], 1
jmp 0x1004c5fc
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0x1c], 0
je 0x1004c613
xor eax, eax
inc eax
je 0x1004c613
mov dword [ebp - 0xd0], 1
jmp 0x1004c61a
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd0], eax
jl 0x1004c631
mov dword [ebp - 0xb8], 1
jmp 0x1004c638
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x1c]
cmp eax, 0xffff
jne 0x1004c654
mov dword [ebp - 0xe4], 1
jmp 0x1004c65b
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0xe4]
sub eax, 0x1d9
imul eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc0], eax
jne 0x1004c698
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004c693
push 0xd06
push 1
push 1
call fcn.100450fc
add esp, 0xc
jmp 0x1004c965
mov dword [ebp - 0x24], 0xffff
push 3
lea ecx, [ebp - 0x1b4]
call fcn.1000f72c
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], 0
jmp 0x1004c6c0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004c6d6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x250], 0x3ede5c48
jmp 0x1004c6b9
mov dword [ebp - 0x18], 0
jmp 0x1004c6e6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004c6fc
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x244], 0x9cc0f90b
jmp 0x1004c6df
push 0x2f8e
push 0x765b
push 0x5444
push 0x78c0
push 0x6ce1
push 0x5472
push 0x6353
lea eax, [ebp - 0x18]
push eax
push 0x5892
push 0x4ed7
push 0
push 0x35d6
lea eax, [ebp - 0x1b4]
push eax
push 0x18d0
push 0x1221
push 1
call fcn.10045c6a
add esp, 0x40
cmp dword [ebp - 0x24], 1
jge 0x1004c761
mov dword [ebp - 0x94], 1
jmp 0x1004c768
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x94], eax
jne 0x1004c77f
mov dword [ebp - 0x8c], 1
jmp 0x1004c786
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x238], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x8c], eax
jg 0x1004c7b0
mov dword [ebp - 0x9c], 1
jmp 0x1004c7b7
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x9c]
test eax, eax
jl 0x1004c7d1
mov dword [ebp - 0xa4], 1
jmp 0x1004c7d8
and dword [ebp - 0xa4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x250]
cmp dword [ebp - 0xa4], eax
jge 0x1004c7f9
mov dword [ebp - 0xac], 1
jmp 0x1004c800
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x24]
cmp eax, 0xee35
je 0x1004c81c
mov dword [ebp - 0x88], 1
jmp 0x1004c823
and dword [ebp - 0x88], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0x244], ecx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x88], eax
jge 0x1004c84c
mov dword [ebp - 0xb4], 1
jmp 0x1004c853
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
inc eax
jne 0x1004c86a
or eax, 0xffffffff
jne 0x1004c86a
and dword [ebp - 0xbc], 0
jmp 0x1004c874
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xbc], eax
je 0x1004c88b
mov dword [ebp - 0x130], 1
jmp 0x1004c892
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x138], 0x64f9
jle 0x1004c8aa
mov dword [ebp - 0xc4], 1
jmp 0x1004c8b1
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc4], eax
jle 0x1004c8c8
mov dword [ebp - 0xcc], 1
jmp 0x1004c8cf
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0xcc]
cmp eax, 0x1af
jge 0x1004c8eb
mov dword [ebp - 0xd4], 1
jmp 0x1004c8f2
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0xc199
jle 0x1004c90a
mov dword [ebp - 0x140], 1
jmp 0x1004c911
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x224], eax
mov esi, dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0x1b4]
call fcn.1000f7aa
cmp esi, dword [eax]
jge 0x1004c93a
mov dword [ebp - 0xe0], 1
jmp 0x1004c941
and dword [ebp - 0xe0], 0
push 2
lea ecx, [ebp - 0x1cc]
call fcn.1000f7aa
mov ecx, dword [ebp - 0xe0]
mov dword [eax], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1b4]
call fcn.1000f78e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.1000f78e
mov eax, dword [ebp - 0xe8]
mov cl, byte [ebp - 0x11]
mov byte [eax], cl
jmp 0x1004c9ce
jmp 0x1004c9ce
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x148], eax
push 0x5a3e
push dword [ebp - 0x148]
push 0
push dword [ebp - 0x150]
push dword [ebp - 0x158]
push dword [ebp - 0x160]
call fcn.1004cfe4
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret