Function at 0x5f38f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x230
mov esi, dword [ebp + 0xc]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x220]
mov ecx, edi
push esi
call fcn.005557d0
push edi
call fcn.0045f020
add esp, 4
mov ebx, eax
cmp byte [edi + 0xb], 0
jns 0x5f3936
push dword [ebp - 0x220]
call fcn.00562f60
add esp, 4
test bl, bl
mov bl, 1
je 0x5f3953
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00566245
mov eax, ebx
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0x230]
movdqu xmmword [ebx], xmm0
push eax
push ebx
call fcn.00444240
add esp, 8
mov al, byte [ebx + 0xc]
cmp al, 1
je 0x5f39b5
xor ebx, ebx
test al, 1
je 0x5f393c
cmp byte [ebp - 0x225], 0
jns 0x5f393c
push dword [ebp - 0x230]
call fcn.00562f60
add esp, 4
jmp 0x5f393c
mov bl, 1
cmp byte [ebp - 0x231], 0
jns 0x5f39ad
push dword [ebp - 0x23c]
call fcn.00562f60
add esp, 4
mov al, byte [ebp - 0x224]
jmp 0x5f3977
xor eax, eax
dec eax
lea edi, [ebp - 0x23c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
push esi
call fcn.005557d0
movsx eax, byte [edi + 0xb]
mov edx, eax
test eax, eax
jns 0x5f39de
mov edx, dword [ebp - 0x238]
test edx, edx
je 0x5f3c56
test al, al
mov ecx, dword [ebp - 0x23c]
mov esi, edi
cmovs esi, ecx
cmp word [esi + edx*2 - 2], 0x5c
je 0x5f3bb4
test al, al
cmovs edi, ecx
cmp byte [ebp - 0x225], 0
jns 0x5f3a13
mov ebx, dword [ebp - 0x230]
push edi
push ebx
call fcn.0056538e
add esp, 8
test eax, eax
je 0x5f3994
lea edi, [ebp - 0x23c]
mov ecx, edi
mov edx, edi
call fcn.004490b0
mov ebx, eax
mov ecx, edi
call fcn.005f38a0
test al, al
jne 0x5f3ad8
test bl, bl
je 0x5f3ad8
pxor xmm0, xmm0
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x218], 0
cmp byte [ebp - 0x224], 0
je 0x5f3c59
lea ecx, [ebp - 0x230]
lea esi, [ebp - 0x220]
mov edx, esi
call fcn.00449190
test al, al
jne 0x5f3a8b
xor ebx, ebx
jmp 0x5f3ab8
cmp byte [ebp - 0x231], 0
jns 0x5f3a9a
mov edi, dword [ebp - 0x23c]
cmp byte [ebp - 0x215], 0
jns 0x5f3aa9
mov esi, dword [ebp - 0x220]
push edi
push esi
call fcn.0056538e
add esp, 8
test eax, eax
sete bl
cmp byte [ebp - 0x215], 0
jns 0x5f3996
push dword [ebp - 0x220]
call fcn.00562f60
add esp, 4
jmp 0x5f3996
xor ebx, ebx
test al, al
je 0x5f3996
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
push 0x208
push 0xff
lea esi, [ebp - 0x220]
push esi
call fcn.005679e0
add esp, 0xc
cmp byte [ebp - 0x231], 0
js 0x5f3b12
lea eax, [ebp - 0x23c]
jmp 0x5f3b18
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
push 0x104
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x5f3996
cmp eax, 0x104
je 0x5f3996
push esi
call fcn.00564782
add esp, 4
cmp byte [ebp - 0x224], 0
je 0x5f3c5c
mov edi, eax
movsx eax, byte [ebp - 0x231]
test eax, eax
jns 0x5f3b69
mov eax, dword [ebp - 0x238]
lea ecx, [edi + eax]
add ecx, 0xfffffffe
movsx eax, byte [ebp - 0x225]
mov edx, eax
test eax, eax
jns 0x5f3b82
mov edx, dword [ebp - 0x22c]
cmp ecx, edx
jne 0x5f3bad
test al, al
js 0x5f3b92
lea eax, [ebp - 0x230]
jmp 0x5f3b98
mov eax, dword [ebp - 0x230]
push edi
lea ecx, [ebp - 0x220]
push ecx
push eax
call fcn.00564f8a
add esp, 0xc
test eax, eax
je 0x5f3c0c
xor ebx, ebx
jmp 0x5f3996
dec edx
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x220]
push eax
push edx
push 0
push edi
call fcn.0053d730
cmp byte [ebp - 0x231], 0
jns 0x5f3bdf
push dword [ebp - 0x23c]
call fcn.00562f60
add esp, 4
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x234], eax
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x23c], xmm0
mov al, byte [ebp - 0x231]
mov ecx, dword [ebp - 0x23c]
jmp 0x5f39ff
cmp byte [ebp - 0x224], 0
je 0x5f3c5f
lea ecx, [ebp - 0x238]
mov eax, dword [ecx - 4]
add eax, 4
cmp byte [ecx + 7], 0
cmovns eax, ecx
cmp byte [ebp - 0x225], 0
js 0x5f3c39
lea ecx, [ebp - 0x230]
jmp 0x5f3c3f
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx + edi*2]
push eax
push ecx
call fcn.0056538e
add esp, 8
test eax, eax
sete bl
jmp 0x5f3996
int3
int3
int3
int3