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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rcx]
mov edi, r9d
mov r12, r8
mov rbx, rcx
test r8, r8
je 0x1800354cb
lea r9, [rax + 8]
mov qword [rax - 0x38], rsi
call fcn.1800353b4
mov rdx, qword [rsp + 0x60]
mov ebp, eax
jmp 0x1800354d2
movzx ebp, byte [rsi + 0x98]
test ebp, ebp
js 0x1800355c5
mov r14d, 1
test edi, edi
je 0x1800354f8
cmp dword [r12 + 8], 0
jbe 0x1800354f5
cmp ebp, r14d
jne 0x1800355c5
mov ebp, r14d
movdqu xmm0, xmmword [rdx]
mov rcx, rsi
movdqu xmmword [rbx + 0x238], xmm0
call fcn.18003526c
mov r12, rax
test rax, rax
je 0x1800355c5
mov rdx, rax
mov rcx, rbx
call fcn.180035440
test eax, eax
jne 0x1800355ba
cmp byte [rsi + 0x98], r14b
mov rax, qword [rsi + 0x20]
movsxd r13, ebp
cmove edi, r14d
shl r13, 5
lea r8, str.sqlite_temp_master
mov r15, qword [r13 + rax]
lea rax, str.sqlite_master
cmp edi, r14d
cmovne r8, rax
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 0x12]
mov qword [rsp + 0x20], r15
call fcn.180034634
test eax, eax
jne 0x1800355ba
cmp dword [rsp + 0x80], eax
je 0x180035588
neg edi
sbb edx, edx
and edx, 0xfffffffe
add edx, 8
jmp 0x180035592
neg edi
sbb edx, edx
and edx, 2
add edx, 2
mov r14d, dword [rsp + 0x88]
test r14d, r14d
jne 0x1800355e2
xor r9d, r9d
mov r8, r12
mov rcx, rbx
mov qword [rsp + 0x20], r15
call fcn.180034634
xor r15d, r15d
cmp eax, r15d
je 0x1800355e5
mov rdx, r12
mov rcx, rsi
call fcn.180005a84
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r15d, r15d
cmp byte [rbx + 0x1f3], r15b
jne 0x180035644
mov rax, qword [rsi + 0x20]
mov rcx, rbx
mov rdi, qword [r13 + rax]
call fcn.18004778c
cmp eax, r15d
jne 0x1800355ba
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call fcn.180034b7c
cmp rax, r15
je 0x18003562d
cmp dword [rsp + 0x90], r15d
je 0x1800355ba
mov edx, ebp
mov rcx, rbx
call fcn.1800396a8
jmp 0x1800355ba
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call fcn.180034ce0
cmp rax, r15
jne 0x1800355ba
mov edx, 0x80
mov rcx, rsi
call fcn.180005cd8
mov rdi, rax
cmp rax, r15
jne 0x180035670
mov eax, 1
mov byte [rsi + 0x50], al
add dword [rbx + 0x4c], eax
mov dword [rbx + 0x18], 7
jmp 0x1800355ba
mov qword [rax], r12
or eax, 0xffffffff
mov word [rdi + 0x40], ax
mov rax, qword [rsi + 0x20]
mov rcx, qword [rax + r13 + 0x18]
mov eax, 1
mov word [rdi + 0x44], ax
mov qword [rdi + 0x70], rcx
mov eax, 0xc8
mov word [rdi + 0x38], ax
mov qword [rbx + 0x220], rdi
cmp byte [rbx + 0x1e], r15b
jne 0x1800356c2
lea rdx, str.sqlite_sequence
mov rcx, r12
call fcn.180062aac
cmp eax, r15d
jne 0x1800356c2
mov rax, qword [rdi + 0x70]
mov qword [rax + 0x68], rdi
cmp byte [rsi + 0x99], r15b
jne 0x1800355c5
mov rcx, rbx
call fcn.18004a4ec
mov rdi, rax
cmp rax, r15
je 0x1800355c5
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call fcn.18003978c
cmp r14d, r15d
je 0x18003570d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8e
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.18001eb5c
mov r15d, dword [rbx + 0x54]
mov r8d, ebp
mov edx, 0x32
inc r15d
mov rcx, rdi
mov dword [rsp + 0x20], 2
lea r12d, [r15 + 1]
mov dword [rbx + 0x1a0], r15d
lea r13d, [r12 + 1]
mov dword [rbx + 0x1a4], r12d
mov r9d, r13d
mov dword [rbx + 0x54], r13d
call fcn.18001eb5c
mov edx, ebp
mov rcx, rdi
call fcn.18001f578
and dword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 0x2c]
mov r8d, r13d
mov rcx, rdi
call fcn.18001eb5c
mov ecx, dword [rsi + 0x2c]
mov r9d, r13d
and ecx, 0x8000
mov edx, 0x19
mov dword [rsp + 0x60], eax
neg ecx
mov rcx, rdi
sbb r8d, r8d
and dword [rsp + 0x20], 0
and r8d, 0xfffffffd
add r8d, 4
call fcn.18001eb5c
mov r9d, 2
mov r8d, ebp
lea edx, [r9 + 0x31]
mov rcx, rdi
mov dword [rsp + 0x20], r13d
call fcn.18001eb5c
mov r11, qword [rsi + 0x20]
xor esi, esi
mov rax, qword [r11 + 0x18]
lea edx, [rsi + 0x19]
mov r9d, r13d
movzx r8d, byte [rax + 0x71]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.18001eb5c
lea r9d, [rsi + 5]
lea edx, [rsi + 0x33]
mov r8d, ebp
mov rcx, rdi
mov dword [rsp + 0x20], r13d
call fcn.18001eb5c
mov edx, dword [rdi + 0x3c]
mov eax, dword [rsp + 0x60]
cmp edx, eax
jbe 0x180035803
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
cmp dword [rsp + 0x80], esi
jne 0x18003583c
cmp r14d, esi
jne 0x18003583c
mov r9d, r12d
mov r8d, ebp
mov edx, 0x77
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.18001eb5c
mov dword [rbx + 0x1d0], eax
jmp 0x180035852
xor r8d, r8d
mov r9d, r12d
mov rcx, rdi
lea edx, [r8 + 0x19]
mov dword [rsp + 0x20], esi
call fcn.18001eb5c
mov edx, ebp
mov rcx, rbx
call fcn.18003529c
xor r8d, r8d
mov r9d, r15d
lea edx, [r8 + 0x46]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.18001eb5c
xor r8d, r8d
mov r9d, r13d
lea edx, [r8 + 0x1c]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.18001eb5c
xor r8d, r8d
mov r9d, r13d
lea edx, [r8 + 0x49]
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.18001eb5c
mov r11, qword [rdi + 8]
cmp r11, rsi
je 0x1800358b6
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 8
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x3b]
mov dword [rsp + 0x20], esi
call fcn.18001eb5c
jmp 0x1800355c5