Function at 0x40efd0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63129b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [eax + 0x59c]
lea edx, [ebp - 0xbc]
mov dword [ebp - 0x14], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.004178d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
cmp eax, ecx
je 0x40f04a
push eax
call fcn.006140b6
add esp, 4
mov esi, dword [ebp - 0x14]
xor edi, edi
movzx eax, word [esi]
lea ebx, [edi + 1]
test ax, ax
je 0x40f0cb
mov ecx, eax
nop dword [eax]
push ecx
call fcn.0061410a
add esp, 4
test eax, eax
je 0x40f078
test edi, edi
mov eax, esi
cmovne eax, edi
mov edi, eax
jmp 0x40f07a
xor edi, edi
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x40f060
test edi, edi
je 0x40f0c8
mov eax, dword [ebp - 0x14]
sub edi, eax
sar edi, 1
js 0x40f380
mov ecx, dword [eax - 8]
mov edx, ebx
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x40f0b3
push edi
lea ecx, [ebp - 0x14]
call fcn.00401d50
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax - 8]
jg 0x40f380
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + edi*2], cx
mov esi, dword [ebp - 0x14]
movzx eax, word [esi]
push eax
call fcn.0061410a
add esp, 4
test eax, eax
je 0x40f0f4
nop dword [eax + eax]
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.0061410a
add esp, 4
test eax, eax
jne 0x40f0e0
mov eax, dword [ebp - 0x14]
cmp esi, eax
je 0x40f1af
mov edx, dword [eax - 0xc]
sub esi, eax
sar esi, 1
test edx, edx
js 0x40f38a
mov ecx, dword [eax - 8]
sub ebx, dword [eax - 4]
sub ecx, edx
or ecx, ebx
jge 0x40f126
push edx
lea ecx, [ebp - 0x14]
call fcn.00401d50
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
lea ebx, [eax + esi*2]
mov edi, ecx
sub edi, esi
lea edx, [edi*2 + 2]
test edx, edx
je 0x40f181
test ebx, ebx
jne 0x40f154
call fcn.00607092
mov dword [eax], 0x16
call fcn.00606fb9
lea eax, [ebx + 0x16]
jmp 0x40f183
lea ecx, [ecx*2 + 2]
cmp ecx, edx
jae 0x40f176
call fcn.00607092
mov dword [eax], 0x22
call fcn.00606fb9
mov eax, 0x22
jmp 0x40f183
push edx
push ebx
push eax
call fcn.005fe5c0
add esp, 0xc
xor eax, eax
push eax
call fcn.00417760
add esp, 4
test edi, edi
js 0x40f380
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax - 8]
jg 0x40f380
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
or esi, 0xffffffff
test ecx, ecx
je 0x40f348
cmp ecx, 1
jg 0x40f1d6
add eax, 0xfffffff0
push eax
call fcn.00401b80
add esp, 4
add eax, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x40f203
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x40f1e6
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x40f1f2
call fcn.004021b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00416690
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
lea edi, [eax - 0x10]
mov ebx, dword [ebp - 0x14]
add ebx, 0xfffffff0
cmp edi, ebx
je 0x40f259
cmp dword [ebx + 0xc], 0
jl 0x40f24d
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x40f24d
push edi
call fcn.00401b80
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, esi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f245
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x40f259
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00401e40
mov byte [ebp - 4], 2
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40f271
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0x6a09f8
lea ecx, [ebp - 0x14]
call fcn.00417970
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x40f345
mov ecx, dword [ebp - 0x38]
push 1
push str.label_diskspace
add ecx, 0x420
call fcn.004215f0
mov edi, eax
test edi, edi
je 0x40f345
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x34]
call fcn.00482870
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
push 0x6a0d28
mov dword [ebp - 0x18], 0
call fcn.004178d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
push eax
call fcn.00417970
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x18]
call dword [eax + 0x3c]
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f327
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f345
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40f364
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401f90
push 0x80070057
call fcn.00401f90
int3