Function at 0x14004f2e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1220]
mov eax, 0x1320
call fcn.14017e050
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x1358], rbx
mov qword [rsp + 0x1360], rsi
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rbp + 0x1210], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x30]
call fcn.1401803b0
xor r14d, r14d
mov word [rbp - 0x22], r14w
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 0x400
mov dword [rbp + 0x20], r14d
mov qword [rbp + 0x28], r14
lea ecx, [r14 + 0x28]
call fcn.14017deb0
mov qword [rbp - 0x50], rax
mov qword [rax], r14
mov qword [rax + 8], 0x10000
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rdi, [0x14027fe70]
mov rax, qword [0x14027fe70]
cmp rax, rdi
je 0x14004f3ec
test dword [rax + 0x44], 0x800000
je 0x14004f3ec
cmp byte [rax + 0x41], 5
jb 0x14004f3ec
call fcn.14004dfb0
cmp qword [rax + 0x18], 0x10
jb 0x14004f3cd
mov rax, qword [rax]
mov edx, 0xa
mov r9, rax
lea r8, [0x14022b178]
mov rcx, qword [0x14027fe70]
mov rcx, qword [rcx + 0x38]
call fcn.140023320
call fcn.14004dfb0
cmp qword [rax + 0x18], 0x10
jb 0x14004f3fb
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.14005f810
cmp dword [rbp + 0x20], 0
je 0x14004f437
lea rdx, str.Could_not_parse_schema
lea rcx, [rbp - 0x50]
call fcn.140001fe0
lea rdx, [0x1402788b0]
lea rcx, [rbp - 0x50]
call fcn.1401826f8
int3
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp + 0x180]
call fcn.1401803b0
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x180]
call fcn.1400506d0
nop
xor edx, edx
mov r8d, 0xa8
lea rcx, [rbp + 0x30]
call fcn.1401803b0
nop
lea r15, [0x14022b4c8]
mov qword [rbp + 0x30], r15
lea r12, [0x14022b278]
mov qword [rbp + 0x38], r12
lea rax, [rbp + 0x180]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x48], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 0x400
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmmword [rbp + 0xa0], xmm1
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 0x100
mov ecx, 1
call fcn.14017deb0
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x50], rax
mov ecx, 1
call fcn.14018cb64
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xc0], rax
mov byte [rbp + 0xd0], 1
xor eax, eax
mov qword [rbp + 0x110], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xf0], xmm1
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], 0x100
mov dword [rbp + 0x110], r14d
mov qword [rbp + 0x118], r14
cmp qword [rsi + 0x18], 8
jb 0x14004f55f
mov rdx, qword [rsi]
jmp 0x14004f562
mov rdx, rsi
lea r8, [0x14022cff4]
lea rcx, [rsp + 0x40]
call fcn.1401c02a8
mov rbx, qword [rsp + 0x40]
mov qword [rbp - 0x50], rbx
test eax, eax
je 0x14004f703
mov rcx, qword [0x14027fe70]
cmp rcx, rdi
je 0x14004f5b8
test dword [rcx + 0x44], 0x800000
je 0x14004f5b8
cmp byte [rcx + 0x41], 2
jb 0x14004f5b8
mov edx, VariantTimeToDosDateTime
mov r9d, eax
lea r8, [0x14022b178]
mov rcx, qword [rcx + 0x38]
call fcn.14001d380
nop
test rbx, rbx
je 0x14004f5c6
mov rcx, rbx
call fcn.1401af8a0
nop
xor ecx, ecx
call fcn.14018cb50
mov edx, 1
xor ecx, ecx
call fcn.14017de68
nop
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r12
mov rbx, qword [rbp + 0x78]
cmp rbx, qword [rbp + 0x70]
je 0x14004f623
nop dword [rax]
sub rbx, 0x78
mov qword [rbp + 0x78], rbx
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x14004f611
mov rcx, rdi
call fcn.140053810
mov rcx, rdi
call fcn.14018cb50
mov rcx, rbx
call fcn.140055990
mov rbx, qword [rbp + 0x78]
cmp rbx, qword [rbp + 0x70]
jne 0x14004f5f0
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0xa8], rax
mov byte [rbp + 0xd0], 1
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14004f649
call fcn.14018cb50
mov edx, 1
mov rcx, qword [rbp + 0x58]
call fcn.14017de68
mov rcx, qword [rbp + 0xa0]
call fcn.14018cb50
mov edx, 1
mov rcx, qword [rbp + 0x98]
call fcn.14017de68
mov rcx, qword [rbp + 0x70]
call fcn.14018cb50
mov edx, 1
mov rcx, qword [rbp + 0x68]
call fcn.14017de68
lea rax, vtable.rapidjson::internal::ISchemaValidator.0
mov qword [rbp + 0x38], rax
lea rax, [0x14022b080]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x180]
call fcn.140050600
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14004f6bc
call fcn.140053520
mov rcx, qword [rbp]
call fcn.14018cb50
mov edx, 1
mov rcx, qword [rbp - 8]
call fcn.14017de68
nop
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14004f6ec
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.14000c430
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
xor al, al
jmp 0x14004f9ff
test rbx, rbx
jne 0x14004f72b
lea rdx, str.JSON_file_not_found
lea rcx, [rsp + 0x28]
call fcn.140001fe0
lea rdx, [0x1402788b0]
lea rcx, [rsp + 0x28]
call fcn.1401826f8
int3
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x70], rbx
lea rax, [rbp + 0x210]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 0x1000
mov qword [rbp - 0x78], r14
lea rax, [rbp + 0x210]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x58], 0
mov qword [rbp - 0x60], r14
mov r9, rbx
mov edx, 1
mov r8d, 0x1000
lea rcx, [rbp + 0x210]
call fcn.1401c0620
mov qword [rbp - 0x68], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rdx
cmp rax, qword [rbp - 0x80]
jae 0x14004f7a9
mov byte [rax + rdx], 0
inc qword [rbp - 0x78]
mov byte [rbp - 0x58], 1
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], r14d
mov byte [rsp + 0x68], 0
lea rcx, [rsp + 0x50]
call fcn.140050ea0
movsxd rax, dword [rsp + 0x58]
lea rdx, [0x14022bbb8]
mov rdx, qword [rdx + rax*8]
mov qword [rsp + 0x60], rdx
mov rcx, qword [rsp + 0x50]
call rdx
mov dword [rsp + 0x5c], eax
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x120]
call fcn.1401803b0
lea rcx, [rbp + 0x120]
call fcn.140050b30
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x120]
call fcn.140057080
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.140057180
test al, al
jne 0x14004f909
mov rcx, qword [0x14027fe70]
cmp rcx, rdi
je 0x14004f871
test dword [rcx + 0x44], 0x800000
je 0x14004f871
cmp byte [rcx + 0x41], 2
jb 0x14004f871
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [0x14022b178]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
nop
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14004f882
call fcn.140053520
mov rcx, qword [rbp + 0x150]
call fcn.14018cb50
mov edx, 1
mov rcx, qword [rbp + 0x148]
call fcn.14017de68
nop
mov rcx, rbx
call fcn.1401af8a0
nop
xor ecx, ecx
call fcn.14018cb50
mov edx, 1
xor ecx, ecx
call fcn.14017de68
nop
lea rcx, [rbp + 0x30]
call fcn.1400504b0
nop
lea rcx, [rbp + 0x180]
call fcn.140050600
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14004f8e2
call fcn.140053520
mov rcx, qword [rbp]
call fcn.14018cb50
mov edx, 1
mov rcx, qword [rbp - 8]
call fcn.14017de68
nop
mov rcx, rsi
call fcn.140005c60
xor al, al
jmp 0x14004f9ff
cmp byte [rbp + 0xd0], 0
jne 0x14004f96c
mov rax, qword [0x14027fe70]
cmp rax, rdi
je 0x14004f871
test dword [rax + 0x44], 0x800000
je 0x14004f871
cmp byte [rax + 0x41], 5
jb 0x14004f871
call fcn.14004dfb0
cmp qword [rax + 0x18], 0x10
jb 0x14004f948
mov rax, qword [rax]
mov edx, 0xd
mov r9, rax
lea r8, [0x14022b178]
mov rcx, qword [0x14027fe70]
mov rcx, qword [rcx + 0x38]
call fcn.140023320
jmp 0x14004f871
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14004f97d
call fcn.140053520
mov rcx, qword [rbp + 0x150]
call fcn.14018cb50
mov edx, 1
mov rcx, qword [rbp + 0x148]
call fcn.14017de68
nop
mov rcx, rbx
call fcn.1401af8a0
nop
xor ecx, ecx
call fcn.14018cb50
mov edx, 1
xor ecx, ecx
call fcn.14017de68
nop
lea rcx, [rbp + 0x30]
call fcn.1400504b0
nop
lea rcx, [rbp + 0x180]
call fcn.140050600
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14004f9dd
call fcn.140053520
mov rcx, qword [rbp]
call fcn.14018cb50
mov edx, 1
mov rcx, qword [rbp - 8]
call fcn.14017de68
nop
mov rcx, rsi
call fcn.140005c60
mov al, 1
mov rcx, qword [rbp + 0x1210]
xor rcx, rsp
call fcn.14017e000
lea r11, [rsp + 0x1320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret