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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
cmp edx, dword [rcx + 0x3c]
mov esi, edx
jbe 0x14006a745
mov edi, 0xb
lea r9, [0x1400b0b4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov ecx, edi
mov r8d, 0xf2f7
call fcn.140034d20
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov rcx, qword [rcx]
lea r8, [rsp + 0x28]
xor r9d, r9d
mov qword [rsp + 0x40], rbx
call fcn.140039950
test eax, eax
mov edi, eax
jne 0x14006a7b1
mov rcx, qword [rsp + 0x28]
mov r10, qword [rsp + 0x60]
mov rbx, qword [rcx + 0x10]
mov rax, qword [rcx + 8]
mov qword [rbx + 0x50], rax
xor eax, eax
mov qword [rbx + 0x70], rcx
cmp esi, 1
mov ecx, 0x64
mov qword [rbx + 0x48], r10
cmove eax, ecx
mov dword [rbx + 0x88], esi
mov byte [rbx + 6], al
cmp byte [rbx], dil
jne 0x14006a7c3
mov rcx, rbx
call fcn.14003c990
test eax, eax
mov edi, eax
je 0x14006a7ee
mov rcx, rbx
call fcn.14005cd10
jmp 0x14006a7b6
mov rbx, qword [rsp + 0x60]
test edi, edi
jne 0x14006aa26
mov r10, qword [rsp + 0x60]
cmp byte [rbx + 9], 0
je 0x14006a7f5
mov edi, 0xb
lea r9, [0x1400b0b4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov ecx, edi
mov r8d, 0xf2fc
call fcn.140034d20
jmp 0x14006a981
mov r10, qword [rsp + 0x60]
jmp 0x14006a7c3
movzx esi, byte [rbx + 6]
mov qword [rsp + 0x38], rbp
xor ebp, ebp
cmp word [rbx + 0x12], bp
mov byte [rbx + 9], 1
mov dword [rsp + 0x20], esi
jbe 0x14006a89d
xor ecx, ecx
mov qword [rsp + 0x28], rcx
nop
nop
mov rax, qword [rbx + 0x60]
movzx ecx, word [rcx + rax]
movzx eax, word [rbx + 0x14]
ror cx, 8
movzx esi, cx
and rsi, rax
add rsi, qword [rbx + 0x50]
cmp byte [rbx + 5], 0
jne 0x14006a861
mov edx, dword [rsi]
mov r9, qword [rsp + 0x78]
mov r8d, 1
bswap edx
mov rcx, r10
call fcn.14006a700
test eax, eax
mov edi, eax
jne 0x14006a97c
lea r8, [rsp + 0x68]
mov rdx, rsi
mov rcx, rbx
call fcn.140068450
test eax, eax
mov edi, eax
jne 0x14006a97c
mov rcx, qword [rsp + 0x28]
movzx eax, word [rbx + 0x12]
mov r10, qword [rsp + 0x60]
add rcx, 2
add ebp, 1
cmp ebp, eax
mov qword [rsp + 0x28], rcx
jl 0x14006a820
mov esi, dword [rsp + 0x20]
cmp byte [rbx + 5], 0
jne 0x14006a8d1
mov rax, qword [rbx + 0x50]
mov r9, qword [rsp + 0x78]
movsxd rcx, esi
mov edx, dword [rax + rcx + 8]
mov rcx, qword [rsp + 0x60]
mov r8d, 1
bswap edx
call fcn.14006a700
test eax, eax
mov edi, eax
jne 0x14006a97c
jmp 0x14006a8e1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14006a8e1
movzx eax, word [rbx + 0x12]
add dword [rcx], eax
cmp dword [rsp + 0x70], 0
je 0x14006a8ff
mov r8d, dword [rbx + 0x88]
mov rcx, qword [rbx + 0x48]
mov rdx, rbx
call fcn.1400629b0
mov edi, eax
jmp 0x14006a97c
mov rdi, qword [rbx + 0x70]
test byte [rdi + 0x2c], 4
mov rcx, qword [rdi + 0x20]
je 0x14006a93e
mov eax, dword [rdi + 0x28]
cmp dword [rcx + 0x1c], eax
jb 0x14006a93e
cmp dword [rcx + 0x80], 0
je 0x14006a93a
mov rcx, rdi
call fcn.14000c490
test eax, eax
je 0x14006a936
mov rcx, rdi
call fcn.140024590
mov edi, eax
jmp 0x14006a962
xor edi, edi
jmp 0x14006a962
xor edi, edi
jmp 0x14006a962
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
jbe 0x14006a958
mov rcx, rdi
call fcn.14003cd50
mov edi, eax
jmp 0x14006a962
mov rcx, rdi
call fcn.140029330
mov edi, eax
test edi, edi
jne 0x14006a97c
mov rax, qword [rbx + 0x50]
movsxd rcx, esi
movzx edx, byte [rax + rcx]
mov rcx, rbx
or edx, 8
call fcn.14003c880
mov rbp, qword [rsp + 0x38]
mov r8, qword [rbx + 0x70]
mov byte [rbx + 9], 0
test byte [r8 + 0x2c], 0x40
mov rbx, qword [r8 + 0x20]
je 0x14006a9d3
add dword [rbx + 0x98], 0xffffffff
mov rax, qword [rbx + 0xa8]
mov qword [r8 + 0x18], rax
mov rcx, qword [rbx + 0x48]
movsxd rax, dword [rbx + 0xbc]
mov qword [rbx + 0xa8], r8
mov edx, dword [r8 + 0x28]
mov r9, qword [rcx]
mov r8, qword [r8 + 8]
add edx, 0xffffffff
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x14006a9db
mov rcx, r8
call fcn.14000cd20
cmp dword [rbx + 0x98], 0
jne 0x14006aa26
mov rax, qword [rbx + 0x110]
cmp dword [rax + 0x18], 0
jne 0x14006aa26
movzx eax, byte [rbx + 0x14]
cmp al, 6
je 0x14006aa1e
test al, al
je 0x14006aa1e
cmp al, 2
jb 0x14006aa0b
mov rcx, rbx
call fcn.140056500
jmp 0x14006aa1e
cmp byte [rbx + 8], 0
jne 0x14006aa1e
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140014df0
mov rcx, rbx
call fcn.140019fc0
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret