Function at 0x451710
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c87cd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x647f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov esi, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], esi
nop word [eax + eax]
push 7
push 0x63f518
lea ecx, [ebp - 0x2c]
call fcn.004534c0
test dword [ebp - 0x3c], esi
je 0x4518c7
mov eax, dword [ebp - 0x34]
add eax, 0x41
push eax
lea eax, [ebp - 0x14]
push 0x63f520
push eax
call fcn.00453d30
lea esi, [ebp - 0x14]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4517b6
mov edx, dword [ebp - 0x18]
sub esi, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x4517f6
lea eax, [esi + ecx]
cmp edx, 0xf
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x2c]
cmova edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
add edi, ecx
push eax
push edi
call fcn.0059fdf0
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp - 0x30]
jmp 0x45180a
lea eax, [ebp - 0x14]
mov byte [ebp - 0x40], 0
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
push esi
call fcn.004546e0
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 1
jb 0x451831
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov word [eax + ecx], 0x20
jmp 0x451849
push 1
push 0x63efe0
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x44]
push 1
call fcn.004546e0
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x451853
mov ecx, dword [edi]
mov esi, dword [ebp - 0x18]
mov eax, esi
mov edi, dword [edi + 0x10]
mov edx, dword [ebp - 0x1c]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x451888
lea eax, [edx + edi]
cmp esi, 0xf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
lea esi, [eax + edx]
push esi
call fcn.0059fdf0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x451898
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x48]
push edi
call fcn.004546e0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
je 0x4518c1
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x4c]
call fcn.0045dee0
add esp, 0xc
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
rol esi, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
cmp eax, 0x1a
jl 0x451780
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x45190c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451902
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451927
push ecx
push edx
call fcn.0059e516
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e4d3
mov esp, ebp
pop ebp
ret
call fcn.005a920f
int3