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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push r12
sub rsp, 0x70
cmp qword [rdx + 0x10], 0
mov qword [r11 - 0x10], rbx
mov qword [r11 - 0x18], rbp
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r13
mov eax, 0x23
mov qword [r11 - 0x38], r14
mov r8d, 0x16
cmova r8d, eax
mov rax, qword [rcx]
xor r12d, r12d
mov edi, dword [rax + 0x84]
xor r13d, r13d
mov qword [r11 - 0x50], r12
mov ebp, dword [rsp + 0x2c]
test edi, edi
mov qword [r11 - 0x40], r15
cmovs edi, r13d
mov r15, rdx
mov r14, rcx
cmp ebp, r8d
jae 0x18010e2e6
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, r8d
cmp rbx, rax
jae 0x18010e2c8
nop word [rax + rax]
add rbx, rbx
cmp rbx, rax
jb 0x18010e2c0
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e33d
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e33d
mov ebp, ebx
mov r12, rax
mov eax, edi
mov byte [r12 + 3], dil
mov esi, 4
sar eax, 0x18
mov byte [r12], al
mov eax, edi
sar eax, 0x10
mov byte [r12 + 1], al
mov eax, edi
sar eax, 8
mov byte [r12 + 2], al
cmp qword [r15 + 0x10], r13
jbe 0x18010e321
mov dword [r12 + 4], 0x10000ff
mov esi, 8
movsxd rdx, dword [r15 + 0x1c]
movsxd rcx, esi
add rcx, r12
cmp rdx, 0x7f
ja 0x18010e34e
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
jmp 0x18010e374
mov esi, dword [rsp + 0x28]
mov dword [r14 + 0x3c], 7
jmp 0x18010e3fe
cmp rdx, 0x3fff
ja 0x18010e36f
mov rax, rdx
shr rax, 7
or al, 0x80
and dl, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dl
mov eax, 2
jmp 0x18010e374
call fcn.180125ca0
movsxd rdx, dword [r15 + 0x18]
add esi, eax
movsxd rcx, esi
add rcx, r12
cmp rdx, 0x7f
ja 0x18010e392
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
jmp 0x18010e3b8
cmp rdx, 0x3fff
ja 0x18010e3b3
mov rax, rdx
shr rax, 7
or al, 0x80
and dl, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dl
mov eax, 2
jmp 0x18010e3b8
call fcn.180125ca0
mov rdx, qword [r15 + 8]
add esi, eax
movsxd rcx, esi
add rcx, r12
cmp rdx, 0x7f
ja 0x18010e3d6
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
jmp 0x18010e3fc
cmp rdx, 0x3fff
ja 0x18010e3f7
mov rax, rdx
shr rax, 7
or al, 0x80
and dl, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dl
mov eax, 2
jmp 0x18010e3fc
call fcn.180125ca0
add esi, eax
mov rcx, r13
mov dword [rsp + 0x80], r13d
mov qword [rsp + 0x20], rcx
cmp dword [r15 + 0x1c], ecx
jle 0x18010eabe
nop dword [rax + rax]
lea r13, [rcx + 2]
lea ecx, [rsi + 9]
shl r13, 4
add r13, r15
mov qword [rsp + 0x98], r13
movsxd rdi, dword [r13]
cmp ebp, ecx
jae 0x18010e478
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e45a
add rbx, rbx
cmp rbx, rax
jb 0x18010e452
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e492
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e492
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e49c
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e4c7
mov dword [r14 + 0x3c], 7
jmp 0x18010e4c9
cmp rdi, 0x3fff
ja 0x18010e4bf
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e4c7
mov rdx, rdi
call fcn.180125ca0
add esi, eax
movsxd rdi, dword [r13 + 4]
lea ecx, [rsi + 9]
cmp ebp, ecx
jae 0x18010e50e
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e4f0
add rbx, rbx
cmp rbx, rax
jb 0x18010e4e8
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e528
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e528
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e532
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e55d
mov dword [r14 + 0x3c], 7
jmp 0x18010e55f
cmp rdi, 0x3fff
ja 0x18010e555
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e55d
mov rdx, rdi
call fcn.180125ca0
add esi, eax
xor edx, edx
mov eax, edx
mov r15d, edx
mov qword [rsp + 0x90], rdx
cmp dword [r13 + 4], eax
jle 0x18010ea8f
nop dword [rax + rax]
mov r13, rax
mov rax, qword [rsp + 0x98]
lea ecx, [rsi + 9]
imul r13, r13, 0x38
add r13, qword [rax + 8]
movsxd rdi, dword [r13]
cmp ebp, ecx
jae 0x18010e5d8
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e5ba
add rbx, rbx
cmp rbx, rax
jb 0x18010e5b2
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e5f2
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e5f2
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e5fc
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e627
mov dword [r14 + 0x3c], 7
jmp 0x18010e629
cmp rdi, 0x3fff
ja 0x18010e61f
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e627
mov rdx, rdi
call fcn.180125ca0
add esi, eax
movsxd rdi, dword [r13 + 4]
lea ecx, [rsi + 9]
cmp ebp, ecx
jae 0x18010e66e
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e650
add rbx, rbx
cmp rbx, rax
jb 0x18010e648
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e688
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e688
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e692
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e6bd
mov dword [r14 + 0x3c], 7
jmp 0x18010e6bf
cmp rdi, 0x3fff
ja 0x18010e6b5
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e6bd
mov rdx, rdi
call fcn.180125ca0
add esi, eax
movsxd rdi, dword [r13 + 8]
lea ecx, [rsi + 9]
cmp ebp, ecx
jae 0x18010e706
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e6e8
nop
add rbx, rbx
cmp rbx, rax
jb 0x18010e6e0
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e720
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e720
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e72a
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e755
mov dword [r14 + 0x3c], 7
jmp 0x18010e757
cmp rdi, 0x3fff
ja 0x18010e74d
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e755
mov rdx, rdi
call fcn.180125ca0
add esi, eax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x10], 0
jbe 0x18010ea67
mov rdi, qword [r13 + 0x10]
lea ecx, [rsi + 9]
cmp ebp, ecx
jae 0x18010e7b6
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e798
nop dword [rax]
add rbx, rbx
cmp rbx, rax
jb 0x18010e790
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e7d0
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e7d0
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e7da
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e805
mov dword [r14 + 0x3c], 7
jmp 0x18010e807
cmp rdi, 0x3fff
ja 0x18010e7fd
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e805
mov rdx, rdi
call fcn.180125ca0
add esi, eax
mov rdi, qword [r13 + 0x18]
lea ecx, [rsi + 9]
cmp ebp, ecx
jae 0x18010e84c
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e82e
add rbx, rbx
cmp rbx, rax
jb 0x18010e826
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e866
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e866
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e870
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e89b
mov dword [r14 + 0x3c], 7
jmp 0x18010e89d
cmp rdi, 0x3fff
ja 0x18010e893
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e89b
mov rdx, rdi
call fcn.180125ca0
add esi, eax
movsxd rdi, dword [r13 + 0x20]
lea ecx, [rsi + 9]
cmp ebp, ecx
jae 0x18010e8e6
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e8c8
nop dword [rax]
add rbx, rbx
cmp rbx, rax
jb 0x18010e8c0
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e900
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e900
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e90a
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e935
mov dword [r14 + 0x3c], 7
jmp 0x18010e937
cmp rdi, 0x3fff
ja 0x18010e92d
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e935
mov rdx, rdi
call fcn.180125ca0
add esi, eax
mov rdi, qword [r13 + 0x28]
lea ecx, [rsi + 9]
cmp ebp, ecx
jae 0x18010e97c
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e95e
add rbx, rbx
cmp rbx, rax
jb 0x18010e956
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010e996
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010e996
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010e9a0
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010e9cb
mov dword [r14 + 0x3c], 7
jmp 0x18010e9cd
cmp rdi, 0x3fff
ja 0x18010e9c3
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010e9cb
mov rdx, rdi
call fcn.180125ca0
add esi, eax
mov rdi, qword [r13 + 0x30]
lea ecx, [rsi + 9]
cmp ebp, ecx
jae 0x18010ea16
mov eax, 0x40
test ebp, ebp
cmovne eax, ebp
movsxd rbx, eax
mov eax, ecx
cmp rbx, rax
jae 0x18010e9f8
nop dword [rax]
add rbx, rbx
cmp rbx, rax
jb 0x18010e9f0
call sym.sqlite.dll_sqlite3_initialize
test eax, eax
jne 0x18010ea30
mov rdx, rbx
mov rcx, r12
call fcn.18000b2e0
test rax, rax
je 0x18010ea30
mov ebp, ebx
mov r12, rax
movsxd rcx, esi
add rcx, r12
cmp rdi, 0x7f
ja 0x18010ea3a
and dil, 0x7f
mov eax, 1
mov byte [rcx], dil
jmp 0x18010ea65
mov dword [r14 + 0x3c], 7
jmp 0x18010ea67
cmp rdi, 0x3fff
ja 0x18010ea5d
mov rax, rdi
shr rax, 7
or al, 0x80
and dil, 0x7f
mov byte [rcx], al
mov byte [rcx + 1], dil
mov eax, 2
jmp 0x18010ea65
mov rdx, rdi
call fcn.180125ca0
add esi, eax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
inc r15d
inc rax
mov qword [rsp + 0x90], rax
cmp r15d, dword [rcx + 4]
jl 0x18010e580
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
mov r15, qword [rsp + 0x88]
inc eax
inc rcx
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x20], rcx
cmp eax, dword [r15 + 0x1c]
jl 0x18010e420
mov r9d, esi
mov r8, r12
mov edx, 0xa
mov rcx, r14
call fcn.18010d420
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
test r12, r12
je 0x18010eb59
cmp dword [0x180171920], 0
je 0x18010eb50
mov rcx, qword [0x1801811a8]
test rcx, rcx
je 0x18010eb14
call qword [0x1801719a0]
mov rcx, r12
call qword [0x180171958]
dec qword [0x180181138]
mov rcx, r12
movsxd rdx, eax
sub qword [0x1801810f0], rdx
call qword [0x180171948]
mov rcx, qword [0x1801811a8]
test rcx, rcx
je 0x18010eb59
add rsp, 0x70
pop r12
jmp qword [0x1801719b0]
mov rcx, r12
call qword [0x180171948]
add rsp, 0x70
pop r12
ret