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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov edi, dword [rsp + 0x110]
mov eax, 1
mov rbx, qword [rcx]
mov r14, rdx
mov dword [rsp + 0x58], edi
mov r15, rcx
add edi, eax
mov byte [rsp + 0x40], al
mov dword [rsp + 0x4c], edi
add edi, eax
mov dword [rsp + 0x44], edi
add edi, eax
mov r13d, edi
mov dword [rsp + 0x110], edi
add edi, eax
mov qword [rsp + 0x88], rbx
mov dword [rsp + 0x54], edi
add edi, eax
mov dword [rsp + 0x64], edi
add edi, eax
mov dword [rsp + 0x60], edi
add edi, eax
mov eax, dword [rcx + 0x54]
cmp eax, edi
cmovle eax, edi
mov dword [rcx + 0x54], eax
call fcn.140041c70
mov rsi, rax
test rax, rax
je 0x1400197b8
test r14, r14
je 0x1400197b8
cmp dword [r14 + 0x3c], 0
je 0x1400197b8
mov rcx, qword [r14]
lea rdx, str.sqlite_
mov r8d, 7
call fcn.140010908
test eax, eax
je 0x1400197b8
mov rdx, qword [r14 + 0x70]
mov rcx, rbx
call fcn.14004cd30
mov rcx, qword [rbx + 0x20]
xor r9d, r9d
mov r8, qword [r14]
movsxd rbp, eax
mov rdx, rbp
mov dword [rsp + 0x68], ebp
shl rdx, 5
mov rdx, qword [rdx + rcx]
mov rcx, r15
mov qword [rsp + 0x20], rdx
lea edx, [r9 + 0x1c]
call fcn.140033c44
test eax, eax
jne 0x1400197b8
mov rax, qword [r14]
xor r9d, r9d
mov r8d, dword [r14 + 0x3c]
mov edx, ebp
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14004f784
mov eax, dword [r15 + 0x50]
mov r9, r14
mov r12d, dword [rsp + 0x118]
mov r8d, ebp
mov edx, r12d
mov dword [rsp + 0x20], 0x36
inc r12d
mov dword [rsp + 0x70], edx
mov dword [rsp + 0x118], r12d
lea ecx, [r12 + 1]
cmp eax, ecx
cmovle eax, ecx
mov rcx, r15
mov dword [r15 + 0x50], eax
call fcn.1400452c0
mov rax, qword [r14]
xor r8d, r8d
and dword [rsp + 0x30], 0
mov rcx, rsi
mov r9d, dword [rsp + 0x54]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea edx, [r8 + 0x61]
call fcn.1400524e4
mov rbp, qword [r14 + 0x10]
mov qword [rsp + 0x90], rbp
test rbp, rbp
je 0x1400196e6
mov rax, qword [rsp + 0x100]
test rax, rax
je 0x140019299
cmp rax, rbp
jne 0x1400196d1
mov rax, qword [rbp + 0x48]
neg rax
sbb cl, cl
and byte [rsp + 0x40], cl
test byte [r14 + 0x48], 0x20
je 0x1400192c2
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
jne 0x1400192c2
movzx ebx, word [rbp + 0x5e]
mov rax, r14
mov r13d, ebx
jmp 0x1400192d7
test byte [rbp + 0x64], 8
mov rax, rbp
movzx ebx, word [rbp + 0x60]
mov r13d, ebx
je 0x1400192d7
movzx r13d, word [rbp + 0x5e]
mov rax, qword [rax]
lea ecx, [r13 - 1]
and dword [rsp + 0x30], 0
xor r8d, r8d
mov r9d, dword [rsp + 0x64]
mov dword [rsp + 0x5c], ecx
mov rcx, rsi
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea edx, [r8 + 0x61]
call fcn.1400524e4
mov eax, dword [r15 + 0x54]
lea ecx, [rdi - 1]
add ecx, r13d
mov r8d, r12d
cmp eax, ecx
mov edx, 0x36
cmovle eax, ecx
mov rcx, rsi
mov dword [r15 + 0x54], eax
mov eax, dword [rsp + 0x68]
mov r9d, dword [rbp + 0x58]
mov dword [rsp + 0x20], eax
call fcn.14005244c
mov rdx, rbp
mov rcx, r15
call fcn.14005a57c
mov r9d, dword [rsp + 0x4c]
mov r8d, ebx
inc r9d
mov edx, 0x19
mov rcx, rsi
call fcn.140052438
mov ebx, dword [rsp + 0x4c]
mov edx, 0x19
movzx r8d, word [rbp + 0x5e]
mov rcx, rsi
lea r9d, [rbx + 2]
call fcn.140052438
xor r8d, r8d
mov dword [rsp + 0x20], ebx
lea r9d, [rbx + 1]
mov rcx, rsi
lea edx, [r8 + 1]
call fcn.14005244c
mov r9d, 0xfffffffb
lea r8, [0x140098b00]
or edx, 0xffffffff
mov rcx, rsi
call fcn.140052754
mov dl, 2
mov rcx, rsi
call fcn.14005285c
mov r8d, r12d
mov rcx, rsi
mov edx, 0x6c
call fcn.140052420
mov r9d, dword [rsp + 0x44]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x6c], eax
lea edx, [r8 + 0x19]
call fcn.140052438
mov rcx, rsi
call fcn.14001bed4
mov dword [rsp + 0x50], eax
lea eax, [r13 - 1]
test eax, eax
jle 0x1400195d7
call fcn.140058b88
mov rcx, qword [rsp + 0x88]
mov edx, r13d
mov dword [rsp + 0x48], eax
lea rdx, [rdx*4 - 4]
call fcn.140039bd0
mov qword [rsp + 0x80], rax
mov rbx, rax
test rax, rax
je 0x1400196c1
mov edx, 0x10
mov rcx, rsi
call fcn.140052404
mov rcx, rsi
call fcn.14001bed4
mov dword [rsp + 0x50], eax
mov ecx, 1
lea eax, [r13 - 1]
cmp eax, ecx
jne 0x140019464
cmp word [rbp + 0x5e], cx
jne 0x140019464
cmp byte [rbp + 0x62], 0
je 0x140019464
mov r9d, dword [rsp + 0x48]
lea edx, [rcx + 0x4c]
mov rcx, rsi
mov r8d, edi
call fcn.140052438
mov r13d, dword [rsp + 0x118]
xor r12d, r12d
xor r14d, r14d
mov qword [rsp + 0x78], rbx
mov rdx, qword [rbp + 0x40]
mov rcx, r15
mov rdx, qword [r14 + rdx]
call fcn.14004444c
mov r9d, dword [rsp + 0x44]
mov r8d, r12d
mov edx, 0x19
mov rcx, rsi
mov rbx, rax
call fcn.140052438
mov eax, dword [rsp + 0x110]
mov r9d, r12d
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov edx, 0x2f
mov rcx, rsi
call fcn.14005244c
mov r8d, dword [rsp + 0x110]
lea ecx, [r12 + rdi]
xor r9d, r9d
mov dword [rsp + 0x30], 0xfffffffc
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ecx
mov rcx, rsi
lea edx, [r9 + 0x4e]
call fcn.1400524e4
mov r9, qword [rsp + 0x78]
mov dl, 0x80
mov rcx, rsi
mov dword [r9], eax
call fcn.14005285c
mov eax, dword [rsp + 0x5c]
lea r14, [r14 + 8]
add r9, 4
inc r12d
mov qword [rsp + 0x78], r9
cmp r12d, eax
jl 0x140019477
mov r9d, dword [rsp + 0x44]
mov r8d, eax
mov edx, 0x19
mov rcx, rsi
call fcn.140052438
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.140052438
mov edx, dword [rsp + 0x50]
mov rcx, rsi
dec edx
call fcn.140058778
mov r13, qword [rsp + 0x80]
xor ebx, ebx
mov r14, qword [rsp + 0xf8]
mov r12d, dword [rsp + 0x118]
mov r15d, dword [rsp + 0x5c]
lea ebp, [rbx + 1]
mov edx, dword [r13]
mov rcx, rsi
call fcn.140058778
lea ecx, [rbx + rdi]
mov r9d, ebx
mov dword [rsp + 0x20], ecx
mov r8d, r12d
mov rcx, rsi
mov edx, 0x2f
call fcn.14005244c
add ebx, ebp
lea r13, [r13 + 4]
cmp ebx, r15d
jl 0x140019571
mov edx, dword [rsp + 0x48]
mov rcx, rsi
call fcn.14005a15c
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.140039b7c
mov rbp, qword [rsp + 0x90]
mov r15, qword [rsp + 0xf0]
mov ebx, dword [rsp + 0x4c]
mov r13d, dword [rsp + 0x110]
mov eax, 1
mov r8d, eax
mov dword [rsp + 0x20], r13d
mov edx, eax
mov r9d, ebx
mov rcx, rsi
call fcn.14005244c
mov r9d, 0xfffffffb
lea r8, [0x140098b50]
or edx, 0xffffffff
mov rcx, rsi
call fcn.140052754
mov dl, 2
mov rcx, rsi
call fcn.14005285c
mov r9d, dword [rsp + 0x50]
mov r8d, r12d
mov rcx, rsi
mov edx, 9
call fcn.140052438
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call fcn.14001c42c
and dword [rsp + 0x30], 0
lea rax, [0x14009f6b8]
mov r8d, dword [rsp + 0x54]
mov r9d, 3
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x2e]
call fcn.1400524e4
mov r9d, dword [rsp + 0x58]
mov edx, 0x4a
mov r8d, dword [rsp + 0x108]
mov rcx, rsi
call fcn.140052438
mov eax, dword [rsp + 0x58]
mov r9d, r13d
mov r8d, dword [rsp + 0x108]
mov edx, 0x4b
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.14005244c
mov dl, 8
mov rcx, rsi
call fcn.14005285c
mov edx, dword [rsp + 0x6c]
mov rcx, rsi
call fcn.140058778
jmp 0x1400196c9
mov r13d, dword [rsp + 0x110]
mov rax, qword [rsp + 0x100]
mov rbp, qword [rbp + 0x28]
mov qword [rsp + 0x90], rbp
test rbp, rbp
jne 0x14001928b
cmp qword [rsp + 0x100], 0
jne 0x1400197b8
cmp byte [rsp + 0x40], 0
je 0x1400197b8
mov r9d, dword [rsp + 0x60]
mov edx, 0x32
mov r8d, dword [rsp + 0x70]
mov rcx, rsi
call fcn.140052438
mov r8d, dword [rsp + 0x60]
mov edx, 0x2e
mov rcx, rsi
call fcn.140052420
mov r9d, dword [rsp + 0x64]
xor r8d, r8d
mov rcx, rsi
mov ebx, eax
lea edx, [r8 + 0x1c]
call fcn.140052438
and dword [rsp + 0x30], 0
lea rax, [0x14009f6b8]
mov r8d, dword [rsp + 0x54]
mov r9d, 3
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov dword [rsp + 0x20], r13d
lea edx, [r9 + 0x2e]
call fcn.1400524e4
mov ebp, dword [rsp + 0x58]
mov edx, 0x4a
mov r8d, dword [rsp + 0x108]
mov r9d, ebp
mov rcx, rsi
call fcn.140052438
mov r8d, dword [rsp + 0x108]
mov r9d, r13d
mov edx, 0x4b
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.14005244c
mov dl, 8
mov rcx, rsi
call fcn.14005285c
mov rcx, rsi
mov edx, ebx
call fcn.140058778
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret