Function at 0x493d50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5635
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4f4164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [0x4d6030]
xor edi, edi
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov ax, word [0x4d6034]
xor ecx, ecx
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov word [ebp - 0x14], ax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
mov eax, 0x41
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
cmp edi, ecx
je 0x493dcf
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x24], edi
jmp 0x493de5
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004937e0
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp ax, 0x5a
jbe 0x493dc0
mov eax, 0x61
mov dword [ebp - 0x1c], eax
cmp edi, ecx
je 0x493e06
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x24], edi
jmp 0x493e1c
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004937e0
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp ax, 0x7a
jbe 0x493df7
push 0x208
mov dword [ebp - 0x4c], ecx
call fcn.00451161
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], eax
cmp eax, edi
je 0x4940b6
nop dword [eax]
movzx eax, word [eax]
push 0x104
mov dword [ebp - 0x64], eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4940a5
mov ecx, esi
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493e92
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004038a0
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmp ecx, 8
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x5c], edx
cmp word [eax + edx*2 - 2], 0x5c
je 0x493fe6
cmp edx, ecx
jae 0x493ef1
lea eax, [edx + 1]
cmp ecx, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [eax + edx*2], 0x5c
jmp 0x493fe6
mov eax, SysReAllocString
sub eax, edx
cmp eax, 1
jb 0x494118
lea eax, [edx + 1]
mov edx, eax
mov dword [ebp - 0x48], eax
or edx, 7
cmp edx, 0x7ffffffe
jbe 0x493f1b
mov edx, SysReAllocString
jmp 0x493f3f
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
jbe 0x493f35
mov edx, SysReAllocString
jmp 0x493f3f
mov eax, dword [ebp - 0x1c]
add eax, ecx
cmp edx, eax
cmovb edx, eax
xor ecx, ecx
mov dword [ebp - 0x1c], edx
add edx, 1
setb cl
neg ecx
or ecx, edx
push ecx
lea ecx, [ebp - 0x40]
call fcn.00403d40
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x5c]
add ecx, ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x54], edx
push ecx
lea eax, [edx + ecx]
mov dword [ebp - 0x48], eax
jb 0x493fca
mov eax, dword [ebp - 0x40]
push eax
push edx
mov dword [ebp - 0x1c], eax
call fcn.00495210
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov dword [eax], 0x5c
mov eax, dword [ebp - 0x50]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x1000
jb 0x493fbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x494113
mov eax, edx
push ecx
push eax
call fcn.00450975
add esp, 8
jmp 0x493fe0
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.00495210
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov dword [eax], 0x5c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x60]
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x64]
movups xmmword [ebp - 0x80], xmm0
lea ecx, [ecx + 0x30]
mov word [ebp - 0x68], ax
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00493630
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x49406b
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x494061
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x494113
push edx
push ecx
call fcn.00450975
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4940a5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49409b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x494113
push edx
push ecx
call fcn.00450975
add esp, 8
mov eax, dword [ebp - 0x58]
add eax, 2
mov dword [ebp - 0x58], eax
cmp eax, edi
jne 0x493e50
test esi, esi
je 0x4940c5
push 2
push esi
call fcn.00450975
add esp, 8
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4940f8
mov ecx, dword [ebp - 0x4c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4940ee
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x494113
push ecx
push edx
call fcn.00450975
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret
call fcn.004984ff
call fcn.00401e30
int3