Function at 0x1401c06c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1411d99d8]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x40], ebx
mov rax, qword [0x1411ec748]
mov r9, qword [0x1411ec740]
sub rax, r9
sar rax, 5
test rax, rax
je 0x1401c11c3
mov r13d, r12d
movabs r14, 0x7c97d9108c2ad433
nop dword [rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
movups xmmword [rbp + 0x64], xmm0
movups xmmword [rbp + 0x74], xmm0
mov qword [rbp + 0x84], rax
mov dword [rbp + 0x8c], eax
movups xmmword [rbp], xmm0
lea r8d, [rax + 0xa]
lea rdx, [rbp]
mov ecx, dword [r9 + r13]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
movups xmm0, xmmword [0x1403037b0]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [0x1403037c0]
movaps xmmword [rbp + 0x20], xmm1
mov eax, dword [0x1403037d0]
mov dword [rbp + 0x30], eax
lea rcx, [rbp + 0x10]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1401c0793
lea r8, [rbp]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1401c07b0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401c1185
mov r15d, r12d
mov dword [rsp + 0x68], r12d
mov rcx, qword [0x1411ec740]
mov rdi, qword [rcx + r13 + 0xc]
shl rdi, 9
mov rbx, qword [rcx + r13 + 0x14]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
add rbx, 0x2200
je 0x1401c0884
nop
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
mov r8d, 0x200
lea rdx, [rbp + 0x90]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x90], 0x4b4c4256
je 0x1401c090c
add rdi, 0x200
sub rbx, 0x200
jne 0x1401c0830
mov rax, qword [0x1411ec740]
cmp dword [rax + r13 + 0x1c], 1
jne 0x1401c092d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x200
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ebx, r12d
mov edi, 0x200
nop dword [rax]
nop word [rax + rax]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
mov r8d, 0x200
lea rdx, [rbp + 0x90]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x90], 0x4b4c4256
je 0x1401c091b
add rdi, 0x200
inc ebx
cmp ebx, 0x40000
jle 0x1401c08c0
mov dword [0x1411ec738], 1
jmp 0x1401c09b4
mov dword [0x1411ec738], 1
jmp 0x1401c09bd
mov r15d, 1
mov dword [0x1411ec738], r15d
jmp 0x1401c09b4
mov ebx, 0x200
mov r14d, r12d
mov edi, ebx
nop word [rax + rax]
mov r9d, 2
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
mov r8d, 0x200
lea rdx, [rbp + 0x90]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x90], 0x4b4c4256
je 0x1401c099d
add rdi, 0x200
add rbx, 0x200
inc r14d
cmp r14d, 0x40000
jle 0x1401c0940
jmp 0x1401c09a3
mov r15d, 1
mov dword [0x1411ec738], r12d
movabs r14, 0x7c97d9108c2ad433
test r15d, r15d
je 0x1401c1181
mov dword [rsp + 0x58], r12d
mov r9, qword [0x1411ec7a8]
mov rcx, r9
sub rcx, qword [0x1411ec7a0]
mov rax, r14
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmovne r9, qword [0x1411ec7a0]
mov qword [0x1411ec7a8], r9
mov r9, qword [0x1411ec790]
mov rcx, r9
sub rcx, qword [0x1411ec788]
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmovne r9, qword [0x1411ec788]
mov qword [0x1411ec790], r9
mov r9, qword [0x1411ec778]
mov rcx, r9
sub rcx, qword [0x1411ec770]
movabs rbx, 0xa3d70a3d70a3d70b
mov rax, rbx
imul rcx
add rdx, rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmovne r9, qword [0x1411ec770]
mov qword [0x1411ec778], r9
mov r9, qword [0x1411ec760]
mov rcx, r9
sub rcx, qword [0x1411ec758]
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmovne r9, qword [0x1411ec758]
mov qword [0x1411ec760], r9
mov rax, qword [0x1411ec740]
mov rcx, qword [rax + r13 + 0x14]
call fcn.1402b2a70
mov r12, rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
cmp dword [0x1411ec738], r8d
je 0x1401c0adb
xor r9d, r9d
jmp 0x1401c0ae1
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rax, qword [0x1411ec740]
mov r8, qword [rax + r13 + 0x14]
xor edx, edx
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x1411ec740]
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov r8d, dword [rax + r13 + 0x14]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r9, qword [0x1411ec740]
mov r15, qword [r9 + r13 + 0x14]
mov r14d, edi
test r15, r15
jle 0x1401c10cd
nop dword [rax]
mov dword [rsp + 0x68], edi
movups xmm0, xmmword [r14 + r12]
movaps xmmword [rbp - 0x80], xmm0
movups xmm2, xmmword [r14 + r12 + 0x10]
movaps xmmword [rbp - 0x70], xmm2
movups xmm0, xmmword [r14 + r12 + 0x20]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [r14 + r12 + 0x30]
movaps xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [r14 + r12 + 0x40]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [r14 + r12 + 0x50]
movaps xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [r14 + r12 + 0x60]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [r14 + r12 + 0x70]
movaps xmmword [rbp - 0x10], xmm1
movq rbx, xmm2
shr rbx, 0x18
mov byte [rsp + 0x68], bl
mov eax, dword [rsp + 0x68]
sub eax, 0x32
je 0x1401c0fd2
sub eax, 1
je 0x1401c0e2b
sub eax, 1
je 0x1401c0cfe
cmp eax, 0x1d
jne 0x1401c10af
xor edx, edx
mov r8d, 0x20c
lea rcx, [0x1411edda1]
call sub.VCRUNTIME140.dll_memset
mov byte [0x1411edda0], bl
movzx edi, byte [rbp - 0x68]
movsxd r8, edi
lea rdx, [rbp - 0x67]
lea rcx, [0x1411edda1]
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, byte [rbp + rdi - 0x67]
mov r8d, ebx
lea rdx, [rbp - 0x66]
add rdx, rdi
lea rcx, [0x1411edda5]
call sub.VCRUNTIME140.dll_memcpy
add edi, 0x1a
add edi, ebx
mov eax, edi
movzx ebx, byte [rbp + rdi - 0x80]
mov r8d, ebx
lea rdx, [rbp - 0x7f]
add rdx, rax
lea rcx, [0x1411edea9]
call sub.VCRUNTIME140.dll_memcpy
lea eax, [rdi + rbx]
movzx eax, byte [rbp + rax - 0x4f]
mov byte [0x1411edfad], al
mov rdx, qword [0x1411ec7a8]
cmp rdx, qword [0x1411ec7b0]
je 0x1401c0ce6
lea rcx, [0x1411edda0]
mov eax, 4
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rax, 1
jne 0x1401c0c70
mov rax, qword [rcx]
mov qword [rdx], rax
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
movzx eax, word [rcx + 0xc]
mov word [rdx + 0xc], ax
add qword [0x1411ec7a8], 0x20e
jmp 0x1401c10ad
lea r8, [0x1411edda0]
lea rcx, [0x1411ec7a0]
call fcn.1401b3fe0
jmp 0x1401c10ad
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x290]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movdqu xmmword [0x1411edd51], xmm0
mov dword [0x1411edd61], edi
movzx eax, byte [rbp - 0x6d]
mov byte [0x1411edd50], al
movzx ebx, byte [rbp - 0x68]
movsxd r8, ebx
lea rdx, [rbp - 0x67]
lea rcx, [0x1411edd51]
call sub.VCRUNTIME140.dll_memcpy
movzx r8d, byte [rbp + rbx - 0x67]
lea ecx, [rbx + 0x1a]
lea rdx, [rbp - 0x80]
add rdx, rcx
lea rcx, [rbp + 0x290]
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
lea rcx, [0x1402c8037]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x50]
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_PEBD_Z]
mov r9d, 0xffffffff
lea r8d, [r9 + 5]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::mid_int__int____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::toInt_bool____ptr64__int_const___ptr64]
mov dword [0x1411edd55], eax
mov rdx, qword [0x1411ec760]
cmp rdx, qword [0x1411ec768]
je 0x1401c0e07
movups xmm0, xmmword [0x1411edd50]
movups xmmword [rdx], xmm0
mov eax, dword [0x1411edd60]
mov dword [rdx + 0x10], eax
movzx eax, byte [0x1411edd64]
mov byte [rdx + 0x14], al
add qword [0x1411ec760], 0x15
jmp 0x1401c0e1b
lea r8, [0x1411edd50]
lea rcx, [0x1411ec758]
call fcn.1401b3bc0
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1401c10af
mov qword [0x1411edd79], rdi
mov dword [0x1411edd81], edi
mov dword [0x1411edd8d], edi
movzx eax, byte [rbp - 0x6d]
mov byte [0x1411edd78], al
movzx ebx, byte [rbp - 0x68]
mov r8d, ebx
lea rdx, [rbp - 0x67]
lea rcx, [0x1411edd79]
call sub.VCRUNTIME140.dll_memcpy
lea edx, [rbx + 0x19]
movzx ecx, byte [rbp + rdx - 0x80]
lea r8d, [rdx + 0x11]
add r8d, ecx
mov ecx, dword [rbp + r8 - 0x80]
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x68], rdi
movzx eax, byte [rsp + 0x73]
mov byte [rsp + 0x68], al
movzx eax, byte [rsp + 0x72]
mov byte [rsp + 0x69], al
movzx eax, byte [rsp + 0x71]
mov byte [rsp + 0x6a], al
movzx eax, cl
mov byte [rsp + 0x6b], cl
mov eax, dword [rsp + 0x68]
mov dword [0x1411edd85], eax
lea ecx, [r8 + 0xc]
movzx edi, byte [rbp + rcx - 0x80]
lea esi, [rcx + 1]
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], rax
mov eax, esi
lea rdx, [rbp - 0x80]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], 0
lea rdx, [rdi - 1]
test rdx, rdx
js 0x1401c0f01
lea rcx, [rsp + 0x68]
nop dword [rax]
movzx eax, byte [rsp + rdx + 0x70]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jns 0x1401c0ef0
mov r8, rdi
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x48]
mov dword [0x1411edd89], eax
add edi, esi
mov eax, edi
movzx ebx, byte [rbp + rdi - 0x80]
mov r8d, ebx
lea rdx, [rbp - 0x7f]
add rdx, rax
lea rcx, [0x1411edd7d]
call sub.VCRUNTIME140.dll_memcpy
lea eax, [rdi + rbx]
mov edi, eax
movzx ebx, byte [rbp + rax - 0x7f]
mov r8d, ebx
lea rdx, [rbp - 0x7e]
add rdx, rdi
lea rcx, [0x1411edd81]
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [rbx + 2]
add ecx, edi
movzx r8d, byte [rbp + rcx - 0x80]
inc ecx
lea rdx, [rbp - 0x80]
add rdx, rcx
lea rcx, [0x1411edd8d]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x1411ec778]
cmp rdx, qword [0x1411ec780]
je 0x1401c0fba
movups xmm0, xmmword [0x1411edd78]
movups xmmword [rdx], xmm0
movsd xmm1, qword [0x1411edd88]
movsd qword [rdx + 0x10], xmm1
movzx eax, byte [0x1411edd90]
mov byte [rdx + 0x18], al
add qword [0x1411ec778], 0x19
jmp 0x1401c10ad
lea r8, [0x1411edd78]
lea rcx, [0x1411ec770]
call fcn.1401b3dd0
jmp 0x1401c10ad
mov qword [0x1411edd69], rdi
mov dword [0x1411edd71], edi
movzx eax, byte [rbp - 0x6d]
mov byte [0x1411edd68], al
movzx ebx, byte [rbp - 0x68]
mov r8d, ebx
lea rdx, [rbp - 0x67]
lea rcx, [0x1411edd69]
call sub.VCRUNTIME140.dll_memcpy
lea edx, [rbx + 0x19]
movzx ecx, byte [rbp + rdx - 0x80]
lea r8d, [rdx + 1]
add r8d, ecx
movzx ecx, byte [rbp + r8 - 0x80]
lea edx, [r8 + 6]
add edx, ecx
movzx eax, byte [rbp + rdx - 0x80]
add eax, edx
mov edi, eax
movzx ebx, byte [rbp + rax - 0x6f]
mov r8d, ebx
lea rdx, [rbp - 0x6e]
add rdx, rdi
lea rcx, [0x1411edd6d]
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [rdi + rbx]
movsxd rax, ecx
movzx r8d, byte [rbp + rax - 0x6d]
add ecx, 0x14
lea rdx, [rbp - 0x80]
add rdx, rcx
lea rcx, [0x1411edd71]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x1411ec790]
cmp rdx, qword [0x1411ec798]
je 0x1401c109a
movsd xmm0, qword [0x1411edd68]
movsd qword [rdx], xmm0
mov eax, dword [0x1411edd70]
mov dword [rdx + 8], eax
movzx eax, byte [0x1411edd74]
mov byte [rdx + 0xc], al
add qword [0x1411ec790], 0xd
jmp 0x1401c10ad
lea r8, [0x1411edd68]
lea rcx, [0x1411ec788]
call fcn.1401b39c0
xor edi, edi
sub r14, 0xffffffffffffff80
cmp r14, r15
jl 0x1401c0b40
mov r9, qword [0x1411ec740]
movabs rbx, 0xa3d70a3d70a3d70b
mov rcx, qword [0x1411ec790]
sub rcx, qword [0x1411ec788]
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1401c118e
mov rcx, qword [0x1411ec760]
sub rcx, qword [0x1411ec758]
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1401c118e
mov rcx, qword [0x1411ec778]
sub rcx, qword [0x1411ec770]
mov rax, rbx
imul rcx
add rdx, rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movabs r14, 0x7c97d9108c2ad433
je 0x1401c1198
mov rcx, qword [0x1411ec7a8]
sub rcx, qword [0x1411ec7a0]
mov rax, r14
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1401c11c3
jmp 0x1401c1198
mov ebx, dword [rsp + 0x40]
mov r9, qword [0x1411ec740]
jmp 0x1401c119f
movabs r14, 0x7c97d9108c2ad433
xor r12d, r12d
mov ebx, dword [rsp + 0x40]
inc ebx
mov dword [rsp + 0x40], ebx
add r13, 0x20
mov rcx, qword [0x1411ec748]
sub rcx, r9
sar rcx, 5
movsxd rax, ebx
cmp rax, rcx
jb 0x1401c0730
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1402b25d0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret