Function at 0x446610
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b97cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x631490]
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 edi, edx
mov esi, ecx
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1cc], 0
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x604fc2
mov dword [ebp - 0x1d0], esi
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1c8], xmm0
mov byte [esi], 0
call fcn.00404c00
mov dword [ebp - 4], 0
mov bl, 0x41
mov dword [ebp - 0x1cc], 1
mov dword [edi], 0
mov dword [edi + 4], 0
nop
push 0
push 0x604fc1
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x1b8], 0
call fcn.00404c00
or eax, 0xffffffff
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1a8]
sub eax, ecx
cmp eax, 1
jbe 0x4468ad
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4468ad
mov edx, dword [ebp - 0x1a4]
cmp edx, esi
jae 0x44671d
push ecx
push esi
lea ecx, [ebp - 0x1b8]
call fcn.00405180
jmp 0x44673a
test esi, esi
jne 0x446748
cmp edx, 0x10
mov dword [ebp - 0x1a8], esi
lea eax, [ebp - 0x1b8]
cmovae eax, dword [ebp - 0x1b8]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1a8]
test esi, esi
mov edx, dword [ebp - 0x1a4]
setne al
test al, al
je 0x446780
cmp edx, 0x10
lea eax, [ebp - 0x1b8]
cmovae eax, dword [ebp - 0x1b8]
mov byte [eax + ecx], bl
lea eax, [ebp - 0x1b8]
cmp dword [ebp - 0x1a4], 0x10
mov dword [ebp - 0x1a8], esi
cmovae eax, dword [ebp - 0x1b8]
mov byte [eax + esi], 0
push 2
push 0x606768
lea ecx, [ebp - 0x1b8]
call fcn.004046e0
cmp dword [ebp - 0x1a4], 0x10
lea esi, [ebp - 0x1b8]
cmovae esi, dword [ebp - 0x1b8]
mov eax, esi
lea edx, [eax + 1]
jmp 0x4467b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4467b0
push 0
push 0
sub eax, edx
inc eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
mov edx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x1c0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4467d7
sub ecx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x1a0]
push edx
push eax
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x446863
cmp eax, 3
jne 0x446863
lea eax, [ebp - 0x1c8]
mov cl, bl
push eax
lea edx, [ebp - 0x1d8]
call fcn.00446420
mov ecx, dword [ebp - 0x1c4]
add esp, 4
cmp ecx, dword [edi + 4]
jl 0x446863
mov eax, dword [ebp - 0x1c8]
jg 0x446840
cmp eax, dword [edi]
jbe 0x446863
mov esi, dword [ebp - 0x1bc]
mov dword [edi], eax
lea eax, [ebp - 0x1b8]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x446869
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004047d0
jmp 0x446869
mov esi, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1a4], 0x10
jb 0x446884
push dword [ebp - 0x1b8]
call fcn.00450388
add esp, 4
inc bl
cmp bl, 0x5a
jle 0x4466b0
mov eax, esi
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.00578263
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.0059a49a
int3