Function at 0x18006bdd0
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, 0x68
mov rdi, qword [rsp + 0xe0]
xor r12d, r12d
cmp dword [rsp + 0xd8], r12d
mov eax, r12d
mov rbp, rcx
mov dword [rsp + 0x30], r12d
setne al
mov dword [rsp + 0x34], r12d
mov qword [rdi], r12
mov rbx, r8
mov rcx, qword [rcx + 0x18]
mov r15d, r12d
mov qword [rsp + 0x50], r12
mov r14d, r12d
mov dword [rsp + 0xb0], eax
mov esi, r12d
test rcx, rcx
je 0x18006be3f
call qword [0x1801e59a8]
mov edx, 0x28
mov rcx, rbp
call fcn.1800f8480
mov qword [rsp + 0x40], rax
mov r13, rax
test rax, rax
je 0x18006c6bf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r13], xmm0
mov edx, 0x298
mov rcx, rbp
movups xmmword [r13 + 0x10], xmm0
mov qword [r13 + 0x20], rax
call fcn.1800f8480
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x18006c6bf
nop
lea rcx, [rsi + 8]
xor edx, edx
mov r8d, 0x290
call fcn.180162c50
mov qword [rsi], rbp
test r14, r14
je 0x18006bf4c
cmp qword [rbp + 0x290], r12
je 0x18006bec6
mov rdx, r14
mov rcx, rbp
call fcn.1800d60e0
jmp 0x18006bf4c
cmp r14, qword [rbp + 0x178]
jb 0x18006bef1
cmp r14, qword [rbp + 0x180]
jae 0x18006bef1
mov rax, qword [rbp + 0x170]
mov qword [r14], rax
dec dword [rbp + 0x158]
mov qword [rbp + 0x170], r14
jmp 0x18006bf4c
cmp dword [0x1801e5920], r12d
je 0x18006bf43
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006bf0c
call qword [0x1801e59a8]
mov rcx, r14
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, r14
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006bf4c
call qword [0x1801e59b8]
jmp 0x18006bf4c
mov rcx, r14
call qword [0x1801e5950]
mov r14, r12
mov qword [rsp + 0x50], r12
mov edi, r12d
mov qword [rsp + 0x58], r12
cmp dword [rbp + 0x28], r12d
jle 0x18006bfa5
mov rbx, r12
nop word [rax + rax]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbx + rax + 8]
test rcx, rcx
je 0x18006bf92
cmp byte [rcx + 0x11], r12b
je 0x18006bf92
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], r12b
jne 0x18006bf92
call fcn.18007b390
inc edi
add rbx, 0x20
cmp edi, dword [rbp + 0x28]
jl 0x18006bf70
mov rbx, qword [rsp + 0xc0]
mov r9, qword [rsp + 0xb8]
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.18011d460
mov r13, rax
test rax, rax
je 0x18006c663
movzx eax, byte [rax + 0x46]
test al, 0x10
jne 0x18006c651
test al, 0x20
jne 0x18006c648
cmp qword [r13 + 0x18], r12
jne 0x18006c63f
movsx rax, word [r13 + 0x3e]
mov r15d, r12d
mov r10, r12
mov esi, eax
cmp r12w, ax
jge 0x18006c080
mov rcx, qword [rsp + 0xc8]
lea r9, [0x1801a59b0]
mov r11, qword [r13 + 8]
mov rbx, rax
movzx eax, byte [rcx]
movzx edi, byte [rax + r9]
nop dword [rax]
mov r8, qword [r11]
movzx edx, byte [r8]
movzx eax, byte [rdx + r9]
cmp eax, edi
jne 0x18006c071
mov r9, rcx
sub r9, r8
test dl, dl
je 0x18006c080
movzx eax, byte [r9 + r8 + 1]
lea rcx, [0x1801a59b0]
movzx edx, byte [r8 + 1]
inc r8
movzx ecx, byte [rax + rcx]
lea rax, [0x1801a59b0]
movzx eax, byte [rdx + rax]
cmp eax, ecx
je 0x18006c036
mov rcx, qword [rsp + 0xc8]
lea r9, [0x1801a59b0]
inc r15d
inc r10
add r11, 0x20
cmp r10, rbx
jl 0x18006c020
cmp r15d, esi
je 0x18006c5da
cmp dword [rsp + 0xd8], r12d
je 0x18006c133
test dword [rbp + 0x2c], 0x80000
mov r9, r12
je 0x18006c0e4
mov r8, qword [r13 + 0x20]
test r8, r8
je 0x18006c0e4
nop dword [rax]
movsxd rdx, dword [r8 + 0x28]
test rdx, rdx
jle 0x18006c0db
lea rcx, [r8 + 0x40]
nop dword [rax]
cmp dword [rcx], r15d
lea rax, str.foreign_key
lea rcx, [rcx + 0x10]
cmovne rax, r9
mov r9, rax
sub rdx, 1
jne 0x18006c0c0
mov r8, qword [r8 + 8]
test r8, r8
jne 0x18006c0b0
mov r10, qword [r13 + 0x10]
test r10, r10
je 0x18006c12a
nop dword [rax]
movzx eax, word [r10 + 0x5e]
cmp r12w, ax
jae 0x18006c121
mov rdx, qword [r10 + 8]
mov r8d, eax
movsx eax, word [rdx]
cmp eax, r15d
je 0x18006c110
cmp ax, 0xfffe
jne 0x18006c117
lea r9, str.indexed
add rdx, 2
sub r8, 1
jne 0x18006c102
mov r10, qword [r10 + 0x28]
test r10, r10
jne 0x18006c0f0
test r9, r9
jne 0x18006c51a
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call fcn.1801362a0
mov rdi, rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], rdi
test rdi, rdi
je 0x18006c410
mov rcx, qword [r13 + 0x68]
mov esi, 0xfff0bdc0
mov r14, 0xfffffffffff0bdc0
test rcx, rcx
je 0x18006c192
mov edx, dword [rbp + 0x28]
mov esi, r12d
mov r14, r12
test edx, edx
jle 0x18006c192
mov rax, qword [rbp + 0x20]
add rax, 0x18
nop
cmp qword [rax], rcx
je 0x18006c192
inc esi
inc r14
add rax, 0x20
cmp esi, edx
jl 0x18006c180
mov eax, dword [rcx + 4]
mov r8d, esi
mov r9d, dword [rsp + 0xb0]
mov edx, 2
mov dword [rsp + 0x28], eax
mov eax, dword [rcx]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.180135730
mov rax, qword [rdi]
cmp byte [rax + 0x55], r12b
jne 0x18006c1d1
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov byte [rax + rcx*8 - 0x15], 1
mov rcx, qword [rdi + 0x30]
mov eax, dword [rdi + 0x3c]
add eax, 9
cmp eax, dword [rcx + 0x64]
jle 0x18006c1f9
mov edx, 9
mov rcx, rdi
call fcn.1800cfb70
test eax, eax
je 0x18006c1f9
mov rbx, r12
jmp 0x18006c337
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x94
mov qword [rax + rcx*8 + 4], r12
mov dword [rax + rcx*8 + 0xc], r12d
lea rbx, [rax + rcx*8]
mov ecx, 1
mov qword [rbx + 0x10], r12
mov byte [rbx + 3], r12b
mov word [rbx + 0x18], 0x36
mov qword [rbx + 0x1c], r12
mov dword [rbx + 0x24], r12d
mov qword [rbx + 0x28], r12
mov byte [rbx + 0x1b], r12b
mov word [rbx + 0x30], 0x1c
mov dword [rbx + 0x34], ecx
mov qword [rbx + 0x38], rcx
mov qword [rbx + 0x40], r12
mov byte [rbx + 0x33], r12b
mov byte [rbx + 0x48], 0x46
mov dword [rbx + 0x4c], r12d
mov dword [rbx + 0x50], 7
mov eax, dword [rdi + 0x3c]
add eax, 7
mov dword [rbx + 0x50], eax
mov dword [rbx + 0x54], ecx
mov byte [rbx + 0x49], r12b
mov qword [rbx + 0x58], r12
mov byte [rbx + 0x4b], r12b
mov word [rbx + 0x60], 0x2f
mov qword [rbx + 0x64], r12
mov dword [rbx + 0x6c], ecx
mov qword [rbx + 0x70], r12
mov byte [rbx + 0x63], r12b
mov word [rbx + 0x78], 0x21
mov qword [rbx + 0x7c], rcx
mov dword [rbx + 0x84], r12d
mov qword [rbx + 0x88], r12
mov byte [rbx + 0x7b], r12b
mov byte [rbx + 0x90], select
mov dword [rbx + 0x94], r12d
mov dword [rbx + 0x98], 2
mov eax, dword [rdi + 0x3c]
add eax, 2
mov dword [rbx + 0x98], eax
mov dword [rbx + 0x9c], r12d
mov byte [rbx + 0x91], r12b
mov qword [rbx + 0xa0], r12
mov byte [rbx + 0x93], r12b
mov word [rbx + 0xa8], 0x3d
mov qword [rbx + 0xac], r12
mov dword [rbx + 0xb4], r12d
mov qword [rbx + 0xb8], r12
mov byte [rbx + 0xab], r12b
mov word [rbx + 0xc0], reloc.WS2_32.dll_setsockopt
mov qword [rbx + 0xc4], r12
mov dword [rbx + 0xcc], r12d
mov qword [rbx + 0xd0], r12
mov byte [rbx + 0xc3], r12b
add dword [rdi + 0x3c], 9
mov eax, dword [rdi + 0x9c]
bts eax, esi
mov dword [rdi + 0x9c], eax
cmp esi, 1
je 0x18006c370
mov rax, qword [rdi]
shl r14, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [r14 + rcx + 8]
cmp byte [rax + 0x11], r12b
je 0x18006c370
mov eax, dword [rdi + 0xa0]
bts eax, esi
mov dword [rdi + 0xa0], eax
cmp byte [rbp + 0x55], r12b
jne 0x18006c406
mov dword [rbx + 4], esi
mov eax, dword [r13 + 0x38]
mov dword [rbx + 8], eax
mov eax, dword [rsp + 0xb0]
mov dword [rbx + 0xc], eax
mov rax, qword [rdi]
cmp byte [rax + 0x55], r12b
jne 0x18006c3ae
mov rdx, qword [rdi + 8]
xor r9d, r9d
mov r8, qword [r13]
add rdx, 0x18
mov rcx, rdi
call fcn.18014e490
cmp byte [rbp + 0x55], r12b
jne 0x18006c406
cmp dword [rsp + 0xd8], r12d
je 0x18006c3c2
mov byte [rbx + 0x18], 0x37
mov eax, dword [r13 + 0x38]
mov rcx, rdi
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], esi
mov rsi, qword [rsp + 0x48]
mov byte [rbx + 0x19], 0xf2
mov rdx, rsi
movsx eax, word [r13 + 0x3e]
inc eax
mov dword [rbx + 0x28], eax
movsx eax, word [r13 + 0x3e]
mov dword [rbx + 0x68], eax
mov eax, 1
mov word [rsi + 0x1ec], ax
mov dword [rsi + 0x58], eax
mov dword [rsi + 0x54], eax
call fcn.18013f6b0
jmp 0x18006c40b
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x40]
mov edi, r12d
mov eax, dword [rsp + 0xb0]
mov dword [r13], eax
mov dword [r13 + 0xc], r15d
mov qword [r13 + 0x20], rbp
cmp dword [rbp + 0x28], r12d
jle 0x18006c46a
mov rbx, r12
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + rbx + 8]
test rcx, rcx
je 0x18006c45f
cmp byte [rcx + 0x11], r12b
je 0x18006c45f
sub dword [rcx + 0x14], 1
jne 0x18006c45f
call fcn.18014cdf0
inc edi
add rbx, 0x20
cmp edi, dword [rbp + 0x28]
jl 0x18006c440
cmp byte [rbp + 0x55], r12b
jne 0x18006c5c3
mov rbx, qword [r13 + 0x18]
mov edx, 1
mov rcx, rbx
call fcn.180152910
test eax, eax
jne 0x18006c4d0
mov rax, qword [rbx + 0x68]
mov ecx, 0x2460
test word [rax + 8], cx
je 0x18006c4aa
mov rdx, qword [rsp + 0xd0]
mov rcx, rax
call fcn.180150ac0
jmp 0x18006c4be
mov rcx, qword [rsp + 0xd0]
mov qword [rax], rcx
mov ecx, 4
mov word [rax + 8], cx
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18006c4d0
call qword [0x1801e59b8]
mov rdx, qword [rsp + 0xd0]
lea r8, [rsp + 0x58]
mov rcx, r13
call fcn.18007a380
mov ebx, dword [rsp + 0x30]
mov r15d, eax
inc ebx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], ebx
cmp ebx, 0x32
jge 0x18006c5bc
cmp eax, 0x11
jne 0x18006c5bc
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xc0]
jmp 0x18006be90
mov r8, r9
lea rdx, str.cannot_open__s_column_for_writing
mov rcx, rbp
call fcn.18011da20
mov r14, rax
mov r15d, 1
mov edi, r12d
cmp dword [rbp + 0x28], r12d
jle 0x18006c56b
mov rbx, r12
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + rbx + 8]
test rcx, rcx
je 0x18006c560
cmp byte [rcx + 0x11], r12b
je 0x18006c560
sub dword [rcx + 0x14], r15d
jne 0x18006c560
call fcn.18014cdf0
inc edi
add rbx, 0x20
cmp edi, dword [rbp + 0x28]
jl 0x18006c541
mov rsi, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
mov rbx, qword [r13 + 0x18]
test rbx, rbx
je 0x18006c59f
mov eax, dword [rbx + 0x44]
cmp eax, 0xbdf20da3
je 0x18006c58f
cmp eax, 0x519c2973
jne 0x18006c597
mov rcx, rbx
call fcn.180141870
mov rcx, rbx
call fcn.180136340
cmp qword [rbp + 0x290], r12
je 0x18006c6e0
mov rdx, r13
mov rcx, rbp
call fcn.1800d60e0
jmp 0x18006c767
mov r14, qword [rsp + 0x58]
jmp 0x18006c5c8
mov r15d, dword [rsp + 0x34]
test r15d, r15d
jne 0x18006c575
mov rdi, qword [rsp + 0xe0]
jmp 0x18006c6c4
mov r8, qword [rsp + 0xc8]
lea rdx, str.no_such_column:___s_
mov rcx, rbp
call fcn.18011da20
mov r14, rax
mov r15d, 1
mov edi, r12d
cmp dword [rbp + 0x28], r12d
jle 0x18006c56b
mov rbx, r12
nop word [rax + rax]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + rbx + 8]
test rcx, rcx
je 0x18006c62f
cmp byte [rcx + 0x11], r12b
je 0x18006c62f
sub dword [rcx + 0x14], r15d
jne 0x18006c62f
call fcn.18014cdf0
inc edi
add rbx, 0x20
cmp edi, dword [rbp + 0x28]
jl 0x18006c610
jmp 0x18006c56b
lea rdx, str.cannot_open_view:__s
jmp 0x18006c658
lea rdx, str.cannot_open_table_without_rowid:__s
jmp 0x18006c658
lea rdx, str.cannot_open_virtual_table:__s
mov r8, rbx
mov rcx, rsi
call fcn.1800fb3f0
mov rax, qword [rsi + 8]
test rax, rax
je 0x18006c673
mov r14, rax
mov qword [rsi + 8], r12
mov r15d, 1
mov ebx, r12d
cmp dword [rbp + 0x28], r12d
jle 0x18006c570
mov rdi, r12
nop dword [rax]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + rdi + 8]
test rcx, rcx
je 0x18006c6af
cmp byte [rcx + 0x11], r12b
je 0x18006c6af
sub dword [rcx + 0x14], r15d
jne 0x18006c6af
call fcn.18014cdf0
inc ebx
add rdi, 0x20
cmp ebx, dword [rbp + 0x28]
jl 0x18006c690
jmp 0x18006c570
mov r14, qword [rsp + 0x50]
cmp byte [rbp + 0x55], r12b
jne 0x18006c6d2
mov qword [rdi], r13
jmp 0x18006c767
test r13, r13
je 0x18006c767
jmp 0x18006c575
cmp r13, qword [rbp + 0x178]
jb 0x18006c70c
cmp r13, qword [rbp + 0x180]
jae 0x18006c70c
mov rax, qword [rbp + 0x170]
mov qword [r13], rax
dec dword [rbp + 0x158]
mov qword [rbp + 0x170], r13
jmp 0x18006c767
cmp dword [0x1801e5920], r12d
je 0x18006c75e
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006c727
call qword [0x1801e59a8]
mov rcx, r13
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, r13
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006c767
call qword [0x1801e59b8]
jmp 0x18006c767
mov rcx, r13
call qword [0x1801e5950]
lea rax, [0x1801c73e0]
test r14, r14
mov r9, r14
mov edx, r15d
cmovne r12, rax
mov rcx, rbp
mov r8, r12
call fcn.1800fb5c0
test r14, r14
je 0x18006c82f
cmp qword [rbp + 0x290], 0
je 0x18006c7a9
mov rdx, r14
mov rcx, rbp
call fcn.1800d60e0
jmp 0x18006c82f
cmp r14, qword [rbp + 0x178]
jb 0x18006c7d4
cmp r14, qword [rbp + 0x180]
jae 0x18006c7d4
mov rax, qword [rbp + 0x170]
mov qword [r14], rax
dec dword [rbp + 0x158]
mov qword [rbp + 0x170], r14
jmp 0x18006c82f
cmp dword [0x1801e5920], 0
je 0x18006c826
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006c7ef
call qword [0x1801e59a8]
mov rcx, r14
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, r14
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006c82f
call qword [0x1801e59b8]
jmp 0x18006c82f
mov rcx, r14
call qword [0x1801e5950]
test rsi, rsi
je 0x18006c9d0
mov rdi, qword [rsi + 0x88]
mov rbx, qword [rsi]
test rdi, rdi
je 0x18006c90e
test rbx, rbx
je 0x18006c8b3
cmp qword [rbx + 0x290], 0
je 0x18006c879
mov rdx, rdi
mov rcx, rbx
call fcn.1800d60e0
mov rdx, qword [rsi + 0x158]
mov rcx, rbx
call fcn.1800ffe70
jmp 0x18006c922
cmp rdi, qword [rbx + 0x178]
jb 0x18006c8b3
cmp rdi, qword [rbx + 0x180]
jae 0x18006c8b3
mov rax, qword [rbx + 0x170]
mov rcx, rbx
mov qword [rdi], rax
dec dword [rbx + 0x158]
mov qword [rbx + 0x170], rdi
mov rdx, qword [rsi + 0x158]
call fcn.1800ffe70
jmp 0x18006c922
cmp dword [0x1801e5920], 0
je 0x18006c905
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006c8ce
call qword [0x1801e59a8]
mov rcx, rdi
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rdi
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006c90e
call qword [0x1801e59b8]
jmp 0x18006c90e
mov rcx, rdi
call qword [0x1801e5950]
mov rdx, qword [rsi + 0x158]
mov rcx, rbx
call fcn.1800ffe70
test rbx, rbx
je 0x18006c92c
movzx eax, byte [rsi + 0x24]
sub dword [rbx + 0x150], eax
mov byte [rsi + 0x24], 0
cmp qword [rbp + 0x290], 0
je 0x18006c94a
mov rdx, rsi
mov rcx, rbp
call fcn.1800d60e0
jmp 0x18006c9d0
cmp rsi, qword [rbp + 0x178]
jb 0x18006c975
cmp rsi, qword [rbp + 0x180]
jae 0x18006c975
mov rax, qword [rbp + 0x170]
mov qword [rsi], rax
dec dword [rbp + 0x158]
mov qword [rbp + 0x170], rsi
jmp 0x18006c9d0
cmp dword [0x1801e5920], 0
je 0x18006c9c7
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006c990
call qword [0x1801e59a8]
mov rcx, rsi
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rsi
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x18006c9d0
call qword [0x1801e59b8]
jmp 0x18006c9d0
mov rcx, rsi
call qword [0x1801e5950]
cmp byte [rbp + 0x55], 0
jne 0x18006c9e5
cmp r15d, 0xc0a
je 0x18006c9e5
and r15d, dword [rbp + 0x48]
jmp 0x18006c9f0
mov rcx, rbp
call fcn.1800772f0
mov r15d, eax
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x18006c9ff
call qword [0x1801e59b8]
mov eax, r15d
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret