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

Disassembly:
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14031b848]
xor rax, rsp
mov qword [rbp + 0xe8], rax
xor edi, edi
mov dword [rbp - 0x50], r9d
xorps xmm0, xmm0
mov qword [rbp - 0x48], r8
mov r9, r8
mov qword [rbp - 0x80], rcx
mov r8, rcx
mov dword [rsp + 0x78], edx
xor ecx, ecx
mov dword [rsp + 0x50], edi
mov dword [rbp - 0x6c], edi
mov eax, edx
mov dword [rbp + 0xe0], ecx
mov r13d, edi
mov r10, qword [r8 + 0x48]
mov r14d, edi
mov qword [rsp + 0x70], r10
mov r12d, edi
mov byte [rbp + 0xe4], cl
mov qword [rbp + 0x30], rcx
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
test r9, r9
jne 0x1401b5636
lea eax, [rdi + 7]
jmp 0x1401b6ba2
movzx ecx, word [r8 + 0x18]
movzx edx, byte [r8 + 0xc]
mov qword [rsp + 0x248], rbx
mov qword [rsp + 0x1f8], rsi
mov qword [rsp + 0x1f0], r15
lea ebx, [rdx + rcx]
cmp ebx, 2
jae 0x1401b5669
mov r9d, edi
mov dword [rsp + 0x44], edi
jmp 0x1401b56a4
test eax, eax
jne 0x1401b5676
mov r9d, edi
mov dword [rsp + 0x44], edi
jmp 0x1401b5697
cmp eax, ebx
jne 0x1401b568e
mov eax, dword [rbp + 0x150]
lea r9d, [rax - 2]
add r9d, ebx
mov dword [rsp + 0x44], r9d
jmp 0x1401b569d
lea r9d, [rax - 1]
mov dword [rsp + 0x44], r9d
mov eax, dword [rbp + 0x150]
mov ebx, 2
sub ebx, eax
mov eax, r9d
mov dword [rsp + 0x58], ebx
sub eax, edx
lea r11d, [rbx + 1]
add eax, ebx
mov dword [rsp + 0x4c], r11d
cmp eax, ecx
jne 0x1401b56c7
movzx ecx, byte [r8 + 9]
add rcx, 8
jmp 0x1401b56e3
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 + 0x40]
movsxd rax, ebx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov edx, dword [rcx]
bswap edx
mov dword [rsp + 0x60], edx
lea r15, [r15 + rax*4]
mov dword [rbp - 0x70], edx
lea rsi, [rax*8]
nop dword [rax]
test r14d, r14d
jne 0x1401b6a71
movsxd rax, ebx
lea r8, [rbp + 0x58]
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, r10
lea r8, [r8 + rax*8]
call fcn.1401ce680
mov dword [rsp + 0x30], eax
mov r14d, eax
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x1401b6a71
mov rcx, qword [rbp + rsi + 0x58]
cmp dword [rcx + 0x14], r12d
jge 0x1401b5769
call fcn.1401b74d0
mov dword [rsp + 0x30], eax
mov r14d, eax
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x1401b58a1
mov rax, qword [rbp + rsi + 0x58]
add r13d, 4
sub r15, 4
sub rsi, 8
movzx ecx, word [rax + 0x18]
mov eax, ebx
add r13d, ecx
dec ebx
test eax, eax
je 0x1401b58bc
mov r8, qword [rbp - 0x80]
movzx edx, byte [r8 + 0xc]
test dl, dl
je 0x1401b57e0
mov eax, dword [rsp + 0x44]
movzx ecx, word [r8 + 0x1c]
add eax, ebx
cmp eax, ecx
jne 0x1401b57e0
mov rdx, qword [r8 + 0x28]
mov rcx, r8
mov qword [rbp + rsi - 0x68], rdx
mov eax, dword [rdx]
bswap eax
mov dword [rsp + 0x60], eax
mov dword [rbp - 0x70], eax
call qword [r8 + 0x78]
mov rcx, qword [rbp - 0x80]
mov edx, dword [rsp + 0x60]
mov r10, qword [rsp + 0x70]
movzx eax, ax
mov byte [rcx + 0xc], r12b
mov dword [r15], eax
jmp 0x1401b5710
mov rax, qword [r8 + 0x60]
mov ecx, dword [rsp + 0x44]
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 + rsi - 0x68], rdi
mov eax, dword [rdi]
bswap eax
mov dword [rsp + 0x60], eax
mov dword [rbp - 0x70], eax
call qword [r8 + 0x78]
mov rdx, qword [rsp + 0x70]
movzx r14d, ax
mov dword [r15], r14d
test byte [rdx + 0x28], 0xc
je 0x1401b586c
mov rax, qword [rbp - 0x80]
mov ecx, edi
sub ecx, dword [rax + 0x50]
lea eax, [r14 + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x1401b586c
movsxd rcx, ecx
mov r8d, r14d
add rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.140263e30
mov rcx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x48]
sub rax, qword [rcx + 0x50]
add rax, rdi
mov qword [rbp + rsi - 0x68], rax
mov rdi, qword [rbp - 0x80]
lea r9, [rsp + 0x34]
mov edx, dword [rsp + 0x44]
mov r8d, r14d
mov rcx, rdi
movzx eax, byte [rdi + 0xc]
sub edx, eax
add edx, ebx
call fcn.1401c2320
mov edx, dword [rsp + 0x60]
xor edi, edi
mov r10, qword [rsp + 0x70]
mov r14d, dword [rsp + 0x34]
jmp 0x1401b5710
movsxd r8, ebx
lea rcx, [rbp + 0x58]
xor edx, edx
lea r8, [r8*8]
call fcn.140264a90
jmp 0x1401b617f
mov rsi, qword [rsp + 0x70]
lea ebx, [r13 + 3]
and ebx, 0xfffffffc
mov eax, dword [rsi + 0x34]
lea ecx, [rbx + rbx*4]
lea ecx, [rax + rcx*2]
movsxd rcx, ecx
call fcn.140210560
mov qword [rbp - 0x20], rax
mov r8, rax
test rax, rax
jne 0x1401b58ee
lea r14d, [rax + 7]
jmp 0x1401b6a94
mov rcx, qword [rbp + 0x58]
xor r13d, r13d
mov edx, dword [rsp + 0x4c]
movsxd rax, ebx
mov qword [rbp - 0x28], rcx
movzx r10d, byte [rcx + 8]
movzx r11d, byte [rcx + 2]
lea r9, [r8 + rax*8]
shl r10w, 2
mov qword [rbp - 0x18], r9
lea rax, [r9 + rax*2]
mov qword [rsp + 0x68], rax
mov word [rsp + 0x40], r10w
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x54], r13d
test edx, edx
jle 0x1401b5cd3
mov esi, dword [rbp - 0x30]
mov qword [rbp - 0x78], r13
nop
mov r15, qword [rbp + r13*8 + 0x58]
mov rax, qword [rcx + 0x50]
mov rdi, qword [r15 + 0x50]
movzx ebx, word [r15 + 0x12]
movzx ecx, byte [rax]
add rbx, rdi
movzx r13d, word [r15 + 0x18]
movzx r14d, word [r15 + 0x1a]
cmp byte [rdi], cl
jne 0x1401b5ca0
movzx r8d, byte [r15 + 0xc]
xor edx, edx
movsxd rax, esi
add r8, r13
add r8, r8
lea rcx, [r9 + rax*2]
call fcn.140264a90
movzx ecx, byte [r15 + 0xc]
test cl, cl
je 0x1401b5a10
movzx eax, word [r15 + 0x1c]
cmp r13w, ax
jb 0x1401b5b4f
mov r9, qword [rbp - 0x20]
xor r8d, r8d
cmp r8w, ax
jae 0x1401b59db
mov edx, eax
nop
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
and rcx, r14
movsxd rax, esi
add rcx, rdi
inc esi
mov qword [r9 + rax*8], rcx
sub rdx, 1
jne 0x1401b59b0
movzx ecx, byte [r15 + 0xc]
mov dword [rbp - 0x30], esi
test cl, cl
je 0x1401b5a10
lea rdx, [r15 + 0x28]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
movsxd rcx, esi
inc r8d
inc esi
mov qword [r9 + rcx*8], rax
movzx eax, byte [r15 + 0xc]
cmp r8d, eax
jl 0x1401b59f0
mov dword [rbp - 0x30], esi
movzx ecx, word [r15 + 0x12]
movzx edx, word [r15 + 0x18]
add rcx, rdi
lea r8, [rcx + rdx*2]
cmp rbx, r8
jae 0x1401b5a55
mov rdx, qword [rbp - 0x20]
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
and rcx, r14
movsxd rax, esi
add rcx, rdi
inc esi
mov qword [rdx + rax*8], rcx
cmp rbx, r8
jb 0x1401b5a30
mov dword [rbp - 0x30], esi
mov r13, qword [rbp - 0x78]
mov edx, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x38]
mov dword [rbp + r13*4 + 0xb0], esi
cmp edx, dword [rsp + 0x58]
jge 0x1401b5b25
test r11b, r11b
jne 0x1401b5b25
movzx ecx, word [rbp + r13*4 + 0x40]
mov rax, qword [rbp - 0x18]
mov r8d, ecx
mov rdx, qword [rbp + r13*8 - 0x68]
movsxd rbx, r12d
add r12d, ecx
add rbx, qword [rsp + 0x68]
movsxd rdi, esi
lea r14, [rax + rdi*2]
mov word [r14], cx
mov rcx, rbx
call fcn.140263e30
movzx r10d, word [rsp + 0x40]
mov r8, qword [rbp - 0x20]
lea rax, [rbx + r10]
mov qword [r8 + rdi*8], rax
sub word [r14], r10w
cmp byte [r15 + 8], 0
jne 0x1401b5ae7
mov rax, qword [r15 + 0x50]
inc esi
mov rcx, qword [r8 + rdi*8]
mov edx, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x38]
mov eax, dword [rax + 8]
mov dword [rcx], eax
mov dword [rbp - 0x30], esi
jmp 0x1401b5b2b
cmp word [r14], 4
jae 0x1401b5b15
mov rcx, qword [rsp + 0x68]
movsxd rax, r12d
add rcx, rax
nop dword [rax]
mov byte [rcx], 0
lea rcx, [rcx + 1]
inc word [r14]
inc r12d
cmp word [r14], 4
jb 0x1401b5b00
mov edx, dword [rsp + 0x54]
inc esi
mov r11d, dword [rsp + 0x38]
mov dword [rbp - 0x30], esi
jmp 0x1401b5b2b
movzx r10d, word [rsp + 0x40]
movsxd rcx, dword [rsp + 0x4c]
inc edx
inc r13
mov dword [rsp + 0x54], edx
mov qword [rbp - 0x78], r13
cmp r13, rcx
jge 0x1401b5b61
mov rcx, qword [rbp + 0x58]
mov r9, qword [rbp - 0x18]
jmp 0x1401b5940
mov ecx, 0x12ca3
call fcn.1401f7c80
mov r14d, eax
jmp 0x1401b617d
mov rax, qword [rsp + 0x70]
lea r15, [rbp + 0x20]
movzx r8d, r10w
lea r12, [rbp - 0x10]
xor r9d, r9d
mov dword [rsp + 0x54], r8d
mov edx, r9d
lea r13, [rbp + 0x1c]
mov r10d, dword [rax + 0x38]
mov ecx, r9d
add r10d, 0xfffffff4
mov qword [rsp + 0x68], rdx
add r10d, r8d
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x48], r10d
nop dword [rax]
mov r8d, dword [rbp + rdx*4 + 0xb0]
mov rbx, qword [rbp + rdx*8 + 0x58]
mov dword [rsp + 0x58], r8d
mov rax, qword [rbx + 0x58]
mov qword [r12], rax
mov dword [r15], r8d
test ecx, ecx
je 0x1401b5bd9
cmp r8d, dword [r13]
jne 0x1401b5bd9
dec ecx
sub r12, 8
sub r13, 4
mov dword [rsp + 0x3c], ecx
sub r15, 4
test r11b, r11b
jne 0x1401b5c03
mov rax, qword [rbp - 0x80]
add r12, 8
inc ecx
add r13, 4
add r15, 4
mov dword [rsp + 0x3c], ecx
mov rax, qword [rax + 0x58]
mov qword [r12], rax
lea eax, [r8 + 1]
mov dword [r15], eax
mov edi, r10d
lea rax, [rbp + 0x40]
sub edi, dword [rbx + 0x14]
lea rax, [rax + rdx*4]
cmp byte [rbx + 0xc], 0
mov r14d, r9d
mov qword [rbp - 0x68], rax
mov dword [rax], edi
jbe 0x1401b5c66
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 0x1401b5c24
mov rax, qword [rbp - 0x68]
xor r9d, r9d
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x58]
mov r10d, dword [rsp + 0x48]
mov r11d, dword [rsp + 0x38]
mov dword [rax], edi
mov dword [rbp + rdx*4 + 0x70], r8d
inc ecx
movsxd r8, dword [rsp + 0x4c]
inc rdx
add r12, 8
mov qword [rsp + 0x68], rdx
add r13, 4
mov dword [rsp + 0x3c], ecx
add r15, 4
cmp rdx, r8
jl 0x1401b5ba0
mov rcx, qword [rbp + 0x58]
xor r13d, r13d
mov r9, qword [rbp - 0x18]
jmp 0x1401b5ceb
lea rax, [0x1402994d4]
mov r14d, 0xb
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x12c8b
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1401afe20
jmp 0x1401b617d
movzx edx, r10w
mov r10d, dword [rsi + 0x38]
add r10d, 0xfffffff4
mov dword [rsp + 0x54], edx
add r10d, edx
mov dword [rsp + 0x48], r10d
mov eax, dword [rsp + 0x4c]
mov r12d, r13d
mov dword [rsp + 0x3c], eax
mov edx, eax
test eax, eax
jle 0x1401b5eff
mov ecx, dword [rbp - 0x30]
mov r15d, 1
mov rsi, r13
nop dword [rax]
mov ebx, dword [rbp + rsi + 0x40]
cmp ebx, r10d
jle 0x1401b5dcf
nop dword [rax]
cmp r15d, edx
jl 0x1401b5d44
lea eax, [r15 + 1]
mov dword [rsp + 0x3c], eax
cmp rsi, 0xc
jg 0x1401b5e95
mov dword [rbp + rsi + 0x44], r13d
mov ebx, dword [rbp + rsi + 0x40]
mov dword [rbp + rsi + 0x74], ecx
movsxd rdi, dword [rbp + rsi + 0x70]
movzx eax, word [r9 + rdi*2 - 2]
lea r14d, [rdi - 1]
test ax, ax
jne 0x1401b5d72
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.1401be400
mov r10d, dword [rsp + 0x48]
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x38]
movzx eax, ax
add eax, 2
sub ebx, eax
mov dword [rbp + rsi + 0x40], ebx
test r11b, r11b
jne 0x1401b5db6
cmp edi, dword [rbp - 0x30]
jge 0x1401b5db3
movzx eax, word [r9 + rdi*2]
test ax, ax
jne 0x1401b5da6
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401be400
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x48]
movzx eax, ax
add eax, 2
jmp 0x1401b5db6
mov eax, r13d
add dword [rbp + rsi + 0x44], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rbp - 0x30]
mov dword [rbp + rsi + 0x70], r14d
cmp ebx, r10d
jg 0x1401b5d20
movsxd rdi, dword [rbp + rsi + 0x70]
cmp edi, ecx
jge 0x1401b5e51
lea r14, [r9 + rdi*2]
nop dword [rax]
movzx eax, word [r14]
test ax, ax
jne 0x1401b5dfc
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401be400
mov ecx, dword [rbp - 0x30]
mov r10d, dword [rsp + 0x48]
movzx eax, ax
add eax, 2
add ebx, eax
cmp ebx, r10d
jg 0x1401b5e79
inc edi
mov dword [rbp + rsi + 0x40], ebx
add r14, 2
mov dword [rbp + rsi + 0x70], edi
cmp byte [rsp + 0x38], 0
jne 0x1401b5e49
cmp edi, ecx
jge 0x1401b5e46
movzx eax, word [r14]
test ax, ax
jne 0x1401b5e3e
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401be400
mov ecx, dword [rbp - 0x30]
mov r10d, dword [rsp + 0x48]
movzx eax, ax
add eax, 2
jmp 0x1401b5e49
mov eax, r13d
sub dword [rbp + rsi + 0x44], eax
cmp edi, ecx
jl 0x1401b5de0
mov edx, r15d
mov dword [rsp + 0x3c], edx
inc r12d
inc r15d
add rsi, 4
cmp r12d, edx
jge 0x1401b5efb
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x38]
jmp 0x1401b5d10
cmp edi, ecx
jge 0x1401b5e51
test r12d, r12d
jle 0x1401b5e88
mov eax, dword [rbp + rsi + 0x6c]
jmp 0x1401b5e8b
mov eax, r13d
cmp edi, eax
jle 0x1401b5ec8
mov edx, dword [rsp + 0x3c]
jmp 0x1401b5e58
lea rax, [0x1402994d4]
mov r14d, 0xb
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x12d08
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1401afe20
jmp 0x1401b617d
lea rax, [0x1402994d4]
mov r14d, 0xb
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x12d29
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1401afe20
jmp 0x1401b617d
mov rcx, qword [rbp + 0x58]
lea eax, [rdx - 1]
movsxd r12, eax
mov qword [rbp - 0x68], r12
mov dword [rsp + 0x58], eax
test eax, eax
jle 0x1401b604b
nop word [rax + rax]
mov rsi, qword [rbp - 0x18]
lea rcx, [r12*4]
mov edi, dword [rbp + rcx + 0x40]
lea r8, [rbp + 0x70]
mov r15d, dword [rbp + rcx + 0x3c]
sub r8, 4
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x68], r8
mov r13d, dword [r8 + rcx]
lea ebx, [r13 - 1]
mov eax, ebx
sub eax, dword [rsp + 0x38]
movsxd r14, eax
inc r14
cmp word [rsi + r14*2], 0
lea edx, [rax + 1]
lea r14, [rsi + r14*2]
jne 0x1401b5f72
lea rcx, [rbp - 0x30]
call fcn.1401be400
mov r12d, dword [rsp + 0x58]
movsxd rax, ebx
lea rsi, [rsi + rax*2]
nop
movzx eax, word [rsi]
test ax, ax
jne 0x1401b5f93
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401be400
movzx edx, word [r14]
movzx r8d, ax
test edi, edi
je 0x1401b5fcf
cmp dword [rbp + 0x150], 0
jne 0x1401b5ffc
mov ecx, dword [rsp + 0x3c]
add edx, edi
dec ecx
mov eax, 2
cmp r12d, ecx
mov ecx, 0
cmove eax, ecx
mov ecx, r15d
sub ecx, eax
lea eax, [rdx + 2]
sub ecx, r8d
cmp eax, ecx
jg 0x1401b5ffc
mov rcx, qword [rbp - 0x78]
lea edi, [rdx + 2]
mov eax, 0xfffffffe
sub rsi, 2
sub eax, r8d
sub r14, 2
mov r8, qword [rsp + 0x68]
add r15d, eax
mov r13d, ebx
mov dword [r8 + rcx], ebx
sub ebx, 1
jns 0x1401b5f80
jmp 0x1401b6005
mov r8, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x78]
mov r12, qword [rbp - 0x68]
mov dword [rbp + rcx + 0x40], edi
xor edi, edi
mov dword [rbp + rcx + 0x3c], r15d
cmp r12, 1
jbe 0x1401b6021
mov eax, dword [rcx + r8 - 4]
jmp 0x1401b6023
mov eax, edi
cmp r13d, eax
jle 0x1401b60d0
dec dword [rsp + 0x58]
dec r12
mov qword [rbp - 0x68], r12
test r12, r12
jg 0x1401b5f20
mov rcx, qword [rbp + 0x58]
xor r13d, r13d
mov edx, dword [rsp + 0x3c]
mov rax, qword [rcx + 0x50]
mov r14d, r13d
movsxd r12, edx
movzx ebx, byte [rax]
mov dword [rsp + 0x3c], ebx
test edx, edx
jle 0x1401b62de
mov rdi, r13
nop word [rax + rax]
movsxd rcx, dword [rsp + 0x4c]
cmp rdi, rcx
jge 0x1401b61e9
mov rsi, qword [rbp + rdi*8 + 0x58]
mov qword [rbp + rdi*8 + 0x88], rsi
mov qword [rbp + rdi*8 + 0x58], r13
mov qword [rbp - 0x68], rsi
mov rbx, qword [rsi + 0x70]
test byte [rbx + 0x34], 4
mov rcx, qword [rbx + 0x28]
je 0x1401b6114
mov eax, dword [rbx + 0x30]
cmp dword [rcx + 0x20], eax
jb 0x1401b6114
cmp dword [rcx + 0x80], 0
je 0x1401b610a
mov rcx, rbx
call fcn.140247ab0
test eax, eax
je 0x1401b6100
mov rcx, rbx
call fcn.140247c40
mov dword [rsp + 0x30], eax
mov r15d, eax
jmp 0x1401b6146
lea rax, [0x1402994d4]
mov r14d, 0xb
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x12d55
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1401afe20
jmp 0x1401b617f
mov dword [rsp + 0x30], r13d
mov r15d, r13d
jmp 0x1401b6146
mov r15d, r13d
mov dword [rsp + 0x30], r13d
jmp 0x1401b6146
mov r15d, dword [rcx + 0x30]
mov dword [rsp + 0x30], r15d
test r15d, r15d
jne 0x1401b6146
mov eax, dword [rcx + 0xc8]
cmp dword [rcx + 0xb8], eax
mov rcx, rbx
jbe 0x1401b613a
call fcn.1401dcbc0
jmp 0x1401b613f
call fcn.1401dde60
mov dword [rsp + 0x30], eax
mov r15d, eax
mov eax, dword [rsp + 0x78]
mov ecx, r13d
sub eax, dword [rsp + 0x44]
inc dword [rsp + 0x50]
cmp r14d, eax
mov dword [rsp + 0x34], r15d
mov rax, qword [rsi + 0x70]
sete cl
inc ecx
cmp dword [rax + 0x38], ecx
jne 0x1401b629d
test r15d, r15d
je 0x1401b6289
mov r14d, dword [rsp + 0x30]
xor edi, edi
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1401b6a94
cmp dword [0x1403182c0], 0
je 0x1401b6a8b
mov rcx, qword [0x14031baa0]
test rcx, rcx
je 0x1401b61ab
call qword [0x140318340]
mov rcx, rbx
call qword [0x1403182f8]
dec qword [0x14031ba38]
movsxd rcx, eax
sub qword [0x14031b9f0], rcx
mov rcx, rbx
call qword [0x1403182e8]
mov rcx, qword [0x14031baa0]
test rcx, rcx
je 0x1401b6a94
call qword [0x140318350]
jmp 0x1401b6a94
mov r9d, dword [rsp + 0x60]
lea r8, [rbp - 0x70]
cmp dword [rbp + 0x150], 0
lea rdx, [rbp - 0x68]
mov rsi, qword [rsp + 0x70]
mov ecx, 1
cmovne r9d, ecx
mov byte [rsp + 0x20], 0
mov rcx, rsi
call fcn.1401b1d40
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x1401b6178
mov edx, ebx
mov rbx, qword [rbp - 0x68]
mov rcx, rbx
call fcn.140262d70
inc dword [rsp + 0x50]
mov eax, dword [rbp - 0x30]
mov qword [rbp + rdi*8 + 0x88], rbx
cmp byte [rsi + 0x21], 0
mov dword [rbp + rdi*4 + 0xb0], eax
je 0x1401b6282
mov edx, dword [rbx + 4]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r8b, 5
mov rax, qword [rbp - 0x80]
mov rcx, rsi
mov r9d, dword [rax + 4]
call fcn.1401e0f80
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1401b6178
mov edx, dword [rbp - 0x70]
mov dword [rsp + 0x60], edx
inc r14d
inc rdi
cmp rdi, r12
jge 0x1401b62de
mov ebx, dword [rsp + 0x3c]
jmp 0x1401b6070
mov r14d, dword [rsp + 0x30]
test r14d, r14d
jne 0x1401b617d
lea rax, [0x1402994d4]
mov r14d, 0xb
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x12d76
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1401afe20
jmp 0x1401b617d
movsxd r9, dword [rsp + 0x50]
mov r15, r9
test r9d, r9d
jle 0x1401b630a
mov rdx, r13
nop
mov rax, qword [rbp + rdx*8 + 0x88]
mov ecx, dword [rax + 4]
mov dword [rbp + rdx*4 + 0xc8], ecx
inc rdx
cmp rdx, r15
jl 0x1401b62f0
lea r8d, [r9 - 1]
mov r11d, r13d
mov dword [rsp + 0x58], r8d
test r8d, r8d
jle 0x1401b6445
lea rbx, [rbp + 0x88]
mov r13d, 1
mov qword [rbp - 0x68], rbx
mov eax, r8d
nop dword [rax]
nop word [rax + rax]
lea r8d, [r11 + 1]
mov r10d, r11d
mov dword [rsp + 0x78], r8d
mov r9d, r8d
lea r12, [r13 - 1]
mov r8, r13
cmp r13, r15
jge 0x1401b6424
nop
mov rax, qword [rbp + r12*8 + 0x88]
mov edx, dword [rax + 4]
mov rax, qword [rbp + r8*8 + 0x88]
mov ecx, dword [rax + 4]
cmp ecx, edx
mov rax, r8
cmovae rax, r12
mov r12, rax
mov eax, r9d
cmovae eax, r10d
inc r9d
inc r8
mov r10d, eax
cmp r8, r15
jl 0x1401b6360
cmp eax, r11d
je 0x1401b6420
mov rcx, qword [rbx]
xor edx, edx
mov eax, dword [0x140318490]
mov r8, qword [rbp + r12*8 + 0x88]
mov r9, qword [rsp + 0x70]
mov r14d, dword [rcx + 4]
mov rcx, qword [rcx + 0x70]
mov esi, dword [r8 + 4]
div dword [r9 + 0x34]
movzx ebx, word [rcx + 0x34]
lea edx, [rax + 1]
mov rax, qword [r8 + 0x70]
movzx edi, word [rax + 0x34]
mov word [rcx + 0x34], di
call fcn.140214830
mov rax, qword [rbp + r12*8 + 0x88]
mov edx, r14d
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], bx
call fcn.140214830
mov rbx, qword [rbp - 0x68]
mov edx, esi
mov rax, qword [rbx]
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], di
call fcn.140214830
mov rax, qword [rbx]
mov dword [rax + 4], esi
mov rax, qword [rbp + r12*8 + 0x88]
mov dword [rax + 4], r14d
mov eax, dword [rsp + 0x58]
mov r11d, dword [rsp + 0x78]
add rbx, 8
inc r13
mov qword [rbp - 0x68], rbx
cmp r11d, eax
jl 0x1401b6340
mov r9d, dword [rsp + 0x50]
xor r13d, r13d
test byte [rsp + 0x3c], 8
lea r8, [r15 - 1]
mov rax, qword [rbp + r8*8 + 0x88]
mov ecx, dword [rax + 4]
mov rax, qword [rbp - 0x40]
bswap ecx
mov dword [rax], ecx
jne 0x1401b6497
cmp dword [rsp + 0x4c], r9d
je 0x1401b6497
mov rcx, qword [rbp - 0x38]
lea rdx, [rbp + 0x58]
lea rax, [rbp + 0x88]
cmovge rax, rdx
mov rax, qword [rax + rcx*8]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + r8*8 + 0x88]
mov rcx, qword [rax + 0x50]
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x21], 0
je 0x1401b66cc
mov rbx, qword [rbp + 0x88]
mov r14d, r13d
movzx esi, word [rbx + 0x18]
movzx eax, byte [rbx + 0xc]
add esi, eax
cmp dword [rbp - 0x30], 0
jle 0x1401b66d6
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp - 0x20]
lea r8, [rbp + 0x70]
mov rdi, r13
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rdx
mov r13, rbx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x58], rcx
mov r12, qword [rcx]
mov r11d, dword [rsp + 0x38]
cmp r14d, esi
jne 0x1401b6557
mov r9d, dword [rsp + 0x48]
xor edx, edx
mov r10d, dword [rsp + 0x54]
test r11b, r11b
sete dl
inc rdi
cmp rdi, r15
jge 0x1401b6522
mov rbx, qword [rbp + rdi*8 + 0x88]
jmp 0x1401b6527
mov rbx, qword [rbp + rdi*8 + 0x58]
movzx eax, word [rbx + 0x18]
movzx ecx, byte [rbx + 0xc]
add eax, edx
add ecx, eax
add esi, ecx
cmp r14d, esi
je 0x1401b6510
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rbp - 0x78]
mov dword [rsp + 0x54], r10d
mov r10, qword [rsp + 0x70]
mov dword [rsp + 0x48], r9d
cmp r14d, dword [r8]
jne 0x1401b657a
mov r13, qword [rdx + 8]
add rdx, 8
add r8, 4
mov qword [rbp - 0x78], rdx
mov qword [rsp + 0x68], r8
test r11b, r11b
je 0x1401b666c
cmp rdi, r15
jge 0x1401b659c
mov eax, dword [rbp + rdi*4 + 0xc8]
cmp dword [r13 + 4], eax
jne 0x1401b659c
cmp r12, qword [rbx + 0x50]
jb 0x1401b659c
cmp r12, qword [rbx + 0x58]
jb 0x1401b6667
cmp word [rsp + 0x40], 0
jne 0x1401b65cb
mov edx, dword [r12]
lea rax, [rsp + 0x34]
mov r9d, dword [r13 + 4]
mov r8b, 5
bswap edx
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.1401e0f80
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
test ax, ax
jne 0x1401b65e4
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.1401be400
cmp ax, word [r13 + 0x10]
jbe 0x1401b6651
cmp dword [rsp + 0x30], 0
jne 0x1401b6178
lea r8, [rbp - 0x68]
mov rdx, r12
mov rcx, r13
call qword [r13 + 0x80]
movzx edx, word [rbp - 0x54]
cmp edx, dword [rbp - 0x58]
jae 0x1401b665d
mov rcx, qword [rbx + 0x58]
cmp rcx, r12
jb 0x1401b6622
lea rax, [r12 + rdx]
cmp rcx, rax
jb 0x1401b6695
movzx eax, word [rbp - 0x52]
mov r8b, 3
mov r9d, dword [r13 + 4]
mov rcx, qword [r13 + 0x48]
mov edx, dword [rax + r12 - 4]
lea rax, [rsp + 0x34]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.1401e0f80
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
jmp 0x1401b6655
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1401b6178
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
add rcx, 8
add rax, 2
inc r14d
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x78], rax
cmp r14d, dword [rbp - 0x30]
jge 0x1401b66c8
mov rdx, qword [rbp - 0x78]
mov r10, qword [rsp + 0x70]
jmp 0x1401b64f1
lea rax, [0x1402994d4]
mov r14d, 0xb
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x1126e
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1401afe20
jmp 0x1401b617d
lea r8, [r15 - 1]
mov rbx, qword [rbp + 0x88]
xor r13d, r13d
test r8, r8
jle 0x1401b686c
mov r12, r13
mov r13d, dword [rbp + 0x20]
movsxd rbx, dword [rbp + r12*4 + 0x70]
mov rcx, qword [rbp - 0x18]
mov r14, qword [rbp + r12*8 + 0x88]
mov r10, qword [rbp - 0x20]
movsxd rsi, dword [rbp - 0x6c]
movzx ecx, word [rcx + rbx*2]
add rsi, qword [rbp - 0x48]
mov r9d, ecx
add r9d, dword [rsp + 0x54]
cmp byte [r14 + 8], 0
mov rdi, qword [r10 + rbx*8]
jne 0x1401b6728
mov rcx, qword [r14 + 0x50]
mov eax, dword [rdi]
mov dword [rcx + 8], eax
jmp 0x1401b67bd
cmp byte [rsp + 0x38], 0
je 0x1401b67a3
dec ebx
lea r8, [rbp + 0xc8]
movsxd rdx, ebx
mov rcx, r14
mov rdx, qword [r10 + rdx*8]
call qword [r14 + 0x80]
mov rdx, qword [rbp + 0xc8]
lea rcx, [rsi + 4]
mov rdi, rsi
cmp rdx, 0x7f
ja 0x1401b676f
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
xor esi, esi
lea r9d, [rax + 4]
jmp 0x1401b67bd
cmp rdx, 0x3fff
ja 0x1401b6796
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 0x1401b67bd
call fcn.1401e1aa0
xor esi, esi
lea r9d, [rax + 4]
jmp 0x1401b67bd
sub rdi, 4
cmp ecx, 4
jne 0x1401b67bd
mov rax, qword [rbp - 0x80]
mov rdx, rdi
mov rcx, rax
call qword [rax + 0x78]
movzx r9d, ax
add dword [rbp - 0x6c], r9d
xor eax, eax
cmp r13d, ebx
jg 0x1401b67d7
cmp rax, 6
jge 0x1401b67d7
inc rax
cmp dword [rbp + rax*4 + 0x20], ebx
jle 0x1401b67c8
mov rcx, qword [rbp + rax*8 - 0x10]
cmp rcx, rdi
jb 0x1401b67ec
movsxd rax, r9d
add rax, rdi
cmp rcx, rax
jb 0x1401b6839
mov eax, dword [r14 + 4]
mov r8, rdi
mov ebx, dword [rsp + 0x44]
mov edx, ebx
mov rcx, qword [rbp - 0x80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call fcn.1401d00c0
mov dword [rsp + 0x34], eax
mov r14d, eax
test eax, eax
jne 0x1401b617d
inc ebx
lea rax, [r15 - 1]
inc r12
mov dword [rsp + 0x44], ebx
cmp r12, rax
jl 0x1401b66e6
mov rbx, qword [rbp + 0x88]
jmp 0x1401b6871
lea rax, [0x1402994d4]
mov r14d, 0xb
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x12e3e
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1401afe20
jmp 0x1401b617d
mov r14d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x50]
mov r12d, 1
sub r12d, r8d
cmp r12d, r8d
jge 0x1401b695c
mov edi, dword [rbp + 0x70]
mov esi, dword [rsp + 0x48]
nop
mov eax, r12d
cdq
xor eax, edx
sub eax, edx
movsxd rbx, eax
cmp byte [rbp + rbx + 0xe0], 0
jne 0x1401b6949
test r12d, r12d
jns 0x1401b68bf
mov ecx, dword [rbp + rbx*4 + 0x6c]
cmp dword [rbp + rbx*4 + 0xac], ecx
jl 0x1401b6949
test eax, eax
jne 0x1401b68cf
xor eax, eax
mov r9d, edi
mov edx, eax
mov r8d, eax
jmp 0x1401b6906
xor r13d, r13d
cmp eax, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x38]
jge 0x1401b68ed
test al, al
mov edx, r13d
sete dl
add edx, dword [rbp + rbx*4 + 0xac]
jmp 0x1401b68f0
mov edx, dword [rbp - 0x30]
mov r9d, dword [rbp + rbx*4 + 0x70]
test al, al
mov r8d, r13d
sete r8b
add r8d, dword [rbp + rbx*4 + 0x6c]
sub r9d, r8d
mov rcx, qword [rbp + rbx*8 + 0x88]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.1401c2530
mov dword [rsp + 0x34], eax
mov r14d, eax
test eax, eax
jne 0x1401b617d
mov rax, qword [rbp + rbx*8 + 0x88]
mov ecx, esi
sub ecx, dword [rbp + rbx*4 + 0x40]
mov r8d, dword [rsp + 0x50]
mov byte [rbp + rbx + 0xe0], 1
mov dword [rax + 0x14], ecx
inc r12d
cmp r12d, r8d
jl 0x1401b6890
mov rbx, qword [rbp + 0x88]
cmp dword [rbp - 0x50], 0
je 0x1401b6a0a
mov rdi, qword [rbp - 0x80]
cmp word [rdi + 0x18], 0
jne 0x1401b6a0a
movzx eax, byte [rdi + 9]
cmp eax, dword [rbx + 0x14]
jg 0x1401b6a0a
mov edx, 0xffffffff
mov rcx, rbx
call fcn.1401c1790
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x34]
mov rdx, rdi
mov dword [rsp + 0x34], eax
call fcn.1401c0650
mov r14d, dword [rsp + 0x34]
test r14d, r14d
jne 0x1401b69cb
mov rcx, qword [rbp + 0x88]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.1401cc4e0
mov r14d, eax
xor edi, edi
movsxd rax, dword [rsp + 0x4c]
mov rbx, rax
cmp r15, rax
jge 0x1401b617f
nop
mov rcx, qword [rbp + r15*8 + 0x58]
test r14d, r14d
jne 0x1401b69fd
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.1401cc4e0
mov r14d, eax
inc r15
cmp r15, rbx
jl 0x1401b69e0
jmp 0x1401b617f
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x21], 0
je 0x1401b69cb
xor edi, edi
cmp word [rsp + 0x40], di
jne 0x1401b69cd
test r15, r15
jle 0x1401b69cd
mov ebx, edi
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x88]
mov r8b, 5
mov rax, qword [rcx + 0x50]
mov r9d, dword [rcx + 4]
mov rcx, r10
mov edx, dword [rax + 8]
lea rax, [rsp + 0x34]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.1401e0f80
mov r10, qword [rsp + 0x70]
inc rbx
cmp rbx, r15
jl 0x1401b6a30
mov r14d, dword [rsp + 0x34]
jmp 0x1401b69cd
lea eax, [rbx + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0x58]
shl r8, 3
call fcn.140264a90
jmp 0x1401b617f
mov rcx, rbx
call qword [0x1403182e8]
movsxd rax, dword [rsp + 0x4c]
mov r15, qword [rsp + 0x1f0]
mov rsi, rax
test eax, eax
jle 0x1401b6b14
mov rbx, rdi
nop dword [rax + rax]
mov r8, qword [rbp + rbx*8 + 0x58]
test r8, r8
je 0x1401b6b0c
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1401b6b04
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 0x1401b6b0c
mov rcx, r8
call fcn.140214930
inc rbx
cmp rbx, rsi
jl 0x1401b6ab0
movsxd rbx, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x1f8]
test rbx, rbx
jle 0x1401b6b97
nop word [rax + rax]
mov r8, qword [rbp + rdi*8 + 0x88]
test r8, r8
je 0x1401b6b8f
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1401b6b87
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 0x1401b6b8f
mov rcx, r8
call fcn.140214930
inc rdi
cmp rdi, rbx
jl 0x1401b6b30
mov rbx, qword [rsp + 0x248]
mov eax, r14d
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.140263610
add rsp, 0x200
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret