Function at 0x1401b4e90
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 0x1401b4f26
lea eax, [rdi + 7]
jmp 0x1401b6492
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 0x1401b4f59
mov r9d, edi
mov dword [rsp + 0x44], edi
jmp 0x1401b4f94
test eax, eax
jne 0x1401b4f66
mov r9d, edi
mov dword [rsp + 0x44], edi
jmp 0x1401b4f87
cmp eax, ebx
jne 0x1401b4f7e
mov eax, dword [rbp + 0x150]
lea r9d, [rax - 2]
add r9d, ebx
mov dword [rsp + 0x44], r9d
jmp 0x1401b4f8d
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 0x1401b4fb7
movzx ecx, byte [r8 + 9]
add rcx, 8
jmp 0x1401b4fd3
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 0x1401b6361
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.1401cdf70
mov dword [rsp + 0x30], eax
mov r14d, eax
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x1401b6361
mov rcx, qword [rbp + rsi + 0x58]
cmp dword [rcx + 0x14], r12d
jge 0x1401b5059
call fcn.1401b6dc0
mov dword [rsp + 0x30], eax
mov r14d, eax
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x1401b5191
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 0x1401b51ac
mov r8, qword [rbp - 0x80]
movzx edx, byte [r8 + 0xc]
test dl, dl
je 0x1401b50d0
mov eax, dword [rsp + 0x44]
movzx ecx, word [r8 + 0x1c]
add eax, ebx
cmp eax, ecx
jne 0x1401b50d0
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 0x1401b5000
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 0x1401b515c
mov rax, qword [rbp - 0x80]
mov ecx, edi
sub ecx, dword [rax + 0x50]
lea eax, [r14 + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x1401b515c
movsxd rcx, ecx
mov r8d, r14d
add rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.140263720
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.1401c1c10
mov edx, dword [rsp + 0x60]
xor edi, edi
mov r10, qword [rsp + 0x70]
mov r14d, dword [rsp + 0x34]
jmp 0x1401b5000
movsxd r8, ebx
lea rcx, [rbp + 0x58]
xor edx, edx
lea r8, [r8*8]
call fcn.140264380
jmp 0x1401b5a6f
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.14020fe50
mov qword [rbp - 0x20], rax
mov r8, rax
test rax, rax
jne 0x1401b51de
lea r14d, [rax + 7]
jmp 0x1401b6384
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 0x1401b55c3
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 0x1401b5590
movzx r8d, byte [r15 + 0xc]
xor edx, edx
movsxd rax, esi
add r8, r13
add r8, r8
lea rcx, [r9 + rax*2]
call fcn.140264380
movzx ecx, byte [r15 + 0xc]
test cl, cl
je 0x1401b5300
movzx eax, word [r15 + 0x1c]
cmp r13w, ax
jb 0x1401b543f
mov r9, qword [rbp - 0x20]
xor r8d, r8d
cmp r8w, ax
jae 0x1401b52cb
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 0x1401b52a0
movzx ecx, byte [r15 + 0xc]
mov dword [rbp - 0x30], esi
test cl, cl
je 0x1401b5300
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 0x1401b52e0
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 0x1401b5345
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 0x1401b5320
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 0x1401b5415
test r11b, r11b
jne 0x1401b5415
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.140263720
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 0x1401b53d7
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 0x1401b541b
cmp word [r14], 4
jae 0x1401b5405
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 0x1401b53f0
mov edx, dword [rsp + 0x54]
inc esi
mov r11d, dword [rsp + 0x38]
mov dword [rbp - 0x30], esi
jmp 0x1401b541b
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 0x1401b5451
mov rcx, qword [rbp + 0x58]
mov r9, qword [rbp - 0x18]
jmp 0x1401b5230
mov ecx, 0x12ca3
call fcn.1401f7570
mov r14d, eax
jmp 0x1401b5a6d
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 0x1401b54c9
cmp r8d, dword [r13]
jne 0x1401b54c9
dec ecx
sub r12, 8
sub r13, 4
mov dword [rsp + 0x3c], ecx
sub r15, 4
test r11b, r11b
jne 0x1401b54f3
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 0x1401b5556
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 0x1401b5514
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 0x1401b5490
mov rcx, qword [rbp + 0x58]
xor r13d, r13d
mov r9, qword [rbp - 0x18]
jmp 0x1401b55db
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.1401af710
jmp 0x1401b5a6d
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 0x1401b57ef
mov ecx, dword [rbp - 0x30]
mov r15d, 1
mov rsi, r13
nop dword [rax]
mov ebx, dword [rbp + rsi + 0x40]
cmp ebx, r10d
jle 0x1401b56bf
nop dword [rax]
cmp r15d, edx
jl 0x1401b5634
lea eax, [r15 + 1]
mov dword [rsp + 0x3c], eax
cmp rsi, 0xc
jg 0x1401b5785
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 0x1401b5662
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.1401bdcf0
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 0x1401b56a6
cmp edi, dword [rbp - 0x30]
jge 0x1401b56a3
movzx eax, word [r9 + rdi*2]
test ax, ax
jne 0x1401b5696
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401bdcf0
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x48]
movzx eax, ax
add eax, 2
jmp 0x1401b56a6
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 0x1401b5610
movsxd rdi, dword [rbp + rsi + 0x70]
cmp edi, ecx
jge 0x1401b5741
lea r14, [r9 + rdi*2]
nop dword [rax]
movzx eax, word [r14]
test ax, ax
jne 0x1401b56ec
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401bdcf0
mov ecx, dword [rbp - 0x30]
mov r10d, dword [rsp + 0x48]
movzx eax, ax
add eax, 2
add ebx, eax
cmp ebx, r10d
jg 0x1401b5769
inc edi
mov dword [rbp + rsi + 0x40], ebx
add r14, 2
mov dword [rbp + rsi + 0x70], edi
cmp byte [rsp + 0x38], 0
jne 0x1401b5739
cmp edi, ecx
jge 0x1401b5736
movzx eax, word [r14]
test ax, ax
jne 0x1401b572e
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.1401bdcf0
mov ecx, dword [rbp - 0x30]
mov r10d, dword [rsp + 0x48]
movzx eax, ax
add eax, 2
jmp 0x1401b5739
mov eax, r13d
sub dword [rbp + rsi + 0x44], eax
cmp edi, ecx
jl 0x1401b56d0
mov edx, r15d
mov dword [rsp + 0x3c], edx
inc r12d
inc r15d
add rsi, 4
cmp r12d, edx
jge 0x1401b57eb
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x38]
jmp 0x1401b5600
cmp edi, ecx
jge 0x1401b5741
test r12d, r12d
jle 0x1401b5778
mov eax, dword [rbp + rsi + 0x6c]
jmp 0x1401b577b
mov eax, r13d
cmp edi, eax
jle 0x1401b57b8
mov edx, dword [rsp + 0x3c]
jmp 0x1401b5748
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.1401af710
jmp 0x1401b5a6d
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.1401af710
jmp 0x1401b5a6d
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 0x1401b593b
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 0x1401b5862
lea rcx, [rbp - 0x30]
call fcn.1401bdcf0
mov r12d, dword [rsp + 0x58]
movsxd rax, ebx
lea rsi, [rsi + rax*2]
nop
movzx eax, word [rsi]
test ax, ax
jne 0x1401b5883
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401bdcf0
movzx edx, word [r14]
movzx r8d, ax
test edi, edi
je 0x1401b58bf
cmp dword [rbp + 0x150], 0
jne 0x1401b58ec
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 0x1401b58ec
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 0x1401b5870
jmp 0x1401b58f5
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 0x1401b5911
mov eax, dword [rcx + r8 - 4]
jmp 0x1401b5913
mov eax, edi
cmp r13d, eax
jle 0x1401b59c0
dec dword [rsp + 0x58]
dec r12
mov qword [rbp - 0x68], r12
test r12, r12
jg 0x1401b5810
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 0x1401b5bce
mov rdi, r13
nop word [rax + rax]
movsxd rcx, dword [rsp + 0x4c]
cmp rdi, rcx
jge 0x1401b5ad9
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 0x1401b5a04
mov eax, dword [rbx + 0x30]
cmp dword [rcx + 0x20], eax
jb 0x1401b5a04
cmp dword [rcx + 0x80], 0
je 0x1401b59fa
mov rcx, rbx
call fcn.1402473a0
test eax, eax
je 0x1401b59f0
mov rcx, rbx
call fcn.140247530
mov dword [rsp + 0x30], eax
mov r15d, eax
jmp 0x1401b5a36
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.1401af710
jmp 0x1401b5a6f
mov dword [rsp + 0x30], r13d
mov r15d, r13d
jmp 0x1401b5a36
mov r15d, r13d
mov dword [rsp + 0x30], r13d
jmp 0x1401b5a36
mov r15d, dword [rcx + 0x30]
mov dword [rsp + 0x30], r15d
test r15d, r15d
jne 0x1401b5a36
mov eax, dword [rcx + 0xc8]
cmp dword [rcx + 0xb8], eax
mov rcx, rbx
jbe 0x1401b5a2a
call fcn.1401dc4b0
jmp 0x1401b5a2f
call fcn.1401dd750
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 0x1401b5b8d
test r15d, r15d
je 0x1401b5b79
mov r14d, dword [rsp + 0x30]
xor edi, edi
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1401b6384
cmp dword [0x1403182c0], 0
je 0x1401b637b
mov rcx, qword [0x14031baa0]
test rcx, rcx
je 0x1401b5a9b
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 0x1401b6384
call qword [0x140318350]
jmp 0x1401b6384
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.1401b1630
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x1401b5a68
mov edx, ebx
mov rbx, qword [rbp - 0x68]
mov rcx, rbx
call fcn.140262660
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 0x1401b5b72
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.1401e0870
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1401b5a68
mov edx, dword [rbp - 0x70]
mov dword [rsp + 0x60], edx
inc r14d
inc rdi
cmp rdi, r12
jge 0x1401b5bce
mov ebx, dword [rsp + 0x3c]
jmp 0x1401b5960
mov r14d, dword [rsp + 0x30]
test r14d, r14d
jne 0x1401b5a6d
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.1401af710
jmp 0x1401b5a6d
movsxd r9, dword [rsp + 0x50]
mov r15, r9
test r9d, r9d
jle 0x1401b5bfa
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 0x1401b5be0
lea r8d, [r9 - 1]
mov r11d, r13d
mov dword [rsp + 0x58], r8d
test r8d, r8d
jle 0x1401b5d35
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 0x1401b5d14
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 0x1401b5c50
cmp eax, r11d
je 0x1401b5d10
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.140214120
mov rax, qword [rbp + r12*8 + 0x88]
mov edx, r14d
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], bx
call fcn.140214120
mov rbx, qword [rbp - 0x68]
mov edx, esi
mov rax, qword [rbx]
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], di
call fcn.140214120
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 0x1401b5c30
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 0x1401b5d87
cmp dword [rsp + 0x4c], r9d
je 0x1401b5d87
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 0x1401b5fbc
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 0x1401b5fc6
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 0x1401b5e47
mov r9d, dword [rsp + 0x48]
xor edx, edx
mov r10d, dword [rsp + 0x54]
test r11b, r11b
sete dl
inc rdi
cmp rdi, r15
jge 0x1401b5e12
mov rbx, qword [rbp + rdi*8 + 0x88]
jmp 0x1401b5e17
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 0x1401b5e00
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 0x1401b5e6a
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 0x1401b5f5c
cmp rdi, r15
jge 0x1401b5e8c
mov eax, dword [rbp + rdi*4 + 0xc8]
cmp dword [r13 + 4], eax
jne 0x1401b5e8c
cmp r12, qword [rbx + 0x50]
jb 0x1401b5e8c
cmp r12, qword [rbx + 0x58]
jb 0x1401b5f57
cmp word [rsp + 0x40], 0
jne 0x1401b5ebb
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.1401e0870
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
test ax, ax
jne 0x1401b5ed4
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.1401bdcf0
cmp ax, word [r13 + 0x10]
jbe 0x1401b5f41
cmp dword [rsp + 0x30], 0
jne 0x1401b5a68
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 0x1401b5f4d
mov rcx, qword [rbx + 0x58]
cmp rcx, r12
jb 0x1401b5f12
lea rax, [r12 + rdx]
cmp rcx, rax
jb 0x1401b5f85
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.1401e0870
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
jmp 0x1401b5f45
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1401b5a68
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 0x1401b5fb8
mov rdx, qword [rbp - 0x78]
mov r10, qword [rsp + 0x70]
jmp 0x1401b5de1
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.1401af710
jmp 0x1401b5a6d
lea r8, [r15 - 1]
mov rbx, qword [rbp + 0x88]
xor r13d, r13d
test r8, r8
jle 0x1401b615c
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 0x1401b6018
mov rcx, qword [r14 + 0x50]
mov eax, dword [rdi]
mov dword [rcx + 8], eax
jmp 0x1401b60ad
cmp byte [rsp + 0x38], 0
je 0x1401b6093
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 0x1401b605f
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
xor esi, esi
lea r9d, [rax + 4]
jmp 0x1401b60ad
cmp rdx, 0x3fff
ja 0x1401b6086
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 0x1401b60ad
call fcn.1401e1390
xor esi, esi
lea r9d, [rax + 4]
jmp 0x1401b60ad
sub rdi, 4
cmp ecx, 4
jne 0x1401b60ad
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 0x1401b60c7
cmp rax, 6
jge 0x1401b60c7
inc rax
cmp dword [rbp + rax*4 + 0x20], ebx
jle 0x1401b60b8
mov rcx, qword [rbp + rax*8 - 0x10]
cmp rcx, rdi
jb 0x1401b60dc
movsxd rax, r9d
add rax, rdi
cmp rcx, rax
jb 0x1401b6129
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.1401cf9b0
mov dword [rsp + 0x34], eax
mov r14d, eax
test eax, eax
jne 0x1401b5a6d
inc ebx
lea rax, [r15 - 1]
inc r12
mov dword [rsp + 0x44], ebx
cmp r12, rax
jl 0x1401b5fd6
mov rbx, qword [rbp + 0x88]
jmp 0x1401b6161
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.1401af710
jmp 0x1401b5a6d
mov r14d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x50]
mov r12d, 1
sub r12d, r8d
cmp r12d, r8d
jge 0x1401b624c
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 0x1401b6239
test r12d, r12d
jns 0x1401b61af
mov ecx, dword [rbp + rbx*4 + 0x6c]
cmp dword [rbp + rbx*4 + 0xac], ecx
jl 0x1401b6239
test eax, eax
jne 0x1401b61bf
xor eax, eax
mov r9d, edi
mov edx, eax
mov r8d, eax
jmp 0x1401b61f6
xor r13d, r13d
cmp eax, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x38]
jge 0x1401b61dd
test al, al
mov edx, r13d
sete dl
add edx, dword [rbp + rbx*4 + 0xac]
jmp 0x1401b61e0
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.1401c1e20
mov dword [rsp + 0x34], eax
mov r14d, eax
test eax, eax
jne 0x1401b5a6d
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 0x1401b6180
mov rbx, qword [rbp + 0x88]
cmp dword [rbp - 0x50], 0
je 0x1401b62fa
mov rdi, qword [rbp - 0x80]
cmp word [rdi + 0x18], 0
jne 0x1401b62fa
movzx eax, byte [rdi + 9]
cmp eax, dword [rbx + 0x14]
jg 0x1401b62fa
mov edx, 0xffffffff
mov rcx, rbx
call fcn.1401c1080
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x34]
mov rdx, rdi
mov dword [rsp + 0x34], eax
call fcn.1401bff40
mov r14d, dword [rsp + 0x34]
test r14d, r14d
jne 0x1401b62bb
mov rcx, qword [rbp + 0x88]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.1401cbdd0
mov r14d, eax
xor edi, edi
movsxd rax, dword [rsp + 0x4c]
mov rbx, rax
cmp r15, rax
jge 0x1401b5a6f
nop
mov rcx, qword [rbp + r15*8 + 0x58]
test r14d, r14d
jne 0x1401b62ed
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.1401cbdd0
mov r14d, eax
inc r15
cmp r15, rbx
jl 0x1401b62d0
jmp 0x1401b5a6f
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x21], 0
je 0x1401b62bb
xor edi, edi
cmp word [rsp + 0x40], di
jne 0x1401b62bd
test r15, r15
jle 0x1401b62bd
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.1401e0870
mov r10, qword [rsp + 0x70]
inc rbx
cmp rbx, r15
jl 0x1401b6320
mov r14d, dword [rsp + 0x34]
jmp 0x1401b62bd
lea eax, [rbx + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0x58]
shl r8, 3
call fcn.140264380
jmp 0x1401b5a6f
mov rcx, rbx
call qword [0x1403182e8]
movsxd rax, dword [rsp + 0x4c]
mov r15, qword [rsp + 0x1f0]
mov rsi, rax
test eax, eax
jle 0x1401b6404
mov rbx, rdi
nop dword [rax + rax]
mov r8, qword [rbp + rbx*8 + 0x58]
test r8, r8
je 0x1401b63fc
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1401b63f4
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 0x1401b63fc
mov rcx, r8
call fcn.140214220
inc rbx
cmp rbx, rsi
jl 0x1401b63a0
movsxd rbx, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x1f8]
test rbx, rbx
jle 0x1401b6487
nop word [rax + rax]
mov r8, qword [rbp + rdi*8 + 0x88]
test r8, r8
je 0x1401b647f
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1401b6477
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 0x1401b647f
mov rcx, r8
call fcn.140214220
inc rdi
cmp rdi, rbx
jl 0x1401b6420
mov rbx, qword [rsp + 0x248]
mov eax, r14d
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.140262f00
add rsp, 0x200
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret