Function at 0x5f3d80
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.0052b240
push edi
call fcn.00459a60
add esp, 4
mov ebx, eax
cmp byte [edi + 0xb], 0
jns 0x5f3dc6
push dword [ebp - 0x220]
call fcn.00564ea0
add esp, 4
test bl, bl
mov bl, 1
je 0x5f3e22
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, ebx
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
cmp byte [ebp - 0x231], 0
jns 0x5f3dfc
push dword [ebp - 0x23c]
call fcn.00564ea0
add esp, 4
cmp byte [ebp - 0x224], 0
je 0x5f3dcc
cmp byte [ebp - 0x225], 0
jns 0x5f3dcc
push dword [ebp - 0x230]
call fcn.00564ea0
add esp, 4
jmp 0x5f3dcc
xor ebx, ebx
jmp 0x5f3dcc
mov eax, dword [ebp + 8]
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0x230]
movdqu xmmword [ebx], xmm0
push eax
push ebx
call fcn.0043e510
add esp, 8
cmp byte [ebx + 0xc], 0
je 0x5f3e1e
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.0052b240
movsx eax, byte [edi + 0xb]
mov edx, eax
test eax, eax
jns 0x5f3e6c
mov edx, dword [ebp - 0x238]
test edx, edx
je 0x5f40e4
test al, al
mov ecx, dword [ebp - 0x23c]
mov esi, edi
cmovs esi, ecx
cmp word [esi + edx*2 - 2], 0x5c
je 0x5f4042
test al, al
cmovs edi, ecx
cmp byte [ebp - 0x225], 0
jns 0x5f3ea1
mov ebx, dword [ebp - 0x230]
push edi
push ebx
call fcn.005672e4
add esp, 8
test eax, eax
je 0x5f3de3
lea edi, [ebp - 0x23c]
mov ecx, edi
mov edx, edi
call fcn.00443bc0
mov ebx, eax
mov ecx, edi
call fcn.005f3d30
test al, al
jne 0x5f3f66
test bl, bl
je 0x5f3f66
pxor xmm0, xmm0
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x218], 0
cmp byte [ebp - 0x224], 0
je 0x5f40e7
lea ecx, [ebp - 0x230]
lea esi, [ebp - 0x220]
mov edx, esi
call fcn.00443ca0
test al, al
je 0x5f3f44
cmp byte [ebp - 0x231], 0
jns 0x5f3f24
mov edi, dword [ebp - 0x23c]
cmp byte [ebp - 0x215], 0
jns 0x5f3f33
mov esi, dword [ebp - 0x220]
push edi
push esi
call fcn.005672e4
add esp, 8
test eax, eax
sete bl
jmp 0x5f3f46
xor ebx, ebx
cmp byte [ebp - 0x215], 0
jns 0x5f3de5
push dword [ebp - 0x220]
call fcn.00564ea0
add esp, 4
jmp 0x5f3de5
xor ebx, ebx
test al, al
je 0x5f3de5
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
push 0x208
push 0xff
lea esi, [ebp - 0x220]
push esi
call fcn.00569910
add esp, 0xc
cmp byte [ebp - 0x231], 0
js 0x5f3fa0
lea eax, [ebp - 0x23c]
jmp 0x5f3fa6
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 0x5f3de5
cmp eax, 0x104
je 0x5f3de5
push esi
call fcn.005666c2
add esp, 4
cmp byte [ebp - 0x224], 0
je 0x5f40ea
mov edi, eax
movsx eax, byte [ebp - 0x231]
test eax, eax
jns 0x5f3ff7
mov eax, dword [ebp - 0x238]
lea ecx, [edi + eax]
add ecx, 0xfffffffe
movsx eax, byte [ebp - 0x225]
mov edx, eax
test eax, eax
jns 0x5f4010
mov edx, dword [ebp - 0x22c]
cmp ecx, edx
jne 0x5f403b
test al, al
js 0x5f4020
lea eax, [ebp - 0x230]
jmp 0x5f4026
mov eax, dword [ebp - 0x230]
push edi
lea ecx, [ebp - 0x220]
push ecx
push eax
call fcn.00566e95
add esp, 0xc
test eax, eax
je 0x5f409a
xor ebx, ebx
jmp 0x5f3de5
dec edx
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x220]
push eax
push edx
push 0
push edi
call fcn.0053a010
cmp byte [ebp - 0x231], 0
jns 0x5f406d
push dword [ebp - 0x23c]
call fcn.00564ea0
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 0x5f3e8d
cmp byte [ebp - 0x224], 0
je 0x5f40ed
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 0x5f40c7
lea ecx, [ebp - 0x230]
jmp 0x5f40cd
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx + edi*2]
push eax
push ecx
call fcn.005672e4
add esp, 8
test eax, eax
sete bl
jmp 0x5f3de5
int3
int3
int3
int3