Function at 0x4277f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549c90
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], eax
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
call fcn.00428c60
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
mov edi, 0x41
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push edi
lea eax, [ebp - 0x1c]
push str._c:_
push eax
call fcn.00428720
sub esp, 0xc
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x1c], 0
jne 0x4278a2
xor ecx, ecx
jmp 0x4278b1
lea ecx, [ebp - 0x1c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4278a8
sub ecx, esi
push ecx
lea eax, [ebp - 0x1c]
mov ecx, edx
push eax
call fcn.0041f160
call fcn.0042c1d0
add esp, 0x18
test al, al
jne 0x427a3e
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], al
cmp byte [ebp - 0x1c], al
jne 0x4278eb
xor ecx, ecx
jmp 0x4278fa
lea ecx, [ebp - 0x1c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4278f1
sub ecx, esi
push ecx
lea eax, [ebp - 0x1c]
mov ecx, edx
push eax
call fcn.0041f160
call fcn.00427460
add esp, 0x18
cmp eax, 4
je 0x427a3e
lea eax, [ebp - 0x1c]
push eax
call ebx
cmp eax, 3
jne 0x427a3e
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x48], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x42794b
mov eax, dword [esi]
jmp 0x42794d
mov eax, esi
lea edx, [ebp - 0x1c]
cmp edx, eax
jb 0x427988
cmp ecx, 0x10
jb 0x42795d
mov edx, dword [esi]
jmp 0x42795f
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x1c]
cmp eax, edx
jbe 0x427988
cmp ecx, 0x10
jb 0x427974
mov ecx, dword [esi]
jmp 0x427976
mov ecx, esi
push 1
lea eax, [ebp - 0x1c]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0041eda0
jmp 0x4279bd
cmp ecx, 1
jae 0x427999
push dword [esi + 0x10]
mov ecx, esi
push 1
call fcn.0041ef00
cmp dword [esi + 0x14], 0x10
jb 0x4279a3
mov ecx, dword [esi]
jmp 0x4279a5
mov ecx, esi
mov al, byte [ebp - 0x1c]
mov byte [ecx], al
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 1
jb 0x4279b9
mov esi, dword [esi]
mov byte [esi + 1], 0
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
lea ecx, [ebp - 0x40]
push 1
push 0
push eax
call fcn.00423380
mov byte [ebp - 4], 1
call fcn.004254d0
add esp, 0x30
test al, al
jne 0x427a3e
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], al
cmp byte [ebp - 0x1c], al
jne 0x4279fd
xor ecx, ecx
jmp 0x427a0c
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427a03
sub ecx, edx
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0041f160
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00425e10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 0x10
jb 0x427a3e
push dword [ebp - 0x68]
call fcn.00459190
add esp, 4
inc edi
cmp edi, 0x5a
jle 0x427873
mov edi, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x28]
mov ecx, edi
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jg 0x427a70
mov byte [ebp - 0x41], 0
jmp 0x427b14
push 0
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, esp
xor bl, bl
push eax
call fcn.00428600
mov dl, bl
lea ecx, [ebp - 0x68]
call fcn.00427c90
mov ebx, dword [ebp - 0x50]
mov esi, eax
add esp, 0x10
cmp ebx, esi
je 0x427af9
cmp dword [ebx + 0x14], 0x10
jb 0x427aa8
push dword [ebx]
call fcn.00459190
add esp, 4
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [esi + 0x14], 0x10
jae 0x427ad2
mov eax, dword [esi + 0x10]
inc eax
je 0x427adc
push eax
push esi
push ebx
call fcn.00509060
add esp, 0xc
jmp 0x427adc
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x54], 0x10
jb 0x427b0a
push dword [ebp - 0x68]
call fcn.00459190
add esp, 4
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 0x41], 1
test ebx, ebx
je 0x427b51
mov esi, ebx
cmp ebx, edi
je 0x427b48
mov edi, edi
cmp dword [esi + 0x14], 0x10
jb 0x427b30
push dword [esi]
call fcn.00459190
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x427b20
push ebx
call fcn.00459190
add esp, 4
cmp dword [ebp - 0x2c], 0x10
jb 0x427b62
push dword [ebp - 0x40]
call fcn.00459190
add esp, 4
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret