Function at 0x140002280
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x1400952e8]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x74], r12d
test byte [rcx + 0x14], 4
je 0x1400023da
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], r12b
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
mov edx, 1
mov r8d, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x14000237d
nop
movzx r9d, byte [rsp + 0x70]
cmp r9b, 0x20
je 0x14000237d
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
cmp rcx, rdx
jae 0x140002349
lea rax, [rcx + 1]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x30]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002359
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x30]
call fcn.140001740
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
mov edx, 1
mov r8d, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
je 0x140002310
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rsp + 0x74], eax
test eax, eax
setne bl
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140002404
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006253c
jmp 0x140002400
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x74]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
sete bl
mov eax, dword [rsp + 0x74]
test bl, bl
jne 0x140002419
mov byte [r14 + 0x10], bl
mov rcx, r14
call fcn.14002e010
jmp 0x1400027e9
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov ebx, eax
test eax, eax
jne 0x14000243d
mov qword [rbp + 0x20], rbx
mov byte [rbp + rbx + 0x10], al
jmp 0x14000246f
lea rcx, [rbp + 0x10]
cmp rbx, 0xf
ja 0x14000245c
mov qword [rbp + 0x20], rbx
mov r8, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + rbx + 0x10], 0
jmp 0x14000246f
mov byte [rsp + 0x20], 0
mov r9, rbx
xor r8d, r8d
mov rdx, rbx
call fcn.1400018b0
mov ebx, r12d
mov edi, dword [rsp + 0x74]
test edi, edi
je 0x1400024c8
nop word [rax + rax]
sub edi, ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
mov ecx, ebx
add rcx, rdx
mov r8d, edi
mov r9, rax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test eax, eax
je 0x1400024be
add ebx, eax
mov edi, dword [rsp + 0x74]
cmp ebx, edi
jne 0x140002480
jmp 0x1400024c8
cmp dword [rsp + 0x74], ebx
jne 0x1400026e0
mov eax, dword [r14 + 0x14]
test al, 2
je 0x140002599
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.140001e10
mov rbx, rax
lea rax, [rbp + 0x10]
cmp rax, rbx
je 0x140002552
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140002524
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000251f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002588
call fcn.14006253c
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400026bb
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000258f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000258f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006253c
jmp 0x1400026bb
test al, 1
je 0x1400026bb
lea rbx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rbx, qword [rbp + 0x10]
movsxd rcx, dword [rbp + 0x20]
lea rdi, [rbx + rcx]
lea r15, [rdi - 2]
call fcn.140062544
mov rsi, rax
mov r8, rax
cmp rbx, r15
jae 0x14000261e
lea r10, [0x14006d7d0]
lea r9, [r8]
movzx edx, byte [rbx]
cmp dl, 0x25
jne 0x140002607
movzx eax, byte [rbx + 1]
movzx ecx, byte [rax + r10]
cmp cl, 0xff
je 0x140002607
movzx eax, byte [rbx + 2]
movzx r8d, byte [rax + r10]
cmp r8b, 0xff
je 0x140002607
shl cl, 4
add cl, r8b
mov eax, 3
jmp 0x14000260f
movzx ecx, dl
mov eax, 1
add rbx, rax
lea r8, [r9 + 1]
mov byte [r9], cl
cmp rbx, r15
jb 0x1400025d2
cmp rbx, rdi
jae 0x140002641
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [r8], al
inc r8
inc rbx
cmp rbx, rdi
jb 0x140002630
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 0xf
cmp rsi, r8
je 0x140002665
sub r8, rsi
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.140001cb0
mov rcx, rsi
call fcn.14006253c
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400026ab
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006253c
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp + 0x40]
movups xmmword [rbp + 0x20], xmm1
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
mov rdx, rax
mov rcx, r14
call fcn.14002e030
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp byte [r14 + 0x10], 0
je 0x1400027ab
xorps xmm0, xmm0
xorps xmm1, xmm1
xorps xmm2, xmm2
xorps xmm3, xmm3
xorps xmm4, xmm4
xorps xmm5, xmm5
xorps xmm6, xmm6
xorps xmm7, xmm7
xorps xmm8, xmm8
xorps xmm9, xmm9
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x60], xmm2
movdqa xmmword [rbp - 0x50], xmm3
movdqa xmmword [rbp - 0x40], xmm4
movdqa xmmword [rbp - 0x30], xmm5
movdqa xmmword [rbp - 0x20], xmm6
movdqa xmmword [rbp - 0x10], xmm7
movdqa xmmword [rbp], xmm8
movdqa xmmword [rbp + 0x30], xmm9
lea rax, [rbp - 0x80]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
mov r8d, 2
lea rdx, [0x14006d9c0]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QMetaObject::invokeMethod_class_QObject____ptr64__char_const____ptr64__enum_Qt::ConnectionType__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument_]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400027e9
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006253c
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400625e0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x100
mov rdi, rcx
call qword [sym.imp.Qt5Core.dll_public:_class_QThread____ptr64___cdecl_QObject::thread_void_const___ptr64]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_static_class_QThread____ptr64___cdecl_QThread::currentThread_void_]
cmp rax, rbx
je 0x140002945
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0xe0]
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm0
lea rax, [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm1
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0xf0]
lea rax, [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x48], rax
lea rdx, [0x14006d9c0]
lea rax, [rsp + 0x90]
movdqa xmmword [rsp + 0x90], xmm1
mov qword [rsp + 0x40], rax
mov rcx, rdi
lea rax, [rsp + 0xa0]
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
movdqa xmmword [rsp + 0xb0], xmm1
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmmword [rsp + 0xd0], xmm1
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmmword [rsp + 0xf0], xmm1
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QMetaObject::invokeMethod_class_QObject____ptr64__char_const____ptr64__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument_]
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rdi
ret
mov rcx, rdi
mov byte [rdi + 0x10], 1
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rdi
jmp 0x140002280