Function at 0x48ec00
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x28], eax
mov bl, 1
cmp dword [ecx + 8], 0
jne 0x48ed20
mov esi, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
lea edi, [ecx + 0x5d120]
push edi
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
mov word [esp + 0x20], ax
mov dword [esp + 0x22], 0x5c003a
mov word [esp + 0x26], 0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x48ed1e
mov ecx, dword [esi + 0x5d100]
mov eax, dword [esi + 0x5d104]
mov edx, ecx
and edx, eax
cmp edx, 0xffffffff
je 0x48eca0
cmp ecx, dword [esp + 0x18]
sbb eax, dword [esp + 0x1c]
jb 0x48eca0
mov dword [esi + 0x2470], 2
jmp 0x48ed1e
sub esp, 0x1c
movaps xmm0, xmmword [0x6530d0]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x48ed08
mov bl, 1
cmp byte [esi + 0x26f0], 0
je 0x48ed20
mov eax, dword [esi + 0x26e4]
mov dword [esi + 0x26e8], eax
mov ecx, esi
call fcn.0048f390
test al, al
jne 0x48ed20
mov ecx, dword [esi + 0x2468]
test ecx, ecx
je 0x48ed35
mov eax, 0xa
cmp ecx, 0xb
jae 0x48ed3a
jmp 0x48ed40
mov dword [esi + 0x2470], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2474], eax
xor ebx, ebx
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 5
mov dword [esi + 0x2468], eax
lea edx, [esi + 0x5cfb8]
mov dword [esi + 0x5cfc4], 0
mov dword [esi + 0x5cfc0], 0
mov eax, dword [esi + 0x5d104]
mov ecx, dword [esi + 0x5d100]
add ecx, 0xffffffff
adc eax, 0xffffffff
mov dword [esi + 0x5cfc8], ecx
mov dword [esi + 0x5cfcc], eax
mov edi, dword [esi + 0x26e8]
mov eax, dword [esi + 0x26ec]
cmp edi, eax
jae 0x48ed98
mov dword [edi], edx
add edi, 4
mov dword [esi + 0x26e8], edi
jmp 0x48ee6e
mov dword [esp + 4], edx
lea ecx, [esi + 0x26e4]
mov edx, dword [ecx]
sub edi, edx
mov dword [esp + 0xc], edi
sar edi, 2
mov dword [esp + 0x10], edi
add edi, 1
cmp edi, 0x40000000
jae 0x48ee9d
mov dword [esp + 8], edx
sub eax, edx
mov ecx, eax
sar ecx, 2
sar eax, 1
cmp eax, edi
cmovb eax, edi
cmp ecx, 0x1fffffff
mov ecx, 0x3fffffff
cmovb ecx, eax
test ecx, ecx
mov edi, dword [esp + 0xc]
je 0x48ee10
cmp ecx, 0x40000000
jae 0x48eea2
lea eax, [ecx*4]
push eax
mov dword [esp + 4], ecx
call fcn.00517b56
mov ecx, dword [esp + 4]
add esp, 4
mov edx, eax
jmp 0x48ee12
xor edx, edx
lea eax, [edx + ecx*4]
mov dword [esp], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov dword [edx + ecx*4], eax
lea ecx, [edx + ecx*4]
add ecx, 4
test edi, edi
mov eax, dword [esp + 8]
jle 0x48ee4c
push edi
push eax
push edx
mov edi, edx
mov dword [esp + 0x10], ecx
call fcn.006025b0
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, dword [esp + 0x14]
add esp, 0xc
mov dword [esi + 0x26e4], edx
mov dword [esi + 0x26e8], ecx
mov ecx, dword [esp]
mov dword [esi + 0x26ec], ecx
test eax, eax
je 0x48ee6e
push eax
call fcn.00517bd6
add esp, 4
mov eax, dword [esi + 0x5d100]
mov ecx, dword [esi + 0x5d104]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push 0
push ecx
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x48ed20
call fcn.00469ffc
call fcn.0061842c
int3