Function at 0x14000a350
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1400ab140]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r13, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov r12d, 7
mov qword [rcx + 0x18], r12
mov word [rcx], si
lea r15, [rcx + 0x20]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x60], r15
xor edx, edx
mov rcx, r15
call fcn.140009b70
nop
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call fcn.14005638c
mov edi, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], r12
mov word [rsp + 0xe0], si
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8d, [rsi + 0xd]
lea rdx, str.config64.json
mov ecx, eax
call fcn.1400563b4
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x14000aaf4
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0xe0]
call fcn.140011c60
lea r9, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 7
cmova r9, qword [rsp + 0xe0]
mov dword [rsp + 0x20], ebx
mov r8d, 0xd
lea rdx, str.config64.json
mov ecx, edi
call fcn.1400563b4
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14000ab00
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x140]
call fcn.14000d3c0
nop
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.140009e20
mov dword [rsp + 0x30], 0xb
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x100]
call fcn.14000bed0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x120]
call fcn.140009e20
lea rax, [rsp + 0x120]
cmp r13, rax
je 0x14000a541
mov rdx, qword [r13 + 0x18]
cmp rdx, 7
jbe 0x14000a51a
mov rcx, qword [r13]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000a515
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ab0a
mov rcx, r8
call fcn.140075290
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rsp + 0x130]
movups xmmword [r13 + 0x10], xmm1
mov rdx, r12
mov word [rsp + 0x120], si
jmp 0x14000a549
mov rdx, qword [rsp + 0x138]
cmp rdx, 7
jbe 0x14000a58a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a584
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ab0a
call fcn.140075290
nop
lea rcx, [rsp + 0x100]
call fcn.14000d150
nop
lea rcx, [rsp + 0x140]
call fcn.14000d150
nop
mov rdx, qword [rsp + 0xf8]
cmp rdx, 7
jbe 0x14000a5ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a5e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ab10
call fcn.140075290
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0xa0], rsi
mov rdx, r13
cmp qword [r13 + 0x18], 7
jbe 0x14000a60f
mov rdx, qword [r13]
lea r8, [0x14008a280]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__wfopen_s
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x14000a652
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
movdqa xmm1, xmmword [0x14008b850]
movdqu xmmword [rsp + 0x110], xmm1
mov byte [rsp + 0x100], cl
jmp 0x14000a749
xor edx, edx
lea r8d, [rdx + 2]
call sub.msvcrt.dll_fseek
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_ftell
movsxd rbx, eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_fseek
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], 0xf
mov byte [rsp + 0xe0], 0
test rbx, rbx
jne 0x14000a6b6
mov qword [rsp + 0xf0], rbx
mov byte [rsp + rbx + 0xe0], bl
jmp 0x14000a6f3
lea rcx, [rsp + 0xe0]
cmp rbx, 0xf
ja 0x14000a6e0
mov qword [rsp + 0xf0], rbx
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov byte [rsp + rbx + 0xe0], 0
jmp 0x14000a6f3
mov byte [rsp + 0x20], 0
mov r9, rbx
xor r8d, r8d
mov rdx, rbx
call fcn.140003d10
lea rcx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0xf
cmova rcx, qword [rsp + 0xe0]
mov r9, qword [rsp + 0x30]
mov r8, rbx
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_fclose
movups xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0x110], xmm1
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x140]
call fcn.140007670
mov rdx, rax
movzx ecx, byte [r15]
movzx eax, byte [rax]
mov byte [r15], al
mov byte [rdx], cl
lea rcx, [rdx + 8]
mov rax, qword [r15 + 8]
mov r8, qword [rcx]
mov qword [r15 + 8], r8
mov qword [rcx], rax
movzx edx, byte [rdx]
call fcn.14000d6e0
nop
mov rdx, qword [rsp + 0x118]
cmp rdx, 0xf
jbe 0x14000a7d9
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a7d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ab16
call fcn.140075290
nop
jmp 0x14000a7e5
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x108], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x110], xmm1
movabs rdi, 0x8000000000000000
mov r14, rdi
movzx r8d, byte [r15]
mov dword [rsp + 0x30], r8d
cmp r8d, 9
ja case.default.0x14000a82d
movsxd rax, r8d
lea rdx, [0x140000000]
mov eax, dword [rdx + rax*4 + 0xab64]
add rax, rdx
jmp rax
lea rdx, [0x140000000]
cmp r8d, 9
ja case.0x14000a847.0
mov ecx, dword [rdx + r8*4 + 0xab8c]
add rcx, rdx
jmp rcx
mov rbx, qword [r15 + 8]
mov rbx, qword [rbx]
jmp 0x14000a872
mov rsi, qword [r15 + 8]
mov rsi, qword [rsi + 8]
mov rbx, qword [rsp + 0x108]
jmp 0x14000a87a
mov r14d, 1
mov rbx, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
cmp byte [r15], 1
jne 0x14000a954
mov rax, qword [r15 + 8]
mov r12, qword [rax]
mov qword [rsp + 0x38], r12
mov r15, qword [r12 + 8]
mov rbx, r12
cmp byte [r15 + 0x19], 0
jne 0x14000a8fa
mov edi, 7
nop dword [rax]
nop dword [rax + rax]
lea rcx, [r15 + 0x20]
mov r12, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14000a8c2
mov rcx, qword [rcx]
mov r8, r12
cmp r12, rdi
cmova r8, rdi
lea rdx, str.plugins
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x14000a936
js 0x14000a93b
mov rbx, r15
mov r15, qword [r15]
cmp byte [r15 + 0x19], 0
je 0x14000a8b0
movabs rdi, 0x8000000000000000
mov r12, qword [rsp + 0x38]
cmp byte [rbx + 0x19], 0
jne 0x14000a947
lea rcx, [rbx + 0x20]
mov r15, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14000a912
mov rcx, qword [rcx]
mov r8, r15
cmp r15, 7
mov eax, 7
cmova r8, rax
lea rdx, str.plugins
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x14000a941
jg 0x14000a947
jmp 0x14000a94a
cmp r12, rdi
jae 0x14000a8de
mov r15, qword [r15 + 0x10]
jmp 0x14000a8e4
cmp r15, 7
jbe 0x14000a94a
mov rbx, r12
mov r15, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xf0], xmm1
mov r10, qword [rsp + 0x60]
movzx edx, byte [r10]
cmp edx, 9
ja case.default.0x14000a98f
movsxd rax, edx
lea r9, [0x140000000]
mov ecx, dword [r9 + rax*4 + 0xabb4]
add rcx, r9
jmp rcx
lea r9, [0x140000000]
cmp edx, 9
ja case.0x14000a9a8.0
mov ecx, dword [r9 + rdx*4 + 0xabdc]
add rcx, r9
jmp rcx
mov rax, qword [r10 + 8]
mov rax, qword [rax]
jmp 0x14000a9d2
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0xe8]
jmp 0x14000a9da
mov edi, 1
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
cmp r15, r10
jne 0x14000ab1c
cmp r8d, 9
ja case.0x14000a9f7.0
movsxd rdx, r8d
mov r8d, dword [r9 + rdx*4 + 0xac04]
add r8, r9
jmp r8
cmp rbx, rax
jmp 0x14000aa07
cmp rsi, rcx
jmp 0x14000aa07
cmp r14, rdi
sete al
test al, al
je 0x14000aac4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x60], rax
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140009b70
nop
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xf8], 0xf
mov rax, qword [str.plugins]
mov dword [rsp + 0xe0], eax
movzx eax, word [0x14008a2a4]
mov word [rsp + 0xe4], ax
movzx eax, byte [0x14008a2a6]
mov byte [rsp + 0xe6], al
mov byte [rsp + 0xe7], 0
lea rdx, [rsp + 0xe0]
mov rcx, r15
call fcn.14000bac0
mov r8, rax
movzx ecx, byte [rax]
movzx eax, byte [rsp + 0x48]
mov byte [r8], al
mov byte [rsp + 0x48], cl
mov rcx, qword [r8 + 8]
mov rdx, qword [rsp + 0x50]
mov qword [r8 + 8], rdx
mov qword [rsp + 0x50], rcx
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14000d6e0
nop
mov rax, r13
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400753b0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
shr rbx, 0x20
mov ecx, ebx
call fcn.14000d060
int3
shr rcx, 0x20
call fcn.14000d060
nop
call fcn.140079440
nop
call fcn.140079440
nop
call fcn.140079440
nop
lea rdx, str.cannot_compare_iterators_of_different_containers
lea rcx, [rsp + 0x100]
call fcn.140009de0
nop
mov r9, r15
lea r8, [rsp + 0x100]
mov edx, 0xd4
lea rcx, [rsp + 0xa8]
call fcn.140005080
lea rdx, [0x1400a8150]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll__CxxThrowException
int3