Function at 0x4c0460
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d4859
mov eax, dword fs:[0]
push eax
sub esp, 0xc9c
mov eax, dword [0x806f14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00682620
add esp, 0xc
mov byte [ebp - 0xc85], 0
push esi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0xc90], esi
test esi, esi
je 0x4c084f
push 0x104
lea eax, [ebp - 0x220]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4c0848
cmp word [ebp - 0x220], 0
je 0x4c0848
xor eax, eax
mov dword [ebp - 0xc5c], 0
mov dword [ebp - 0xc58], 7
mov word [ebp - 0xc6c], ax
push 0x20a
push eax
mov dword [ebp - 0xc8c], eax
lea eax, [ebp - 0x42c]
push eax
mov byte [ebp - 4], 1
call fcn.00682620
add esp, 0xc
xor eax, eax
mov word [ebp - 0xc3c], ax
lea eax, [ebp - 0xc3c]
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x1fe
ja 0x4c083d
mov eax, dword [0x72d98c]
lea edi, [ebp - 0xc3c]
movzx ecx, word [ebp - 0xc3c]
mov dword [ebp - 0x18], eax
mov ax, word [0x72d990]
mov word [ebp - 0x14], ax
nop dword [eax]
push 0x104
lea eax, [ebp - 0x634]
mov word [ebp - 0x18], cx
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4c0692
lea esi, [ebp - 0x634]
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c05b0
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x4c0692
push esi
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00697fe5
add esp, 0xc
add esi, esi
test eax, eax
jne 0x4c05f8
cmp word [ebp + esi - 0x220], 0x5c
jne 0x4c05f8
lea ecx, [eax + 1]
jmp 0x4c05fa
xor ecx, ecx
mov dword [ebp - 0xc8c], ecx
test ecx, ecx
je 0x4c06a0
lea eax, [ebp - 0x220]
add eax, esi
push eax
lea eax, [ebp - 0x18]
push eax
push 0x72d994
lea eax, [ebp - 0x83c]
push 0x104
push eax
call fcn.0048a010
lea ecx, [ebp - 0x83c]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0637
sub ecx, edx
lea eax, [ebp - 0x83c]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x42c]
push 0x105
push eax
call fcn.00697f8b
lea ecx, [ebp - 0x42c]
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0670
sub ecx, edx
lea eax, [ebp - 0x42c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc6c]
call fcn.0049f660
mov ecx, dword [ebp - 0xc8c]
nop dword [eax + eax]
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x4c06a0
test ecx, ecx
jne 0x4c06c2
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x4c0580
jmp 0x4c0837
mov dword [ebp - 0xc44], 0
mov dword [ebp - 0xc40], 0xf
mov byte [ebp - 0xc54], 0
cmp dword [ebp - 0xc58], 8
lea edx, [ebp - 0xc6c]
mov eax, dword [ebp - 0xc5c]
lea edi, [ebp - 0xc6c]
cmovae edx, dword [ebp - 0xc6c]
lea ecx, [ebp - 0xc84]
cmovae edi, dword [ebp - 0xc6c]
mov byte [ebp - 4], 2
mov dword [ebp - 0xc74], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0xc70], 0xf
mov dword [ebp - 0xc8c], eax
sub eax, edi
sar eax, 1
push eax
mov byte [ebp - 0xc84], 0
call fcn.004aed20
push dword [ebp - 0xc90]
lea ecx, [ebp - 0xc84]
push dword [ebp - 0xc8c]
push edi
call fcn.0049e680
mov ecx, dword [ebp - 0xc70]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xc40], ecx
jae 0x4c087f
movups xmm0, xmmword [ebp - 0xc84]
movq xmm1, qword [ebp - 0xc44]
movups xmm2, xmmword [ebp - 0xc54]
movq qword [ebp - 0xc98], xmm1
mov edx, dword [ebp - 0xc94]
movups xmmword [ebp - 0xc54], xmm0
movq xmm0, qword [ebp - 0xc74]
movq qword [ebp - 0xc44], xmm0
movq qword [ebp - 0xc74], xmm1
movups xmmword [ebp - 0xca8], xmm2
movups xmmword [ebp - 0xc84], xmm2
cmp edx, 0x10
jb 0x4c07ef
mov ecx, dword [ebp - 0xca8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c07e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c090a
push edx
push ecx
call fcn.0066c54d
add esp, 8
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
push dword [ebp + 0x1c]
cmovae ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc54]
cmp dword [ebp - 0xc40], 0x10
push ecx
cmovae eax, dword [ebp - 0xc54]
push dword [ebp - 0xc44]
push eax
call fcn.0049e980
add esp, 0x10
lea ecx, [ebp - 0xc54]
mov esi, eax
call fcn.00489140
test esi, esi
sete byte [ebp - 0xc85]
mov esi, dword [ebp - 0xc90]
lea ecx, [ebp - 0xc6c]
call fcn.00489050
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4c08e4
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c08da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c0905
jmp 0x4c08da
push dword [ebp - 0xc74]
cmp ecx, 0x10
lea eax, [ebp - 0xc84]
lea ecx, [ebp - 0xc54]
cmovae eax, dword [ebp - 0xc84]
push eax
call fcn.0049f560
mov edx, dword [ebp - 0xc70]
cmp edx, 0x10
jb 0x4c07ef
mov ecx, dword [ebp - 0xc84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c07e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c090a
jmp 0x4c07e5
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov al, byte [ebp - 0xc85]
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.0066c50c
mov esp, ebp
pop ebp
ret
call fcn.0068bce4
call fcn.0068bce4
int3