Function at 0x4d7f69
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x240
mov eax, 0x6998d9
call fcn.0056e23b
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
js 0x4d7fe0
lea ecx, [ebp - 0x234]
mov dword [ebx + 0x10], esi
call fcn.004173bc
and dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
and dword [ebx + 0x1c], 0
mov dword [ebx + 0x14], eax
lea eax, [esi + 0x41]
push eax
lea eax, [ebp - 0x234]
push 0x6d673c
push eax
call fcn.0041ccda
mov eax, dword [ebx + 0x14]
add esp, 0xc
dec eax
sub eax, 1
je 0x4d801d
sub eax, 1
je 0x4d7ffe
sub eax, 1
je 0x4d801d
sub eax, 1
je 0x4d7ff1
and dword [ebx + 0x14], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0041786a
mov ecx, ebx
call fcn.004d7a79
xor eax, eax
call fcn.0056e1e5
ret 8
mov eax, dword [0x7c6e2c]
mov eax, dword [eax + 0xc8]
jmp 0x4d8028
mov eax, dword [0x7c6e2c]
push esi
mov eax, dword [eax + 0xc0]
mov eax, dword [eax]
mov dword [ebx + 0xc0], eax
call fcn.00423b69
pop ecx
mov dword [ebx + 0x1c], eax
jmp 0x4d8030
mov eax, dword [0x7c6e2c]
mov eax, dword [eax + 0xc4]
mov eax, dword [eax]
mov dword [ebx + 0xc0], eax
xor ecx, ecx
lea edi, [ebx + 0xb8]
cmp dword [ebp - 0x21c], 8
lea esi, [ebx + 0xb0]
push ecx
push edi
lea eax, [ebp - 0x230]
mov dword [esi], ecx
cmovae eax, dword [ebp - 0x230]
push esi
push eax
mov dword [esi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebx + 0x90]
neg ecx
lea eax, [ebx + 0x94]
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esi + 4]
push dword [esi]
call fcn.005671e8
lea ecx, [ebx + 0x74]
neg ecx
lea eax, [ebx + 0x78]
sbb ecx, ecx
and ecx, eax
push ecx
push dword [edi + 4]
push dword [edi]
call fcn.005671e8
lea ecx, [ebx + 0x58]
neg ecx
lea eax, [ebx + 0x5c]
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebx + 0x10]
call fcn.004282bf
and dword [ebp - 0x23c], 0
xor eax, eax
and dword [ebp - 0x238], 0
and dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24c]
push eax
push dword [ebx + 0x10]
call fcn.0042820b
add esp, 0x28
cmp dword [ebp - 0x23c], 0
jne 0x4d8103
lea ecx, [ebx + 0x5c]
cmp dword [ecx + 0x14], 8
jb 0x4d8117
mov ecx, dword [ecx]
jmp 0x4d8117
cmp dword [ebp - 0x238], 8
lea ecx, [ebp - 0x24c]
cmovae ecx, dword [ebp - 0x24c]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push ecx
lea eax, [ebx + 0x20]
push 0x6d6744
push eax
call fcn.0041ccda
add esp, 0x10
cmp dword [ebx + 0x1c], 0
je 0x4d8151
push 0x6d6754
lea ecx, [ebx + 0x58]
call fcn.00419c79
push 0x5c
lea ecx, [ebp - 0x234]
call fcn.0043b162
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
push 0x104
push ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [ebx + 0x3c]
test eax, eax
je 0x4d819c
lea eax, [ebp - 0x218]
push eax
jmp 0x4d81a1
push 0x6d6764
call fcn.004179fb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
push 0
push 1
call fcn.00401d60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0041786a
xor eax, eax
inc eax
jmp 0x4d7fe9