Function at 0x447080
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b16db
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x628960]
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 0x60d1fc
movlpd qword [ebp - 0x40], xmm0
mov byte [eax], 0
call fcn.004373f0
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 0x4473ba
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 0x4473b0
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.00437570
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x447360
push 1
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.0044f380
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.004376a0
push 1
sub esp, 8
lea ecx, [ebp - 0x28]
call fcn.0044f410
lea ecx, [eax + 1]
cmp dword [ebp - 0x18], ecx
jb 0x4473a6
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 0x447360
sub esp, 0x18
lea ecx, [ebp - 0x28]
mov eax, esp
push 0xffffffffffffffff
push 0
push eax
call fcn.00436c60
call fcn.00446850
add esp, 0x18
cmp eax, 4
je 0x447360
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 0x447360
cmp byte [ebp - 0x2a], 0
je 0x44722c
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.00437570
call fcn.00447420
add esp, 0x18
test al, al
je 0x447360
cmp byte [ebp + 0x14], 0
je 0x447298
push str.PropSys.dll
lea ecx, [ebp - 0x64]
call fcn.004384d0
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.00437570
lea ecx, [ebp - 0x80]
call fcn.0044dab0
add esp, 0x18
mov dword [ebp - 4], 4
or ebx, 4
mov edx, esi
mov dword [ebp - 0x30], ebx
mov ecx, eax
call fcn.004477f0
mov byte [ebp - 0x29], 1
test al, al
jne 0x44729c
mov byte [ebp - 0x29], 0
test bl, 4
je 0x4472cc
and ebx, 0xfffffffb
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x30], ebx
jb 0x4472b8
push dword [ebp - 0x80]
call fcn.0048b2ba
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 0x4472ef
and ebx, 0xfffffffd
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x30], ebx
jb 0x4472ef
push dword [ebp - 0x64]
call fcn.0048b2ba
add esp, 4
cmp byte [ebp - 0x29], 0
jne 0x447360
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.00437570
call fcn.004465d0
mov edi, edx
add esp, 0x18
mov esi, eax
cmp dword [ebp - 0x44], edi
jg 0x447360
jl 0x447330
cmp dword [ebp - 0x4c], esi
jae 0x447360
push 2
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.00436c60
mov ecx, dword [ebp - 0x48]
push eax
call fcn.00437a50
cmp dword [ebp - 0x50], 0x10
jb 0x44735a
push dword [ebp - 0x64]
call fcn.0048b2ba
add esp, 4
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x447375
push dword [ebp - 0x28]
call fcn.0048b2ba
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 0x4473ba
mov edx, dword [ebp - 0x38]
jmp 0x447130
push str.invalid_string_position
call fcn.004c1026
push str.invalid_vector_T__subscript
call fcn.004c1026
test esi, esi
je 0x4473f6
cmp esi, edi
je 0x4473ed
cmp dword [esi + 0x14], 0x10
jb 0x4473d2
push dword [esi]
call fcn.0048b2ba
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x4473c2
mov esi, dword [ebp + 8]
push esi
call fcn.0048b2ba
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.004a0676
mov esp, ebp
pop ebp
ret