Function at 0x447140
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b277b
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2a], dl
mov eax, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
push 0x60e134
movlpd qword [ebp - 0x40], xmm0
mov byte [eax], 0
call fcn.00437370
mov edi, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 8]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x34], 0
imul ecx
mov ebx, 1
sar edx, 2
mov eax, edx
mov dword [ebp - 0x30], ebx
shr eax, 0x1f
add eax, edx
je 0x44747a
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ecx
xor ecx, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x44], edi
lea esp, [esp]
cmp eax, ecx
jbe 0x447470
push 0xffffffffffffffff
lea eax, [edx + esi]
mov dword [ebp - 0x14], 0xf
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004374f0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x447420
push 1
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.0044f2a0
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.00437620
push 1
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.0044f330
lea ecx, [eax + 1]
cmp dword [ebp - 0x18], ecx
jb 0x447466
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
cmp dword [ebp - 0x18], 0
je 0x447420
sub esp, 0x18
lea ecx, [ebp - 0x28]
mov eax, esp
push 0xffffffffffffffff
push 0
push eax
call fcn.00436be0
call fcn.00446910
add esp, 0x18
cmp eax, 4
je 0x447420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x447420
cmp byte [ebp - 0x2a], 0
je 0x4472ec
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004374f0
call fcn.004474e0
add esp, 0x18
test al, al
je 0x447420
cmp byte [ebp + 0x14], 0
je 0x447358
push str.PropSys.dll
lea ecx, [ebp - 0x64]
call fcn.00438360
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x28]
or ebx, 2
lea esi, [ebp - 0x64]
mov dword [ebp - 0x30], ebx
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004374f0
lea ecx, [ebp - 0x80]
call fcn.0044d8c0
add esp, 0x18
mov dword [ebp - 4], 4
or ebx, 4
mov edx, esi
mov dword [ebp - 0x30], ebx
mov ecx, eax
call fcn.00447910
mov byte [ebp - 0x29], 1
test al, al
jne 0x44735c
mov byte [ebp - 0x29], 0
test bl, 4
je 0x44738c
and ebx, 0xfffffffb
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x30], ebx
jb 0x447378
push dword [ebp - 0x80]
call fcn.0048c32c
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov dword [ebp - 4], 2
test bl, 2
je 0x4473af
and ebx, 0xfffffffd
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x30], ebx
jb 0x4473af
push dword [ebp - 0x64]
call fcn.0048c32c
add esp, 4
cmp byte [ebp - 0x29], 0
jne 0x447420
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004374f0
call fcn.00446690
mov edi, edx
add esp, 0x18
mov esi, eax
cmp dword [ebp - 0x44], edi
jg 0x447420
jl 0x4473f0
cmp dword [ebp - 0x4c], esi
jae 0x447420
push 2
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.00436be0
mov ecx, dword [ebp - 0x48]
push eax
call fcn.004379d0
cmp dword [ebp - 0x50], 0x10
jb 0x44741a
push dword [ebp - 0x64]
call fcn.0048c32c
add esp, 4
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x447435
push dword [ebp - 0x28]
call fcn.0048c32c
add esp, 4
mov edi, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 8]
mov ecx, edi
inc dword [ebp - 0x34]
sub ecx, esi
add dword [ebp - 0x38], 0x18
imul ecx
mov ecx, dword [ebp - 0x34]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x44747a
mov edx, dword [ebp - 0x38]
jmp 0x4471f0
push str.invalid_string_position
call fcn.004c20d4
push str.invalid_vector_T__subscript
call fcn.004c20d4
test esi, esi
je 0x4474b6
cmp esi, edi
je 0x4474ad
cmp dword [esi + 0x14], 0x10
jb 0x447492
push dword [esi]
call fcn.0048c32c
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x447482
mov esi, dword [ebp + 8]
push esi
call fcn.0048c32c
add esp, 4
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret