Function at 0x4d67c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527d50
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x584f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0xa4], esi
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d6813
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0045bfe0
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
cmp eax, 2
jae 0x4d6865
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x58]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [esi + 0x10], xmm0
jmp 0x4d6bac
mov ecx, 2
mov dword [ebp - 0x30], 0
cmovb ecx, eax
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push ecx
cmova eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0045bfe0
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
cmp eax, 2
jb 0x4d6cb3
add eax, 0xfffffffe
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push ecx
add eax, 4
lea ecx, [ebp - 0x88]
push eax
call fcn.0045bfe0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov edx, 7
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x30], 2
mov byte [ebp - 4], 3
jne 0x4d6bcc
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
cmp ecx, edx
cmova eax, edi
cmp word [eax + 2], 0x3a
jne 0x4d6bcc
cmp ecx, edx
lea eax, [ebp - 0x40]
cmova eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp ax, 4
jne 0x4d6aa4
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0x104
xor eax, eax
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
push eax
push 0x105
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004d9500
cmp dword [ebp - 0x5c], 7
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0xa4]
cmova ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push edx
cmova eax, dword [ebp - 0x40]
push ecx
push eax
call sub.MPR.dll_WNetGetConnectionW
cmp dword [ebp - 0x5c], 7
lea edx, [ebp - 0x70]
cmova edx, dword [ebp - 0x70]
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d69b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004d96d0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4d6a68
mov edx, dword [ebp - 0x78]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, edx
jb 0x4d6cb8
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
push edx
cmova ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 7
cmova eax, dword [ebp - 0x88]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push ecx
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
call fcn.00485210
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00488d20
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x4d6a68
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6a5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d6a94
push ecx
push edx
call fcn.0050686b
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4d6aa4
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6a9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d6a9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x4d6bc9
mov ecx, dword [ebp - 0x74]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp ecx, 7
jbe 0x4d6b24
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6b1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d6cad
push ecx
push edx
call fcn.0050686b
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4d6b5e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6b54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d6cad
push ecx
push edx
call fcn.0050686b
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x4d6bac
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6ba2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d6cad
push ecx
push edx
call fcn.0050686b
add esp, 8
mov eax, esi
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.00506d06
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [esi + 0x10], xmm0
cmp edx, 7
jbe 0x4d6c28
lea ecx, [edx*2 + 2]
mov edx, dword [ebp - 0x28]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6c1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d6cad
push ecx
push edx
call fcn.0050686b
add esp, 8
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x4d6c75
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6c6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d6cad
push ecx
push edx
call fcn.0050686b
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4d6bac
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d6ba2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d6ba2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00475f20
call fcn.00475ef0
int3