Function at 0x14004f2f0
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.140189cb0
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x1358], rbx
mov qword [rsp + 0x1360], rsi
mov rax, qword [0x14028cab8]
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.14018c010
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.140189b0c
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, [0x14028d9b0]
mov rax, qword [0x14028d9b0]
cmp rax, rdi
je 0x14004f3fc
test dword [rax + 0x44], 0x800000
je 0x14004f3fc
cmp byte [rax + 0x41], 5
jb 0x14004f3fc
call fcn.14004dfc0
cmp qword [rax + 0x18], 0x10
jb 0x14004f3dd
mov rax, qword [rax]
mov edx, 0xa
mov r9, rax
lea r8, [0x1402394c8]
mov rcx, qword [0x14028d9b0]
mov rcx, qword [rcx + 0x38]
call fcn.140023320
call fcn.14004dfc0
cmp qword [rax + 0x18], 0x10
jb 0x14004f40b
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.14005f820
cmp dword [rbp + 0x20], 0
je 0x14004f447
lea rdx, str.Could_not_parse_schema
lea rcx, [rbp - 0x50]
call fcn.140001fe0
lea rdx, [0x140285f88]
lea rcx, [rbp - 0x50]
call fcn.14018e358
int3
xor edx, edx
mov r8d, 0x88
lea rcx, [rbp + 0x180]
call fcn.14018c010
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x180]
call fcn.1400506e0
nop
xor edx, edx
mov r8d, 0xa8
lea rcx, [rbp + 0x30]
call fcn.14018c010
nop
lea r15, [0x140239818]
mov qword [rbp + 0x30], r15
lea r12, [0x1402395c8]
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.140189b0c
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x50], rax
mov ecx, 1
call fcn.1401987c4
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 0x14004f56f
mov rdx, qword [rsi]
jmp 0x14004f572
mov rdx, rsi
lea r8, [0x14023b344]
lea rcx, [rsp + 0x40]
call fcn.1401cbec8
mov rbx, qword [rsp + 0x40]
mov qword [rbp - 0x50], rbx
test eax, eax
je 0x14004f713
mov rcx, qword [0x14028d9b0]
cmp rcx, rdi
je 0x14004f5c8
test dword [rcx + 0x44], 0x800000
je 0x14004f5c8
cmp byte [rcx + 0x41], 2
jb 0x14004f5c8
mov edx, VariantTimeToDosDateTime
mov r9d, eax
lea r8, [0x1402394c8]
mov rcx, qword [rcx + 0x38]
call fcn.14001d380
nop
test rbx, rbx
je 0x14004f5d6
mov rcx, rbx
call fcn.1401bb500
nop
xor ecx, ecx
call fcn.1401987b0
mov edx, 1
xor ecx, ecx
call fcn.140189ac4
nop
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r12
mov rbx, qword [rbp + 0x78]
cmp rbx, qword [rbp + 0x70]
je 0x14004f633
nop dword [rax]
sub rbx, 0x78
mov qword [rbp + 0x78], rbx
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x14004f621
mov rcx, rdi
call fcn.140053820
mov rcx, rdi
call fcn.1401987b0
mov rcx, rbx
call fcn.1400559a0
mov rbx, qword [rbp + 0x78]
cmp rbx, qword [rbp + 0x70]
jne 0x14004f600
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0xa8], rax
mov byte [rbp + 0xd0], 1
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14004f659
call fcn.1401987b0
mov edx, 1
mov rcx, qword [rbp + 0x58]
call fcn.140189ac4
mov rcx, qword [rbp + 0xa0]
call fcn.1401987b0
mov edx, 1
mov rcx, qword [rbp + 0x98]
call fcn.140189ac4
mov rcx, qword [rbp + 0x70]
call fcn.1401987b0
mov edx, 1
mov rcx, qword [rbp + 0x68]
call fcn.140189ac4
lea rax, vtable.rapidjson::internal::ISchemaValidator.0
mov qword [rbp + 0x38], rax
lea rax, [0x1402393d0]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x180]
call fcn.140050610
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14004f6cc
call fcn.140053530
mov rcx, qword [rbp]
call fcn.1401987b0
mov edx, 1
mov rcx, qword [rbp - 8]
call fcn.140189ac4
nop
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14004f6fc
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 0x14004fa0f
test rbx, rbx
jne 0x14004f73b
lea rdx, str.JSON_file_not_found
lea rcx, [rsp + 0x28]
call fcn.140001fe0
lea rdx, [0x140285f88]
lea rcx, [rsp + 0x28]
call fcn.14018e358
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.1401cc240
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 0x14004f7b9
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.140050eb0
movsxd rax, dword [rsp + 0x58]
lea rdx, [0x140239f08]
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.14018c010
lea rcx, [rbp + 0x120]
call fcn.140050b40
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x120]
call fcn.140057090
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.140057190
test al, al
jne 0x14004f919
mov rcx, qword [0x14028d9b0]
cmp rcx, rdi
je 0x14004f881
test dword [rcx + 0x44], 0x800000
je 0x14004f881
cmp byte [rcx + 0x41], 2
jb 0x14004f881
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [0x1402394c8]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
nop
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14004f892
call fcn.140053530
mov rcx, qword [rbp + 0x150]
call fcn.1401987b0
mov edx, 1
mov rcx, qword [rbp + 0x148]
call fcn.140189ac4
nop
mov rcx, rbx
call fcn.1401bb500
nop
xor ecx, ecx
call fcn.1401987b0
mov edx, 1
xor ecx, ecx
call fcn.140189ac4
nop
lea rcx, [rbp + 0x30]
call fcn.1400504c0
nop
lea rcx, [rbp + 0x180]
call fcn.140050610
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14004f8f2
call fcn.140053530
mov rcx, qword [rbp]
call fcn.1401987b0
mov edx, 1
mov rcx, qword [rbp - 8]
call fcn.140189ac4
nop
mov rcx, rsi
call fcn.140005c60
xor al, al
jmp 0x14004fa0f
cmp byte [rbp + 0xd0], 0
jne 0x14004f97c
mov rax, qword [0x14028d9b0]
cmp rax, rdi
je 0x14004f881
test dword [rax + 0x44], 0x800000
je 0x14004f881
cmp byte [rax + 0x41], 5
jb 0x14004f881
call fcn.14004dfc0
cmp qword [rax + 0x18], 0x10
jb 0x14004f958
mov rax, qword [rax]
mov edx, 0xd
mov r9, rax
lea r8, [0x1402394c8]
mov rcx, qword [0x14028d9b0]
mov rcx, qword [rcx + 0x38]
call fcn.140023320
jmp 0x14004f881
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14004f98d
call fcn.140053530
mov rcx, qword [rbp + 0x150]
call fcn.1401987b0
mov edx, 1
mov rcx, qword [rbp + 0x148]
call fcn.140189ac4
nop
mov rcx, rbx
call fcn.1401bb500
nop
xor ecx, ecx
call fcn.1401987b0
mov edx, 1
xor ecx, ecx
call fcn.140189ac4
nop
lea rcx, [rbp + 0x30]
call fcn.1400504c0
nop
lea rcx, [rbp + 0x180]
call fcn.140050610
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14004f9ed
call fcn.140053530
mov rcx, qword [rbp]
call fcn.1401987b0
mov edx, 1
mov rcx, qword [rbp - 8]
call fcn.140189ac4
nop
mov rcx, rsi
call fcn.140005c60
mov al, 1
mov rcx, qword [rbp + 0x1210]
xor rcx, rsp
call fcn.140189c60
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