Function at 0x18011a730
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 0x18011a798
call fcn.18010e190
mov qword [r14 + 0x88], rax
cmp dword [r14 + 0x3c], ebx
jne 0x18011a798
mov rcx, r14
call fcn.18010e0d0
mov qword [r14 + 0x90], rax
mov qword [rsp + 0xa8], r13
cmp dword [r14 + 0x3c], ebx
jne 0x18011ad82
mov rax, qword [r14 + 0x90]
inc dword [rax]
mov r13, qword [r14 + 0x90]
mov qword [rbp - 1], r13
test r13, r13
je 0x18011ad82
mov qword [rsp + 0xb8], rsi
xor esi, esi
mov qword [rsp + 0xb0], rdi
cmp dword [r13 + 0x1c], ebx
jle 0x18011a819
lea rdi, [r13 + 0x24]
xor ebx, ebx
cmp dword [rdi], ebx
jle 0x18011a809
nop dword [rax]
movsxd rdx, ebx
mov rcx, r14
imul rdx, rdx, 0x38
add rdx, qword [rdi + 4]
call fcn.18011a260
inc ebx
cmp ebx, dword [rdi]
jl 0x18011a7f0
inc esi
add rdi, 0x10
cmp esi, dword [r13 + 0x1c]
jl 0x18011a7e3
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.180112e30
mov rsi, qword [rbp - 0x21]
mov rdx, rsi
mov rcx, r14
mov r8, r12
mov qword [rbp + 7], r12
call fcn.1801132a0
test eax, eax
jne 0x18011acc9
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 0x18011acc1
movsxd r15, dword [rcx + rsi + 0xd0]
cmp r8, 1
jne 0x18011a900
mov rdx, rsi
mov rcx, r14
call fcn.18010fef0
test eax, eax
jne 0x18011ac95
imul r10, r10, 0x51
xor edx, edx
test r15, r15
jle 0x18011a8f4
nop word [rax + rax]
movsx rcx, byte [rdx + r9]
lea r10, [r10 + r10*8]
inc rdx
add r10, rcx
cmp rdx, r15
jl 0x18011a8e0
xor rbx, r10
mov qword [rbp + 0x7f], rbx
jmp 0x18011ac95
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 0x18011a980
mov eax, 0x40
test ecx, ecx
cmovne eax, ecx
movsxd rbx, eax
mov eax, edx
cmp rbx, rax
jae 0x18011a949
add rbx, rbx
cmp rbx, rax
jb 0x18011a941
mov rsi, qword [rbp - 0x39]
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18011a976
mov rdx, rbx
mov rcx, rsi
call fcn.18000b2e0
mov r11, rax
test rax, rax
je 0x18011a976
mov r8d, dword [rbp - 0x31]
mov dword [rbp - 0x2d], ebx
mov qword [rbp - 0x39], rax
jmp 0x18011a984
mov dword [r14 + 0x3c], 7
jmp 0x18011a9ae
mov r11, qword [rbp - 0x39]
mov eax, dword [r12 + 0x80]
lea r9, [0x1801122e0]
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.180112650
mov r8d, dword [rbp - 0x31]
mov ecx, dword [rbp - 0x2d]
lea edx, [r8 + 4]
cmp ecx, edx
jae 0x18011aa10
mov eax, 0x40
test ecx, ecx
cmovne eax, ecx
movsxd rbx, eax
mov eax, edx
cmp rbx, rax
jae 0x18011a9d9
add rbx, rbx
cmp rbx, rax
jb 0x18011a9d1
mov rsi, qword [rbp - 0x39]
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18011aa03
mov rdx, rbx
mov rcx, rsi
call fcn.18000b2e0
test rax, rax
je 0x18011aa03
mov r8d, dword [rbp - 0x31]
mov dword [rbp - 0x2d], ebx
mov qword [rbp - 0x39], rax
jmp 0x18011aa14
mov esi, dword [rbp - 0x31]
mov dword [r14 + 0x3c], 7
jmp 0x18011aa2b
mov rax, qword [rbp - 0x39]
movsxd rcx, r8d
add rcx, rax
mov eax, dword [0x1801573d8]
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 0x18011ac8d
movsxd rax, edi
inc edi
movzx ecx, byte [rax + rbx]
test cl, cl
jns 0x18011aad2
dec edi
movsxd r9, edi
add r9, rbx
movzx ecx, byte [r9]
test cl, cl
js 0x18011aa67
mov eax, 1
jmp 0x18011aad0
movzx edx, byte [r9 + 1]
test dl, dl
js 0x18011aa7f
and ecx, 0x7f
mov eax, 2
shl ecx, 7
or ecx, edx
jmp 0x18011aad0
movzx eax, byte [r9 + 2]
shl ecx, 0xe
or ecx, eax
mov eax, ecx
test cl, cl
js 0x18011aaa5
and eax, 0x1fc07f
mov ecx, edx
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov eax, 3
jmp 0x18011aad0
movzx r8d, byte [r9]
test r8b, r8b
js 0x18011aab9
mov ecx, r8d
mov al, 1
mov qword [rbp - 0x11], rcx
jmp 0x18011aac9
lea rdx, [rbp - 0x11]
mov rcx, r9
call fcn.180125af0
mov rcx, qword [rbp - 0x11]
btr ecx, 0x1f
movzx eax, al
add edi, eax
cmp ecx, 1
ja 0x18011ac23
test ecx, ecx
je 0x18011ac3d
movsxd rax, edi
inc edi
movzx ecx, byte [rax + rbx]
test cl, cl
jns 0x18011ab76
dec edi
movsxd r9, edi
add r9, rbx
movzx ecx, byte [r9]
test cl, cl
js 0x18011ab0b
mov eax, 1
jmp 0x18011ab74
movzx edx, byte [r9 + 1]
test dl, dl
js 0x18011ab23
and ecx, 0x7f
mov eax, 2
shl ecx, 7
or ecx, edx
jmp 0x18011ab74
movzx eax, byte [r9 + 2]
shl ecx, 0xe
or ecx, eax
mov eax, ecx
test cl, cl
js 0x18011ab49
and eax, 0x1fc07f
mov ecx, edx
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov eax, 3
jmp 0x18011ab74
movzx r8d, byte [r9]
test r8b, r8b
js 0x18011ab5d
mov ecx, r8d
mov al, 1
mov qword [rbp - 0x19], rcx
jmp 0x18011ab6d
lea rdx, [rbp - 0x19]
mov rcx, r9
call fcn.180125af0
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 0x18011ac10
dec edi
movsxd r9, edi
add r9, rbx
movzx ecx, byte [r9]
test cl, cl
js 0x18011aba5
mov eax, 1
jmp 0x18011ac0e
movzx edx, byte [r9 + 1]
test dl, dl
js 0x18011abbd
and ecx, 0x7f
mov eax, 2
shl ecx, 7
or ecx, edx
jmp 0x18011ac0e
movzx eax, byte [r9 + 2]
shl ecx, 0xe
or ecx, eax
mov eax, ecx
test cl, cl
js 0x18011abe3
and eax, 0x1fc07f
mov ecx, edx
and ecx, 0x7f
shl ecx, 7
or ecx, eax
mov eax, 3
jmp 0x18011ac0e
movzx r8d, byte [r9]
test r8b, r8b
js 0x18011abf7
mov ecx, r8d
mov al, 1
mov qword [rbp - 0x29], rcx
jmp 0x18011ac07
lea rdx, [rbp - 0x29]
mov rcx, r9
call fcn.180125af0
mov rcx, qword [rbp - 0x29]
btr ecx, 0x1f
movzx eax, al
add edi, eax
cmp ecx, 2
jb 0x18011ac8d
lea r13d, [rcx - 2]
btr r13d, 0x1f
add r13, r11
jmp 0x18011ac3d
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 0x18011ac84
nop word [rax + rax]
movsx rcx, byte [rdx + r12]
lea r8, [r8 + r8*8]
inc rdx
add r8, rcx
cmp rdx, r15
jl 0x18011ac70
xor qword [rbp + 0x7f], r8
jmp 0x18011aa37
mov r14, qword [rbp + 0x67]
mov rsi, qword [rbp - 0x21]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.180111fe0
mov rdx, rsi
mov rcx, r14
call fcn.1801132a0
mov rbx, qword [rbp + 0x7f]
mov r8, qword [rbp + 7]
test eax, eax
je 0x18011a873
mov r13, qword [rbp - 1]
mov r15, qword [rbp + 0x6f]
mov rcx, rsi
call fcn.180111770
cmp dword [r14 + 0x3c], 0
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
jne 0x18011acfc
cmp dword [rbp + 0x77], 0
je 0x18011acfc
cmp r15, qword [rbp + 0x7f]
je 0x18011acfc
mov dword [r14 + 0x3c], 0x10b
mov rcx, r13
call fcn.18010d6e0
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x18011ad74
cmp dword [0x180171920], 0
je 0x18011ad6b
mov rcx, qword [0x1801811a8]
test rcx, rcx
je 0x18011ad28
call qword [0x1801719a0]
mov rcx, rbx
call qword [0x180171958]
dec qword [0x180181138]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x1801810f0], rdx
call qword [0x180171948]
mov rcx, qword [0x1801811a8]
test rcx, rcx
je 0x18011ad74
call qword [0x1801719b0]
mov eax, dword [r14 + 0x3c]
mov dword [r14 + 0x3c], 0
jmp 0x18011ad8a
mov rcx, rbx
call qword [0x180171948]
mov eax, dword [r14 + 0x3c]
mov dword [r14 + 0x3c], 0
jmp 0x18011ad8a
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