Function at 0x44b30b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
push ebx
push esi
push edi
push 0x48b5d4
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
movsx ax, byte [ebx]
xor esi, esi
mov si, word [ebx]
push 0x64
lea ecx, [ebp - 0x34]
mov word [ebx], ax
mov edi, esi
and edi, 0x100
mov dword [ebp - 0x50], edi
call fcn.0042465d
xor al, al
test edi, edi
je 0x44b34e
inc al
test si, 0x200
je 0x44b357
or al, 1
push dword [ebp + 8]
or al, 1
mov byte [ebp - 0x58], al
call fcn.0042745d
test ax, ax
pop ecx
je 0x44b374
mov edi, 0x40000000
jmp 0x44b6e9
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov eax, dword [0x47c15c]
mov esi, 0x47c154
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], eax
mov eax, dword [0x47c160]
push 0x1000a2
lea ecx, [ebp - 0x1c]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x3c], eax
call fcn.00424576
mov esi, dword [ebp - 0x1c]
push 0xa2
xor edi, edi
add esi, 0x100000
push edi
push esi
call fcn.00461780
cmp word [ebx], di
push edi
push dword [ebp - 0x1c]
setne byte [ebp - 1]
push esi
mov word [ebx], di
call fcn.0042efef
mov al, byte [ebp - 1]
add esp, 0x18
neg al
sbb eax, eax
xor ecx, ecx
and eax, 0xf
cmp byte [ebp - 1], cl
mov dword [ebp - 8], eax
sete cl
cmp eax, 0x10
lea ecx, [ecx + ecx - 1]
mov dword [ebp - 0x30], ecx
jge 0x44b6e1
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
shl ecx, 8
lea ebx, [eax + 1]
shl ebx, 8
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x2c], ebx
jmp 0x44b40f
mov eax, dword [ebp - 8]
cmp eax, edi
jl 0x44b6e1
push eax
lea eax, [ebp - 0x1e8]
push str..PhysicalDrive_d
push eax
call esi
add esp, 0xc
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push edi
push 0x20000000
push 3
push edi
push 3
push 0x80000000
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0xc]
call fcn.00403993
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp - 0xc], edi
je 0x44b6b7
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
push dword [ebp - 0xc]
call fcn.00427525
add esp, 0xc
cmp eax, edi
je 0x44b6b7
mov cl, byte [ebp - 1]
mov edx, dword [ebp - 0x24]
dec edx
neg cl
sbb ecx, ecx
and ecx, edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x14], ecx
jge 0x44b6b7
mov ecx, dword [ebp - 0x30]
shl ecx, 5
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x14]
shl ecx, 5
lea ecx, [ecx + eax + 0x1c]
mov dword [ebp - 0x38], ecx
movzx eax, byte [ecx + 4]
cmp eax, edi
movsx ecx, word [ecx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
je 0x44b699
cmp eax, 5
je 0x44b699
cmp eax, 0xf
je 0x44b699
cmp eax, 0x85
je 0x44b699
or dword [ebp - 0x28], 0xffffffff
xor ebx, ebx
mov ecx, dword [ebp - 0x1c]
movsx eax, bx
add ecx, 0x100000
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
movsx edx, word [eax + 2]
cmp edx, dword [ebp - 8]
jne 0x44b50b
movsx eax, word [eax]
cmp eax, dword [ebp - 0x10]
je 0x44b514
inc ebx
cmp bx, 0x1a
jl 0x44b4e8
jmp 0x44b517
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, 3
jg 0x44b524
inc eax
jmp 0x44b52c
cdq
push 4
pop edi
idiv edi
add eax, edi
cmp word [ebp - 0x28], 0
movsx eax, ax
mov dword [ebp - 0x20], eax
jge 0x44b5c6
movsx eax, word [ebp - 0x10]
push eax
movsx eax, word [ebp - 8]
push eax
push str.DeviceHarddisk_dPartition_d
push dword [ebp - 0x34]
call esi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
add esp, 0x10
call ebx
mov edi, eax
call ebx
push 0xffffffffffffffff
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0xc
push eax
call fcn.0042740b
mov ecx, dword [ebp + 8]
mov word [ecx], ax
add esp, 0xc
or ecx, 0xffffffff
test ax, ax
mov word [ebp - 0x40], ax
mov ebx, dword [ebp - 0x40]
mov word [ebp - 0x4c], ax
je 0x44b5a6
push dword [ebp - 0x58]
lea eax, [ebp - 0x40]
push 0
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x34]
call fcn.00427304
add esp, 0x14
mov ecx, eax
push ecx
push edi
push dword [ebp - 0x20]
movzx eax, bx
push dword [ebp - 8]
push eax
push str.MOUN__show_to__c____d_d__0x_lX___d_r_n
push 0x48aec0
call fcn.0040aa0e
add esp, 0x1c
jmp 0x44b5d8
movsx eax, word [ebp - 0x28]
lea eax, [eax + eax*2]
mov ax, word [ecx + eax*2 + 4]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
xor eax, eax
cmp word [ebp - 0x28], ax
jge 0x44b5fd
cmp dword [ebp - 0x50], eax
je 0x44b5fd
test byte [ebp - 0x18], 0x10
je 0x44b5fd
cmp dword [ebp - 0x18], 0x10
je 0x44b5fd
cmp bx, ax
mov dword [ebp - 0x10], 1
jne 0x44b600
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0x18]
mov edi, dword [ebp - 0x20]
push dword [ebp + 8]
shl edi, 0x10
or edi, eax
call fcn.004614b5
test eax, eax
pop ecx
je 0x44b68b
cmp dword [ebp - 0x10], 0
je 0x44b680
mov eax, dword [ebp - 0x18]
and eax, 0xffffffef
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x120]
push dword [ebp - 8]
push str.PART__up__super__d_d_0x_X
push eax
call esi
add esp, 0x14
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x48aec0
call fcn.00437e52
push dword [ebp - 0x18]
lea eax, [ebp - 0x120]
push dword [ebp - 0x20]
push dword [ebp - 8]
push str.PART___super__d_d_0x_X
push eax
call esi
add esp, 0x14
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x48aec0
call fcn.00437e52
or edi, dword [ebp - 0x2c]
test bx, bx
mov eax, dword [ebp + 0xc]
mov word [eax], bx
jne 0x44b6d9
test bx, bx
je 0x44b697
mov eax, ebx
call fcn.004261a2
xor edi, edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
add eax, dword [ebp - 0x30]
add ecx, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], ecx
jl 0x44b4b0
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xc]
call fcn.00402905
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x30]
add ebx, dword [ebp - 0x54]
cmp eax, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], ebx
jl 0x44b40c
jmp 0x44b6e1
lea ecx, [ebp - 0xc]
call fcn.00402905
lea ecx, [ebp - 0x1c]
call fcn.00424686
lea ecx, [ebp - 0x34]
call fcn.00424686
push 0x48b5d4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret