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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
test byte [rcx + 1], 0x20
mov r14, qword [rcx + 8]
mov rbx, rcx
mov qword [rsp + 0x40], rdx
mov esi, r9d
mov dword [rsp + 0x68], r8d
mov dword [rsp + 0x74], r9d
jne 0x1401b1bd8
cmp byte [rcx], 2
ja 0x1401b1ba8
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1401b1ca8
test esi, esi
jne 0x1401b19f0
test byte [rsp + 0x68], 2
jne 0x1401b1d10
mov rdi, qword [rsp + 0x40]
movzx edx, word [rdi + 0x20]
test dx, dx
je 0x1401b23f0
movq xmm0, rax
mov word [rsp + 0x9c], dx
mov rcx, rbx
movhps xmm0, qword [rdi + 0x18]
mov byte [rsp + 0x9e], 0
lea rdx, [rsp + 0x80]
movaps xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x74]
mov byte [rsp + 0xa2], 0
call fcn.1401aff70
mov r10d, eax
mov dword [rsp + 0x70], eax
test r10d, r10d
jne 0x1401b1b8b
mov r8d, dword [rsp + 0x74]
test r8d, r8d
je 0x1401b1d10
nop dword [rax]
mov r13, qword [rbx + 0x88]
mov eax, dword [r13 + 0x14]
test eax, eax
js 0x1401b1c38
mov rax, qword [r14 + 8]
test byte [rsp + 0x68], 0x80
mov rdi, qword [rax + 0x88]
mov qword [rsp + 0x50], rdi
je 0x1401b1eb0
mov ebp, dword [rax + 0x90]
mov edx, 4
mov dword [rsp + 0x70], 0
cmp ebp, edx
cmovl ebp, edx
cmp byte [rax + 0x21], 0
je 0x1401b1a78
movzx eax, word [r13 + 0xe]
cmp eax, ebp
jge 0x1401b1a78
mov rdi, qword [rsp + 0x50]
lea r8, [rsp + 0x80]
mov rcx, r13
mov rdx, rdi
call qword [r13 + pe_nt_image_headers64]
movzx eax, word [rsp + 0x94]
cmp dword [rsp + 0x90], eax
jne 0x1401b2490
nop dword [rax]
mov ecx, dword [rsp + 0x74]
xor edx, edx
movzx edi, word [rbx + 0x56]
mov word [rbx + 0x46], dx
test ecx, ecx
mov eax, edi
jne 0x1401b1c80
cmp di, word [r13 + 0x18]
jae 0x1401b1e80
mov rcx, qword [r13 + 0x70]
call fcn.1401a73f0
test eax, eax
mov r10d, eax
mov dword [rsp + 0x70], eax
jne 0x1401b1b8b
mov rdx, qword [r13 + 0x60]
lea eax, [rdi + rdi]
cdqe
movzx esi, word [rdx + rax]
rol si, 8
and si, word [r13 + 0x1a]
movzx esi, si
add rsi, qword [r13 + 0x50]
cmp byte [r13 + 8], 0
jne 0x1401b1ae0
mov eax, dword [rsi]
mov rdx, qword [rsp + 0x50]
mov dword [rdx], eax
mov dword [rsp + 0x38], r10d
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, r13
call qword [r13 + pe_nt_image_headers64]
movzx eax, word [rsp + 0x94]
mov r9d, dword [rsp + 0x90]
mov r10d, dword [rsp + 0x38]
mov r8d, eax
cmp eax, r9d
jne 0x1401b2430
and byte [rbx + 1], 0xfb
mov dword [rsp + 0x70], 0
movzx r8d, word [rsp + 0x96]
cmp r8d, ebp
je 0x1401b2513
lea r9, [rsp + 0x70]
mov edx, edi
mov rcx, r13
call fcn.140190a10
mov r10d, dword [rsp + 0x70]
test r10d, r10d
jne 0x1401b1b8b
lea eax, [rbp + 1]
cmp eax, dword [r13 + 0x14]
jl 0x1401b1f38
movzx eax, byte [r13 + 0xc]
xor r10d, r10d
mov rsi, qword [rsp + 0x50]
lea edx, [rax + 1]
mov byte [r13 + 0xc], dl
mov qword [r13 + rax*8 + 0x28], rsi
mov word [r13 + rax*2 + 0x1c], di
test dl, dl
mov dword [rsp + 0x70], r10d
jne 0x1401b1dc0
mov eax, r10d
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call fcn.140192a70
test eax, 0xffffffef
mov r10d, eax
mov dword [rsp + 0x70], eax
jne 0x1401b1b8b
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x1401b196f
jmp 0x1401b1ca8
mov rax, qword [r14 + 8]
mov r8, rbx
mov edx, dword [rcx + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.1401aed60
test eax, eax
mov r10d, eax
mov dword [rsp + 0x70], eax
jne 0x1401b1b8b
test esi, esi
je 0x1401b1d88
cmp byte [rbx + 0x54], 0
js 0x1401b270a
cmp byte [rbx], 2
ja 0x1401b1ba8
cmp qword [rbx + 0x80], 0
jne 0x1401b19f0
cmp byte [r14 + 0x13], 0
jne 0x1401b2398
test byte [rbx + 1], 2
jne 0x1401b1cb9
jmp 0x1401b19f0
cmp byte [rbx], 1
jbe 0x1401b1d68
lea rax, [0x1403a344c]
mov r9d, 0x136a1
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.14018e940
mov r10d, 0xb
jmp 0x1401b1b8b
jns 0x1401b1b52
cmp word [r13 + 0x18], 0
je 0x1401b1b52
and byte [rbx + 1], 0xfd
add eax, 1
mov word [rbx + 0x56], ax
movzx edi, ax
jmp 0x1401b1b52
cmp byte [r14 + 0x13], 0
jne 0x1401b2398
test byte [rbx + 1], 2
je 0x1401b1ccc
mov rax, qword [rsp + 0x40]
mov rdi, qword [rbx + 0x30]
cmp qword [rax + 8], rdi
je 0x1401b2590
test esi, esi
jne 0x1401b19f0
mov rax, qword [rsp + 0x40]
lea r9, [rsp + 0x74]
mov rcx, rbx
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rax + 8]
shr r8d, 3
and r8d, 1
call fcn.1401b1580
test eax, eax
mov r10d, eax
mov dword [rsp + 0x70], eax
je 0x1401b19f0
jmp 0x1401b1b8b
mov rcx, rbx
call fcn.14014ed60
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
cmp qword [rbx + 0x30], rax
jne 0x1401b19f0
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0xa8], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x90], rdx
lea rdx, [rsp + 0x80]
call fcn.1401ab380
mov r10d, eax
jmp 0x1401b1b8b
mov rcx, r13
call fcn.14018f040
test eax, eax
mov r10d, eax
mov dword [rsp + 0x70], eax
je 0x1401b1a03
jmp 0x1401b1b8b
cmp byte [rbx], 2
ja 0x1401b1ba8
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x1401b1973
cmp byte [r14 + 0x13], 0
jne 0x1401b2398
test byte [rbx + 1], 2
jne 0x1401b1cb9
jmp 0x1401b1cd4
and byte [rbx + 1], 0xfd
mov rcx, rbx
call fcn.1401adcf0
test byte [rsp + 0x68], 2
mov r10d, eax
mov dword [rsp + 0x70], eax
mov rax, qword [rbx + 0x88]
mov byte [rax + 0xc], 0
mov byte [rbx], 1
je 0x1401b1b8b
test r10d, r10d
jne 0x1401b1b8b
cmp byte [rbx + 0x54], 0
js 0x1401b1e31
je 0x1401b1e24
xor esi, esi
nop
mov rax, qword [rbx + rsi*8 + 0x90]
add rsi, 1
mov rcx, qword [rax + 0x70]
call fcn.140153770
movsx eax, byte [rbx + 0x54]
cmp eax, esi
jg 0x1401b1e00
mov rax, qword [rbx + 0x88]
mov rcx, qword [rax + 0x70]
call fcn.140153770
mov byte [rbx + 0x54], 0xff
cmp qword [rbx + 0x80], 0
je 0x1401b1e67
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rdi + 8]
call fcn.140153820
mov r10d, 7
test rax, rax
mov qword [rbx + 0x18], rax
je 0x1401b1e6a
mov rdx, qword [rdi]
mov rcx, rax
mov r8, qword [rdi + 8]
call sub.msvcrt.dll_memcpy
xor r10d, r10d
mov rax, qword [rsp + 0x40]
mov byte [rbx], 3
mov rax, qword [rax + 8]
mov qword [rbx + 0x48], rax
jmp 0x1401b1b8b
lea rax, [0x1403a344c]
mov r9d, 0x136c8
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.14018e940
jmp 0x1401b1c6b
movzx ebp, byte [r13 + 0xa]
mov rdi, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov rax, rbp
add rax, rdi
cmp byte [r13 + 1], 0
je 0x1401b2090
mov edi, dword [rdx + 0x24]
mov esi, dword [rdx + 0x28]
mov rdx, qword [rdx + 0x10]
add esi, edi
cmp esi, 0x7f
mov qword [rsp + 0x38], rdx
ja 0x1401b25dc
mov byte [rax], sil
mov r12d, 1
mov rax, qword [rsp + 0x40]
add r12d, ebp
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rax + 8]
movsxd rax, r12d
add rcx, rax
cmp rdx, 0x7f
jbe 0x1401b25d0
cmp rdx, 0x3fff
jbe 0x1401b24f3
call fcn.140148eb0
mov ebp, eax
lea r8d, [r12 + rbp]
jmp 0x1401b20b4
mov rcx, qword [r13 + 0x70]
call fcn.1401a73f0
test eax, eax
mov r10d, eax
jne 0x1401b2080
mov r15, qword [r13 + 0x50]
movzx r14d, byte [r13 + 9]
mov dword [rsp + 0x80], 0
movzx edx, word [r13 + 0x18]
movzx eax, word [r13 + 0x12]
lea r12, [r15 + r14 + 5]
movzx esi, word [r12]
lea r9d, [rax + rdx*2]
rol si, 8
movzx esi, si
cmp r9d, esi
jg 0x1401b24d0
mov rax, qword [r13 + 0x48]
cmp esi, dword [rax + 0x38]
jg 0x1401b27cf
cmp byte [r15 + r14 + 2], 0
jne 0x1401b261d
cmp byte [r15 + r14 + 1], 0
jne 0x1401b261d
lea eax, [r9 + rbp + 2]
lea rdx, [r15 + r14 + 6]
cmp esi, eax
jl 0x1401b26bd
sub esi, ebp
mov eax, esi
sar eax, 8
mov byte [r12], al
mov r14d, eax
mov r12d, esi
mov byte [rdx], sil
lea eax, [rbp + 2]
mov rdx, qword [rsp + 0x50]
movsxd rsi, esi
movsxd r8, ebp
lea rcx, [r15 + rsi]
movzx eax, ax
mov dword [rsp + 0x38], r10d
sub dword [r13 + 0x14], eax
lea esi, [rdi + rdi]
movsxd rsi, esi
call sub.msvcrt.dll_memcpy
movzx r8d, word [r13 + 0x18]
add rsi, qword [r13 + 0x60]
sub r8d, edi
lea rcx, [rsi + 2]
add r8d, r8d
mov rdx, rsi
movsxd r8, r8d
call sub.msvcrt.dll_memmove
mov edx, r12d
movzx eax, r14b
mov r10d, dword [rsp + 0x38]
mov ah, dl
mov word [rsi], ax
movzx eax, byte [r13 + 9]
add word [r13 + 0x18], 1
lea rdx, [r15 + rax + 4]
add byte [rdx], 1
jne 0x1401b204b
movzx eax, byte [r13 + 9]
add byte [r15 + rax + 3], 1
mov rax, qword [r13 + 0x48]
cmp byte [rax + 0x21], 0
je 0x1401b2080
mov r8, qword [rsp + 0x50]
lea r9, [rsp + 0x80]
mov rdx, r13
mov rcx, r13
mov dword [rsp + 0x80], 0
call fcn.1401aa050
mov r10d, dword [rsp + 0x80]
movzx edx, byte [r13 + 0xc]
jmp 0x1401b1b7e
mov rdi, qword [rdx + 8]
mov rdx, qword [rdx]
cmp edi, 0x7f
mov esi, edi
mov qword [rsp + 0x38], rdx
ja 0x1401b25fd
mov byte [rax], dil
mov eax, 1
lea r8d, [rbp + rax]
mov rax, qword [rsp + 0x50]
movsxd rcx, r8d
movzx r10d, word [r13 + 0xe]
add rcx, rax
cmp r10d, esi
jge 0x1401b2550
mov rbp, qword [r13 + 0x48]
mov eax, esi
mov qword [rsp + 0x60], rbx
movzx r15d, word [r13 + 0x10]
mov dword [rsp + 0x7c], 0
mov edx, dword [rbp + 0x38]
sub eax, r15d
lea r11d, [rdx - 4]
xor edx, edx
div r11d
add edx, r15d
cmp r10d, edx
cmovge r15d, edx
mov rdx, qword [rsp + 0x50]
xor r12d, r12d
lea eax, [r8 + r15]
mov ebx, r15d
mov dword [rsp + 0x6c], eax
cdqe
add rax, rdx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x58], rax
nop dword [rax]
cmp esi, ebx
mov r15d, ebx
cmovle r15d, esi
cmp r15d, edi
jle 0x1401b21fd
test edi, edi
jle 0x1401b2240
mov rdx, qword [rsp + 0x38]
movsxd r8, edi
mov r15d, edi
call sub.msvcrt.dll_memcpy
mov rcx, rax
sub esi, r15d
test esi, esi
jle 0x1401b2218
movsxd rax, r15d
sub edi, r15d
add qword [rsp + 0x38], rax
sub ebx, r15d
jne 0x1401b21e8
mov ebx, dword [rsp + 0x7c]
mov qword [rsp + 0x80], 0
cmp byte [rbp + 0x21], 0
mov r9d, ebx
jne 0x1401b22b0
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x20], 0
mov rcx, rbp
call fcn.1401a9500
cmp byte [rbp + 0x21], 0
mov r10d, eax
mov dword [rsp + 0x78], eax
je 0x1401b2258
test eax, eax
je 0x1401b2330
test r12, r12
je 0x1401b1b8b
mov rcx, qword [r12 + 0x70]
mov dword [rsp + 0x38], r10d
call fcn.140153770
mov r10d, dword [rsp + 0x38]
jmp 0x1401b1b8b
add rcx, rax
mov r15d, ebx
cmp esi, ebx
cmovle r15d, esi
cmp r15d, edi
jg 0x1401b213a
mov rdx, qword [rsp + 0x38]
movsxd r8, r15d
sub esi, r15d
call sub.msvcrt.dll_memcpy
test esi, esi
mov rcx, rax
jg 0x1401b2160
test r12, r12
mov rbx, qword [rsp + 0x60]
je 0x1401b222c
mov rcx, qword [r12 + 0x70]
call fcn.140153770
mov ebp, dword [rsp + 0x6c]
mov dword [rsp + 0x70], 0
add ebp, 4
jmp 0x1401b1a78
movsxd r8, r15d
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rax
jmp 0x1401b2155
test eax, eax
jne 0x1401b21c3
mov r15d, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x48]
test r12, r12
bswap r15d
mov dword [rax], r15d
je 0x1401b227f
mov rcx, qword [r12 + 0x70]
call fcn.140153770
mov r12, qword [rsp + 0x80]
mov rax, qword [r12 + 0x50]
mov dword [rax], 0
mov qword [rsp + 0x48], rax
mov rax, qword [r12 + 0x50]
lea rcx, [rax + 4]
mov eax, dword [rbp + 0x38]
lea ebx, [rax - 4]
jmp 0x1401b2128
mov r15d, dword [0x14025a8d0]
mov r10d, ebx
mov r11d, dword [rbp + 0x34]
jmp 0x1401b22c3
mov r10d, r9d
lea r9d, [r10 + 1]
xor r8d, r8d
cmp r9d, 1
jbe 0x1401b230b
mov r8d, dword [rbp + 0x38]
lea ecx, [r10 - 1]
mov eax, 0xcccccccd
xor edx, edx
imul r8, rax
mov eax, ecx
shr r8, 0x22
add r8d, 1
div r8d
mov eax, r15d
sub ecx, edx
xor edx, edx
div r11d
lea r8d, [rcx + 2]
add ecx, 3
add eax, 1
cmp r8d, eax
cmove r8d, ecx
cmp r9d, r8d
je 0x1401b22c0
xor edx, edx
mov eax, r15d
div r11d
cmp r10d, eax
je 0x1401b22c0
mov dword [rsp + 0x7c], r9d
jmp 0x1401b218d
mov r15d, dword [rsp + 0x7c]
cmp ebx, 1
mov r9d, ebx
mov rcx, rbp
lea rax, [rsp + 0x78]
mov r8d, 3
sbb r8d, 0xffffffff
mov qword [rsp + 0x20], rax
mov edx, r15d
call fcn.1401a9e90
mov r10d, dword [rsp + 0x78]
test r10d, r10d
je 0x1401b2265
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x1401b21c3
mov rcx, qword [rax + 0x70]
mov dword [rsp + 0x38], r10d
call fcn.140153770
mov r10d, dword [rsp + 0x38]
jmp 0x1401b21c3
mov rax, qword [rsp + 0x40]
mov edx, dword [rbx + 0x50]
mov rcx, qword [rax + 8]
mov byte [r14 + 0x13], 0
mov rax, qword [r14 + 8]
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401b23cd
jmp 0x1401b1cb3
mov rax, qword [rax + 0x28]
test rax, rax
je 0x1401b1cb3
test byte [rax + 1], 0x10
je 0x1401b23c0
mov byte [r14 + 0x13], 1
cmp edx, dword [rax + 0x50]
jne 0x1401b23c0
cmp rcx, qword [rax + 0x30]
jne 0x1401b23c0
mov byte [rax], 1
jmp 0x1401b23c0
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x74]
mov rcx, rbx
mov r9d, dword [rsp + 0x68]
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rax
mov r8, qword [rdi + 8]
shr r9d, 3
and r9d, 1
call fcn.1401b0620
mov r10d, eax
mov dword [rsp + 0x70], eax
jmp 0x1401b19d5
movzx eax, word [rsp + 0x96]
mov dword [rsp + 0x38], r10d
mov rdx, qword [r13 + 0x58]
mov rcx, qword [r13 + 0x48]
mov word [rsp + 0x20], r8w
mov r8, rsi
mov word [rsp + 0x28], ax
call fcn.1401ab8d0
mov r10d, dword [rsp + 0x38]
movzx r8d, word [rsp + 0x96]
mov dword [rsp + 0x70], eax
and byte [rbx + 1], 0xfb
cmp r8d, ebp
je 0x1401b2538
test eax, eax
mov r10d, eax
jne 0x1401b1b8b
jmp 0x1401b1b39
movsxd rax, ebp
mov r9d, dword [r13 + 4]
mov r8d, 3
mov edx, dword [rdi + rax - 4]
lea rax, [rsp + 0x70]
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x20], rax
bswap edx
call fcn.1401a9e90
mov r10d, dword [rsp + 0x70]
test r10d, r10d
je 0x1401b1a78
jmp 0x1401b1b8b
test esi, esi
jne 0x1401b26a9
mov rax, qword [r13 + 0x48]
cmp dword [rax + 0x38], 0x10000
jne 0x1401b26a9
mov esi, 0x10000
jmp 0x1401b1f95
mov r8, rdx
xor eax, eax
and edx, 0x7f
shr r8, 7
mov ebp, 2
mov al, r8b
or al, 0x80
mov ah, dl
mov word [rcx], ax
jmp 0x1401b1f28
xor eax, eax
mov rdx, qword [r14 + 8]
cmp byte [rdx + 0x21], 0
je 0x1401b2739
movzx edx, word [r13 + 0x10]
cmp edx, ebp
jg 0x1401b2739
mov r8d, ebp
jmp 0x1401b2477
movzx edx, word [rsp + 0x94]
cmp edx, dword [rsp + 0x90]
jne 0x1401b2477
jmp 0x1401b2515
mov rdx, qword [rsp + 0x38]
lea ebp, [r8 + rsi]
mov eax, 4
movsxd r12, edi
cmp ebp, eax
mov r8, r12
cmovl ebp, eax
sub esi, edi
call sub.msvcrt.dll_memcpy
movsxd r8, esi
xor edx, edx
mov rcx, rax
add rcx, r12
call sub.msvcrt.dll_memset
mov dword [rsp + 0x70], 0
jmp 0x1401b1a78
cmp word [rbx + 0x46], 0
je 0x1401b19f0
mov rdi, rax
mov eax, dword [rax + 0x28]
add eax, dword [rdi + 0x24]
cmp dword [rbx + 0x40], eax
jne 0x1401b19f0
mov rdx, rdi
mov rcx, rbx
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401ab380
mov byte [rcx], dl
mov ebp, 1
jmp 0x1401b1f28
movsxd rdx, esi
cmp rdx, 0x3fff
jbe 0x1401b2790
mov rcx, rax
call fcn.140148eb0
movzx r12d, al
jmp 0x1401b1ef3
movsxd rdx, edi
cmp rdx, 0x3fff
jbe 0x1401b27b0
mov rcx, rax
call fcn.140148eb0
movzx eax, al
jmp 0x1401b20af
lea eax, [r9 + 1]
cmp eax, esi
jge 0x1401b1fad
lea r8, [rsp + 0x80]
mov edx, ebp
mov rcx, r13
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x38], r9d
call fcn.14018f840
mov r9d, dword [rsp + 0x38]
test rax, rax
mov r10d, dword [rsp + 0x48]
je 0x1401b27e6
sub rax, r15
movzx edx, ah
cmp r9d, eax
mov esi, eax
mov r14, rdx
mov r12d, eax
jl 0x1401b1fd3
lea rax, [0x1403a344c]
mov r9d, 0x1190d
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0xb
lea r8, str.database_corruption
call fcn.14018e940
movzx edx, byte [r13 + 0xc]
mov r10d, 0xb
jmp 0x1401b1b7e
lea rax, [0x1403a344c]
mov r9d, 0x118f9
mov qword [rsp + 0x20], rax
jmp 0x1401b2681
mov edx, dword [r13 + 0x14]
lea eax, [rbp + 2]
mov rcx, r13
mov dword [rsp + 0x38], r10d
sub edx, eax
mov eax, 4
cmp edx, eax
cmovg edx, eax
call fcn.140190b60
test eax, eax
jne 0x1401b27f5
movzx esi, byte [r12]
lea rdx, [r15 + r14 + 6]
movzx eax, byte [rdx]
mov r10d, dword [rsp + 0x38]
shl esi, 8
or esi, eax
sub esi, 1
movzx esi, si
add esi, 1
jmp 0x1401b1fbf
lea rax, [0x1403a344c]
mov r9d, 0x13626
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.14018e940
jmp 0x1401b1c6b
movzx eax, byte [r13 + 9]
mov rdx, qword [r13 + 0x50]
lea rax, [rdx + rax + 0xa]
cmp rsi, rax
jb 0x1401b281e
movsxd r8, ebp
lea rax, [rsi + r8]
cmp qword [r13 + 0x58], rax
jae 0x1401b2802
lea rax, [0x1403a344c]
mov r9d, 0x136e6
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.14018e940
jmp 0x1401b1c6b
shr rdx, 7
xor ecx, ecx
mov r12d, 2
mov cl, dl
mov edx, esi
or cl, 0x80
and edx, 0x7f
mov ch, dl
mov word [rax], cx
jmp 0x1401b1ef3
shr rdx, 7
xor ecx, ecx
mov cl, dl
mov edx, edi
or cl, 0x80
and edx, 0x7f
mov ch, dl
mov word [rax], cx
mov eax, 2
jmp 0x1401b20af
lea rax, [0x1403a344c]
mov r9d, 0x118fc
mov qword [rsp + 0x20], rax
jmp 0x1401b2681
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x1401b1fad
movzx edx, byte [r13 + 0xc]
mov r10d, eax
jmp 0x1401b1b7e
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x38], r10d
call sub.msvcrt.dll_memcpy
mov r10d, dword [rsp + 0x38]
jmp 0x1401b1b8b
lea rax, [0x1403a344c]
mov r9d, 0x136e3
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.14018e940
jmp 0x1401b1c6b