Function at 0x670c0ac9
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x671aed2a
call fcn.671a2b02
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x20], ebx
test edx, edx
jl 0x670c0c77
mov eax, dword [ebp + 0xc]
jg 0x670c0c77
test eax, eax
jb 0x670c0c77
test edx, edx
jne 0x670c0c77
xorps xmm0, xmm0
or ebx, 0xffffffff
movlpd qword [ebp - 0x1c], xmm0
cmp dword [ecx + 0x60], edx
je 0x670c0bd8
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0xd], 1
push dword [ecx + 0x60]
sub eax, esi
push eax
mov eax, dword [ebp + 8]
add eax, esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x60]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
add esp, 0x14
test eax, eax
setne al
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0xe], al
je 0x670c0b87
test al, al
mov eax, dword [ebp - 0x18]
je 0x670c0b8a
test eax, eax
jne 0x670c0b8a
mov eax, dword [ebp - 0x14]
push dword [eax + 0x60]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
push 0
push edx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x60]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov eax, dword [ebp - 0x18]
add esp, 0x14
mov byte [ebp - 0xd], 0
jmp 0x670c0b8f
mov eax, dword [ebp - 0x18]
add esi, eax
adc edi, 0
cmp byte [ebp - 0xe], 0
jne 0x670c0c71
test eax, eax
jne 0x670c0bad
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor ecx, ecx
cmp dword [eax], 4
sete cl
jmp 0x670c0bc8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
cmp edi, dword [ebp + 0x10]
jl 0x670c0b20
jg 0x670c0bc6
cmp esi, eax
jb 0x670c0b20
xor ecx, ecx
mov eax, dword [ebp + 0xc]
test ecx, ecx
mov ecx, dword [ebp - 0x14]
jne 0x670c0b20
jmp 0x670c0c43
cmp dword [ecx + 0x78], ebx
je 0x670c0c49
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
mov edx, eax
mov dword [ebp + 8], 0x7fffffff
mov eax, dword [ebp + 0x10]
sub edx, esi
sbb eax, edi
test eax, eax
ja 0x670c0c08
jb 0x670c0c04
cmp edx, 0x7fffffff
jae 0x670c0c08
mov eax, edx
jmp 0x670c0c0b
mov eax, dword [ebp + 8]
push eax
lea eax, [esi + ebx]
push eax
push dword [ecx + 0x78]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jle 0x670c0c3c
mov ecx, dword [ebp - 0x14]
cdq
add esi, eax
mov eax, dword [ebp + 0xc]
adc edi, edx
cmp edi, dword [ebp + 0x10]
jl 0x670c0be6
jg 0x670c0c39
cmp esi, eax
jb 0x670c0be6
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x670c0c71
mov eax, esi
or eax, edi
jne 0x670c0c71
lea eax, [ebp + 8]
mov esi, ebx
push ebx
push eax
mov edi, ebx
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QSystemError::stdString_int_
pop ecx
pop ecx
xor ecx, ecx
inc ecx
push eax
mov dword [ebp - 4], ecx
push ecx
mov ecx, dword [ebp - 0x20]
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [ebp + 8]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, esi
mov edx, edi
jmp 0x670c0ca1
lea eax, [ebp + 0x10]
push 0x16
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QSystemError::stdString_int_
pop ecx
pop ecx
and dword [ebp - 4], 0
mov ecx, ebx
push eax
push 1
call sym.Qt5Core.dll_protected:_void___thiscall_QAbstractFileEngine::setError_enum_QFileDevice::FileError__class_QString_const__
lea ecx, [ebp + 0x10]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
or ebx, 0xffffffff
mov eax, ebx
mov edx, ebx
call fcn.671a2adc
ret 0xc