Function at 0x67105700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov edx, dword [ebp + 0xc]
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
push ebx
mov ebx, dword [eax + 4]
push esi
push edi
test edx, edx
jg 0x6710574f
jl 0x6710572d
test ecx, ecx
jae 0x6710574f
push str.Called_with_maxSize___0
mov edx, str.skip
mov ecx, eax
call fcn.67102ec0
or eax, 0xffffffff
add esp, 4
or edx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test byte [ebx + 0x30], 1
mov esi, dword [ebx + 0x30]
mov dword [esp + 0x28], esi
jne 0x6710579d
mov edx, str.skip
mov ecx, eax
test esi, esi
jne 0x67105782
push str.device_not_open
call fcn.67102ec0
or eax, 0xffffffff
add esp, 4
or edx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.WriteOnly_device
call fcn.67102ec0
or eax, 0xffffffff
add esp, 4
or edx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x671057c9
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x7c], eax
cmp eax, 1
jne 0x671057d4
cmp byte [ebx + 0x78], 0
jne 0x671057da
test byte [ebx + 0x30], 0x10
je 0x671057ec
push edx
push ecx
mov ecx, ebx
call sym.Qt5Core.dll_public:_long_long___int64____thiscall_QIODevicePrivate::skipByReading_long_long___int64__
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebx + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
test esi, esi
je 0x6710585d
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x6710585d
push edx
push ecx
lea ecx, [ebx + 0x40]
call fcn.670fe330
cmp dword [esp + 0x1c], 1
mov esi, eax
mov edi, edx
je 0x6710581f
add dword [ebx + 0x48], esi
adc dword [ebx + 0x4c], edi
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x6710582e
mov eax, dword [ecx + 8]
or eax, dword [ecx + 0xc]
jne 0x6710583d
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x6710584f
cmp edi, edx
je 0x671058f4
sub ecx, esi
mov dword [esp + 0x14], ecx
sbb edx, edi
mov dword [esp + 0x20], edx
jmp 0x67105865
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x1c], 1
je 0x67105925
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
sub eax, dword [esp + 0x24]
mov ecx, edx
mov edx, dword [esp + 0x20]
sbb ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
cmp ecx, edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jg 0x671058ad
jl 0x671058b7
cmp eax, ecx
jb 0x671058b7
mov eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
cmp dword [esp + 0x10], 0
jl 0x67105925
jg 0x671058c4
test eax, eax
je 0x67105925
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x28]
adc ecx, dword [esp + 0x10]
push ecx
mov eax, dword [eax + 0x40]
mov ecx, dword [esp + 0x1c]
push edx
call eax
test al, al
jne 0x67105901
mov eax, esi
or eax, edi
jne 0x671058f4
or esi, 0xffffffff
or edi, esi
mov eax, esi
mov edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
add esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
adc edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp eax, ecx
jne 0x6710591f
cmp dword [esp + 0x10], edx
je 0x671058f4
sub ecx, eax
sbb edx, dword [esp + 0x10]
mov eax, dword [ebx]
push edx
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x10]
call eax
mov ecx, esi
mov ebx, eax
or ecx, edi
je 0x67105945
and eax, edx
cmp eax, 0xffffffff
je 0x671058f4
add ebx, esi
mov eax, ebx
adc edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8