Function at 0x1400f5410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push r12
push r13
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov rax, qword [0x1402d3700]
xor rax, rsp
mov qword [rbp + 0x118], rax
xor eax, eax
mov qword [rbp - 0x38], r8
xorps xmm0, xmm0
mov qword [rbp - 0x80], rcx
mov r11, r8
mov dword [rbp - 0x40], r9d
mov r8, rcx
mov dword [rbp - 0x58], edx
xor ecx, ecx
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], eax
mov r9d, edx
mov dword [rsp + 0x30], eax
mov esi, eax
mov r10, qword [r8 + 0x48]
mov r12d, eax
mov qword [rbp - 0x78], r10
mov r13d, eax
mov dword [rbp - 0x50], eax
mov dword [rbp + 0x110], ecx
mov byte [rbp + 0x114], cl
mov qword [rbp + 0x60], rcx
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
test r11, r11
jne 0x1400f54ac
mov eax, 7
jmp 0x1400f6ac2
movzx ecx, word [r8 + 0x18]
movzx edx, byte [r8 + 0xc]
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x230], rdi
mov qword [rsp + 0x228], r14
lea ebx, [rdx + rcx]
mov qword [rsp + 0x220], r15
cmp ebx, 2
jae 0x1400f54e7
mov r9d, eax
mov dword [rsp + 0x5c], eax
jmp 0x1400f5523
test r9d, r9d
jne 0x1400f54f5
mov r9d, eax
mov dword [rsp + 0x5c], eax
jmp 0x1400f5516
cmp r9d, ebx
jne 0x1400f550e
mov eax, dword [rbp + 0x180]
lea r9d, [rax - 2]
add r9d, ebx
mov dword [rsp + 0x5c], r9d
jmp 0x1400f551c
dec r9d
mov dword [rsp + 0x5c], r9d
mov eax, dword [rbp + 0x180]
mov ebx, 2
sub ebx, eax
mov eax, r9d
mov dword [rbp - 0x68], ebx
sub eax, edx
lea r11d, [rbx + 1]
add eax, ebx
mov dword [rsp + 0x70], r11d
cmp eax, ecx
jne 0x1400f5545
movzx ecx, byte [r8 + 9]
add rcx, 8
jmp 0x1400f5561
add eax, eax
movsxd rcx, eax
mov rax, qword [r8 + 0x60]
movzx edx, word [rcx + rax]
movzx eax, word [r8 + 0x1a]
ror dx, 8
movzx ecx, dx
and rcx, rax
add rcx, qword [r8 + 0x50]
lea r15, [rbp + 0x70]
movsxd rax, ebx
mov qword [rbp - 0x48], rcx
mov edx, dword [rcx]
bswap edx
movsxd rcx, r11d
lea r15, [r15 + rax*4]
mov dword [rsp + 0x68], edx
lea r14, [rax*8]
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x50], rcx
movsxd rdi, ebx
test r12d, r12d
jne 0x1400f69a2
lea r8, [rbp + 0xa0]
xor r9d, r9d
lea r8, [r8 + rdi*8]
mov rcx, r10
call fcn.14014dcf0
mov dword [rsp + 0x34], eax
mov r12d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400f69a2
mov rcx, qword [rbp + r14 + 0xa0]
cmp dword [rcx + 0x14], r13d
jge 0x1400f55eb
call fcn.1400f7730
mov dword [rsp + 0x34], eax
mov r12d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400f5732
mov rax, qword [rbp + r14 + 0xa0]
add esi, 4
sub r15, 4
sub r14, 8
movzx ecx, word [rax + 0x18]
mov eax, ebx
add esi, ecx
dec ebx
mov dword [rsp + 0x40], esi
test eax, eax
je 0x1400f574d
mov r8, qword [rbp - 0x80]
movzx edx, byte [r8 + 0xc]
test dl, dl
je 0x1400f566a
mov eax, dword [rsp + 0x5c]
movzx ecx, word [r8 + 0x1c]
add eax, ebx
cmp eax, ecx
jne 0x1400f566a
mov rdx, qword [r8 + 0x28]
mov rcx, r8
mov qword [rbp + r14 + 0xe0], rdx
mov eax, dword [rdx]
bswap eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x78], eax
call qword [r8 + 0x78]
mov edx, dword [rsp + 0x68]
mov r10, qword [rbp - 0x78]
movzx eax, ax
mov dword [r15], eax
mov rax, qword [rbp - 0x80]
mov byte [rax + 0xc], r13b
jmp 0x1400f5590
mov rax, qword [r8 + 0x60]
mov ecx, dword [rsp + 0x5c]
sub ecx, edx
add ecx, ebx
add ecx, ecx
movsxd rcx, ecx
movzx edx, word [rcx + rax]
mov rcx, r8
movzx eax, word [r8 + 0x1a]
ror dx, 8
movzx edi, dx
and rdi, rax
add rdi, qword [r8 + 0x50]
mov rdx, rdi
mov qword [rbp + r14 + 0xe0], rdi
mov eax, dword [rdi]
bswap eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x78], eax
call qword [r8 + 0x78]
mov rdx, qword [rbp - 0x78]
mov r12, qword [rbp - 0x80]
movzx esi, ax
mov dword [r15], esi
test byte [rdx + 0x28], 0xc
je 0x1400f56f9
mov ecx, edi
sub ecx, dword [r12 + 0x50]
lea eax, [rsi + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x1400f56f9
movsxd rcx, ecx
mov r8d, esi
add rcx, qword [rbp - 0x38]
mov rdx, rdi
call fcn.140067c10
mov rax, qword [rbp - 0x38]
sub rax, qword [r12 + 0x50]
add rax, rdi
mov qword [rbp + r14 + 0xe0], rax
movzx eax, byte [r12 + 0xc]
lea r9, [rsp + 0x30]
mov edx, dword [rsp + 0x5c]
mov r8d, esi
sub edx, eax
mov rcx, r12
add edx, ebx
call fcn.140103160
mov r12d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x68]
mov r10, qword [rbp - 0x78]
mov esi, dword [rsp + 0x40]
mov dword [rsp + 0x34], r12d
jmp 0x1400f5590
lea r8, [rdi*8]
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.140067b50
jmp 0x1400f5a40
mov rax, qword [rbp - 0x78]
lea ebx, [rsi + 3]
and ebx, 0xfffffffc
mov eax, dword [rax + 0x34]
lea ecx, [rbx + rbx*4]
lea ecx, [rax + rcx*2]
movsxd rcx, ecx
call fcn.1401aeec0
mov qword [rbp + 0x10], rax
mov rcx, rax
test rax, rax
jne 0x1400f577f
mov r12d, 7
jmp 0x1400f5a40
mov r15d, dword [rbp]
movsxd rax, ebx
lea r9, [rcx + rax*8]
lea rax, [r9 + rax*2]
mov qword [rbp + 0x18], r9
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 8], rax
movzx r10d, byte [rax + 8]
movzx eax, byte [rax + 2]
shl r10w, 2
mov dword [rsp + 0x58], eax
xor eax, eax
mov word [rsp + 0x38], r10w
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x70], eax
jle 0x1400f5abf
mov edx, eax
mov qword [rsp + 0x40], rax
mov r14, qword [rbp + rdx*8 + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdi, qword [r14 + 0x50]
mov rcx, qword [rax + 0x50]
movzx ebx, word [r14 + 0x12]
movzx edx, word [r14 + 0x18]
add rbx, rdi
movzx esi, word [r14 + 0x1a]
movzx eax, byte [rcx]
mov word [rsp + 0x60], dx
cmp byte [rdi], al
jne 0x1400f5a0f
movzx r8d, byte [r14 + 0xc]
add r8, rdx
movsxd rax, r15d
add r8, r8
xor edx, edx
lea rcx, [r9 + rax*2]
call fcn.140067b50
cmp byte [r14 + 0xc], 0
jbe 0x1400f58b2
movzx eax, word [r14 + 0x1c]
cmp word [rsp + 0x60], ax
jb 0x1400f5a00
mov r9, qword [rbp + 0x10]
xor r8d, r8d
cmp r8w, ax
jae 0x1400f5878
mov edx, eax
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
and rcx, rsi
movsxd rax, r15d
add rcx, rdi
inc r15d
mov qword [r9 + rax*8], rcx
sub rdx, 1
jne 0x1400f5850
mov dword [rbp], r15d
cmp byte [r14 + 0xc], r8b
jbe 0x1400f58b2
lea rdx, [r14 + 0x28]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
movsxd rcx, r15d
inc r8d
inc r15d
mov qword [r9 + rcx*8], rax
movzx eax, byte [r14 + 0xc]
cmp r8d, eax
jl 0x1400f5890
mov dword [rbp], r15d
movzx ecx, word [r14 + 0x12]
movzx edx, word [r14 + 0x18]
add rcx, rdi
lea r8, [rcx + rdx*2]
cmp rbx, r8
jae 0x1400f58f7
mov rdx, qword [rbp + 0x10]
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
and rcx, rsi
movsxd rax, r15d
add rcx, rdi
inc r15d
mov qword [rdx + rax*8], rcx
cmp rbx, r8
jb 0x1400f58d0
mov dword [rbp], r15d
mov rdx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x48]
dec eax
mov dword [rbp + rdx*4 + 0xf8], r15d
cmp r8d, eax
jge 0x1400f59d6
cmp byte [rsp + 0x58], 0
jne 0x1400f59d6
movzx ecx, word [rbp + rdx*4 + 0x70]
mov rax, qword [rbp + 0x18]
mov r8d, ecx
mov rdx, qword [rbp + rdx*8 + 0xe0]
movsxd rbx, r13d
add r13d, ecx
add rbx, qword [rbp - 0x60]
movsxd rdi, r15d
lea rsi, [rax + rdi*2]
mov word [rsi], cx
mov rcx, rbx
call fcn.140067c10
movzx r10d, word [rsp + 0x38]
mov rcx, qword [rbp + 0x10]
lea rax, [rbx + r10]
mov qword [rcx + rdi*8], rax
movzx eax, word [rsi]
sub ax, r10w
mov word [rsi], ax
cmp byte [r14 + 8], 0
jne 0x1400f5996
mov rax, qword [r14 + 0x50]
inc r15d
mov rcx, qword [rcx + rdi*8]
mov rdx, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
mov eax, dword [rax + 8]
mov dword [rcx], eax
mov dword [rbp], r15d
jmp 0x1400f59dc
cmp ax, 4
jae 0x1400f59c3
mov rcx, qword [rbp - 0x60]
movsxd rax, r13d
add rcx, rax
nop word [rax + rax]
mov byte [rcx], 0
lea rcx, [rcx + 1]
inc word [rsi]
inc r13d
cmp word [rsi], 4
jb 0x1400f59b0
mov rdx, qword [rsp + 0x40]
inc r15d
mov r8d, dword [rsp + 0x48]
mov dword [rbp], r15d
jmp 0x1400f59dc
movzx r10d, word [rsp + 0x38]
inc r8d
inc rdx
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x40], rdx
cmp rdx, qword [rsp + 0x50]
jge 0x1400f5abf
mov r9, qword [rbp + 0x18]
jmp 0x1400f57d0
mov ecx, 0x13433
call fcn.140184ce0
mov r12d, eax
jmp 0x1400f5a3d
lea rax, [0x140294bd4]
mov r9d, 0x1341b
mov qword [rsp + 0x20], rax
mov r12d, 0xb
lea r8, str.database_corruption
mov ecx, r12d
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400cbad0
xor r13d, r13d
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rbp + 0x10]
mov r15, qword [rsp + 0x220]
mov r14, qword [rsp + 0x228]
test rbx, rbx
je 0x1400f69c8
cmp dword [0x1402cd290], 0
je 0x1400f69bf
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x1400f5a81
call qword [0x1402cd310]
mov rcx, rbx
call qword [0x1402cd2c8]
dec qword [0x1402d3a38]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x1402d39f0], rdx
call qword [0x1402cd2b8]
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x1400f69c8
call qword [0x1402cd320]
jmp 0x1400f69c8
mov rax, qword [rbp - 0x78]
xor r13d, r13d
movzx ecx, r10w
mov esi, r13d
mov dword [rsp + 0x48], r13d
mov eax, dword [rax + 0x38]
add eax, 0xfffffff4
add ecx, eax
mov rax, qword [rsp + 0x50]
mov dword [rbp - 0x60], ecx
test rax, rax
jle 0x1400f5c28
mov r8, rax
mov qword [rsp + 0x60], r13
lea rdi, [rbp + 0x4c]
shl r8, 2
mov r14d, r13d
mov qword [rsp + 0x40], rdi
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x88]
lea r15, [rbp + 0x50]
lea r13, [rbp + 0x20]
call fcn.140067c10
xor r12d, r12d
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rbp + r14*8 + 0xa0]
mov ecx, dword [rbp + r14*4 + 0xf8]
mov rax, qword [rbx + 0x58]
mov qword [r13], rax
mov dword [r15], ecx
test esi, esi
je 0x1400f5b6a
cmp ecx, dword [rdi]
jne 0x1400f5b6a
dec esi
sub rdi, 4
sub r13, 8
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], rdi
sub r15, 4
cmp byte [rsp + 0x58], r12b
jne 0x1400f5b9a
mov rax, qword [rbp - 0x80]
add r13, 8
inc esi
add rdi, 4
add r15, 4
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], rdi
mov rax, qword [rax + 0x58]
mov qword [r13], rax
lea eax, [rcx + 1]
mov dword [r15], eax
mov ecx, dword [rbp - 0x60]
mov edi, ecx
sub edi, dword [rbx + 0x14]
mov dword [rbp + r14*4 + 0x70], edi
mov r14d, r12d
cmp byte [rbx + 0xc], r12b
jbe 0x1400f5be8
lea rsi, [rbx + 0x28]
mov rdx, qword [rsi]
mov rcx, rbx
call qword [rbx + 0x78]
movzx eax, ax
inc r14d
add eax, 2
lea rsi, [rsi + 8]
add edi, eax
movzx eax, byte [rbx + 0xc]
cmp r14d, eax
jl 0x1400f5bb4
mov r14, qword [rsp + 0x60]
mov esi, dword [rsp + 0x48]
mov ecx, dword [rbp - 0x60]
mov dword [rbp + r14*4 + 0x70], edi
jmp 0x1400f5bed
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
inc r14
add rdi, 4
mov qword [rsp + 0x60], r14
inc esi
mov qword [rsp + 0x40], rdi
add r13, 8
mov dword [rsp + 0x48], esi
add r15, 4
cmp r14, qword [rsp + 0x50]
jl 0x1400f5b30
mov r15d, dword [rbp]
xor r13d, r13d
mov r12d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x70]
mov r8d, eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x40], r13d
test eax, eax
jle 0x1400f5e44
mov eax, 1
mov rbx, r13
mov dword [rsp + 0x48], eax
nop dword [rax]
mov esi, dword [rbp + rbx + 0x70]
cmp esi, ecx
jle 0x1400f5d09
lea rdx, [rbp + 0x74]
add rdx, rbx
cmp eax, r8d
jl 0x1400f5c83
inc eax
mov dword [rsp + 0x60], eax
cmp rbx, 0xc
jg 0x1400f5dde
mov dword [rdx], r13d
mov dword [rbp + rbx + 0x8c], r15d
movsxd rdi, dword [rbp + rbx + 0x88]
mov rdx, qword [rbp + 0x18]
movzx eax, word [rdx + rdi*2 - 2]
test ax, ax
jne 0x1400f5ca9
lea edx, [rdi - 1]
lea rcx, [rbp]
call fcn.1400feb80
mov rdx, qword [rbp + 0x18]
mov esi, dword [rbp + rbx + 0x70]
movzx ecx, ax
add ecx, 2
sub esi, ecx
cmp byte [rsp + 0x58], 0
mov dword [rbp + rbx + 0x70], esi
jne 0x1400f5ce4
cmp edi, r15d
jge 0x1400f5ce1
movzx eax, word [rdx + rdi*2]
test ax, ax
jne 0x1400f5cd9
mov edx, edi
lea rcx, [rbp]
call fcn.1400feb80
movzx ecx, ax
add ecx, 2
jmp 0x1400f5ce4
mov ecx, r13d
mov r8d, dword [rsp + 0x60]
lea eax, [rdi - 1]
lea rdx, [rbp + 0x74]
mov dword [rbp + rbx + 0x88], eax
mov eax, dword [rsp + 0x48]
add rdx, rbx
add dword [rdx], ecx
cmp esi, dword [rbp - 0x60]
jg 0x1400f5c63
movsxd rdi, dword [rbp + rbx + 0x88]
cmp edi, r15d
jge 0x1400f5d8a
mov rcx, qword [rbp + 0x18]
lea r14, [rcx + rdi*2]
nop
movzx eax, word [r14]
test ax, ax
jne 0x1400f5d34
mov edx, edi
lea rcx, [rbp]
call fcn.1400feb80
movzx eax, ax
add eax, 2
add esi, eax
cmp esi, dword [rbp - 0x60]
jg 0x1400f5db6
inc edi
mov dword [rbp + rbx + 0x70], esi
add r14, 2
mov dword [rbp + rbx + 0x88], edi
cmp byte [rsp + 0x58], 0
jne 0x1400f5d7d
cmp edi, r15d
jge 0x1400f5d7a
movzx eax, word [r14]
test ax, ax
jne 0x1400f5d72
mov edx, edi
lea rcx, [rbp]
call fcn.1400feb80
movzx eax, ax
add eax, 2
jmp 0x1400f5d7d
mov eax, r13d
sub dword [rbp + rbx + 0x74], eax
cmp edi, r15d
jl 0x1400f5d20
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov r8d, eax
mov dword [rsp + 0x60], eax
inc ecx
inc eax
add rbx, 4
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x48], eax
cmp ecx, r8d
jge 0x1400f5e44
mov ecx, dword [rbp - 0x60]
jmp 0x1400f5c50
cmp edi, r15d
jge 0x1400f5d86
mov ecx, dword [rsp + 0x40]
test ecx, ecx
jle 0x1400f5dcc
mov eax, dword [rbp + rbx + 0x84]
jmp 0x1400f5dcf
mov eax, r13d
cmp edi, eax
jle 0x1400f5e11
mov eax, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x60]
jmp 0x1400f5d95
lea rax, [0x140294bd4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x13498
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400cbad0
jmp 0x1400f5a40
lea rax, [0x140294bd4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x134b9
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400cbad0
jmp 0x1400f5a40
lea eax, [r8 - 1]
movsxd rcx, eax
mov qword [rbp - 0x30], rcx
mov dword [rsp + 0x48], eax
test eax, eax
jle 0x1400f5faf
lea rdx, [rbp + 0x70]
sub rdx, 4
lea rax, [rbp + 0x88]
sub rax, 4
mov qword [rbp + 0xe0], rdx
mov qword [rbp - 0x70], rax
lea r9, [rbp + 0x70]
nop dword [rax]
mov r8d, dword [rax + rcx*4]
lea rax, [rax + rcx*4]
mov rsi, qword [rbp + 0x18]
mov r13d, dword [rdx + rcx*4]
mov edi, dword [r9 + rcx*4]
mov qword [rbp - 0x28], rax
lea ebx, [r8 - 1]
mov eax, ebx
mov dword [rsp + 0x40], r8d
sub eax, dword [rsp + 0x58]
movsxd r14, eax
inc r14
cmp word [rsi + r14*2], 0
lea edx, [rax + 1]
lea r14, [rsi + r14*2]
jne 0x1400f5ec5
lea rcx, [rbp]
call fcn.1400feb80
mov r15, qword [rbp - 0x28]
xor r12d, r12d
movsxd rax, ebx
lea rsi, [rsi + rax*2]
movzx eax, word [rsi]
test ax, ax
jne 0x1400f5ee6
mov edx, ebx
lea rcx, [rbp]
call fcn.1400feb80
movzx r8d, word [r14]
movzx edx, ax
test edi, edi
je 0x1400f5f1e
cmp dword [rbp + 0x180], r12d
jne 0x1400f5f48
mov ecx, dword [rsp + 0x60]
mov eax, 2
dec ecx
cmp dword [rsp + 0x48], ecx
mov ecx, r13d
cmove eax, r12d
sub ecx, eax
lea eax, [rdi + 2]
add eax, r8d
sub ecx, edx
cmp eax, ecx
jg 0x1400f5f48
add r8d, 2
mov dword [rsp + 0x40], ebx
add edi, r8d
mov dword [r15], ebx
mov eax, 0xfffffffe
sub rsi, 2
sub eax, edx
sub r14, 2
add r13d, eax
mov r8d, ebx
sub ebx, 1
jns 0x1400f5ed3
jmp 0x1400f5f4d
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rbp - 0x30]
lea rax, [rbp + 0x70]
mov rdx, qword [rbp + 0xe0]
mov r15d, dword [rbp]
mov r12d, dword [rsp + 0x34]
mov dword [rax + rcx*4], edi
mov dword [rdx + rcx*4], r13d
cmp rcx, 1
jbe 0x1400f5f7f
mov rax, qword [rbp - 0x70]
xor r13d, r13d
mov eax, dword [rax + rcx*4 - 4]
jmp 0x1400f5f85
xor r13d, r13d
mov eax, r13d
cmp r8d, eax
jle 0x1400f602c
dec dword [rsp + 0x48]
lea r9, [rbp + 0x70]
mov rax, qword [rbp - 0x70]
dec rcx
mov qword [rbp - 0x30], rcx
test rcx, rcx
jg 0x1400f5e80
mov r8d, dword [rsp + 0x60]
mov rax, qword [rbp + 0xa0]
mov r14d, r13d
mov rcx, qword [rax + 0x50]
movzx ebx, byte [rcx]
mov dword [rsp + 0x48], ebx
test r8d, r8d
jle 0x1400f61d9
mov rdi, r13
cmp rdi, qword [rsp + 0x50]
jge 0x1400f60e5
mov rsi, qword [rbp + rdi*8 + 0xa0]
mov qword [rbp + rdi*8 + 0xb8], rsi
mov qword [rbp + rdi*8 + 0xa0], r13
mov qword [rbp - 0x70], rsi
mov rbx, qword [rsi + 0x70]
test byte [rbx + 0x34], 4
mov rcx, qword [rbx + 0x28]
je 0x1400f6073
mov eax, dword [rbx + 0x30]
cmp dword [rcx + 0x20], eax
jb 0x1400f6073
cmp dword [rcx + 0x80], 0
je 0x1400f6069
mov rcx, rbx
call fcn.1401e5ea0
test eax, eax
je 0x1400f605f
mov rcx, rbx
call fcn.1401e6010
jmp 0x1400f609e
lea rax, [0x140294bd4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x134e5
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400cbad0
jmp 0x1400f5a40
mov r12d, r13d
mov dword [rsp + 0x34], r13d
jmp 0x1400f60a5
mov r12d, r13d
mov dword [rsp + 0x34], r13d
jmp 0x1400f60aa
mov r12d, dword [rcx + 0x30]
mov dword [rsp + 0x34], r12d
test r12d, r12d
jne 0x1400f60aa
mov eax, dword [rcx + 0xc8]
cmp dword [rcx + 0xb8], eax
mov rcx, rbx
jbe 0x1400f6099
call fcn.140163420
jmp 0x1400f609e
call fcn.140164700
mov r12d, eax
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x60]
mov eax, dword [rbp - 0x58]
mov ecx, r13d
sub eax, dword [rsp + 0x5c]
inc dword [rsp + 0x3c]
cmp r14d, eax
mov dword [rsp + 0x30], r12d
mov rax, qword [rsi + 0x70]
sete cl
inc ecx
cmp dword [rax + 0x38], ecx
je 0x1400f60d7
test r12d, r12d
je 0x1400f61a6
test r12d, r12d
jne 0x1400f5a40
jmp 0x1400f618f
mov r9d, dword [rsp + 0x68]
lea r8, [rsp + 0x78]
cmp dword [rbp + 0x180], 0
lea rdx, [rbp - 0x70]
mov rsi, qword [rbp - 0x78]
mov ecx, 1
cmovne r9d, ecx
mov byte [rsp + 0x20], 0
mov rcx, rsi
call fcn.1400f0e50
mov dword [rsp + 0x34], eax
mov r12d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400f5a40
mov edx, ebx
mov rbx, qword [rbp - 0x70]
mov rcx, rbx
call fcn.140204020
inc dword [rsp + 0x3c]
mov qword [rbp + rdi*8 + 0xb8], rbx
mov dword [rbp + rdi*4 + 0xf8], r15d
cmp byte [rsi + 0x21], r12b
je 0x1400f6182
mov edx, dword [rbx + 4]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8b, 5
mov rax, qword [rbp - 0x80]
mov rcx, rsi
mov r9d, dword [rax + 4]
call fcn.140169490
mov r12d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r12d
test r12d, r12d
jne 0x1400f5a40
mov edx, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x68], edx
inc r14d
movsxd rax, r8d
inc rdi
cmp rdi, rax
jge 0x1400f61d9
mov ebx, dword [rsp + 0x48]
jmp 0x1400f5fd0
lea rax, [0x140294bd4]
mov r12d, 0xb
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov r9d, 0x13506
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400cbad0
jmp 0x1400f5a40
movsxd r9, dword [rsp + 0x3c]
mov qword [rsp + 0x68], r9
mov r8, r9
test r9d, r9d
jle 0x1400f620a
mov rdx, r13
nop
mov rax, qword [rbp + rdx*8 + 0xb8]
mov ecx, dword [rax + 4]
mov dword [rbp + rdx*4 + 0xe0], ecx
inc rdx
cmp rdx, r9
jl 0x1400f61f0
dec r9d
mov dword [rsp + 0x78], r13d
mov dword [rsp + 0x40], r9d
mov r11d, r13d
test r9d, r9d
jle 0x1400f6357
mov r12, qword [rbp - 0x78]
lea r15, [rbp + 0xb8]
mov ebx, 1
mov rdi, r8
mov qword [rbp - 0x70], rbx
mov eax, r9d
nop dword [rax]
lea r13, [rbx - 1]
mov r10d, r11d
lea r9d, [r11 + 1]
mov r8, rbx
cmp rbx, rdi
jge 0x1400f632a
nop word [rax + rax]
mov rax, qword [rbp + r13*8 + 0xb8]
mov edx, dword [rax + 4]
mov rax, qword [rbp + r8*8 + 0xb8]
mov ecx, dword [rax + 4]
cmp ecx, edx
mov rax, r8
cmovae rax, r13
mov r13, rax
mov eax, r9d
cmovae eax, r10d
inc r9d
inc r8
mov r10d, eax
cmp r8, rdi
jl 0x1400f6260
cmp eax, r11d
je 0x1400f6326
mov eax, dword [0x1402cd460]
xor edx, edx
div dword [r12 + 0x34]
mov rcx, qword [r15]
mov r8, qword [rbp + r13*8 + 0xb8]
mov r14d, dword [rcx + 4]
lea edx, [rax + 1]
mov rax, qword [r8 + 0x70]
mov rcx, qword [rcx + 0x70]
mov esi, dword [r8 + 4]
movzx edi, word [rax + 0x34]
movzx ebx, word [rcx + 0x34]
mov word [rcx + 0x34], di
call fcn.1401b35a0
mov rax, qword [rbp + r13*8 + 0xb8]
mov edx, r14d
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], bx
call fcn.1401b35a0
mov rax, qword [r15]
mov edx, esi
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], di
call fcn.1401b35a0
mov rax, qword [r15]
mov r11d, dword [rsp + 0x78]
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rsp + 0x68]
mov dword [rax + 4], esi
mov rax, qword [rbp + r13*8 + 0xb8]
mov dword [rax + 4], r14d
mov eax, dword [rsp + 0x40]
inc r11d
inc rbx
add r15, 8
mov dword [rsp + 0x78], r11d
mov qword [rbp - 0x70], rbx
cmp r11d, eax
jl 0x1400f6240
mov r15d, dword [rbp]
xor r13d, r13d
mov r12d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x68]
test byte [rsp + 0x48], 8
movsxd r11, dword [rsp + 0x3c]
mov rax, qword [rbp + r11*8 + 0xb0]
lea r9, [rbp + r11*8 + 0xb0]
mov ecx, dword [rax + 4]
mov rax, qword [rbp - 0x48]
bswap ecx
mov dword [rax], ecx
jne 0x1400f63b0
cmp dword [rsp + 0x70], r11d
je 0x1400f63b0
movsxd rax, dword [rbp - 0x68]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xb8]
cmovge rcx, rdx
mov rcx, qword [rcx + rax*8]
mov rax, qword [r9]
mov rdx, qword [rcx + 0x50]
mov rcx, qword [rax + 0x50]
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov rax, qword [rbp - 0x78]
cmp byte [rax + 0x21], 0
je 0x1400f65bd
mov rbx, qword [rbp + 0xb8]
mov r14d, r13d
movzx esi, word [rbx + 0x18]
movzx eax, byte [rbx + 0xc]
add esi, eax
test r15d, r15d
jle 0x1400f65bd
mov rax, qword [rbp + 0x18]
lea rdx, [rbp + 0xb8]
mov rcx, qword [rbp + 0x10]
lea r10, [rbp + 0x88]
mov qword [rbp - 0x58], rax
mov rdi, r13
mov qword [rsp + 0x48], rdx
mov r9, rbx
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x68], rbx
nop
mov r13, qword [rcx]
mov r11d, dword [rsp + 0x58]
cmp r14d, esi
jne 0x1400f6460
xor edx, edx
test r11b, r11b
sete dl
inc rdi
cmp rdi, r8
jge 0x1400f6437
mov rbx, qword [rbp + rdi*8 + 0xb8]
jmp 0x1400f643f
mov rbx, qword [rbp + rdi*8 + 0xa0]
movzx eax, word [rbx + 0x18]
movzx ecx, byte [rbx + 0xc]
add eax, edx
add ecx, eax
add esi, ecx
cmp r14d, esi
je 0x1400f6425
mov rax, qword [rbp - 0x58]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
cmp r14d, dword [r10]
jne 0x1400f6488
mov r9, qword [rdx + 8]
add rdx, 8
add r10, 4
mov qword [rbp - 0x68], r9
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x48], rdx
test r11b, r11b
je 0x1400f6591
cmp rdi, r8
jge 0x1400f64aa
mov eax, dword [rbp + rdi*4 + 0xe0]
cmp dword [r9 + 4], eax
jne 0x1400f64aa
cmp r13, qword [rbx + 0x50]
jb 0x1400f64aa
cmp r13, qword [rbx + 0x58]
jb 0x1400f658d
cmp word [rsp + 0x38], 0
jne 0x1400f64d7
mov edx, dword [r13]
lea rax, [rsp + 0x30]
mov r9d, dword [r9 + 4]
mov r8b, 5
mov rcx, qword [rbp - 0x78]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.140169490
mov r12d, dword [rsp + 0x30]
mov rax, qword [rbp - 0x58]
movzx eax, word [rax]
test ax, ax
jne 0x1400f64ef
mov edx, r14d
lea rcx, [rbp]
call fcn.1400feb80
mov r9, qword [rbp - 0x68]
cmp ax, word [r9 + 0x10]
jbe 0x1400f6574
test r12d, r12d
jne 0x1400f5a3d
lea r8, [rbp - 0x20]
mov rdx, r13
mov rcx, r9
call qword [r9 + 0x80]
movzx edx, word [rbp - 0xc]
cmp edx, dword [rbp - 0x10]
jae 0x1400f657f
mov rcx, qword [rbx + 0x58]
cmp r13, rcx
jae 0x1400f6542
lea rax, [rdx + r13]
cmp rax, rcx
jbe 0x1400f6542
mov ecx, 0x119c1
call fcn.140184ce0
mov r12d, eax
mov dword [rsp + 0x30], eax
jmp 0x1400f6570
movzx eax, word [rbp - 0xa]
mov r8b, 3
mov rcx, qword [rbp - 0x68]
mov edx, dword [rax + r13 - 4]
lea rax, [rsp + 0x30]
mov r9d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.140169490
mov r12d, dword [rsp + 0x30]
mov r9, qword [rbp - 0x68]
test r12d, r12d
jne 0x1400f5a3d
jmp 0x1400f6583
mov r9, qword [rbp - 0x68]
mov r10, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rbp - 0x58]
mov r8, qword [rsp + 0x68]
add rcx, 8
mov rdx, qword [rsp + 0x48]
add rax, 2
inc r14d
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x58], rax
cmp r14d, r15d
jl 0x1400f6410
mov r11d, dword [rsp + 0x3c]
xor r13d, r13d
lea eax, [r11 - 1]
test eax, eax
jle 0x1400f6775
movzx edx, word [rsp + 0x38]
lea rax, [rbp + 0x88]
lea rcx, [rbp + 0xb8]
mov dword [rbp - 0x68], edx
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x48], rcx
nop word [rax + rax]
mov r14, qword [rcx]
movsxd rdi, dword [rax]
mov rcx, qword [rbp + 0x18]
mov r10, qword [rbp + 0x10]
movsxd rsi, dword [rbp - 0x50]
add rsi, qword [rbp - 0x38]
cmp byte [r14 + 8], 0
movzx ecx, word [rcx + rdi*2]
mov rbx, qword [r10 + rdi*8]
lea r9d, [rdx + rcx]
jne 0x1400f66bb
mov rcx, qword [r14 + 0x50]
mov eax, dword [rbx]
mov dword [rcx + 8], eax
mov r12, qword [rbp - 0x80]
add dword [rbp - 0x50], r9d
xor eax, eax
cmp dword [rbp + rax*4 + 0x50], edi
jg 0x1400f663f
inc rax
cmp rax, 6
jl 0x1400f6630
mov rcx, qword [rbp + rax*8 + 0x20]
cmp rbx, rcx
jae 0x1400f6658
movsxd rax, r9d
add rax, rbx
cmp rax, rcx
ja 0x1400f675e
mov edx, dword [rsp + 0x5c]
mov r8, rbx
mov eax, dword [r14 + 4]
add edx, r13d
mov dword [rsp + 0x28], eax
mov rcx, r12
mov qword [rsp + 0x20], rsi
call fcn.140150c80
mov dword [rsp + 0x30], eax
mov r12d, eax
test eax, eax
jne 0x1400f5a3d
mov rcx, qword [rbp - 0x48]
inc r13d
mov rax, qword [rbp - 0x70]
add rcx, 8
mov r11d, dword [rsp + 0x3c]
add rax, 4
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x70], rax
lea edx, [r11 - 1]
cmp r13d, edx
jge 0x1400f6775
mov edx, dword [rbp - 0x68]
jmp 0x1400f65f0
cmp byte [rsp + 0x58], 0
je 0x1400f6739
dec edi
lea r8, [rbp - 0x20]
movsxd rdx, edi
mov rcx, r14
mov rdx, qword [r10 + rdx*8]
call qword [r14 + 0x80]
mov rdx, qword [rbp - 0x20]
lea rcx, [rsi + 4]
mov rbx, rsi
cmp rdx, 0x7f
ja 0x1400f66ff
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
xor esi, esi
lea r9d, [rax + 4]
jmp 0x1400f6626
cmp rdx, 0x3fff
ja 0x1400f6729
mov rax, rdx
and dl, 0x7f
shr rax, 7
or al, 0x80
mov byte [rcx + 1], dl
mov byte [rcx], al
xor esi, esi
mov eax, 2
lea r9d, [rax + 4]
jmp 0x1400f6626
call fcn.14013f210
xor esi, esi
lea r9d, [rax + 4]
jmp 0x1400f6626
sub rbx, 4
cmp ecx, 4
jne 0x1400f6626
mov r12, qword [rbp - 0x80]
mov rdx, rbx
mov rcx, r12
call qword [r12 + 0x78]
movzx r9d, ax
jmp 0x1400f662a
lea rax, [0x140294bd4]
mov r9d, 0x135ce
mov qword [rsp + 0x20], rax
jmp 0x1400f5a21
mov r14d, 1
sub r14d, r11d
cmp r14d, r11d
jge 0x1400f6879
mov esi, dword [rbp + 0x88]
nop dword [rax]
mov ebx, r14d
neg ebx
cmovs ebx, r14d
movsxd rcx, ebx
cmp byte [rbp + rcx + 0x110], 0
jne 0x1400f686d
test r14d, r14d
jns 0x1400f67c3
mov eax, dword [rbp + rcx*4 + 0x84]
cmp dword [rbp + rcx*4 + 0xf4], eax
jl 0x1400f686d
mov rax, 0xffffffffffffffff
xor r13d, r13d
lea r9, [rax + rcx]
test ebx, ebx
jne 0x1400f67e0
mov edx, r13d
mov r8d, r13d
mov r9d, esi
jmp 0x1400f681e
mov eax, dword [rsp + 0x58]
cmp ebx, dword [rsp + 0x70]
jge 0x1400f67fc
test al, al
mov edx, r13d
sete dl
add edx, dword [rbp + r9*4 + 0xf8]
jmp 0x1400f67ff
mov edx, r15d
test al, al
mov r8d, r13d
movsxd rax, ebx
sete r8b
add r8d, dword [rbp + r9*4 + 0x88]
mov r9d, dword [rbp + rax*4 + 0x88]
sub r9d, r8d
movsxd rax, ebx
lea rdi, [rbp + 0xb8]
mov rcx, qword [rdi + rax*8]
lea rdi, [rdi + rax*8]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.140103340
mov dword [rsp + 0x30], eax
mov r12d, eax
test eax, eax
jne 0x1400f5a40
mov ecx, dword [rbp - 0x60]
mov r11d, dword [rsp + 0x3c]
movsxd rax, ebx
mov byte [rbp + rax + 0x110], 1
movsxd rax, ebx
sub ecx, dword [rbp + rax*4 + 0x70]
mov rax, qword [rdi]
mov dword [rax + 0x14], ecx
inc r14d
cmp r14d, r11d
jl 0x1400f6790
cmp dword [rbp - 0x40], 0
je 0x1400f693d
mov rbx, qword [rbp - 0x80]
cmp word [rbx + 0x18], 0
jne 0x1400f693d
mov rcx, qword [rbp + 0xb8]
movzx eax, byte [rbx + 9]
cmp eax, dword [rcx + 0x14]
jg 0x1400f693d
mov edx, 0xffffffff
call fcn.140102470
mov rcx, qword [rbp + 0xb8]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov dword [rsp + 0x30], eax
call fcn.1401010e0
mov r12d, dword [rsp + 0x30]
test r12d, r12d
jne 0x1400f68ec
mov rcx, qword [rbp + 0xb8]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.14010e360
mov r12d, eax
mov r11d, dword [rsp + 0x3c]
xor r13d, r13d
mov rdi, qword [rsp + 0x50]
movsxd rbx, r11d
cmp rbx, rdi
jge 0x1400f5a45
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0xa0]
test r12d, r12d
jne 0x1400f6930
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.14010e360
mov r12d, eax
inc rbx
cmp rbx, rdi
jl 0x1400f6910
jmp 0x1400f5a45
mov rcx, qword [rbp - 0x78]
cmp byte [rcx + 0x21], 0
je 0x1400f68f1
xor r13d, r13d
cmp word [rsp + 0x38], r13w
jne 0x1400f68f4
mov rdi, qword [rsp + 0x68]
test rdi, rdi
jle 0x1400f68f4
mov ebx, r13d
nop
mov r9, qword [rbp + rbx*8 + 0xb8]
mov r8b, 5
mov rax, qword [r9 + 0x50]
mov r9d, dword [r9 + 4]
mov edx, dword [rax + 8]
lea rax, [rsp + 0x30]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.140169490
mov rcx, qword [rbp - 0x78]
inc rbx
cmp rbx, rdi
jl 0x1400f6960
mov r12d, dword [rsp + 0x30]
mov r11d, dword [rsp + 0x3c]
jmp 0x1400f68f4
lea eax, [rbx + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0xa0]
shl r8, 3
call fcn.140067b50
jmp 0x1400f5a40
mov rcx, rbx
call qword [0x1402cd2b8]
test rdi, rdi
jle 0x1400f6a37
mov rbx, r13
mov r8, qword [rbp + rbx*8 + 0xa0]
test r8, r8
je 0x1400f6a2f
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1400f6a27
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
imul rdx, qword [r10 + 0xc8]
mov r9, qword [rcx]
call qword [r9 + 0x90]
jmp 0x1400f6a2f
mov rcx, r8
call fcn.1401b36a0
inc rbx
cmp rbx, rdi
jl 0x1400f69d0
movsxd r9, dword [rsp + 0x3c]
mov rdi, qword [rsp + 0x230]
mov rbx, r9
test r9d, r9d
jle 0x1400f6ab7
nop dword [rax]
mov r8, qword [rbp + r13*8 + 0xb8]
test r8, r8
je 0x1400f6aaf
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1400f6aa7
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
imul rdx, qword [r10 + 0xc8]
mov r9, qword [rcx]
call qword [r9 + 0x90]
jmp 0x1400f6aaf
mov rcx, r8
call fcn.1401b36a0
inc r13
cmp r13, rbx
jl 0x1400f6a50
mov rbx, qword [rsp + 0x278]
mov eax, r12d
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.14025e200
add rsp, 0x238
pop r13
pop r12
pop rsi
pop rbp
ret