Function at 0x4126c0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x514a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5566e0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [0x5737f4]
push 3
lea eax, [esp + 0x20]
push eax
add ecx, 0x3c
mov dword [esp + 0x28], ebx
call fcn.00404c00
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
xor ebp, ebp
lea eax, [esp + 0x3c]
mov dword [esp + 0xb8], ebp
mov esi, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4128d1
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push ebp
push 0x64
push esi
push edi
call fcn.004ebca0
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.004f0630
shrd edi, esi, 0x14
mov dword [ebx + 0x14c], eax
shr esi, 0x14
call fcn.004c2ca4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41278b
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x5f0
lea ecx, [esp + 0x1c]
mov ebx, 1
push ecx
mov byte [esp + 0xb8], bl
call fcn.0041c760
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 2
call fcn.00404e60
mov byte [esp + 0xb0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4127ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov edx, dword [esi - 0xc]
xor eax, eax
test edx, edx
jle 0x41281f
test eax, eax
jl 0x4128c7
cmp eax, edx
jg 0x4128c7
mov cl, byte [eax + esi]
test cl, cl
je 0x412819
mov byte [esp + ebp + 0x3c], cl
add ebp, ebx
add eax, ebx
cmp eax, edx
jl 0x4127fc
cmp dword [esi - 4], ebx
jle 0x412834
mov ecx, edx
push ecx
lea ecx, [esp + 0x18]
call fcn.00405430
mov esi, dword [esp + 0x14]
push ebp
lea edx, [esp + 0x40]
push edx
push esi
call fcn.004ef8a0
lea eax, [esp + 0x24]
push 0x52af50
push eax
lea ecx, [esp + 0x28]
call fcn.0041ad30
mov ecx, dword [esp + 0x34]
push edi
mov byte [esp + 0xc8], 3
mov edi, dword [esp + 0x34]
mov eax, dword [eax]
push edi
push eax
add ecx, 0x150
push ecx
call fcn.00405670
mov byte [esp + 0xd4], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x24
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41289e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xb0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
jmp 0x4128d4
push 0x80070057
call fcn.00404150
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0xb0], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004e0b83
add esp, 0xa0
ret