Function at 0x446240
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b93dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x630490]
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 0x602665
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 0x602665
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 0x4464dd
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4464dd
mov edx, dword [ebp - 0x1a4]
cmp edx, esi
jae 0x44634d
push ecx
push esi
lea ecx, [ebp - 0x1b8]
call fcn.00405180
jmp 0x44636a
test esi, esi
jne 0x446378
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 0x4463b0
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 0x606538
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 0x4463e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4463e0
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 0x446407
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 0x446493
cmp eax, 3
jne 0x446493
lea eax, [ebp - 0x1c8]
mov cl, bl
push eax
lea edx, [ebp - 0x1d8]
call fcn.00446050
mov ecx, dword [ebp - 0x1c4]
add esp, 4
cmp ecx, dword [edi + 4]
jl 0x446493
mov eax, dword [ebp - 0x1c8]
jg 0x446470
cmp eax, dword [edi]
jbe 0x446493
mov esi, dword [ebp - 0x1bc]
mov dword [edi], eax
lea eax, [ebp - 0x1b8]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x446499
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004047d0
jmp 0x446499
mov esi, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1a4], 0x10
jb 0x4464b4
push dword [ebp - 0x1b8]
call fcn.0044ffc1
add esp, 4
inc bl
cmp bl, 0x5a
jle 0x4462e0
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.00577e97
mov esp, ebp
pop ebp
ret
push 0x602704
call fcn.0059a14c
int3