Function at 0x5f3b20
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.00555430
push edi
call fcn.0045f040
add esp, 4
mov ebx, eax
cmp byte [edi + 0xb], 0
jns 0x5f3b66
push dword [ebp - 0x220]
call fcn.00562bc0
add esp, 4
test bl, bl
mov bl, 1
je 0x5f3b83
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565ea5
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.00443a40
add esp, 8
mov al, byte [ebx + 0xc]
cmp al, 1
je 0x5f3be5
xor ebx, ebx
test al, 1
je 0x5f3b6c
cmp byte [ebp - 0x225], 0
jns 0x5f3b6c
push dword [ebp - 0x230]
call fcn.00562bc0
add esp, 4
jmp 0x5f3b6c
mov bl, 1
cmp byte [ebp - 0x231], 0
jns 0x5f3bdd
push dword [ebp - 0x23c]
call fcn.00562bc0
add esp, 4
mov al, byte [ebp - 0x224]
jmp 0x5f3ba7
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.00555430
movsx eax, byte [edi + 0xb]
mov edx, eax
test eax, eax
jns 0x5f3c0e
mov edx, dword [ebp - 0x238]
test edx, edx
je 0x5f3e86
test al, al
mov ecx, dword [ebp - 0x23c]
mov esi, edi
cmovs esi, ecx
cmp word [esi + edx*2 - 2], 0x5c
je 0x5f3de4
test al, al
cmovs edi, ecx
cmp byte [ebp - 0x225], 0
jns 0x5f3c43
mov ebx, dword [ebp - 0x230]
push edi
push ebx
call fcn.00564feb
add esp, 8
test eax, eax
je 0x5f3bc4
lea edi, [ebp - 0x23c]
mov ecx, edi
mov edx, edi
call fcn.004488b0
mov ebx, eax
mov ecx, edi
call fcn.005f3ad0
test al, al
jne 0x5f3d08
test bl, bl
je 0x5f3d08
pxor xmm0, xmm0
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x218], 0
cmp byte [ebp - 0x224], 0
je 0x5f3e89
lea ecx, [ebp - 0x230]
lea esi, [ebp - 0x220]
mov edx, esi
call fcn.00448990
test al, al
jne 0x5f3cbb
xor ebx, ebx
jmp 0x5f3ce8
cmp byte [ebp - 0x231], 0
jns 0x5f3cca
mov edi, dword [ebp - 0x23c]
cmp byte [ebp - 0x215], 0
jns 0x5f3cd9
mov esi, dword [ebp - 0x220]
push edi
push esi
call fcn.00564feb
add esp, 8
test eax, eax
sete bl
cmp byte [ebp - 0x215], 0
jns 0x5f3bc6
push dword [ebp - 0x220]
call fcn.00562bc0
add esp, 4
jmp 0x5f3bc6
xor ebx, ebx
test al, al
je 0x5f3bc6
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
push 0x208
push 0xff
lea esi, [ebp - 0x220]
push esi
call fcn.00567640
add esp, 0xc
cmp byte [ebp - 0x231], 0
js 0x5f3d42
lea eax, [ebp - 0x23c]
jmp 0x5f3d48
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 0x5f3bc6
cmp eax, 0x104
je 0x5f3bc6
push esi
call fcn.005643e2
add esp, 4
cmp byte [ebp - 0x224], 0
je 0x5f3e8c
mov edi, eax
movsx eax, byte [ebp - 0x231]
test eax, eax
jns 0x5f3d99
mov eax, dword [ebp - 0x238]
lea ecx, [edi + eax]
add ecx, 0xfffffffe
movsx eax, byte [ebp - 0x225]
mov edx, eax
test eax, eax
jns 0x5f3db2
mov edx, dword [ebp - 0x22c]
cmp ecx, edx
jne 0x5f3ddd
test al, al
js 0x5f3dc2
lea eax, [ebp - 0x230]
jmp 0x5f3dc8
mov eax, dword [ebp - 0x230]
push edi
lea ecx, [ebp - 0x220]
push ecx
push eax
call fcn.00564bba
add esp, 0xc
test eax, eax
je 0x5f3e3c
xor ebx, ebx
jmp 0x5f3bc6
dec edx
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x220]
push eax
push edx
push 0
push edi
call fcn.0053def0
cmp byte [ebp - 0x231], 0
jns 0x5f3e0f
push dword [ebp - 0x23c]
call fcn.00562bc0
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 0x5f3c2f
cmp byte [ebp - 0x224], 0
je 0x5f3e8f
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 0x5f3e69
lea ecx, [ebp - 0x230]
jmp 0x5f3e6f
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx + edi*2]
push eax
push ecx
call fcn.00564feb
add esp, 8
test eax, eax
sete bl
jmp 0x5f3bc6
int3
int3
int3
int3