Function at 0x4d2843
Capabilities:
Get disk information
Get disk size
Resolve function by parsing pe exports

Disassembly:
push 0x478
mov eax, 0x698c6b
call fcn.0056e23b
mov edi, ecx
lea ecx, [ebp - 0x458]
xor ebx, ebx
call fcn.004173bc
and dword [ebp - 4], ebx
lea ecx, [ebp - 0x43c]
call fcn.004173bc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x474]
call fcn.004173bc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x458]
movzx esi, word [ebp + 8]
push esi
push 0x6d5500
push eax
call fcn.0041ccda
push esi
lea eax, [edi + 0x74]
push 0x6d5508
push eax
call fcn.0041ccda
cmp dword [ebp - 0x440], 8
lea eax, [ebp - 0x454]
cmovae eax, dword [ebp - 0x454]
push eax
lea eax, [ebp - 0x43c]
push 0x6d5514
push eax
call fcn.0041ccda
mov esi, 0x6d5524
push esi
call fcn.00647fd1
add esp, 0x28
lea ecx, [ebp - 0x438]
push eax
push ebx
push esi
call fcn.0042c956
cmp eax, 0xffffffff
je 0x4d2b03
mov esi, 0x6d5530
push esi
call fcn.00647fd1
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x438]
call fcn.0042c956
cmp eax, 0xffffffff
je 0x4d2b03
mov esi, dword [ebp - 0x428]
lea ecx, [ebp - 0x438]
dec esi
push esi
call fcn.00404220
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
cmp word [eax + esi*2], 0x5c
jne 0x4d294b
push 0x57
pop ebx
jmp 0x4d2b0a
lea eax, [ebp - 0x43c]
push eax
lea ecx, [edi + 0x3c]
call fcn.004248f3
lea eax, [ebp - 0x458]
push eax
lea ecx, [edi + 0x58]
call fcn.004248f3
cmp dword [ebp - 0x440], 8
lea eax, [ebp - 0x454]
cmovae eax, dword [ebp - 0x454]
push eax
lea eax, [ebp - 0x474]
push 0x6d5538
push eax
call fcn.0041ccda
add esp, 0xc
lea ecx, [ebp - 0x420]
cmp dword [ebp - 0x45c], 8
lea eax, [ebp - 0x470]
mov edx, 0x104
cmovae eax, dword [ebp - 0x470]
push edx
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push edx
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4d29d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4d2b06
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 4]
call fcn.004179fb
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [edi + 0x20]
call fcn.004179fb
lea esi, [edi + 0x24]
cmp dword [esi + 0x14], 8
jb 0x4d2a03
mov eax, dword [esi]
jmp 0x4d2a05
mov eax, esi
push 0x6d5540
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
jne 0x4d2a7e
lea eax, [edi + 0x78]
cmp dword [eax + 0x14], 8
jb 0x4d2a21
mov eax, dword [eax]
lea ecx, [ebp - 0x478]
push ecx
lea ecx, [ebp - 0x47c]
push ecx
lea ecx, [ebp - 0x480]
push ecx
lea ecx, [ebp - 0x484]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4d29cb
cmp dword [ebp - 0x478], 0xff0
lea ecx, [edi + 0x20]
ja 0x4d2a68
mov dword [edi + 0x94], 1
push 0x6d5548
jmp 0x4d2a77
mov dword [edi + 0x94], 2
push 0x6d5550
call fcn.00419c79
jmp 0x4d2af3
cmp dword [esi + 0x14], 8
jb 0x4d2a88
mov eax, dword [esi]
jmp 0x4d2a8a
mov eax, esi
push 0x6d5558
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
jne 0x4d2aa7
mov dword [edi + 0x94], 3
jmp 0x4d2af3
cmp dword [esi + 0x14], 8
jb 0x4d2ab1
mov eax, dword [esi]
jmp 0x4d2ab3
mov eax, esi
push 0x6d5564
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
jne 0x4d2ad0
mov dword [edi + 0x94], 4
jmp 0x4d2af3
cmp dword [esi + 0x14], 8
jb 0x4d2ad8
mov esi, dword [esi]
push 0x6d5570
push esi
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
jne 0x4d2afc
mov dword [edi + 0x94], 5
mov byte [edi + 0x90], 1
jmp 0x4d2b11
mov ebx, 0x3ed
jmp 0x4d2b0a
push 0x57
pop ebx
test ebx, ebx
je 0x4d2b11
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x474]
call fcn.0041786a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x43c]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.0041786a
mov eax, ebx
call fcn.0056e1e5
ret 4