Function at 0x41c190
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x58]
mov eax, 0x53960c
call fcn.00524684
mov word [edi + 0x10], 8
xor edx, edx
xor ecx, ecx
mov dword [ebp - 4], edx
lea edx, [ebp - 8]
inc dword [edi + 0x1c]
mov word [edi + 0x10], 0x14
mov word [edi + 0x10], 0x20
mov dword [ebp - 8], ecx
inc dword [edi + 0x1c]
mov eax, dword [esi + 0x334]
call fcn.004a40c4
lea ecx, [ebp - 8]
push ecx
mov edx, 0x538df6
lea eax, [ebp - 0xc]
call fcn.0052f020
inc dword [edi + 0x1c]
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
inc dword [edi + 0x1c]
lea ecx, [ebp - 0x10]
pop eax
call fcn.0052f38c
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0052f364
dec dword [edi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0052f334
push 1
call sub.KERNEL32.DLL_SetErrorMode
cmp dword [ebp - 4], 0
mov ebx, eax
je 0x41c24f
mov eax, dword [ebp - 4]
jmp 0x41c254
mov eax, 0x538df8
mov dword [ebp - 0x64], eax
push 0
push 0
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x64]
push ecx
call sub.KERNEL32.DLL_GetDiskFreeSpaceExA
test eax, eax
jne 0x41c27a
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push ebx
call sub.KERNEL32.DLL_SetErrorMode
mov eax, dword [esi + 0x358]
mov edx, dword [esi + 0x35c]
cmp edx, dword [ebp - 0x5c]
jne 0x41c298
cmp eax, dword [ebp - 0x60]
jae 0x41c29e
jmp 0x41c29a
jge 0x41c29e
mov bl, 1
jmp 0x41c2a0
xor ebx, ebx
test bl, bl
jne 0x41c34d
mov word [edi + 0x10], 0x2c
push dword [esi + 0x35c]
push dword [esi + 0x358]
xor edx, edx
mov al, 0x20
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [edi + 0x1c]
call fcn.0040cd1c
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ecx]
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], edx
push ecx
xor edx, edx
inc dword [edi + 0x1c]
mov al, 0x20
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x14]
inc dword [edi + 0x1c]
call fcn.0040cd1c
lea ecx, [ebp - 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp - 4]
mov eax, 0x446
call fcn.0041d31c
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
call fcn.0041ea64
dec dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0052f334
mov word [edi + 0x10], 0x14
jmp 0x41c491
mov ecx, dword [esi + 0x2fc]
mov eax, dword [ecx + 0x68]
cmp dword [eax + 0x18], 0xff
jne 0x41c45b
mov word [edi + 0x10], 0x38
xor edx, edx
mov eax, 0x48e
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
inc dword [edi + 0x1c]
call fcn.0041cc78
lea ecx, [ebp - 0x20]
push ecx
mov edx, 0x538df9
lea eax, [ebp - 0x24]
call fcn.0052f020
inc dword [edi + 0x1c]
xor eax, eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x24]
inc dword [edi + 0x1c]
lea ecx, [ebp - 0x28]
pop eax
call fcn.0052f38c
lea eax, [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x2c]
inc dword [edi + 0x1c]
lea edx, [esi + 0x334]
call fcn.0052f38c
lea eax, [ebp - 0x2c]
push eax
mov edx, 0x538dfd
lea eax, [ebp - 0x30]
call fcn.0052f020
inc dword [edi + 0x1c]
xor eax, eax
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
inc dword [edi + 0x1c]
lea ecx, [ebp - 0x34]
pop eax
call fcn.0052f38c
lea eax, [ebp - 0x34]
mov eax, dword [eax]
call fcn.0041ea64
dec dword [edi + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0052f334
dec dword [edi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0052f334
mov word [edi + 0x10], 0x14
xor ebx, ebx
jmp 0x41c491
mov eax, dword [esi + 0x318]
mov edx, dword [eax + 0x68]
cmp dword [edx + 0x18], 0xff
jne 0x41c477
mov word [edi + 0x10], 0x14
xor ebx, ebx
jmp 0x41c491
mov eax, dword [esi + 0x31c]
mov edx, dword [eax + 0x68]
cmp dword [edx + 0x18], 0xff
jne 0x41c491
mov word [edi + 0x10], 0x14
xor ebx, ebx
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [edi + 0x1c]
call fcn.0052f334
pop eax
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret