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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
mov rax, qword [rcx + 0x10]
xor ebp, ebp
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor r12b, r12b
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x58], ebp
call fcn.18004c1d0
mov rbx, qword [rsi + 0x20]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [r15 + 0x20]
mov rdx, qword [rdx + 0x40]
mov dword [rsp + 0x70], eax
movsxd rax, dword [rsi + 0x14]
xor r14d, r14d
xor r13d, r13d
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x48], rdx
movabs rsi, 0x8000000000000000
imul rax, rax, 0x38
add rax, rbx
mov dword [rsp + 0x110], r14d
mov qword [rsp + 0x78], rax
cmp rbx, rax
jae 0x18007f376
lea rcx, [fcn.1800101c0]
lea r8, [0x1800101b0]
jmp 0x18007f185
mov rbp, qword [rsp + 0x50]
cmp qword [rdx], 0
jne 0x18007f240
test byte [rbx + 0x1c], 2
jne 0x18007f240
mov rdx, qword [rbx]
test byte [rdx + 4], 1
jne 0x18007f23b
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov eax, dword [r15 + 0x48]
mov byte [rsp + 0xac], 3
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], r8
mov dword [rsp + 0xb0], eax
test rdx, rdx
je 0x18007f217
lea rcx, [rsp + 0x88]
call fcn.180022f60
cmp byte [rsp + 0xac], 0
je 0x18007f23b
mov rdx, qword [rbx]
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
call fcn.18003a9b0
mov rcx, qword [rdi]
mov rdx, rbp
mov r8, rax
call fcn.180041c30
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x48]
mov eax, dword [r15 + 0x48]
cmp dword [rbx + 0xc], eax
jne 0x18007f34a
test byte [rbx + 0x1a], 2
je 0x18007f34a
mov rax, qword [rsp + 0x128]
test qword [rbx + 0x28], rax
jne 0x18007f34a
movsxd rax, dword [rbx + 0x10]
test eax, eax
js 0x18007f34a
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x20]
mov rcx, qword [rax + 8]
add rdx, rdx
movzx esi, byte [rcx + rdx*8 + 0x29]
mov rcx, qword [rbx]
call fcn.180029350
movsx ecx, al
sub ecx, 0x41
je 0x18007f2b8
xor eax, eax
cmp ecx, 1
je 0x18007f2a9
cmp sil, 0x43
setge al
jmp 0x18007f2b0
cmp sil, 0x42
sete al
test eax, eax
je 0x18007f345
movsxd rcx, dword [rbx + 0x10]
cmp ecx, 0x40
jl 0x18007f2cd
movabs rsi, 0x8000000000000000
jmp 0x18007f2d5
mov esi, 1
shl rsi, cl
test r12b, r12b
jne 0x18007f305
mov rax, qword [rsp + 0x60]
lea rcx, [rcx + rcx*2]
lea rdx, str.automatic_index_on__s__s_
mov r9, qword [rax + 8]
mov r8, qword [rax]
add rcx, rcx
mov r9, qword [r9 + rcx*8]
mov ecx, 0x11c
call sym.SQLite.Interop.dll_sqlite3_log
mov r12b, 1
mov rdx, qword [rsp + 0x48]
test r13, rsi
jne 0x18007f34a
mov rcx, qword [rdi]
lea ebp, [r14 + 1]
mov r8d, ebp
call fcn.180031700
test eax, eax
jne 0x18007fd13
mov rdx, qword [rsp + 0x48]
movsxd rcx, r14d
mov dword [rsp + 0x110], ebp
mov rax, qword [rdx + 0x38]
mov r14d, ebp
or r13, rsi
mov qword [rax + rcx*8], rbx
jmp 0x18007f34a
mov rdx, qword [rsp + 0x48]
add rbx, 0x38
lea rcx, [fcn.1800101c0]
lea r8, [0x1800101b0]
cmp rbx, qword [rsp + 0x78]
jb 0x18007f180
mov rcx, qword [rsp + 0x60]
movabs rsi, 0x8000000000000000
mov word [rdx + 0x2c], r14w
mov word [rdx + 0x18], r14w
mov dword [rdx + 0x28], 0x4241
mov r8, qword [r15 + 0x60]
movzx edx, word [rcx + 0x42]
not r13
or r13, rsi
mov r15d, 0x3f
and r13, r8
cmp r15w, dx
mov r9d, r15d
mov qword [rsp + 0x80], r13
jl 0x18007f3b3
movsx r9d, dx
xor ecx, ecx
mov dword [rsp + 0x5c], r9d
test r9d, r9d
jle 0x18007f3da
nop
mov eax, ecx
bt r13, rax
jae 0x18007f3cb
inc r14d
inc ecx
cmp ecx, r9d
jl 0x18007f3c0
mov dword [rsp + 0x110], r14d
test rsi, r8
je 0x18007f3ef
movsx eax, dx
lea r14d, [r14 + rax - 0x3f]
mov dword [rsp + 0x110], r14d
mov rbx, qword [rdi]
lea r12d, [r14 + 1]
movsx r13, r12w
movsx r14d, r12w
lea eax, [r14 + r13]
lea ecx, [r13 + rax*2 + 9]
lea eax, [r13*8 + 7]
and eax, 0xfffffff8
and ecx, 0xfffffff8
lea eax, [rcx + rax + 0x88]
movsxd rsi, eax
test rbx, rbx
je 0x18007f449
cmp byte [rbx + 0x51], 0
jne 0x18007fd13
cmp byte [rbx + 0x14a], 0
je 0x18007f449
movzx eax, word [rbx + 0x148]
cmp rsi, rax
jbe 0x18007f49f
inc dword [rbx + 0x158]
test rsi, rsi
je 0x18007f4f2
cmp rsi, 0x7fffff00
jae 0x18007f4f2
cmp dword [0x18010b560], 0
je 0x18007f4e0
mov rcx, qword [0x18010f310]
test rcx, rcx
je 0x18007f47a
call qword [0x18010b5e8]
lea rdx, [rsp + 0x68]
mov ecx, esi
call fcn.180025630
mov rcx, qword [0x18010f310]
test rcx, rcx
je 0x18007f498
call qword [0x18010b5f8]
mov rbp, qword [rsp + 0x68]
jmp 0x18007f4eb
mov rbp, qword [rbx + 0x160]
test rbp, rbp
jne 0x18007f4b3
inc dword [rbx + 0x15c]
jmp 0x18007f449
mov rax, qword [rbp]
inc dword [rbx + 0x14c]
inc dword [rbx + 0x154]
mov qword [rbx + 0x160], rax
mov eax, dword [rbx + 0x14c]
cmp eax, dword [rbx + 0x150]
jle 0x18007f4fd
mov dword [rbx + 0x150], eax
jmp 0x18007f4fd
mov ecx, esi
call qword [0x18010b588]
mov rbp, rax
test rbp, rbp
jne 0x18007f506
jmp 0x18007f4f4
xor ebp, ebp
test rbx, rbx
je 0x18007f4fd
mov byte [rbx + 0x51], 1
test rbp, rbp
je 0x18007fd13
mov r8, rsi
xor edx, edx
mov rcx, rbp
call fcn.180003c00
mov rbx, qword [rsp + 0x118]
mov word [rbp + 0x58], r12w
dec r12w
lea r11, [rbp + 0x88]
lea rax, [r13*8 + 7]
and rax, 0xfffffffffffffff8
mov qword [rbp + 0x40], r11
mov word [rbp + 0x56], r12w
add r11, rax
lea eax, [r14 + 1]
xor r12d, r12d
movsxd rcx, eax
mov qword [rbp + 0x10], r11
lea rsi, str.BINARY
lea rax, [r11 + rcx*2]
mov r11, qword [rsp + 0x60]
mov qword [rbp + 8], rax
lea rax, [rax + r13*2]
mov qword [rbp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x20], rbp
lea rax, str.auto_index
mov qword [rbp + 0x18], r11
mov qword [rbp], rax
mov rbx, qword [rbx + 0x20]
cmp rbx, qword [rsp + 0x78]
jae 0x18007f6e8
mov rcx, qword [rsp + 0x120]
xor r13d, r13d
mov r15, r12
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rcx + 0x48]
cmp dword [rbx + 0xc], eax
jne 0x18007f6ce
test byte [rbx + 0x1a], 2
je 0x18007f6ce
mov rax, qword [rsp + 0x128]
test qword [rbx + 0x28], rax
jne 0x18007f6ce
movsxd rax, dword [rbx + 0x10]
test eax, eax
js 0x18007f6ce
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 8]
add rdx, rdx
movzx esi, byte [rcx + rdx*8 + 0x29]
mov rcx, qword [rbx]
call fcn.180029350
movsx ecx, al
sub ecx, 0x41
je 0x18007f627
xor eax, eax
cmp ecx, 1
je 0x18007f618
cmp sil, 0x43
setge al
jmp 0x18007f61f
cmp sil, 0x42
sete al
test eax, eax
je 0x18007f6bf
mov ecx, dword [rbx + 0x10]
cmp ecx, 0x40
jl 0x18007f63b
movabs rax, 0x8000000000000000
jmp 0x18007f643
mov eax, 1
shl rax, cl
test r15, rax
jne 0x18007f6bf
mov rdx, qword [rbx]
mov rcx, qword [rbp + 8]
or r15, rax
movzx eax, word [rbx + 0x10]
mov word [r14 + rcx], ax
mov rsi, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x10]
bt dword [rdx + 4], 8
jb 0x18007f686
test rsi, rsi
je 0x18007f676
bt dword [rsi + 4], 8
jb 0x18007f683
mov rcx, rdi
call fcn.180068ae0
test rax, rax
jne 0x18007f69f
mov rdx, rsi
mov rcx, rdi
call fcn.180068ae0
test rax, rax
jne 0x18007f69f
lea rsi, str.BINARY
mov rcx, rsi
jmp 0x18007f6a9
mov rcx, qword [rax]
lea rsi, str.BINARY
mov rax, qword [rbp + 0x40]
inc r12d
add r14, 2
mov qword [r13 + rax], rcx
add r13, 8
jmp 0x18007f6c6
lea rsi, str.BINARY
mov rcx, qword [rsp + 0x120]
add rbx, 0x38
cmp rbx, qword [rsp + 0x78]
jb 0x18007f5b0
mov r11, qword [rsp + 0x60]
mov r15d, 0x3f
mov r9d, dword [rsp + 0x5c]
xor ecx, ecx
movsxd r8, r12d
test r9d, r9d
jle 0x18007f73d
mov r10, qword [rsp + 0x80]
lea rdx, [r8*8]
add r8, r8
nop word [rax + rax]
mov eax, ecx
bt r10, rax
jae 0x18007f736
mov rax, qword [rbp + 8]
inc r12d
add r8, 2
mov word [r8 + rax - 2], cx
mov rax, qword [rbp + 0x40]
add rdx, 8
mov qword [rdx + rax - 8], rsi
inc ecx
cmp ecx, r9d
jl 0x18007f710
mov rax, qword [rsp + 0x120]
movabs rcx, 0x8000000000000000
test qword [rax + 0x60], rcx
je 0x18007f79a
cmp r15w, word [r11 + 0x42]
movsxd rdx, r12d
jge 0x18007f79a
lea rcx, [rdx*8]
add rdx, rdx
nop word [rax + rax]
mov rax, qword [rbp + 8]
inc r12d
add rdx, 2
mov word [rdx + rax - 2], r15w
mov rax, qword [rbp + 0x40]
inc r15d
mov qword [rcx + rax], rsi
movsx eax, word [r11 + 0x42]
add rcx, 8
cmp r15d, eax
jl 0x18007f770
mov rax, qword [rbp + 8]
mov rbx, qword [rsp + 0x40]
movsxd rcx, r12d
or r14d, 0xffffffff
mov word [rax + rcx*2], r14w
mov rax, qword [rbp + 0x40]
mov qword [rax + rcx*8], rsi
mov rcx, qword [rsp + 0x130]
mov eax, dword [rdi + 0x50]
mov dword [rcx + 8], eax
inc dword [rdi + 0x50]
mov rsi, qword [rbx + 0x30]
movsxd r12, dword [rbx + 0x3c]
mov r13d, dword [rcx + 8]
lea r15d, [r14 + 0x2b]
cmp dword [rsi + 0x60], r12d
jg 0x18007f85d
mov eax, dword [rsi + 0x60]
test eax, eax
je 0x18007f7e9
add eax, eax
jmp 0x18007f7ec
mov eax, r15d
mov rdx, qword [rbx + 8]
mov rcx, qword [rsi]
cdqe
lea r8, [rax + rax*2]
shl r8, 3
call fcn.180039390
mov rbx, rax
test rax, rax
je 0x18007f894
mov rax, qword [rsi]
test rax, rax
je 0x18007f831
cmp rbx, qword [rax + 0x168]
jb 0x18007f831
cmp rbx, qword [rax + 0x170]
jae 0x18007f831
movzx eax, word [rax + 0x148]
jmp 0x18007f83a
mov rcx, rbx
call qword [0x18010b5a0]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rax, qword [rsp + 0x40]
shr rdx, 4
mov dword [rsi + 0x60], edx
mov qword [rax + 8], rbx
mov rbx, rax
inc dword [rbx + 0x3c]
mov rcx, qword [rbx + 8]
mov eax, dword [rsp + 0x110]
lea rdx, [r12 + r12*2]
inc eax
mov dword [rcx + rdx*8 + 8], eax
xor eax, eax
mov byte [rcx + rdx*8], 0x38
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r13d
mov dword [rcx + rdx*8 + 0xc], eax
mov qword [rcx + rdx*8 + 0x10], rax
mov byte [rcx + rdx*8 + 1], al
jmp 0x18007f899
mov rbx, qword [rsp + 0x40]
mov rdx, rbp
mov rcx, rdi
call fcn.180068e00
inc dword [rdi + 0x70]
mov rsi, qword [rbx + 0x30]
mov rdx, qword [rsp + 0x130]
movsxd r13, dword [rbx + 0x3c]
cmp dword [rsi + 0x60], r13d
mov r12d, dword [rdx + 4]
jg 0x18007f940
mov eax, dword [rsi + 0x60]
test eax, eax
je 0x18007f8cc
add eax, eax
jmp 0x18007f8cf
mov eax, r15d
mov rdx, qword [rbx + 8]
mov rcx, qword [rsi]
cdqe
lea r8, [rax + rax*2]
shl r8, 3
call fcn.180039390
mov rbx, rax
test rax, rax
je 0x18007f9fc
mov rax, qword [rsi]
test rax, rax
je 0x18007f914
cmp rbx, qword [rax + 0x168]
jb 0x18007f914
cmp rbx, qword [rax + 0x170]
jae 0x18007f914
movzx eax, word [rax + 0x148]
jmp 0x18007f91d
mov rcx, rbx
call qword [0x18010b5a0]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rax, qword [rsp + 0x40]
shr rdx, 4
mov dword [rsi + 0x60], edx
mov qword [rax + 8], rbx
mov rbx, rax
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
lea rcx, [r13 + r13*2]
mov dword [rax + rcx*8 + 4], r12d
xor r12d, r12d
mov byte [rax + rcx*8], 0x6c
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], r12b
mov byte [rax + rcx*8 + 3], 0
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x18007f9ec
mov rsi, qword [rbx + 0x30]
movsxd rbx, dword [rsi + 0x78]
lea eax, [rbx + 1]
mov dword [rsi + 0x78], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x18007f9b6
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rsi]
lea eax, [rbx + rbx + 1]
movsxd r8, eax
shl r8, 2
call fcn.18003bc90
mov rdx, qword [rsp + 0x50]
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x18007f9c6
mov dword [rcx + rbx*4], r14d
mov eax, r14d
mov r9d, 0x10
mov rcx, rdi
sub eax, ebx
mov r8d, eax
mov dword [rsp + 0x58], eax
call fcn.1800aa5e0
mov rax, qword [rsp + 0x48]
or dword [rax + 0x28], 0x20000
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x18007fa0f
inc dword [rdi + 0x54]
mov ebx, dword [rdi + 0x54]
jmp 0x18007fa1b
mov rbx, qword [rsp + 0x40]
mov r13d, 1
xor r12d, r12d
jmp 0x18007f971
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0x24]
mov rsi, qword [rsp + 0x130]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov r8d, dword [rsi + 4]
mov r9d, ebx
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call fcn.180075520
mov r9, qword [rsp + 0x40]
mov r15d, dword [rsi + 8]
mov rbp, qword [r9 + 0x30]
movsxd r12, dword [r9 + 0x3c]
cmp dword [rbp + 0x60], r12d
jg 0x18007fadc
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x18007fa6b
add eax, eax
jmp 0x18007fa70
mov eax, 0x2a
mov rdx, qword [r9 + 8]
mov rcx, qword [rbp]
cdqe
lea r8, [rax + rax*2]
shl r8, 3
call fcn.180039390
mov rsi, rax
test rax, rax
je 0x18007fb0e
mov rax, qword [rbp]
test rax, rax
je 0x18007fab3
cmp rsi, qword [rax + 0x168]
jb 0x18007fab3
cmp rsi, qword [rax + 0x170]
jae 0x18007fab3
movzx eax, word [rax + 0x148]
jmp 0x18007fabc
mov rcx, rsi
call qword [0x18010b5a0]
mov r9, qword [rsp + 0x40]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 4
mov dword [rbp + 0x60], edx
mov qword [r9 + 8], rsi
inc dword [r9 + 0x3c]
mov rax, qword [r9 + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 4], r15d
xor r15d, r15d
mov byte [rax + rcx*8], 0x6e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], r15b
jmp 0x18007fb16
mov r9, qword [rsp + 0x40]
xor r15d, r15d
mov rdx, qword [r9 + 8]
test rdx, rdx
je 0x18007fb2c
movsxd rax, dword [r9 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
cmp qword [rsp + 0x50], 0
je 0x18007fb5f
sub r14d, dword [rsp + 0x58]
mov r8, qword [r9 + 0x30]
js 0x18007fb55
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x18007fb55
mov eax, dword [r9 + 0x3c]
movsxd rcx, r14d
mov dword [rdx + rcx*4], eax
mov eax, dword [r9 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
mov rbp, qword [r9 + 0x30]
mov rdx, qword [rsp + 0x130]
movsxd r12, dword [r9 + 0x3c]
cmp dword [rbp + 0x60], r12d
mov r14d, dword [rdx + 4]
jg 0x18007fbfd
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x18007fb88
add eax, eax
jmp 0x18007fb8d
mov eax, 0x2a
mov rdx, qword [r9 + 8]
mov rcx, qword [rbp]
cdqe
lea r8, [rax + rax*2]
shl r8, 3
call fcn.180039390
mov rsi, rax
test rax, rax
je 0x18007fc30
mov rax, qword [rbp]
test rax, rax
je 0x18007fbd4
cmp rsi, qword [rax + 0x168]
jb 0x18007fbd4
cmp rsi, qword [rax + 0x170]
jae 0x18007fbd4
movzx eax, word [rax + 0x148]
jmp 0x18007fbdd
mov rcx, rsi
call qword [0x18010b5a0]
mov r9, qword [rsp + 0x40]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 4
mov dword [rbp + 0x60], edx
mov qword [r9 + 8], rsi
mov rcx, qword [r9 + 8]
inc dword [r9 + 0x3c]
lea rdx, [r12 + r12*2]
lea eax, [r13 + 1]
mov byte [rcx + rdx*8], 9
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r14d
mov dword [rcx + rdx*8 + 0xc], r15d
mov qword [rcx + rdx*8 + 0x10], r15
mov dword [rcx + rdx*8 + 8], eax
mov byte [rcx + rdx*8 + 1], 0
jmp 0x18007fc35
mov r9, qword [rsp + 0x40]
mov rdx, qword [r9 + 8]
test rdx, rdx
je 0x18007fc4b
movsxd rax, dword [r9 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 3
mov edx, dword [r9 + 0x3c]
cmp edx, r13d
jbe 0x18007fc63
mov eax, r13d
lea rcx, [rax + rax*2]
mov rax, qword [r9 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r9 + 0x3c]
mov rax, qword [r9 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
test ebx, ebx
je 0x18007fca7
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x18007fca7
mov ecx, r15d
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], ebx
je 0x18007fca3
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18007fc87
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], ebx
inc byte [rdi + 0x1f]
jmp 0x18007fca7
mov byte [rax + 6], 1
dec dword [rdi + 0x70]
lea rcx, [rdi + 0x94]
mov r8d, 0xa
mov edx, dword [rcx]
test edx, edx
je 0x18007fce4
mov eax, dword [rdi + 0x70]
cmp dword [rcx - 4], eax
jle 0x18007fce4
cmp byte [rcx - 6], 0
je 0x18007fce1
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x18007fcdd
movzx eax, al
mov dword [rdi + rax*4 + 0x24], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r15d
add rcx, 0x14
sub r8, 1
jne 0x18007fcb7
mov edx, dword [r9 + 0x3c]
mov eax, dword [rsp + 0x70]
cmp edx, eax
jbe 0x18007fd06
lea rcx, [rax + rax*2]
mov rax, qword [r9 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r9 + 0x3c]
mov rax, qword [r9 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov rbx, qword [rdi]
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x18007fe19
bt dword [rdi + 4], 0xe
jb 0x18007fdc3
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call fcn.18003ac70
mov rdx, qword [rdi + 0x18]
mov rcx, rbx
call fcn.18003ac70
bt dword [rdi + 4], 0x10
jae 0x18007fda3
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18007fda3
test rbx, rbx
je 0x18007fd9e
cmp qword [rbx + 0x320], 0
je 0x18007fd73
mov rdx, rcx
mov rcx, rbx
call fcn.1800255d0
jmp 0x18007fda3
cmp rcx, qword [rbx + 0x168]
jb 0x18007fd9e
cmp rcx, qword [rbx + 0x170]
jae 0x18007fd9e
mov rax, qword [rbx + 0x160]
mov qword [rcx], rax
dec dword [rbx + 0x14c]
mov qword [rbx + 0x160], rcx
jmp 0x18007fda3
call sym.SQLite.Interop.dll_sqlite3_free
bt dword [rdi + 4], 0xb
mov rdx, qword [rdi + 0x20]
mov rcx, rbx
jae 0x18007fdbe
mov r8d, 1
call fcn.180036240
jmp 0x18007fdc3
call fcn.1800415b0
bt dword [rdi + 4], 0xf
jb 0x18007fe19
test rbx, rbx
je 0x18007fe11
cmp qword [rbx + 0x320], 0
je 0x18007fde6
mov rdx, rdi
mov rcx, rbx
call fcn.1800255d0
jmp 0x18007fe19
cmp rdi, qword [rbx + 0x168]
jb 0x18007fe11
cmp rdi, qword [rbx + 0x170]
jae 0x18007fe11
mov rax, qword [rbx + 0x160]
mov qword [rdi], rax
dec dword [rbx + 0x14c]
mov qword [rbx + 0x160], rdi
jmp 0x18007fe19
mov rcx, rdi
call sym.SQLite.Interop.dll_sqlite3_free
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret