Function at 0x755390
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x755399
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x755842
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7d64c0]
cmp byte [eax], 0
jne 0x755807
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
call fcn.0045d038
test eax, eax
je 0x755807
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
call fcn.0045d038
call fcn.004597ac
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.004549e8
mov eax, dword [ebp - 4]
call fcn.0074f718
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.004549d0
sub eax, 0xb
je 0x7557ea
dec eax
jne 0x755807
mov byte [0x7d5d78], 1
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x748]
call fcn.00478058
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x748]
call fcn.00464f1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x748]
mov eax, dword [eax + 0x28c]
call fcn.0041f570
mov dword [ebp - 8], 3
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, 0x40
call fcn.00405460
lea eax, [ebp - 0x20]
mov edx, 0x755858
call fcn.00405550
mov eax, dword [ebp - 0x20]
call fcn.00405748
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x7554f9
push 0x18
push 0x18
push 0
push 0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
add edx, 0x40
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
call fcn.004032b0
mov edx, 0x75585c
lea eax, [ebp - 0x2c]
mov cl, 2
call fcn.00403280
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x24]
call fcn.004054ec
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x748]
mov eax, dword [eax + 0x28c]
mov ecx, 0x18
call fcn.004649c0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1b
jne 0x755473
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x748]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
cmp dword [ebp - 0xc], 0
je 0x755530
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x748]
call fcn.00478088
lea eax, [ebp - 0xc]
mov edx, 0x755868
call fcn.00405310
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98c]
mov eax, dword [eax + 0x22c]
call fcn.00459960
dec eax
test eax, eax
jl 0x7555ca
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98c]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00459990
cmp dword [eax + 0x10], 1
jne 0x7555c2
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98c]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 8]
call fcn.00459990
mov eax, dword [eax + 0xc]
and eax, 0xffff
sub eax, 0x3e8
lea edx, [ebp - 0x30]
call fcn.0040a83c
push dword [ebp - 0x30]
push 0x755868
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405608
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x755561
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98c]
mov eax, dword [eax + 0x22c]
call fcn.00459a54
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xb4]
push eax
imul eax, dword [ebp - 8], 0x83
mov edx, dword [0x7d6d40]
lea eax, [edx + eax]
mov ecx, 4
mov edx, 1
call fcn.004029ac
lea eax, [ebp - 0xb4]
mov edx, 0x75586c
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.0040335c
jne 0x7557c7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98c]
mov eax, dword [eax + 0x22c]
call fcn.004598f8
mov dword [ebp - 0x14], eax
push 0x75587c
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 8]
call fcn.0040a83c
push dword [ebp - 0xbc]
push 0x755888
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.00580d30
push dword [ebp - 0xc0]
push 0x755894
lea edx, [ebp - 0xc4]
mov eax, dword [0x7d71ec]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
call fcn.0040a83c
push dword [ebp - 0xc4]
push 0x7558a0
lea eax, [ebp - 0xb8]
mov edx, 7
call fcn.00405608
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x14]
call fcn.00459378
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 8]
call fcn.00581460
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 8]
add edx, 0x3e8
mov eax, dword [ebp - 0x14]
call fcn.00459428
or ecx, 0xffffffff
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00459530
imul eax, dword [ebp - 8], 0x651
mov edx, dword [0x7d6be0]
cmp byte [edx + eax*2], 0
je 0x7557c7
imul eax, dword [ebp - 8], 0x4b
mov edx, dword [0x7d7430]
cmp byte [edx + eax*2 + 2], 0
jne 0x755749
imul eax, dword [ebp - 8], 0x4b
mov edx, dword [0x7d7430]
cmp byte [edx + eax*2 + 3], 0
jne 0x755749
imul eax, dword [ebp - 8], 0x4b
mov edx, dword [0x7d7430]
cmp byte [edx + eax*2 + 0xa], 0
jne 0x755749
imul eax, dword [ebp - 8], 0x4b
mov edx, dword [0x7d7430]
cmp byte [edx + eax*2 + 0xb], 0
je 0x7557c7
imul eax, dword [ebp - 8], 0x4b
mov edx, dword [0x7d7430]
movzx edx, byte [edx + eax*2 + 5]
shl edx, 0x10
mov eax, dword [ebp - 0x14]
add edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00459428
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00459530
push 0x755868
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 8]
call fcn.0040a83c
push dword [ebp - 0xd0]
push 0x755868
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc]
call fcn.0040588c
test eax, eax
jle 0x7557c7
mov ecx, 1
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00459530
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xc8
jne 0x7555e3
mov byte [0x7d5d78], 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00757cd0
jmp 0x755807
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4d0]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00755d14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x755849
lea eax, [ebp - 0xd0]
mov edx, 7
call fcn.0040529c
lea eax, [ebp - 0x30]
call fcn.00405278
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040529c
lea eax, [ebp - 0xc]
call fcn.00405278
ret