Function at 0x414620
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x462d08
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47dac0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
call fcn.004268df
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x414663
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x64], ebx
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41469d
push 0x104
lea ecx, [esp + 0x1c]
call fcn.004018a0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0x8c]
push 0x104
push edi
call fcn.00435a3f
cmp edi, ebx
jne 0x4146ba
xor eax, eax
jmp 0x4146d5
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4146c0
sub eax, edx
sar eax, 1
js 0x414912
cmp eax, dword [edi - 8]
jg 0x414912
mov dword [edi - 0xc], eax
mov word [edi + eax*2], bx
mov eax, dword [edi - 0xc]
cmp eax, ebx
jl 0x414750
push 0x46babc
push edi
call fcn.00448cc3
add esp, 8
cmp eax, ebx
je 0x414750
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x414750
add eax, 1
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
call fcn.00403450
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 1
call fcn.00402c00
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41474c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
call fcn.004268df
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x414780
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x64], 2
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x30], eax
fild qword [esp + 0x2c]
and ecx, 0x80000000
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
fild qword [esp + 0x2c]
lea esi, [esp + 0x1c]
lea edx, [esp + 0x28]
fchs
lea ecx, [esp + 0x3c]
faddp st(1)
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0x400
fstp qword [esp + 0x3c]
call fcn.00414550
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x2c]
call fcn.004145a0
mov byte [esp + 0x64], 3
fld qword [esp + 0x3c]
mov edx, dword [eax]
push edx
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x2c]
push str._.2f__s
push eax
call fcn.00406fd0
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41483d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004268df
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x414857
push 0x80004005
call fcn.00401820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x64], 4
mov ebp, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x28]
push 0x46ce70
push ecx
call fcn.00406fd0
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
mov ecx, dword [edx + 0x94]
add esp, 0xc
push esi
call fcn.00435487
lea eax, [esi - 0x10]
mov byte [esp + 0x64], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4148b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x64], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4148d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x64], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4148fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4
push 0x80070057
call fcn.00401820
int3