Function at 0x40b0a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a64d5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 7
jbe 0x40b0d5
mov ecx, dword [ecx]
mov edx, ecx
lea ecx, [ebp - 0x48]
call fcn.0040aa90
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.0040ae10
mov ecx, 3
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x38], ecx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
cmovb ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x34], 7
push ecx
cmova eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push eax
movups xmmword [ebp - 0x60], xmm0
call fcn.004082b0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 3
jb 0x40b42b
cmp dword [ebp - 0x4c], 7
lea ecx, [ebp - 0x30]
push 0
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x30], 0
cmova eax, dword [ebp - 0x60]
push ecx
push eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp eax, 1
jne 0x40b42b
cmp dword [ebp - 0x2c], 0
ja 0x40b173
cmp dword [ebp - 0x30], 0
jbe 0x40b42b
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp eax, 3
jb 0x40b4d1
add eax, 0xfffffffd
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x34], 7
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
push ecx
add eax, 6
lea ecx, [ebp - 0x28]
push eax
call fcn.004082b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040ae10
lea ecx, [ebp - 0x28]
call fcn.0040aee0
mov edi, dword [ebp - 0x14]
test al, al
je 0x40b1dc
mov byte [ebp - 0x79], 0
jmp 0x40b376
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 7
cmova ecx, dword [ebp - 0x28]
test edx, edx
je 0x40b203
mov eax, edx
mov esi, ecx
cmp word [esi], 0x5c
je 0x40b3c3
add esi, 2
sub eax, 1
jne 0x40b1f1
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x40b372
nop
cmp edx, esi
mov dword [ebp - 0x68], 0
mov ecx, esi
mov dword [ebp - 0x64], 0
cmovb ecx, edx
lea eax, [ebp - 0x28]
cmp edi, 7
xorps xmm0, xmm0
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x78]
push eax
movups xmmword [ebp - 0x78], xmm0
call fcn.004082b0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0040ae10
cmp dword [ebp - 0x68], 0
je 0x40b3e5
mov eax, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x94], xmm0
cmp eax, esi
jb 0x40b4d1
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x94]
lea eax, [eax + esi*2]
push eax
call fcn.004082b0
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408360
mov ecx, dword [ebp - 0x80]
cmp ecx, 7
jbe 0x40b2ef
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b2e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4d6
push ecx
push edx
call fcn.004804a9
add esp, 8
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp edi, 7
cmova ecx, dword [ebp - 0x28]
test edx, edx
je 0x40b322
mov eax, edx
mov esi, ecx
nop word [eax + eax]
cmp word [esi], 0x5c
je 0x40b3d4
add esi, 2
sub eax, 1
jne 0x40b310
or esi, 0xffffffff
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x64]
cmp ecx, 7
jbe 0x40b369
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b359
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4d6
push ecx
push edx
call fcn.004804a9
mov edi, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
cmp esi, 0xffffffff
jne 0x40b210
mov byte [ebp - 0x79], 1
cmp edi, 7
jbe 0x40b3ad
mov ecx, dword [ebp - 0x28]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x40b3a3
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4db
push edi
push ecx
call fcn.004804a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x40b42f
test esi, esi
je 0x40b203
sub esi, ecx
sar esi, 1
jmp 0x40b206
test esi, esi
je 0x40b322
sub esi, ecx
sar esi, 1
jmp 0x40b325
mov ecx, dword [ebp - 0x64]
cmp ecx, 7
jbe 0x40b41f
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b415
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4d6
push ecx
push edx
call fcn.004804a9
add esp, 8
mov edi, dword [ebp - 0x14]
mov byte [ebp - 0x79], 0
jmp 0x40b376
mov byte [ebp - 0x79], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 7
jbe 0x40b469
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b45f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4db
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp ecx, 7
jbe 0x40b4b3
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b4a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b4db
push ecx
push edx
call fcn.004804a9
add esp, 8
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048049b
mov esp, ebp
pop ebp
ret
call fcn.0040d440
call fcn.00485a5d
call fcn.00485a5d
int3