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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [rcx]
xor ebx, ebx
mov r15, rdx
movsxd r12, dword [rax + 0x5c]
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
mov r14, rcx
mov qword [rbp + 0x7f], rbx
cmp qword [rcx + 0x90], rbx
jne 0x18011b728
call fcn.18010f120
mov qword [r14 + 0x88], rax
cmp dword [r14 + 0x3c], ebx
jne 0x18011b728
mov rcx, r14
call fcn.18010f060
mov qword [r14 + 0x90], rax
mov qword [rsp + 0xa8], r13
cmp dword [r14 + 0x3c], ebx
jne 0x18011bd12
mov rax, qword [r14 + 0x90]
inc dword [rax]
mov r13, qword [r14 + 0x90]
mov qword [rbp - 1], r13
test r13, r13
je 0x18011bd12
mov qword [rsp + 0xb8], rsi
xor esi, esi
mov qword [rsp + 0xb0], rdi
cmp dword [r13 + 0x1c], ebx
jle 0x18011b7a9
lea rdi, [r13 + 0x24]
xor ebx, ebx
cmp dword [rdi], ebx
jle 0x18011b799
nop dword [rax]
movsxd rdx, ebx
mov rcx, r14
imul rdx, rdx, 0x38
add rdx, qword [rdi + 4]
call fcn.18011b1f0
inc ebx
cmp ebx, dword [rdi]
jl 0x18011b780
inc esi
add rdi, 0x10
cmp esi, dword [r13 + 0x1c]
jl 0x18011b773
mov rbx, qword [rbp + 0x7f]
lea rax, [rbp - 0x21]
xor r9d, r9d
mov rdx, r13
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0xffffffff
lea r8d, [r9 + 0x20]
mov rcx, r14
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.180113dc0
mov rsi, qword [rbp - 0x21]
mov rdx, rsi
mov rcx, r14
mov r8, r12
mov qword [rbp + 7], r12
call fcn.180114230
test eax, eax
jne 0x18011bc59
mov rax, qword [rsi + 0x58]
xor edi, edi
xor r13d, r13d
movzx ecx, word [rax + 4]
imul rcx, rcx, 0x88
mov r10, qword [rcx + rsi + 0xd8]
mov r9, qword [rcx + rsi + 0xc8]
mov qword [rbp + 0xf], r10
mov qword [rbp - 9], r9
cmp dword [r14 + 0x3c], edi
jne 0x18011bc51
movsxd r15, dword [rcx + rsi + 0xd0]
cmp r8, 1
jne 0x18011b890
mov rdx, rsi
mov rcx, r14
call fcn.180110e80
test eax, eax
jne 0x18011bc25
imul r10, r10, 0x51
xor edx, edx
test r15, r15
jle 0x18011b884
nop word [rax + rax]
movsx rcx, byte [rdx + r9]
lea r10, [r10 + r10*8]
inc rdx
add r10, rcx
cmp rdx, r15
jl 0x18011b870
xor rbx, r10
mov qword [rbp + 0x7f], rbx
jmp 0x18011bc25
xor r8d, r8d
mov dword [rbp - 0x31], r8d
mov rax, qword [rsi + 0x58]
movzx ecx, word [rax + 4]
imul rcx, rcx, 0x88
lea r12, [rcx + rsi + 0x60]
mov ecx, dword [rbp - 0x2d]
mov edx, dword [r12 + 0x80]
add edx, 8
cmp ecx, edx
jae 0x18011b910
mov eax, 0x40
test ecx, ecx
cmovne eax, ecx
movsxd rbx, eax
mov eax, edx
cmp rbx, rax
jae 0x18011b8d9
add rbx, rbx
cmp rbx, rax
jb 0x18011b8d1
mov rsi, qword [rbp - 0x39]
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18011b906
mov rdx, rbx
mov rcx, rsi
call fcn.18000c190
mov r11, rax
test rax, rax
je 0x18011b906
mov r8d, dword [rbp - 0x31]
mov dword [rbp - 0x2d], ebx
mov qword [rbp - 0x39], rax
jmp 0x18011b914
mov dword [r14 + 0x3c], 7
jmp 0x18011b93e
mov r11, qword [rbp - 0x39]
mov eax, dword [r12 + 0x80]
lea r9, [0x180113270]
mov rdx, r12
add eax, r8d
lea r8, [rbp - 0x39]
movsxd rcx, eax
xor eax, eax
mov qword [rcx + r11], rax
mov rcx, r14
call fcn.1801135e0
mov r8d, dword [rbp - 0x31]
mov ecx, dword [rbp - 0x2d]
lea edx, [r8 + 4]
cmp ecx, edx
jae 0x18011b9a0
mov eax, 0x40
test ecx, ecx
cmovne eax, ecx
movsxd rbx, eax
mov eax, edx
cmp rbx, rax
jae 0x18011b969
add rbx, rbx
cmp rbx, rax
jb 0x18011b961
mov rsi, qword [rbp - 0x39]
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18011b993
mov rdx, rbx
mov rcx, rsi
call fcn.18000c190
test rax, rax
je 0x18011b993
mov r8d, dword [rbp - 0x31]
mov dword [rbp - 0x2d], ebx
mov qword [rbp - 0x39], rax
jmp 0x18011b9a4
mov esi, dword [rbp - 0x31]
mov dword [r14 + 0x3c], 7
jmp 0x18011b9bb
mov rax, qword [rbp - 0x39]
movsxd rcx, r8d
add rcx, rax
mov eax, dword [0x1801586d8]
mov dword [rcx], eax
mov esi, dword [rbp - 0x31]
add esi, 4
mov dword [rbp - 0x31], esi
mov rbx, qword [rbp - 0x39]
mov r12, qword [rbp - 9]
mov r14, qword [rbp + 0xf]
cmp edi, esi
jge 0x18011bc1d
movsxd rax, edi
inc edi
movzx ecx, byte [rax + rbx]
test cl, cl
jns 0x18011ba62
dec edi
movsxd r9, edi
add r9, rbx
movzx ecx, byte [r9]
test cl, cl
js 0x18011b9f7
mov eax, 1
jmp 0x18011ba60
movzx edx, byte [r9 + 1]
test dl, dl
js 0x18011ba0f
and ecx, 0x7f
mov eax, 2
shl ecx, 7
or ecx, edx
jmp 0x18011ba60
movzx eax, byte [r9 + 2]
shl ecx, 0xe
or ecx, eax
mov eax, ecx
test cl, cl
js 0x18011ba35
and eax, 0x1fc07f
mov ecx, edx
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov eax, 3
jmp 0x18011ba60
movzx r8d, byte [r9]
test r8b, r8b
js 0x18011ba49
mov ecx, r8d
mov al, 1
mov qword [rbp - 0x11], rcx
jmp 0x18011ba59
lea rdx, [rbp - 0x11]
mov rcx, r9
call fcn.180126a80
mov rcx, qword [rbp - 0x11]
btr ecx, 0x1f
movzx eax, al
add edi, eax
cmp ecx, 1
ja 0x18011bbb3
test ecx, ecx
je 0x18011bbcd
movsxd rax, edi
inc edi
movzx ecx, byte [rax + rbx]
test cl, cl
jns 0x18011bb06
dec edi
movsxd r9, edi
add r9, rbx
movzx ecx, byte [r9]
test cl, cl
js 0x18011ba9b
mov eax, 1
jmp 0x18011bb04
movzx edx, byte [r9 + 1]
test dl, dl
js 0x18011bab3
and ecx, 0x7f
mov eax, 2
shl ecx, 7
or ecx, edx
jmp 0x18011bb04
movzx eax, byte [r9 + 2]
shl ecx, 0xe
or ecx, eax
mov eax, ecx
test cl, cl
js 0x18011bad9
and eax, 0x1fc07f
mov ecx, edx
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov eax, 3
jmp 0x18011bb04
movzx r8d, byte [r9]
test r8b, r8b
js 0x18011baed
mov ecx, r8d
mov al, 1
mov qword [rbp - 0x19], rcx
jmp 0x18011bafd
lea rdx, [rbp - 0x19]
mov rcx, r9
call fcn.180126a80
mov rcx, qword [rbp - 0x19]
btr ecx, 0x1f
movzx eax, al
add edi, eax
movsxd rax, edi
mov r11d, ecx
inc edi
movzx ecx, byte [rax + rbx]
shl r11, 0x20
test cl, cl
jns 0x18011bba0
dec edi
movsxd r9, edi
add r9, rbx
movzx ecx, byte [r9]
test cl, cl
js 0x18011bb35
mov eax, 1
jmp 0x18011bb9e
movzx edx, byte [r9 + 1]
test dl, dl
js 0x18011bb4d
and ecx, 0x7f
mov eax, 2
shl ecx, 7
or ecx, edx
jmp 0x18011bb9e
movzx eax, byte [r9 + 2]
shl ecx, 0xe
or ecx, eax
mov eax, ecx
test cl, cl
js 0x18011bb73
and eax, 0x1fc07f
mov ecx, edx
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov eax, 3
jmp 0x18011bb9e
movzx r8d, byte [r9]
test r8b, r8b
js 0x18011bb87
mov ecx, r8d
mov al, 1
mov qword [rbp - 0x29], rcx
jmp 0x18011bb97
lea rdx, [rbp - 0x29]
mov rcx, r9
call fcn.180126a80
mov rcx, qword [rbp - 0x29]
btr ecx, 0x1f
movzx eax, al
add edi, eax
cmp ecx, 2
jb 0x18011bc1d
lea r13d, [rcx - 2]
btr r13d, 0x1f
add r13, r11
jmp 0x18011bbcd
add ecx, 0xfffffffe
movabs rdx, 0x7fffffff00000000
add rcx, r13
and r13, rdx
btr ecx, 0x1f
add r13, rcx
mov rax, r13
xor edx, edx
sar rax, 0x20
movsxd rcx, eax
lea rax, [r14 + r14*8]
add rcx, rax
mov rax, r13
btr eax, 0x1f
lea r8, [rcx + rcx*8]
add r8, rax
test r15, r15
jle 0x18011bc14
nop word [rax + rax]
movsx rcx, byte [rdx + r12]
lea r8, [r8 + r8*8]
inc rdx
add r8, rcx
cmp rdx, r15
jl 0x18011bc00
xor qword [rbp + 0x7f], r8
jmp 0x18011b9c7
mov r14, qword [rbp + 0x67]
mov rsi, qword [rbp - 0x21]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.180112f70
mov rdx, rsi
mov rcx, r14
call fcn.180114230
mov rbx, qword [rbp + 0x7f]
mov r8, qword [rbp + 7]
test eax, eax
je 0x18011b803
mov r13, qword [rbp - 1]
mov r15, qword [rbp + 0x6f]
mov rcx, rsi
call fcn.180112700
cmp dword [r14 + 0x3c], 0
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
jne 0x18011bc8c
cmp dword [rbp + 0x77], 0
je 0x18011bc8c
cmp r15, qword [rbp + 0x7f]
je 0x18011bc8c
mov dword [r14 + 0x3c], 0x10b
mov rcx, r13
call fcn.18010e670
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x18011bd04
cmp dword [0x180172920], 0
je 0x18011bcfb
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x18011bcb8
call qword [0x1801729a0]
mov rcx, rbx
call qword [0x180172958]
dec qword [0x180182138]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x1801820f0], rdx
call qword [0x180172948]
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x18011bd04
call qword [0x1801729b0]
mov eax, dword [r14 + 0x3c]
mov dword [r14 + 0x3c], 0
jmp 0x18011bd1a
mov rcx, rbx
call qword [0x180172948]
mov eax, dword [r14 + 0x3c]
mov dword [r14 + 0x3c], 0
jmp 0x18011bd1a
mov eax, dword [r14 + 0x3c]
mov dword [r14 + 0x3c], ebx
mov r13, qword [rsp + 0xa8]
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rbx
pop rbp
ret