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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x48
mov r12, qword [rcx + 0x18]
mov rdi, rdx
mov edx, dword [rcx + 0x3c]
mov rax, qword [r12 + 0x50]
xor esi, esi
mov r14, rcx
mov ebp, dword [rax + 0x24]
mov dword [rsp + 0x80], edx
bswap ebp
cmp ebp, edx
jb 0x14006881e
mov ebx, 0xb
lea r9, [0x1400b0b4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov ecx, ebx
mov r8d, 0xe7dd
call fcn.140034d20
mov eax, ebx
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test ebp, ebp
je 0x140068db9
mov rbx, qword [r12 + 0x70]
test byte [rbx + 0x2c], 4
mov rcx, qword [rbx + 0x20]
je 0x14006885f
mov eax, dword [rbx + 0x28]
cmp dword [rcx + 0x1c], eax
jb 0x14006885f
cmp dword [rcx + 0x80], esi
je 0x14006888e
mov rcx, rbx
call fcn.14000c490
test eax, eax
je 0x14006885b
mov rcx, rbx
call fcn.140024590
jmp 0x14006887f
mov eax, esi
jmp 0x14006887f
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
jbe 0x140068877
mov rcx, rbx
call fcn.14003cd50
jmp 0x14006887f
mov rcx, rbx
call fcn.140029330
test eax, eax
jne 0x140068e8c
mov edx, dword [rsp + 0x80]
test rsi, rsi
mov rax, qword [r12 + 0x50]
lea ecx, [rbp - 1]
bswap ecx
mov dword [rax + 0x24], ecx
je 0x1400688aa
mov rax, qword [rsi + 0x50]
mov edi, dword [rax]
bswap edi
jmp 0x1400688b4
mov rax, qword [r12 + 0x50]
mov edi, dword [rax + 0x20]
bswap edi
cmp edi, edx
ja 0x140068cc5
cmp esi, ebp
ja 0x140068cc5
mov rcx, qword [r14]
lea r8, [rsp + 0x20]
xor r9d, r9d
mov edx, edi
call fcn.140039950
test eax, eax
mov ebx, eax
je 0x1400688e1
mov rbp, rsi
jmp 0x140068920
mov rcx, qword [rsp + 0x20]
cmp edi, 1
mov edx, 0x64
mov rax, qword [rcx + 8]
mov rbp, qword [rcx + 0x10]
mov ebx, esi
mov qword [rbp + 0x50], rax
mov eax, esi
mov qword [rbp + 0x70], rcx
cmove eax, edx
mov qword [rbp + 0x48], r14
mov dword [rbp + 0x88], edi
mov byte [rbp + 6], al
cmp word [rcx + 0x2e], 1
jg 0x140068c9b
mov byte [rbp], bl
test ebx, ebx
jne 0x140068ce5
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r15
mov r15, qword [rbp + 0x50]
mov r13d, dword [r15 + 4]
bswap r13d
test r13d, r13d
jne 0x1400689e3
mov rbx, qword [rbp + 0x70]
test byte [rbx + 0x2c], 4
mov rcx, qword [rbx + 0x20]
je 0x140068984
mov eax, dword [rbx + 0x28]
cmp dword [rcx + 0x1c], eax
jb 0x140068984
cmp dword [rcx + 0x80], esi
je 0x140068980
mov rcx, rbx
call fcn.14000c490
test eax, eax
je 0x14006897c
mov rcx, rbx
call fcn.140024590
mov ebx, eax
jmp 0x1400689a8
mov ebx, esi
jmp 0x1400689a8
mov ebx, esi
jmp 0x1400689b0
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
jbe 0x14006899e
mov rcx, rbx
call fcn.14003cd50
mov ebx, eax
jmp 0x1400689a8
mov rcx, rbx
call fcn.140029330
mov ebx, eax
test ebx, ebx
jne 0x140068bd7
mov rax, qword [rsp + 0x90]
mov rcx, qword [r12 + 0x50]
mov dword [rax], edi
mov rax, qword [rbp + 0x50]
mov rdi, qword [rsp + 0x88]
mov eax, dword [rax]
mov qword [rdi], rbp
mov rbp, rsi
mov dword [rcx + 0x20], eax
mov rcx, rsi
call fcn.14005cd10
jmp 0x140068bd7
mov eax, dword [r14 + 0x34]
shr eax, 2
sub eax, 2
cmp r13d, eax
ja 0x140068bb7
test r13d, r13d
je 0x1400689d6
mov r9d, dword [rsp + 0x98]
test r9d, r9d
je 0x140068a66
mov ecx, dword [r15 + 8]
mov r12d, esi
bswap ecx
sub ecx, r9d
jns 0x140068a27
cmp ecx, 0x80000000
jne 0x140068a25
mov ecx, 0x7fffffff
jmp 0x140068a27
neg ecx
mov edx, 1
cmp r13d, edx
jbe 0x140068a69
lea r8, [r15 + 0xc]
mov eax, dword [r8]
bswap eax
sub eax, r9d
jns 0x140068a4f
cmp eax, 0x80000000
jne 0x140068a4d
mov eax, 0x7fffffff
jmp 0x140068a4f
neg eax
cmp eax, ecx
jge 0x140068a58
mov r12d, edx
mov ecx, eax
add edx, 1
add r8, 4
cmp edx, r13d
jb 0x140068a35
jmp 0x140068a69
mov r12d, esi
lea eax, [r12*4 + 8]
mov edi, eax
mov eax, dword [rax + r15]
bswap eax
cmp eax, dword [rsp + 0x80]
ja 0x140068b95
mov rbx, qword [rbp + 0x70]
mov r8, qword [rsp + 0x90]
test byte [rbx + 0x2c], 4
mov rcx, qword [rbx + 0x20]
mov dword [r8], eax
je 0x140068acb
mov eax, dword [rbx + 0x28]
cmp dword [rcx + 0x1c], eax
jb 0x140068acb
cmp dword [rcx + 0x80], esi
je 0x140068aff
mov rcx, rbx
call fcn.14000c490
test eax, eax
je 0x140068ac7
mov rcx, rbx
call fcn.140024590
mov ebx, eax
jmp 0x140068aef
mov ebx, esi
jmp 0x140068aef
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
jbe 0x140068ae5
mov rcx, rbx
call fcn.14003cd50
mov ebx, eax
jmp 0x140068aef
mov rcx, rbx
call fcn.140029330
mov ebx, eax
test ebx, ebx
jne 0x140068bd7
mov r8, qword [rsp + 0x90]
lea edx, [r13 - 1]
cmp r12d, edx
jae 0x140068b18
lea eax, [r13*4 + 4]
mov eax, dword [rax + r15]
mov dword [rdi + r15], eax
mov ebx, dword [r8]
bswap edx
mov dword [r15 + 4], edx
mov rcx, qword [r14 + 0x58]
test rcx, rcx
je 0x140068b40
cmp ebx, dword [rcx]
ja 0x140068b39
mov edx, ebx
call fcn.140007550
test eax, eax
je 0x140068b40
mov eax, 1
jmp 0x140068b42
mov eax, esi
mov rdi, qword [rsp + 0x88]
test eax, eax
mov r9d, esi
mov edx, ebx
mov rcx, r14
mov r8, rdi
sete r9b
call fcn.1400636c0
test eax, eax
mov ebx, eax
jne 0x1400689d6
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x70]
call fcn.1400427b0
test eax, eax
mov ebx, eax
je 0x1400689d6
mov rcx, qword [rdi]
call fcn.14005cd10
mov rcx, rsi
mov qword [rdi], rsi
call fcn.14005cd10
jmp 0x140068bd7
mov ebx, 0xb
lea r9, [0x1400b0b4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov ecx, ebx
mov r8d, 0xe895
call fcn.140034d20
jmp 0x140068bd7
mov ebx, 0xb
lea r9, [0x1400b0b4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov ecx, ebx
mov r8d, 0xe832
call fcn.140034d20
test rbp, rbp
mov r15, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
je 0x140068ce5
mov r8, qword [rbp + 0x70]
test byte [r8 + 0x2c], 0x40
mov rdi, qword [r8 + 0x20]
je 0x140068c38
add dword [rdi + 0x98], 0xffffffff
mov rax, qword [rdi + 0xa8]
mov qword [r8 + 0x18], rax
mov rcx, qword [rdi + 0x48]
movsxd rax, dword [rdi + 0xbc]
mov qword [rdi + 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 0x140068c40
mov rcx, r8
call fcn.14000cd20
cmp dword [rdi + 0x98], esi
jne 0x140068ce5
mov rax, qword [rdi + 0x110]
cmp dword [rax + 0x18], esi
jne 0x140068ce5
movzx eax, byte [rdi + 0x14]
cmp al, 6
je 0x140068c91
test al, al
je 0x140068c91
cmp al, 2
jb 0x140068c7e
mov rcx, rdi
call fcn.140056500
mov rcx, rdi
call fcn.140019fc0
jmp 0x140068ce5
cmp byte [rdi + 8], sil
jne 0x140068c91
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140014df0
mov rcx, rdi
call fcn.140019fc0
jmp 0x140068ce5
mov rcx, rbp
call fcn.14005cd10
mov ebx, 0xb
lea r9, [0x1400b0b4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov ecx, ebx
mov r8d, 0xda5d
call fcn.140034d20
jmp 0x140068ce5
mov ebx, 0xb
lea r9, [0x1400b0b4c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov ecx, ebx
mov r8d, 0xe815
call fcn.140034d20
test rsi, rsi
je 0x140068e8a
mov r8, qword [rsi + 0x70]
test byte [r8 + 0x2c], 0x40
mov rdi, qword [r8 + 0x20]
je 0x140068d3c
add dword [rdi + 0x98], 0xffffffff
mov rax, qword [rdi + 0xa8]
mov qword [r8 + 0x18], rax
mov rcx, qword [rdi + 0x48]
movsxd rax, dword [rdi + 0xbc]
mov qword [rdi + 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 0x140068d44
mov rcx, r8
call fcn.14000cd20
cmp dword [rdi + 0x98], esi
jne 0x140068e8a
mov rax, qword [rdi + 0x110]
cmp dword [rax + 0x18], esi
jne 0x140068e8a
movzx eax, byte [rdi + 0x14]
cmp al, 6
je 0x140068da2
test al, al
je 0x140068da2
cmp al, 2
jb 0x140068d8f
mov rcx, rdi
call fcn.140056500
mov rcx, rdi
call fcn.140019fc0
mov eax, ebx
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp byte [rdi + 8], sil
jne 0x140068da2
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140014df0
mov rcx, rdi
call fcn.140019fc0
mov eax, ebx
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rbx, qword [r12 + 0x70]
test byte [rbx + 0x2c], 4
mov rcx, qword [rbx + 0x20]
je 0x140068df2
mov eax, dword [rbx + 0x28]
cmp dword [rcx + 0x1c], eax
jb 0x140068df2
cmp dword [rcx + 0x80], esi
je 0x140068e1e
mov rcx, rbx
call fcn.14000c490
test eax, eax
je 0x140068dee
mov rcx, rbx
call fcn.140024590
jmp 0x140068e12
mov eax, esi
jmp 0x140068e12
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
jbe 0x140068e0a
mov rcx, rbx
call fcn.14003cd50
jmp 0x140068e12
mov rcx, rbx
call fcn.140029330
test eax, eax
jne 0x140068e8c
mov r8, qword [rsp + 0x90]
add dword [r14 + 0x3c], 1
mov ecx, dword [r14 + 0x3c]
xor edx, edx
mov eax, 0x40000000
div dword [r14 + 0x30]
add eax, 1
cmp ecx, eax
jne 0x140068e40
lea eax, [rcx + 1]
mov dword [r14 + 0x3c], eax
mov rax, qword [r14 + 0x18]
mov edx, dword [r14 + 0x3c]
mov r9d, 1
mov rcx, qword [rax + 0x50]
bswap edx
mov dword [rcx + 0x1c], edx
mov edx, dword [r14 + 0x3c]
mov rcx, r14
mov dword [r8], edx
mov r8, rdi
call fcn.1400636c0
test eax, eax
jne 0x140068e8c
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x70]
call fcn.1400427b0
test eax, eax
mov ebx, eax
je 0x140068e8a
mov rcx, qword [rdi]
call fcn.14005cd10
mov qword [rdi], rsi
mov eax, ebx
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret