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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov r15, qword [rcx]
mov rbx, qword [rdx + 0x50]
xor eax, eax
mov ebp, eax
mov dword [rsp + 0x100], eax
mov qword [rsp + 0x58], rax
mov r12d, eax
mov rax, qword [r8]
mov rdi, rcx
lea rcx, [rsp + 0x60]
mov r14, r8
mov r13, rdx
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov qword [rsp + 0x78], r15
mov qword [rcx + 8], rax
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
cmp qword [rbx + 0x48], rbp
je 0x180074ad0
movzx ecx, byte [rdx + 8]
sub ecx, 0x74
je 0x180074aaf
sub ecx, 1
je 0x180074aa6
cmp ecx, 1
je 0x180074a9d
lea r8, str.UNION
jmp 0x180074ab6
lea r8, str.INTERSECT
jmp 0x180074ab6
lea r8, str.EXCEPT
jmp 0x180074ab6
lea r8, str.UNION_ALL
lea rdx, str.ORDER_BY_clause_should_come_after__s_not_before
mov rcx, rdi
call fcn.18003b940
mov r14d, 1
jmp 0x1800753c5
cmp qword [rbx + 0x60], rbp
je 0x180074b25
movzx ecx, byte [rdx + 8]
sub ecx, 0x74
je 0x180074b04
sub ecx, 1
je 0x180074afb
cmp ecx, 1
je 0x180074af2
lea r8, str.UNION
jmp 0x180074b0b
lea r8, str.INTERSECT
jmp 0x180074b0b
lea r8, str.EXCEPT
jmp 0x180074b0b
lea r8, str.UNION_ALL
lea rdx, str.LIMIT_clause_should_come_after__s_not_before
mov rcx, rdi
call fcn.18003b940
mov r14d, 1
jmp 0x1800753c5
mov rcx, rdi
call fcn.180049910
movzx r8d, byte [rsp + 0x60]
mov rsi, rax
cmp r8b, 0xc
jne 0x180074b78
mov rax, qword [r13]
mov r8d, dword [rsp + 0x64]
mov edx, 0x39
mov r9d, dword [rax]
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.180042780
mov r11, qword [rsi + 8]
test r11, r11
je 0x180074b70
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 8
mov r8b, 0xe
mov byte [rsp + 0x60], r8b
movzx r9d, word [r13 + 0xa]
mov eax, 0x100
test ax, r9w
je 0x180074ba0
lea r8, [rsp + 0x60]
mov rdx, r13
mov rcx, rdi
call fcn.180044970
mov r14d, eax
jmp 0x1800753c5
mov rax, qword [rbx]
mov rdx, qword [r13]
mov ecx, dword [rax]
cmp dword [rdx], ecx
je 0x180074bc3
mov rdx, r13
mov rcx, rdi
call fcn.18003eaf0
mov r14d, 1
jmp 0x1800753c5
mov eax, 0x800
test ax, r9w
je 0x180074be9
lea r8, [rsp + 0x60]
mov rdx, r13
mov rcx, rdi
call fcn.180071aa0
mov r14d, ebp
xor r15d, r15d
jmp 0x180075281
cmp qword [r13 + 0x48], rbp
je 0x180074c02
mov r8, r14
mov rdx, r13
mov rcx, rdi
call fcn.180070000
jmp 0x1800753f3
movzx ecx, byte [r13 + 8]
sub ecx, 0x73
je 0x180075008
sub ecx, 1
je 0x180074ee2
cmp ecx, 1
je 0x180075008
mov ebp, dword [rdi + 0x50]
xor r9d, r9d
mov rcx, rsi
lea r15d, [rbp + 1]
lea edx, [r9 + 0x39]
mov r8d, ebp
lea eax, [r15 + 1]
mov dword [rsp + 0x20], r12d
mov dword [rdi + 0x50], eax
call fcn.180042780
mov rcx, r13
mov dword [r13 + 0x14], eax
mov rax, qword [r13 + 0x58]
test rax, rax
je 0x180074c6c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x180074c60
or word [rcx + 0xa], 8
mov eax, dword [rdi + 0x204]
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x118], eax
mov byte [rsp + 0x80], 1
mov dword [rsp + 0x84], ebp
mov byte [rsp + 0x81], r12b
mov dword [rsp + 0x88], r12d
mov dword [rsp + 0x8c], r12d
call fcn.180096280
mov r14d, eax
test eax, eax
jne 0x1800753c5
lea edx, [rax + 0x39]
xor r9d, r9d
mov r8d, r15d
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.180042780
mov r14, qword [r13 + 0x68]
mov qword [r13 + 0x50], r12
mov r12, qword [r13 + 0x60]
mov dword [r13 + 0x18], eax
xor eax, eax
mov qword [r13 + 0x60], rax
mov qword [r13 + 0x68], rax
mov eax, dword [rdi + 0x204]
lea r8, [rsp + 0x80]
mov rdx, r13
mov rcx, rdi
mov dword [rsp + 0x108], eax
mov dword [rsp + 0x84], r15d
call fcn.180096280
mov dword [rsp + 0x100], eax
mov rax, qword [r13 + 0x50]
mov qword [r13 + 0x50], rbx
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x20]
cmp qword [r13 + 0x20], rax
jbe 0x180074d3d
mov qword [r13 + 0x20], rax
mov rdx, qword [r13 + 0x60]
mov rcx, qword [rsp + 0x78]
call fcn.18003ac70
cmp byte [rsp + 0x60], 9
mov qword [r13 + 0x60], r12
mov qword [r13 + 0x68], r14
jne 0x180074d89
mov rax, qword [r13 + 0x50]
mov r8, r13
test rax, rax
je 0x180074d7c
nop word [rax + rax]
mov r8, rax
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x180074d70
mov r8, qword [r8]
xor edx, edx
mov rcx, rdi
call fcn.18005d5b0
mov rcx, rsi
call fcn.180042710
mov rcx, rsi
mov r12d, eax
call fcn.180042710
mov r8d, r12d
mov rdx, r13
mov rcx, rdi
mov r14d, eax
call fcn.180050f30
xor r15d, r15d
mov r9d, r12d
lea edx, [r15 + 0x6c]
mov r8d, ebp
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180042780
movzx ecx, byte [rdi + 0x1f]
test cl, cl
jne 0x180074dd7
inc dword [rdi + 0x54]
mov ebx, dword [rdi + 0x54]
jmp 0x180074de3
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0x24]
mov r9d, ebx
mov r8d, ebp
mov edx, 0x65
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180042780
lea r8d, [rbp + 1]
mov r9d, r14d
mov edx, 0x44
mov rcx, rsi
mov dword [rsp + 0x28], 0
mov r15d, eax
mov dword [rsp + 0x20], ebx
call fcn.18004d7b0
mov edx, ebx
mov rcx, rdi
call fcn.18000fab0
mov r8, qword [r13]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r14d
lea rax, [rsp + 0x60]
xor ebx, ebx
mov qword [rsp + 0x30], rax
mov r9d, ebp
mov rdx, r13
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.18006ce80
mov r8, qword [rsi + 0x30]
or eax, 0xffffffff
sub eax, r14d
js 0x180074e78
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x180074e78
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
mov r9d, r15d
mov edx, 9
dec eax
mov rcx, rsi
mov dword [rsp + 0x20], ebx
mov dword [r8 + 0x64], eax
mov r8d, ebp
call fcn.180042780
mov r11, qword [rsi + 0x30]
or eax, 0xffffffff
sub eax, r12d
js 0x180074eb9
mov rdx, qword [r11 + 0x80]
test rdx, rdx
je 0x180074eb9
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
xor r15d, r15d
lea r8d, [rbp + 1]
dec eax
lea edx, [r15 + 0x3d]
xor r9d, r9d
mov rcx, rsi
mov dword [rsp + 0x20], r15d
mov dword [r11 + 0x64], eax
call fcn.180042780
jmp 0x180075253
mov eax, dword [r13 + 0xc]
lea r8, [rsp + 0x60]
mov rdx, rbx
mov dword [rbx + 0xc], eax
mov eax, dword [r13 + 0x10]
mov rcx, rdi
mov dword [rbx + 0x10], eax
mov rax, qword [r13 + 0x60]
xor r15d, r15d
mov qword [rbx + 0x60], rax
mov rax, qword [r13 + 0x68]
mov qword [rbx + 0x68], rax
mov eax, dword [rdi + 0x204]
mov dword [rsp + 0x118], eax
call fcn.180096280
mov qword [r13 + 0x60], r15
mov r14d, eax
mov qword [r13 + 0x68], r15
test eax, eax
jne 0x1800753c5
mov qword [r13 + 0x50], r15
mov r8d, dword [rbx + 0xc]
mov dword [r13 + 0xc], r8d
mov eax, dword [rbx + 0x10]
mov dword [r13 + 0x10], eax
test r8d, r8d
je 0x180074f62
xor r9d, r9d
mov edx, 0x8b
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180042780
mov ebp, eax
mov eax, dword [rdi + 0x204]
lea r8, [rsp + 0x60]
mov rdx, r13
mov rcx, rdi
mov dword [rsp + 0x108], eax
call fcn.180096280
mov r14d, eax
mov dword [rsp + 0x100], eax
mov rax, qword [r13 + 0x50]
mov qword [r13 + 0x50], rbx
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x58], rax
add qword [r13 + 0x20], rcx
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x180074fda
bt dword [rcx + 4], 0xa
jae 0x180074fb7
mov eax, dword [rcx + 8]
mov dword [rsp + 0x50], eax
jmp 0x180074fc9
lea rdx, [rsp + 0x50]
call fcn.180010120
test eax, eax
je 0x180074fda
mov eax, dword [rsp + 0x50]
test eax, eax
jle 0x180074fda
movsxd rcx, eax
cmp qword [r13 + 0x20], rcx
jbe 0x180074fda
mov qword [r13 + 0x20], rcx
test ebp, ebp
je 0x180075272
mov edx, dword [rsi + 0x3c]
cmp edx, ebp
jbe 0x180074ff7
mov eax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
jmp 0x180075272
cmp r8b, 1
jne 0x180075014
mov ebp, dword [rsp + 0x64]
jmp 0x180075055
mov ebp, dword [rdi + 0x50]
xor r9d, r9d
mov rcx, rsi
lea eax, [rbp + 1]
lea edx, [r9 + 0x39]
mov r8d, ebp
mov dword [rdi + 0x50], eax
mov dword [rsp + 0x20], r12d
call fcn.180042780
mov dword [r13 + 0x14], eax
mov rax, qword [r13 + 0x58]
mov rcx, r13
test rax, rax
je 0x180075050
mov rcx, rax
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x180075044
or word [rcx + 0xa], 8
xor eax, eax
lea r8, [rsp + 0x98]
mov rdx, rbx
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0xa4], eax
mov eax, dword [rdi + 0x204]
mov rcx, rdi
mov byte [rsp + 0x98], 1
mov dword [rsp + 0x9c], ebp
mov dword [rsp + 0x118], eax
mov byte [rsp + 0x99], r12b
call fcn.180096280
mov r14d, eax
test eax, eax
jne 0x1800753c5
cmp byte [r13 + 8], 0x75
mov r12, qword [r13 + 0x60]
mov r14, qword [r13 + 0x68]
sete al
xor ecx, ecx
lea r8, [rsp + 0x98]
inc al
mov qword [r13 + 0x50], rcx
mov qword [r13 + 0x60], rcx
mov qword [r13 + 0x68], rcx
mov byte [rsp + 0x98], al
mov eax, dword [rdi + 0x204]
mov rdx, r13
mov rcx, rdi
mov dword [rsp + 0x108], eax
call fcn.180096280
mov rdx, qword [r13 + 0x48]
mov rcx, r15
mov dword [rsp + 0x100], eax
call fcn.1800415b0
cmp byte [r13 + 8], 0x73
mov rax, qword [r13 + 0x50]
mov qword [r13 + 0x48], 0
mov qword [r13 + 0x50], rbx
mov qword [rsp + 0x58], rax
jne 0x180075125
mov rax, qword [rbx + 0x20]
add qword [r13 + 0x20], rax
mov rdx, qword [r13 + 0x60]
mov rcx, r15
call fcn.18003ac70
movzx eax, byte [rsp + 0x60]
xor r15d, r15d
mov qword [r13 + 0x60], r12
mov qword [r13 + 0x68], r14
mov dword [r13 + 0xc], r15d
mov dword [r13 + 0x10], r15d
cmp al, 1
je 0x18007526a
cmp al, 9
jne 0x18007517a
mov rax, qword [r13 + 0x50]
mov r8, r13
test rax, rax
je 0x18007516d
mov r8, rax
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x180075161
mov r8, qword [r8]
xor edx, edx
mov rcx, rdi
call fcn.18005d5b0
mov rcx, rsi
call fcn.180042710
mov rcx, rsi
mov r12d, eax
call fcn.180042710
mov r8d, r12d
mov rdx, r13
mov rcx, rdi
mov ebx, eax
call fcn.180050f30
mov r9d, r12d
mov r8d, ebp
mov edx, 0x6c
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180042780
mov r8, qword [r13]
mov r14d, dword [rsi + 0x3c]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov r9d, ebp
mov rdx, r13
mov rcx, rdi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call fcn.18006ce80
mov r8, qword [rsi + 0x30]
or eax, 0xffffffff
sub eax, ebx
js 0x180075208
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x180075208
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
mov r9d, r14d
mov edx, 9
dec eax
mov rcx, rsi
mov dword [rsp + 0x20], r15d
mov dword [r8 + 0x64], eax
mov r8d, ebp
call fcn.180042780
mov r11, qword [rsi + 0x30]
or eax, 0xffffffff
sub eax, r12d
js 0x18007524a
mov rdx, qword [r11 + 0x80]
test rdx, rdx
je 0x18007524a
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r11 + 0x64], eax
xor r9d, r9d
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x3d]
mov dword [rsp + 0x20], r15d
call fcn.180042780
mov r14d, dword [rsp + 0x100]
mov ebp, dword [rsp + 0x108]
mov r12d, dword [rsp + 0x118]
movzx edx, byte [r13 + 8]
mov eax, r15d
mov r9d, ebp
cmp dl, 0x74
mov r8d, r12d
mov rcx, rdi
setne al
mov dword [rsp + 0x20], eax
call fcn.1800519a0
test byte [r13 + 0xa], 8
je 0x1800753c5
mov rax, qword [r13]
mov r14, qword [rsp + 0x78]
mov r8d, 1
mov r15d, dword [rax]
mov rcx, r14
mov edx, r15d
call fcn.180031c10
mov r12, rax
test rax, rax
jne 0x1800752da
lea r14d, [rax + 7]
jmp 0x1800753c5
xor ebp, ebp
lea rbx, [rax + 0x20]
test r15d, r15d
jle 0x180075320
nop word [rax + rax]
mov r8d, ebp
mov rdx, r13
mov rcx, rdi
call fcn.180069e30
mov qword [rbx], rax
test rax, rax
jne 0x18007530d
mov rax, qword [r14 + 0x10]
mov qword [rbx], rax
inc ebp
add rbx, 8
cmp ebp, r15d
jl 0x1800752f0
nop dword [rax + rax]
xor r14d, r14d
lea rbp, [r13 + 0x14]
movsxd rdx, dword [rbp]
test edx, edx
js 0x1800753a1
cmp dword [rsi + 0x3c], edx
jbe 0x180075343
mov eax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], r15d
inc dword [r12]
mov rdi, qword [rsi + 8]
mov rcx, qword [rsi]
test rdi, rdi
je 0x180075380
cmp byte [rcx + 0x51], 0
jne 0x180075380
lea rbx, [rdx + rdx*2]
movsx edx, byte [rdi + rbx*8 + 1]
mov r8, qword [rdi + rbx*8 + 0x10]
call fcn.180046990
mov qword [rdi + rbx*8 + 0x10], r12
mov byte [rdi + rbx*8 + 1], 0xfa
jmp 0x18007538d
mov r8, r12
mov edx, 0xfffffffa
call fcn.180046990
inc r14
mov dword [rbp], 0xffffffff
add rbp, 4
cmp r14, 2
jl 0x180075327
mov r13, qword [r13 + 0x50]
test r13, r13
jne 0x180075320
add dword [r12], 0xffffffff
jne 0x1800753bd
mov rcx, r12
call sym.SQLite.Interop.dll_sqlite3_free
mov r14d, dword [rsp + 0x100]
mov rcx, qword [rsp + 0x110]
mov eax, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov dword [rcx + 8], eax
mov eax, dword [rsp + 0x6c]
mov r8d, 1
mov dword [rcx + 0xc], eax
mov rcx, qword [rsp + 0x78]
call fcn.180036240
mov eax, r14d
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret