Function at 0x1002cd49
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002d478
lea eax, [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x80], 0x1b63
cmp dword [ebp - 0x80], 0x129a
jge 0x1002d444
push 0x106dcbec
mov ecx, 0x106552b0
call fcn.100096b2
cmp dword [0x106dcbec], 1
jne 0x1002cdb1
push fcn.1000ce67
push 1
mov ecx, 0x106551f8
call fcn.100098ad
mov ecx, eax
call fcn.100098a1
and dword [ebp - 8], 0
jmp 0x1002cdbe
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x106dcbec]
jge 0x1002cf47
and dword [ebp - 4], 0
jmp 0x1002cdda
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [0x106dcbec]
jge 0x1002cf42
imul eax, dword [ebp - 8], 0x268
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*8 + 0x10656e40]
push eax
mov ecx, 0x106552b0
call fcn.100331b5
imul eax, dword [ebp - 8], 0x268
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*8 + 0x10656e40]
or eax, dword [esi + edx*8 + 0x10656e44]
jne 0x1002ce4f
mov eax, dword [ebp - 8]
cdq
mov dword [0x10662920], eax
mov dword [0x10662924], edx
mov eax, dword [ebp - 4]
cdq
mov dword [0x1073e678], eax
mov dword [0x1073e67c], edx
imul eax, dword [ebp - 8], 0x268
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esi, dword [ecx*8 + 0x1073e6b8]
add esi, dword [eax + edx*8 + 0x10656e40]
mov ecx, dword [ecx*8 + 0x1073e6bc]
adc ecx, dword [eax + edx*8 + 0x10656e44]
mov eax, dword [ebp - 8]
mov dword [eax*8 + 0x1073e6b8], esi
mov dword [eax*8 + 0x1073e6bc], ecx
imul eax, dword [ebp - 8], 0x268
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov esi, dword [ecx*8 + 0x106568a0]
add esi, dword [eax + edx*8 + 0x10656e40]
mov ecx, dword [ecx*8 + 0x106568a4]
adc ecx, dword [eax + edx*8 + 0x10656e44]
mov eax, dword [ebp - 4]
mov dword [eax*8 + 0x106568a0], esi
mov dword [eax*8 + 0x106568a4], ecx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x1002cefb
imul eax, dword [ebp - 8], 0x268
mov ecx, dword [ebp - 4]
mov edx, dword [0x10656b08]
add edx, dword [eax + ecx*8 + 0x10656e40]
mov esi, dword [0x10656b0c]
adc esi, dword [eax + ecx*8 + 0x10656e44]
mov dword [0x10656b08], edx
mov dword [0x10656b0c], esi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 1]
cmp eax, dword [0x106dcbec]
jne 0x1002cf3d
imul eax, dword [ebp - 8], 0x268
mov ecx, dword [ebp - 4]
mov edx, dword [0x10656d98]
add edx, dword [eax + ecx*8 + 0x10656e40]
mov esi, dword [0x10656d9c]
adc esi, dword [eax + ecx*8 + 0x10656e44]
mov dword [0x10656d98], edx
mov dword [0x10656d9c], esi
jmp 0x1002cdd3
jmp 0x1002cdb7
xorpd xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
and dword [ebp - 0x18], 0
jmp 0x1002cf5d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x106dcbec]
jge 0x1002cfad
mov eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov eax, dword [0x10662920]
cmp eax, dword [ebp - 0x90]
jne 0x1002cf92
mov eax, dword [0x10662924]
cmp eax, dword [ebp - 0x8c]
je 0x1002cfab
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax*8 + 0x1073e6b8]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax*8 + 0x1073e6bc]
mov dword [ebp - 0xc], eax
jmp 0x1002cfad
jmp 0x1002cf56
mov eax, dword [0x10662920]
cmp eax, dword [0x1073e678]
jne 0x1002cfc7
mov eax, dword [0x10662924]
cmp eax, dword [0x1073e67c]
je 0x1002cff3
mov eax, dword [0x10656b08]
cmp eax, dword [ebp - 0x10]
jne 0x1002cfdb
mov eax, dword [0x10656b0c]
cmp eax, dword [ebp - 0xc]
je 0x1002cff3
push fcn.1000ce67
push 0xffffffffffffffff
mov ecx, 0x106551f8
call fcn.100098ad
mov ecx, eax
call fcn.100098a1
mov ecx, dword [0x10662920]
add ecx, dword [0x1073e678]
mov esi, dword [0x10662924]
adc esi, dword [0x1073e67c]
add ecx, 1
adc esi, 0
mov eax, dword [0x106dcbec]
cdq
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x3c]
jne 0x1002d033
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x38]
je 0x1002d05f
mov eax, dword [0x10656d98]
cmp eax, dword [ebp - 0x10]
jne 0x1002d047
mov eax, dword [0x10656d9c]
cmp eax, dword [ebp - 0xc]
je 0x1002d05f
push fcn.1000ce67
push 0xffffffffffffffff
mov ecx, 0x106551f8
call fcn.100098ad
mov ecx, eax
call fcn.100098a1
and dword [ebp - 0x14], 0
jmp 0x1002d06c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x106dcbec]
jge 0x1002d138
mov eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x48]
cmp eax, dword [0x10662920]
jne 0x1002d09b
mov eax, dword [ebp - 0x44]
cmp eax, dword [0x10662924]
je 0x1002d0d7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax*8 + 0x1073e6b8]
cmp eax, dword [ebp - 0x10]
jne 0x1002d0bf
mov eax, dword [ebp - 0x24]
mov eax, dword [eax*8 + 0x1073e6bc]
cmp eax, dword [ebp - 0xc]
je 0x1002d0d7
push fcn.1000ce67
push 0xffffffffffffffff
mov ecx, 0x106551f8
call fcn.100098ad
mov ecx, eax
call fcn.100098a1
mov eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x54]
cmp eax, dword [0x1073e678]
jne 0x1002d0f7
mov eax, dword [ebp - 0x50]
cmp eax, dword [0x1073e67c]
je 0x1002d133
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax*8 + 0x106568a0]
cmp eax, dword [ebp - 0x10]
jne 0x1002d11b
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax*8 + 0x106568a4]
cmp eax, dword [ebp - 0xc]
je 0x1002d133
push fcn.1000ce67
push 0xffffffffffffffff
mov ecx, 0x106551f8
call fcn.100098ad
mov ecx, eax
call fcn.100098a1
jmp 0x1002d065
push 0
push 8
push dword [0x10662924]
push dword [0x10662920]
call fcn.100519d0
mov esi, dword [ebp - 0x10]
sub esi, dword [eax + 0x1073e6b8]
mov edi, dword [ebp - 0xc]
sbb edi, dword [eax + 0x1073e6bc]
push 0
push 0x268
push dword [0x10662924]
push dword [0x10662920]
call fcn.100519d0
mov ebx, eax
push 0
push 8
push dword [0x1073e67c]
push dword [0x1073e678]
call fcn.100519d0
mov dword [ebx + eax + 0x10656e40], esi
mov dword [ebx + eax + 0x10656e44], edi
push 0
push 0x268
push dword [0x10662924]
push dword [0x10662920]
call fcn.100519d0
mov esi, eax
push 0
push 8
push dword [0x1073e67c]
push dword [0x1073e678]
call fcn.100519d0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax + 0x10656e44], 0
jl 0x1002d26d
jg 0x1002d1f7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax + 0x10656e40], 0
jbe 0x1002d26d
push 0
push 8
push dword [0x1073e67c]
push dword [0x1073e678]
call fcn.100519d0
mov esi, eax
push 0
push 0x268
push dword [0x10662924]
push dword [0x10662920]
call fcn.100519d0
mov edi, eax
push 0
push 8
push dword [0x1073e67c]
push dword [0x1073e678]
call fcn.100519d0
mov ecx, dword [esi + 0x106568a0]
add ecx, dword [edi + eax + 0x10656e40]
mov edx, dword [esi + 0x106568a4]
adc edx, dword [edi + eax + 0x10656e44]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x10]
jne 0x1002d26d
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0xc]
je 0x1002d285
push fcn.1000ce67
push 0xffffffffffffffff
mov ecx, 0x106551f8
call fcn.100098ad
mov ecx, eax
call fcn.100098a1
mov eax, dword [0x10662920]
cmp eax, dword [0x1073e678]
jne 0x1002d31a
mov eax, dword [0x10662924]
cmp eax, dword [0x1073e67c]
jne 0x1002d31a
push 0
push 0x268
push dword [0x10662924]
push dword [0x10662920]
call fcn.100519d0
mov esi, eax
push 0
push 8
push dword [0x1073e67c]
push dword [0x1073e678]
call fcn.100519d0
mov ecx, dword [0x10656b08]
add ecx, dword [esi + eax + 0x10656e40]
mov edx, dword [0x10656b0c]
adc edx, dword [esi + eax + 0x10656e44]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x10]
jne 0x1002d302
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0xc]
je 0x1002d31a
push fcn.1000ce67
push 0xffffffffffffffff
mov ecx, 0x106551f8
call fcn.100098ad
mov ecx, eax
call fcn.100098a1
mov ecx, dword [0x10662920]
add ecx, dword [0x1073e678]
mov esi, dword [0x10662924]
adc esi, dword [0x1073e67c]
add ecx, 1
adc esi, 0
mov eax, dword [0x106dcbec]
cdq
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x88]
jne 0x1002d3f1
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x84]
jne 0x1002d3f1
push 0
push 0x268
push dword [0x10662924]
push dword [0x10662920]
call fcn.100519d0
mov esi, eax
push 0
push 8
push dword [0x1073e67c]
push dword [0x1073e678]
call fcn.100519d0
mov ecx, dword [0x10656d98]
add ecx, dword [esi + eax + 0x10656e40]
mov edx, dword [0x10656d9c]
adc edx, dword [esi + eax + 0x10656e44]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x10]
jne 0x1002d3d9
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0xc]
je 0x1002d3f1
push fcn.1000ce67
push 0xffffffffffffffff
mov ecx, 0x106551f8
call fcn.100098ad
mov ecx, eax
call fcn.100098a1
push fcn.1000ce67
push 0
push 0x268
push dword [0x10662924]
push dword [0x10662920]
call fcn.100519d0
mov esi, eax
push 0
push 8
push dword [0x1073e67c]
push dword [0x1073e678]
call fcn.100519d0
push dword [esi + eax + 0x10656e44]
push dword [esi + eax + 0x10656e40]
mov ecx, 0x106551f8
call fcn.1000ecdf
mov ecx, eax
call fcn.100098a1
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1002d458
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1002d476
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1002d476
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
jmp 0x1002d48a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push 0
call fcn.10014e61
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret