Function at 0x43c520
Capabilities:
Get disk size

Disassembly:
sub esp, 0x428
xor eax, eax
push ebx
push ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push esi
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x43c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
push edi
mov ecx, 0x7dca28
call fcn.005b51b0
mov ebx, dword [esp + 0x440]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c57e
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x43c72d
test esi, esi
jne 0x43c5ce
lea eax, [esp + 0x38]
push 0x400
push eax
push edi
call fcn.005b22e0
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
lea eax, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, 0x7dca28
call fcn.005b51b0
mov esi, eax
test esi, esi
jne 0x43c5ce
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
jmp 0x43c72d
test ebx, ebx
je 0x43c725
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x43c63a
lea eax, [esp + 0x38]
push 0x400
push eax
push edi
call fcn.005b22e0
lea ecx, [esp + 0x44]
push 0x400
push ecx
call fcn.005b8f90
add esp, 0x14
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call ebp
mov esi, eax
test esi, esi
je 0x43c71f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
imul ecx, dword [esp + 0x14]
test eax, eax
mov dword [ebx], ecx
ja 0x43c65b
cmp dword [esp + 0x18], 0x80000000
jbe 0x43c725
call fcn.005c4e00
test al, al
jne 0x43c725
call fcn.0043c4e0
test eax, eax
je 0x43c6dc
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push edi
call fcn.0043c400
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43c6dc
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x14]
mov dword [ebx], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x444]
test eax, eax
je 0x43c6b7
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x448]
test eax, eax
je 0x43c6cf
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp eax, 2
mov ecx, 1
ja 0x43c6fb
jb 0x43c6f4
test edx, edx
jae 0x43c6fb
mov ecx, 3
jmp 0x43c70b
cmp eax, 4
ja 0x43c70b
jb 0x43c706
test edx, edx
jae 0x43c70b
mov ecx, 2
mov eax, dword [esp + 0x10]
mov esi, 1
shr eax, cl
imul eax, dword [esp + 0x14]
mov dword [ebx], eax
jmp 0x43c69f
mov dword [ebx], 0
test esi, esi
jne 0x43c69f
push 0
call fcn.005c4990
add esp, 4
cmp eax, 0x4d3
jne 0x43c745
xor esi, esi
jmp 0x43c69f
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x43c7a5
lea edx, [esp + 0x38]
push 0x400
push edx
push edi
call fcn.005b22e0
lea eax, [esp + 0x44]
push 0x400
push eax
call fcn.005b8f90
add esp, 0x14
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call ebp
mov esi, eax
test esi, esi
je 0x43c7da
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor edx, edx
cmp ebx, edx
je 0x43c7ba
mov edi, eax
imul edi, ecx
mov dword [ebx], edi
imul eax, ecx
mov ecx, eax
mov dword [esp + 0x24], edx
imul ecx, dword [esp + 0x2c]
imul eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jmp 0x43c6a3
xor ecx, ecx
cmp ebx, ecx
je 0x43c7e2
mov dword [ebx], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
jmp 0x43c6a3