Function at 0x446dd0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4faa95
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x52e028]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
sub eax, 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], edx
je 0x446fe5
sub eax, 1
je 0x446f81
sub eax, 1
jne 0x447086
test edi, edi
je 0x446f62
mov eax, edi
lea edx, [eax + 2]
mov dword [esp + 0x18], edx
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x446e56
sub eax, dword [esp + 0x18]
sar eax, 1
je 0x446f62
lea ecx, [esp + 0x18]
call dword [0x4fff58]
mov dword [esp + 0x58], 2
lea ecx, [esp + 0x44]
call dword [0x4fff58]
mov byte [esp + 0x58], 3
push edi
lea eax, [esp + 0x1c]
push 0x509dc8
push eax
call dword [0x4ffacc]
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.004ef3f0
mov byte [esp + 0x58], 4
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea ecx, [esp + 0x34]
call fcn.004ef3fc
test eax, eax
je 0x446f40
lea ecx, [esp + 0x2c]
call fcn.004ef402
mov edx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [edx + 0x40]
push 0x10
lea ecx, [esp + 0x30]
call eax
test eax, eax
je 0x446f3c
lea ecx, [esp + 0x2c]
call fcn.004ef40e
test eax, eax
jne 0x446f3c
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
call fcn.004ef408
mov byte [esp + 0x58], 5
push eax
lea ecx, [esp + 0x48]
call dword [0x4ffefc]
mov byte [esp + 0x58], 4
lea ecx, [esp + 0x28]
call dword [0x4fff34]
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [eax + 1]
mov dword [esi], edx
mov edx, dword [esp + 0x48]
push ebx
push edx
push eax
push ebp
call fcn.00446c50
add esp, 0x14
test edi, edi
jne 0x446ec4
mov byte [esp + 0x58], 3
lea ecx, [esp + 0x2c]
call fcn.004ef3f6
mov byte [esp + 0x58], 2
lea ecx, [esp + 0x44]
call dword [0x4fff34]
jmp 0x447074
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x68]
push edx
push ebx
push edi
push esi
push ebp
push eax
push 1
call fcn.00446dd0
jmp 0x447086
mov ecx, dword [0x50676c]
mov edx, dword [0x506770]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x18], eax
xor edi, edi
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x18]
test ecx, eax
je 0x446fda
mov eax, dword [esi]
lea edx, [edi + 0x41]
mov word [esp + 0x44], dx
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [eax + 1]
mov dword [esi], ecx
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push ebp
call fcn.00446c50
add esp, 0x14
inc edi
cmp edi, 0x20
jl 0x446fa1
jmp 0x447086
mov edx, dword [ecx + 0x68]
sub edx, dword [ecx + 0x64]
mov edi, dword [esp + 0x64]
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x447086
lea ecx, [esp + 0x18]
call dword [0x4fff58]
mov dword [esp + 0x58], 0
test edi, edi
jl 0x447074
mov edi, edi
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00447440
mov byte [esp + 0x58], 1
push eax
lea ecx, [esp + 0x1c]
call dword [0x4ffefc]
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x24]
call dword [0x4fff34]
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [eax + 1]
mov dword [esi], edx
mov edx, dword [esp + 0x1c]
push ebx
push edx
push eax
push ebp
call fcn.00446c50
add esp, 0x14
sub edi, 2
jns 0x447020
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x18]
call dword [0x4fff34]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004efe2a
add esp, 0x48
ret 0x20