Function at 0x48ea30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9675
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x507254]
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 [0x4dee1c]
xor edi, edi
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov ax, word [0x4dee20]
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 0x48eaaf
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x24], edi
jmp 0x48eac5
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0048e4e0
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 0x48eaa0
mov eax, 0x61
mov dword [ebp - 0x1c], eax
cmp edi, ecx
je 0x48eae6
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x24], edi
jmp 0x48eafc
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0048e4e0
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 0x48ead7
push 0x208
mov dword [ebp - 0x4c], ecx
call fcn.004a6639
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 0x48ed96
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 0x48ed85
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 0x48eb72
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00403940
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 0x48ecc6
cmp edx, ecx
jae 0x48ebd1
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 0x48ecc6
mov eax, SysReAllocString
sub eax, edx
cmp eax, 1
jb 0x48edf8
lea eax, [edx + 1]
mov edx, eax
mov dword [ebp - 0x48], eax
or edx, 7
cmp edx, 0x7ffffffe
jbe 0x48ebfb
mov edx, SysReAllocString
jmp 0x48ec1f
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x1c]
cmp ecx, eax
jbe 0x48ec15
mov edx, SysReAllocString
jmp 0x48ec1f
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.00403a50
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 0x48ecaa
mov eax, dword [ebp - 0x40]
push eax
push edx
mov dword [ebp - 0x1c], eax
call fcn.004a84b0
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 0x48ec9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48edf3
mov eax, edx
push ecx
push eax
call fcn.004a6287
add esp, 8
jmp 0x48ecc0
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.004a84b0
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.0048e330
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x48ed4b
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ed41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48edf3
push edx
push ecx
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x48ed85
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ed7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48edf3
push edx
push ecx
call fcn.004a6287
add esp, 8
mov eax, dword [ebp - 0x58]
add eax, 2
mov dword [ebp - 0x58], eax
cmp eax, edi
jne 0x48eb30
test esi, esi
je 0x48eda5
push 2
push esi
call fcn.004a6287
add esp, 8
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x48edd8
mov ecx, dword [ebp - 0x4c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x48edce
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48edf3
push ecx
push edx
call fcn.004a6287
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.004a6256
mov esp, ebp
pop ebp
ret
call fcn.004ab23f
call fcn.00403ae0
int3