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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x50
mov rbp, qword [rcx]
xor esi, esi
mov qword [rsp + 0x80], rbp
mov ebx, esi
mov qword [rax + 0x20], rbx
mov rdi, rdx
mov r12, rcx
test r8, r8
jne 0x180122387
xor r9d, r9d
lea r8, [rax + 0x20]
lea edx, [rsi + 2]
call fcn.1801216f0
test eax, eax
jne 0x180122736
mov rbx, qword [rsp + 0x98]
lea edx, [rsi + 1]
mov rcx, rbx
mov r8, rdi
call sym.QoOBJSl.dll_hqlite3_bind_int64
mov rcx, rbx
call sym.QoOBJSl.dll_hqlite3_step
cmp eax, 0x64
je 0x180122387
test rbx, rbx
je 0x180122734
mov rdi, qword [rbx]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18012230c
call qword [0x18015a100]
cmp qword [rbx + 0xb8], rsi
jle 0x180122320
mov rdx, rbx
mov rcx, rdi
call fcn.18003a060
mov rcx, rbx
call fcn.180037790
mov dword [rbx + 0x24], 0x2df20da3
mov dword [rbx + 0x34], 0xffffffff
mov qword [rbx + 0x38], rsi
mov word [rbx + 0xc2], 0xff02
mov dword [rbx + 0x30], 1
mov dword [rbx + 0x40], esi
mov qword [rbx + 0x50], rsi
cmp byte [rdi + 0x61], sil
jne 0x18012235b
test eax, eax
je 0x180122367
mov edx, eax
mov rcx, rdi
call fcn.180006550
mov esi, eax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180122734
call qword [0x18015a110]
mov eax, esi
add rsp, 0x50
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [r12 + 8]
mov r8, rdi
mov qword [rsp + 0x88], r13
mov edx, 1
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], 0xffffffff
call fcn.180113840
mov edi, eax
mov r14d, 1
test eax, eax
jne 0x180122697
mov r13d, r14d
mov r15, rsi
mov edx, 0x4000
mov r8d, 0x202
nop dword [rax]
cmp r14d, dword [rbp + 0x18]
jg 0x18012274b
mov rax, qword [rbp + 0x28]
cmp byte [rax + r13 - 1], sil
jne 0x180122685
test rbx, rbx
je 0x180122585
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180122414
call qword [0x18015a100]
mov rdx, qword [rbx + 0xa0]
test rdx, rdx
je 0x180122442
movzx eax, word [rbx + 0xc0]
cmp r14d, eax
jge 0x180122442
test r14d, r14d
js 0x180122442
movsxd rax, r14d
imul rcx, rax, 0x38
add rcx, rdx
jne 0x18012245d
mov rbp, rsi
jmp 0x180122494
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
lea rcx, [0x180135c18]
movzx edx, word [rcx + 8]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x180122480
cmp byte [rcx + 0xa], 1
jne 0x180122480
mov rbp, qword [rcx + 0x10]
jmp 0x180122494
test dl, 1
je 0x18012248a
mov rbp, rsi
jmp 0x180122494
mov dl, 1
call fcn.180031ae0
mov rbp, rax
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x38]
cmp byte [rcx + 0x61], sil
jne 0x1801224a8
test edx, edx
jne 0x1801224a8
mov eax, esi
jmp 0x1801224b0
call fcn.180006550
mov rcx, qword [rbx]
mov dword [rbx + 0x38], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1801224c2
call qword [0x18015a110]
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1801224d4
call qword [0x18015a100]
mov rdx, qword [rbx + 0xa0]
test rdx, rdx
je 0x1801224fd
movzx eax, word [rbx + 0xc0]
cmp r14d, eax
jge 0x1801224fd
test r14d, r14d
js 0x1801224fd
movsxd rax, r14d
imul rcx, rax, 0x38
add rcx, rdx
jmp 0x180122518
mov rcx, qword [rbx]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.180009f80
lea rcx, [0x180135c18]
movzx eax, word [rcx + 8]
test al, 2
je 0x18012252b
cmp byte [rcx + 0xa], 1
jne 0x18012252b
mov edi, dword [rcx + 0xc]
jmp 0x18012254e
test al, 0x10
je 0x18012253d
bt ax, 0xe
mov edi, dword [rcx + 0xc]
jae 0x18012254e
add edi, dword [rcx]
jmp 0x18012254e
test al, 1
je 0x180122545
mov edi, esi
jmp 0x18012254e
mov dl, 1
call fcn.180032480
mov edi, eax
mov rcx, qword [rbx]
mov edx, dword [rbx + 0x38]
cmp byte [rcx + 0x61], sil
jne 0x180122562
test edx, edx
jne 0x180122562
mov eax, esi
jmp 0x18012256a
call fcn.180006550
mov rcx, qword [rbx]
mov dword [rbx + 0x38], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x180122609
call qword [0x18015a110]
jmp 0x180122609
mov rdi, qword [rsp + 0x90]
mov rcx, qword [r15 + rdi]
test rcx, rcx
jne 0x18012259b
mov rbp, rsi
jmp 0x1801225d5
movzx edx, word [rcx + 8]
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x1801225b8
cmp byte [rcx + 0xa], 1
jne 0x1801225b8
mov rbp, qword [rcx + 0x10]
jmp 0x1801225d0
test dl, 1
je 0x1801225c2
mov rbp, rsi
jmp 0x1801225d0
mov dl, 1
call fcn.180031ae0
mov rcx, qword [r15 + rdi]
mov rbp, rax
mov edx, 0x4000
movzx eax, word [rcx + 8]
test al, 2
je 0x1801225e8
cmp byte [rcx + 0xa], 1
jne 0x1801225e8
mov edi, dword [rcx + 0xc]
jmp 0x180122609
test al, 0x10
je 0x1801225f8
mov edi, dword [rcx + 0xc]
test dx, ax
je 0x180122609
add edi, dword [rcx]
jmp 0x180122609
test al, 1
je 0x180122600
mov edi, esi
jmp 0x180122609
mov dl, 1
call fcn.180032480
mov edi, eax
mov edx, esi
mov dword [rsp + 0x3c], edx
test rbp, rbp
jne 0x180122620
mov rbp, qword [rsp + 0x80]
mov edi, esi
jmp 0x18012265f
mov rax, qword [rsp + 0x80]
lea rcx, [0x180122190]
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x30]
mov r9, rbp
mov dword [rsp + 0x20], edi
mov rbp, qword [rsp + 0x80]
mov r8d, 4
mov rax, qword [rax + 0x70]
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x10]
mov edx, dword [rsp + 0x3c]
mov edi, eax
mov rcx, qword [r12 + 0x20]
movsxd rax, edx
sub qword [rcx + r15], rax
mov rax, qword [r12 + 0x20]
cmp qword [r15 + rax], rsi
jl 0x180122741
mov edx, 0x4000
mov r8d, 0x202
inc r14d
inc r13
add r15, 8
test edi, edi
je 0x1801223e0
dec qword [r12 + 0x18]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x88]
test rbx, rbx
je 0x18012272f
mov rbp, qword [rbx]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1801226c5
call qword [0x18015a100]
cmp qword [rbx + 0xb8], rsi
jle 0x1801226d9
mov rdx, rbx
mov rcx, rbp
call fcn.18003a060
mov rcx, rbx
call fcn.180037790
mov dword [rbx + 0x24], 0x2df20da3
mov dword [rbx + 0x34], 0xffffffff
mov qword [rbx + 0x38], rsi
mov word [rbx + 0xc2], 0xff02
mov dword [rbx + 0x30], 1
mov dword [rbx + 0x40], esi
mov qword [rbx + 0x50], rsi
cmp byte [rbp + 0x61], sil
jne 0x180122714
test eax, eax
je 0x180122720
mov edx, eax
mov rcx, rbp
call fcn.180006550
mov esi, eax
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x18012272f
call qword [0x18015a110]
test edi, edi
cmovne esi, edi
mov eax, esi
add rsp, 0x50
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edi, 0x10b
jmp 0x180122697
cmp qword [r12 + 0x18], 1
jge 0x180122697
mov edi, 0x10b
jmp 0x18012269c