Function at 0x42e760
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3260
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5148c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 8
jb 0x42e795
mov ecx, dword [ecx]
mov edx, ecx
lea ecx, [ebp - 0x50]
call fcn.0042e4b0
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00418bf0
cmp eax, 0xffffffff
je 0x42e7dc
lea ecx, [eax + 1]
cmp dword [ebp - 0x40], ecx
jae 0x42e7c8
push str.invalid_string_position
call fcn.0044e855
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], ecx
cmovae eax, dword [ebp - 0x50]
xor edx, edx
mov word [eax + ecx*2], dx
sub esp, 8
lea ecx, [ebp - 0x50]
call fcn.00418b70
cmp eax, 0xffffffff
je 0x42e7f7
push eax
push 0
lea ecx, [ebp - 0x50]
call fcn.00406a70
push 3
push 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x50]
call fcn.00407c90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 3
jb 0x42e9de
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x38]
push 0
push 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x38], 0
cmovae eax, dword [ebp - 0x80]
push ecx
push eax
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp eax, 1
jne 0x42e9de
cmp dword [ebp - 0x34], 0
ja 0x42e856
cmp dword [ebp - 0x38], 0
jbe 0x42e9de
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00407c90
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0042e700
lea ecx, [ebp - 0x2c]
call fcn.0042ea40
test al, al
je 0x42e885
xor bl, bl
jmp 0x42e9ab
push 1
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x5c
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407cd0
mov esi, eax
cmp esi, 0xffffffff
je 0x42e9a9
push esi
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407c90
sub esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00418bf0
cmp eax, 0xffffffff
je 0x42e8ea
lea ecx, [eax + 1]
cmp dword [ebp - 0x58], ecx
jb 0x42e7be
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
mov dword [ebp - 0x58], ecx
cmovae eax, dword [ebp - 0x68]
xor edx, edx
mov word [eax + ecx*2], dx
sub esp, 8
lea ecx, [ebp - 0x68]
call fcn.00418b70
cmp eax, 0xffffffff
je 0x42e905
push eax
push 0
lea ecx, [ebp - 0x68]
call fcn.00406a70
cmp dword [ebp - 0x58], 0
je 0x42e9d2
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407c90
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x42e95b
cmp dword [ebp - 0x18], 8
jb 0x42e93e
push dword [ebp - 0x2c]
call fcn.0048d9a0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004065e0
cmp dword [ebp - 0x84], 8
jb 0x42e972
push dword [ebp - 0x98]
call fcn.0048d9a0
add esp, 4
push 1
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x5c
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407cd0
mov byte [ebp - 4], 2
mov esi, eax
cmp dword [ebp - 0x54], 8
jb 0x42e9a0
push dword [ebp - 0x68]
call fcn.0048d9a0
add esp, 4
cmp esi, 0xffffffff
jne 0x42e8a7
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x42e9bc
push dword [ebp - 0x2c]
call fcn.0048d9a0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jmp 0x42e9e0
lea ecx, [ebp - 0x68]
call fcn.00406fb0
xor bl, bl
jmp 0x42e9ab
xor bl, bl
cmp dword [ebp - 0x6c], 8
jb 0x42e9f1
push dword [ebp - 0x80]
call fcn.0048d9a0
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
cmp dword [ebp - 0x3c], 8
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
jb 0x42ea16
push dword [ebp - 0x50]
call fcn.0048d9a0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a4c3
mov esp, ebp
pop ebp
ret