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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x698038
mov eax, dword fs:[0]
push eax
sub esp, 0x77c
mov eax, dword [0x729140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push str.Shell32.dll
lea ecx, [ebp - 0x788]
call fcn.00405880
mov dword [ebp - 4], 0
lea eax, [ebp - 0x788]
push eax
call fcn.004f08f0
mov ecx, eax
call fcn.004f09b0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x788]
call fcn.00405870
test esi, esi
je 0x4ec95b
push 0x6dbf8c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4ec95b
lea ecx, [ebp - 0x4b8]
call fcn.004058d0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4a0]
call fcn.004058d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.004058d0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x770]
push 0x2b4
push 0
push eax
call fcn.0064d010
add esp, 0xc
lea eax, [ebp - 0x770]
mov ecx, edi
push 0x610
push 0x2b4
push eax
push 0
call fcn.00405860
push eax
call esi
test eax, eax
jne 0x4ec962
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x488]
call fcn.00405870
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a0]
call fcn.00405870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b8]
call fcn.00405870
xor al, al
jmp 0x4ecbf9
lea eax, [ebp - 0x764]
push eax
call fcn.00405dd0
add esp, 4
lea ecx, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x764]
push eax
call fcn.00405b20
lea eax, [ebp - 0x55c]
push eax
call fcn.00405dd0
add esp, 4
lea ecx, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x55c]
push eax
call fcn.00405b20
push 0x20a
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.0064d010
push 0x20a
lea eax, [ebp - 0x220]
mov dword [ebp - 0x44c], 0
push 0
push eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
call fcn.0064d010
add esp, 0x18
lea eax, [ebp - 0x220]
mov ecx, edi
push 0x104
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0x104
lea eax, [ebp - 0x430]
push eax
call fcn.00405860
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4ecb0a
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push eax
call fcn.00405dd0
add esp, 4
lea ecx, [ebp - 0x488]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00405b20
lea eax, [ebp - 0x43c]
mov byte [ebp - 0x458], 1
push eax
lea eax, [ebp - 0x440]
mov dword [ebp - 0x438], 0
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], 0
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x440], 0
push eax
mov ecx, edi
mov dword [ebp - 0x43c], 0
call fcn.00405860
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4ecb2e
mov esi, dword [ebp - 0x434]
mov eax, esi
mov edi, dword [ebp - 0x438]
imul eax, edi
push 0
push edi
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x43c]
mul esi
push edx
push eax
call fcn.00635cd0
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x464], edx
mul esi
push 0
push edi
push edx
push eax
call fcn.00635cd0
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], edx
jmp 0x4ecb2e
xorps xmm0, xmm0
mov dword [ebp - 0x470], 0
movlpd qword [ebp - 0x468], xmm0
movlpd qword [ebp - 0x460], xmm0
mov byte [ebp - 0x458], 0
lea ecx, [ebp - 0x4b8]
call fcn.004028e0
cmp ebx, eax
je 0x4ecb57
call fcn.004028e0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4ecb4c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00405b20
lea ecx, [ebp - 0x4a0]
lea esi, [ebx + 0x18]
call fcn.004028e0
cmp esi, eax
je 0x4ecb83
call fcn.004028e0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4ecb78
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00405b20
lea ecx, [ebp - 0x488]
lea esi, [ebx + 0x30]
call fcn.004028e0
cmp esi, eax
je 0x4ecbaf
call fcn.004028e0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4ecba4
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00405b20
mov eax, dword [ebp - 0x470]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x468]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x464]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x460]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebx + 0x5c], eax
mov al, byte [ebp - 0x458]
mov byte [ebx + 0x60], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b8]
call fcn.0043b100
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00634bf3
mov esp, ebp
pop ebp
ret