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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
mov rax, qword [rcx]
mov r14, rcx
lea rcx, [0x180111550]
mov esi, r9d
lea r13, [r14 + 0x34]
mov r10d, dword [rax + 0x5c]
cmp r10d, 1
lea rax, [0x180111540]
cmovne rax, rcx
lea rcx, [0x180111ab0]
mov qword [rbp - 0x11], rax
lea rax, [0x1801117f0]
cmovne rax, rcx
xor r12d, r12d
mov qword [rbp - 0x19], rax
mov eax, dword [r13]
mov qword [rbp - 0x31], r12
test eax, eax
jne 0x180112823
call sym.QoOBJSl.dll_hqlite3_initialize
test eax, eax
je 0x1801127ef
mov qword [rbp - 0x31], r12
lea eax, [r12 + 7]
mov dword [r13], 7
jmp 0x180112823
mov ecx, 0x200
call fcn.180005840
mov qword [rbp - 0x31], rax
mov rcx, rax
test rax, rax
jne 0x180112812
mov dword [r13], 7
lea eax, [rcx + 7]
jmp 0x180112823
xor edx, edx
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
mov eax, dword [r13]
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], r15
cmp qword [r14 + 0x80], r12
jne 0x180112ae2
mov rsi, r12
test eax, eax
jne 0x180112947
cmp qword [r14 + 0x70], r12
lea rdi, [r14 + 0x70]
jne 0x180112921
mov rdx, qword [r14]
lea rcx, str.PRAGMA__Q.data_version
mov rdx, qword [rdx + 8]
call sym.QoOBJSl.dll_hqlite3_mprintf
mov rbx, rax
cmp dword [r13], esi
jne 0x1801128b3
test rax, rax
je 0x1801128a9
mov rcx, qword [r14]
mov r9d, 0x85
mov qword [rsp + 0x30], r12
mov r8d, 0xffffffff
mov qword [rsp + 0x28], rdi
mov rdx, rax
mov qword [rsp + 0x20], r12
mov rcx, qword [rcx]
call fcn.1800894d0
mov dword [r13], eax
jmp 0x1801128b8
mov dword [r13], 7
jmp 0x180112912
test rbx, rbx
je 0x180112912
cmp dword [0x18015a080], esi
je 0x180112909
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801128d2
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112912
call qword [0x18015a110]
jmp 0x180112912
mov rcx, rbx
call qword [0x18015a0a8]
cmp dword [r13], esi
je 0x180112921
mov qword [r14 + 0x78], r12
jmp 0x180112adf
mov rcx, qword [rdi]
call sym.QoOBJSl.dll_hqlite3_step
cmp eax, 0x64
jne 0x18011293b
mov rcx, qword [rdi]
xor edx, edx
call sym.QoOBJSl.dll_hqlite3_column_int64
mov rsi, rax
mov rcx, qword [rdi]
call sym.QoOBJSl.dll_hqlite3_reset
mov dword [r13], eax
mov qword [r14 + 0x78], rsi
test eax, eax
jne 0x180112adf
mov rdi, qword [r14 + 0x38]
lea r15, [r14 + 0x38]
mov rax, r12
mov ebx, r12d
mov qword [rbp + 0x57], rax
mov qword [rbp - 0x21], rax
mov rax, qword [r14]
mov qword [rbp - 0x39], rax
test rdi, rdi
je 0x180112a8a
mov edx, 0xa
mov qword [r15], r12
mov rcx, rdi
call sym.QoOBJSl.dll_hqlite3_blob_reopen
mov qword [r15], rdi
mov ebx, eax
test eax, eax
je 0x180112a8a
mov qword [r15], r12
mov rsi, qword [rdi + 0x20]
mov r12, qword [rdi + 0x18]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1801129b0
call qword [0x18015a100]
cmp qword [rsi + 0x2d8], 0
je 0x1801129ca
mov rdx, rdi
mov rcx, rsi
call fcn.180005b30
jmp 0x180112a66
cmp rdi, qword [rsi + 0x1c8]
jae 0x180112a0b
cmp rdi, qword [rsi + 0x1b8]
jb 0x1801129ef
mov rax, qword [rsi + 0x1b0]
mov qword [rdi], rax
mov qword [rsi + 0x1b0], rdi
jmp 0x180112a66
cmp rdi, qword [rsi + 0x1c0]
jb 0x180112a0b
mov rax, qword [rsi + 0x1a0]
mov qword [rdi], rax
mov qword [rsi + 0x1a0], rdi
jmp 0x180112a66
cmp dword [0x18015a080], 0
je 0x180112a5d
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112a26
call qword [0x18015a100]
mov rcx, rdi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rdi
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112a66
call qword [0x18015a110]
jmp 0x180112a66
mov rcx, rdi
call qword [0x18015a0a8]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x180112a75
call qword [0x18015a110]
mov rcx, r12
call sym.QoOBJSl.dll_hqlite3_finalize
cmp ebx, 4
mov r12d, 0
cmove ebx, r12d
cmp qword [r15], 0
jne 0x180112ac3
test ebx, ebx
jne 0x180112ac3
mov rcx, qword [r14]
lea r9, str.block
mov r8, qword [r14 + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], 0xa
call sym.QoOBJSl.dll_hqlite3_blob_open
mov ebx, eax
cmp ebx, 1
jne 0x180112af5
mov dword [r13], 0x10b
inc dword [r14 + 0x68]
mov rax, qword [rbp + 0x57]
mov qword [r14 + 0x80], rax
mov esi, dword [rbp + 0x6f]
cmp dword [r13], 0
je 0x180112f0b
mov rax, r12
jmp 0x180112f1b
test ebx, ebx
jne 0x180112ce6
mov rax, qword [r15]
test rax, rax
je 0x180112b10
cmp qword [rax + 0x18], 0
je 0x180112b10
mov ebx, dword [rax]
jmp 0x180112b13
mov ebx, r12d
call sym.QoOBJSl.dll_hqlite3_initialize
test eax, eax
jne 0x180112de1
movsxd rax, ebx
mov qword [rbp - 0x29], rax
lea rcx, [rax + 0x24]
call fcn.180005840
mov rdi, rax
test rax, rax
je 0x180112de1
lea r12, [rax + 0x10]
mov dword [rax + 8], ebx
mov qword [rax], r12
mov r15, qword [r15]
test r15, r15
jne 0x180112b7f
lea rax, [0x180140714]
mov ebx, 0x15
mov ecx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x16ffc
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
call sym.QoOBJSl.dll_hqlite3_log
jmp 0x180112c8f
mov rsi, qword [r15 + 0x20]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x180112b92
call qword [0x18015a100]
mov r13, qword [r15 + 0x18]
test ebx, ebx
js 0x180112c41
cmp ebx, dword [r15]
jg 0x180112c41
test r13, r13
jne 0x180112bb5
lea ebx, [r13 + 4]
jmp 0x180112c46
mov rax, qword [r15 + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x180112bd1
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x180112bd1
call fcn.180020130
mov rcx, qword [r15 + 0x10]
mov r9, r12
mov edx, dword [r15 + 4]
mov r8d, ebx
cmp byte [rcx], 0
jne 0x180112bf3
mov dword [rsp + 0x20], 0
call fcn.1800263c0
jmp 0x180112bf8
call fcn.1800267c0
mov ebx, eax
mov rax, qword [r15 + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x180112c13
sub dword [rcx + 0x14], 1
jne 0x180112c13
call fcn.1800200e0
cmp ebx, 4
jne 0x180112c2a
mov rcx, r13
call fcn.180037860
mov qword [r15 + 0x18], 0
jmp 0x180112c46
mov dword [r13 + 0x38], ebx
mov dword [rsi + 0x50], ebx
test ebx, ebx
jne 0x180112c49
cmp qword [rsi + 0x168], 0
je 0x180112c53
jmp 0x180112c49
mov ebx, 1
mov dword [rsi + 0x50], ebx
mov edx, ebx
mov rcx, rsi
call fcn.180009f80
cmp byte [rsi + 0x61], 0
jne 0x180112c65
test ebx, ebx
jne 0x180112c65
xor r12d, r12d
mov ebx, r12d
jmp 0x180112c74
mov edx, ebx
mov rcx, rsi
call fcn.180006550
mov ebx, eax
xor r12d, r12d
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x180112c83
call qword [0x18015a110]
lea r13, [r14 + 0x34]
test ebx, ebx
je 0x180112dae
cmp dword [0x18015a080], 0
je 0x180112da0
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112cae
call qword [0x18015a100]
mov rcx, rdi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rdi
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112ce3
call qword [0x18015a110]
xor r12d, r12d
inc dword [r14 + 0x68]
mov rdi, r12
mov dword [r13], ebx
test ebx, ebx
jne 0x180112ad4
movsxd rax, dword [rdi + 8]
lea r9, [rbp - 0x21]
add rax, qword [rdi]
lea r8, [rbp + 0x57]
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 0x10], ecx
mov edx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.180105930
mov dword [r13], eax
test eax, eax
jne 0x180112d4a
mov rax, qword [rbp - 0x39]
mov edx, dword [rbp + 0x57]
cmp dword [rax + 0x84], 0
je 0x180112d3e
cmp dword [rax + 0x80], edx
je 0x180112d4a
mov rcx, rax
call fcn.1800fba40
mov dword [r13], eax
cmp dword [0x18015a080], 0
je 0x180112dee
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112d69
call qword [0x18015a100]
mov rcx, rdi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rdi
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112df7
call qword [0x18015a110]
jmp 0x180112df7
mov rcx, rdi
call qword [0x18015a0a8]
jmp 0x180112ce3
mov rax, qword [rdi]
mov rcx, qword [rbp - 0x29]
mov byte [rcx + rax], 0
mov rax, qword [rdi]
mov byte [rcx + rax + 1], 0
mov rax, qword [rdi]
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0xc], ecx
inc dword [r14 + 0x68]
mov dword [r13], ebx
jmp 0x180112cf9
mov dword [r13], 7
jmp 0x180112ad0
mov rcx, rdi
call qword [0x18015a0a8]
cmp dword [r13], 0
je 0x180112f02
mov rdi, qword [rbp - 0x21]
test rdi, rdi
je 0x180112efa
dec dword [rdi]
cmp dword [rdi], 0
jg 0x180112efa
cmp dword [rdi + 0x14], 0
mov r15d, r12d
mov rcx, qword [0x18015d358]
jle 0x180112ea0
lea rsi, [rdi + 0x20]
nop
mov rbx, qword [rsi]
test rbx, rbx
je 0x180112e93
cmp dword [0x18015a080], 0
je 0x180112e83
test rcx, rcx
je 0x180112e4c
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112e93
call qword [0x18015a110]
jmp 0x180112e8c
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
inc r15d
add rsi, 0x10
cmp r15d, dword [rdi + 0x14]
jl 0x180112e30
cmp dword [0x18015a080], 0
je 0x180112ef1
test rcx, rcx
je 0x180112eb4
call qword [0x18015a100]
mov rcx, rdi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180112efa
call qword [0x18015a110]
mov rax, r12
jmp 0x180112ad8
mov rcx, rdi
call qword [0x18015a0a8]
mov rax, r12
jmp 0x180112ad8
mov rax, qword [rbp - 0x21]
jmp 0x180112ad8
mov rax, qword [r14 + 0x80]
inc dword [rax]
mov rax, qword [r14 + 0x80]
mov rbx, qword [rbp - 0x31]
mov qword [rbp - 0x21], rax
test rbx, rbx
je 0x1801137b5
test rax, rax
je 0x1801137b5
mov r9, qword [rbp + 0x77]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
mov rcx, qword [rbp + 0x67]
mov r15, r12
mov dword [rsp + 0x38], 0
mov rdx, rax
mov qword [rbp - 0x29], r12
mov r12d, 1
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rcx
mov rcx, r14
lea r8d, [r12 + 0x37]
mov dword [rbp + 0x57], r12d
movups xmmword [rbp - 9], xmm0
call fcn.18010c230
cmp dword [r13], 0
mov rdi, qword [rbp - 0x29]
jne 0x180113005
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax]
mov edx, dword [rcx + 0x5c]
cmp edx, r12d
jne 0x180112faa
lea rax, [0x18010bdd0]
jmp 0x180113001
mov rax, qword [rdi + 0x30]
test rax, rax
jne 0x180112fbc
lea rax, [0x18010bde0]
jmp 0x180113001
cmp dword [rax], 0
jne 0x180112fca
lea rax, [0x18010beb0]
jmp 0x180113001
test edx, edx
jne 0x180112fd7
lea rax, [0x18010c020]
jmp 0x180113001
cmp dword [rcx + 0x18], 0x64
jg 0x180112ffa
lea rax, [0x18010bf20]
mov qword [rdi + 0x38], rax
lea rdx, [rdi + 0x20]
mov r8d, dword [rcx + 0x18]
mov rcx, r13
call fcn.1800f8690
jmp 0x180113005
lea rax, [0x18010bec0]
mov qword [rdi + 0x38], rax
mov rdx, rdi
mov rcx, r14
call fcn.18010c6a0
test eax, eax
jne 0x1801131c2
nop dword [rax + rax]
mov rax, qword [rdi + 0x58]
movzx ecx, word [rax + 4]
imul rdx, rcx, 0x78
mov rcx, rdi
add rdx, 0x60
add rdx, rdi
mov ebx, dword [rdx + 0x60]
mov rsi, qword [rdx + 0x58]
call qword [rdi + 0x38]
test r12d, r12d
je 0x180113068
movsxd rax, dword [rbp + 0x6f]
cmp ebx, eax
jl 0x1801131be
mov rcx, qword [rbp + 0x67]
mov r8, rax
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1801131be
cmp dword [rdi + 0x10], 0
je 0x1801130f9
cmp qword [rdi], r15
jg 0x1801130e3
mov eax, dword [rbp - 1]
test eax, eax
jle 0x1801130e3
xor r15d, r15d
mov esi, r15d
cmp dword [r13], r15d
jne 0x1801130e3
mov r12, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x19]
mov rbx, r12
test eax, eax
je 0x1801130db
cmp dword [rbx + 8], r15d
jne 0x1801130b5
movaps xmm1, xmmword [rbp - 9]
mov eax, r15d
movups xmm0, xmmword [rbx]
movups xmmword [rbx], xmm1
movups xmmword [rbp - 9], xmm0
mov dword [rbp - 1], eax
jmp 0x1801130cf
movsxd r8, esi
lea rdx, [rbp - 9]
shl r8, 4
mov rcx, r14
add r8, r12
call rdi
mov eax, dword [rbp - 1]
mov dword [rbx + 8], r15d
inc esi
add rbx, 0x10
cmp dword [r13], r15d
je 0x180113095
mov rdi, qword [rbp - 0x29]
mov r12d, dword [rbp + 0x57]
mov rdx, qword [rdi]
lea r9, [rbp - 9]
sub rdx, r15
mov r8, rdi
mov rcx, r14
call qword [rbp - 0x11]
mov r15, qword [rdi]
cmp dword [r13], 0
jne 0x1801131ab
xor r12d, r12d
lea r13d, [r12 + 1]
nop dword [rax]
mov rax, qword [rdi + 0x58]
lea rdx, [rdi + 0x60]
lea r8, [rbp - 0x39]
mov rcx, r14
movzx esi, word [rax + 4]
imul rbx, rsi, 0x78
mov dword [rbp - 0x39], 0
add rdx, rbx
call qword [rbx + rdi + 0x88]
cmp qword [rbx + rdi + 0x70], 0
je 0x180113158
cmp dword [rbp - 0x39], 0
jne 0x180113158
lea r8, [rbp + 0x57]
mov edx, esi
mov rcx, rdi
call fcn.18010b050
test eax, eax
je 0x180113190
mov r9d, r13d
mov r8d, esi
mov rdx, rdi
mov rcx, r14
call fcn.18010ae80
mov rax, qword [rdi + 0x58]
mov r12d, r13d
movzx ecx, word [rax + 4]
imul rcx, rcx, 0x78
cmp qword [rcx + rdi + 0x70], 0
sete al
mov byte [rdi + 0x14], al
mov rax, qword [rcx + rdi + 0xc8]
mov qword [rdi + 0x50], rax
mov rdx, rdi
mov rcx, r14
call fcn.180108c70
test eax, eax
jne 0x180113110
mov dword [rbp + 0x57], r12d
lea r13, [r14 + 0x34]
mov rdx, rdi
mov rcx, r14
call fcn.18010c6a0
test eax, eax
je 0x180113020
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x19]
mov esi, 0x20
nop dword [rax + rax]
cmp dword [r13], 0
jne 0x1801131e3
mov r8, rbx
lea rdx, [rbp - 9]
mov rcx, r14
call rdi
mov rcx, rbx
call fcn.1800f8a40
add rbx, 0x10
sub rsi, 1
jne 0x1801131d0
mov rdi, qword [rbp - 0x29]
test rdi, rdi
je 0x1801134b0
xor r15d, r15d
cmp dword [rdi + 0x40], r15d
jle 0x1801133ea
lea rbx, [rdi + 0xb8]
mov rsi, qword [rbx]
test rsi, rsi
je 0x180113279
cmp dword [0x18015a080], 0
je 0x180113270
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180113239
call qword [0x18015a100]
mov rcx, rsi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180113279
call qword [0x18015a110]
jmp 0x180113279
mov rcx, rsi
call qword [0x18015a0a8]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rsi, qword [rbx - 0x48]
test rsi, rsi
je 0x1801132e3
cmp dword [0x18015a080], 0
je 0x1801132da
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801132a3
call qword [0x18015a100]
mov rcx, rsi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801132ea
call qword [0x18015a110]
jmp 0x1801132e3
mov rcx, rsi
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
mov rsi, qword [rbx - 0x40]
test rsi, rsi
je 0x180113347
cmp dword [0x18015a080], 0
je 0x18011333e
test rcx, rcx
je 0x180113307
call qword [0x18015a100]
mov rcx, rsi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180113347
call qword [0x18015a110]
jmp 0x180113347
mov rcx, rsi
call qword [0x18015a0a8]
mov rcx, qword [rbx - 8]
call fcn.180107570
mov rsi, qword [rbx - 0x10]
test rsi, rsi
je 0x1801133b4
cmp dword [0x18015a080], 0
je 0x1801133ab
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180113374
call qword [0x18015a100]
mov rcx, rsi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801133b4
call qword [0x18015a110]
jmp 0x1801133b4
mov rcx, rsi
call qword [0x18015a0a8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx - 0x58], xmm0
inc r15d
movups xmmword [rbx - 0x48], xmm0
movups xmmword [rbx - 0x38], xmm0
movups xmmword [rbx - 0x28], xmm0
movups xmmword [rbx - 0x18], xmm0
movups xmmword [rbx - 8], xmm0
movups xmmword [rbx + 8], xmm0
mov qword [rbx + 0x18], rax
add rbx, 0x78
cmp r15d, dword [rdi + 0x40]
jl 0x180113216
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x18011344e
cmp dword [0x18015a080], 0
je 0x180113445
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011340e
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011344e
call qword [0x18015a110]
jmp 0x18011344e
mov rcx, rbx
call qword [0x18015a0a8]
xorps xmm0, xmm0
movups xmmword [rdi + 0x20], xmm0
cmp dword [0x18015a080], 0
je 0x1801134a7
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180113470
call qword [0x18015a100]
mov rcx, rdi
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801134b0
call qword [0x18015a110]
jmp 0x1801134b0
mov rcx, rdi
call qword [0x18015a0a8]
movsxd rdi, dword [rbp - 1]
add rdi, 0x18
cmp dword [r13], 0
jne 0x180113731
call sym.QoOBJSl.dll_hqlite3_initialize
test eax, eax
je 0x1801134d0
xor ebx, ebx
jmp 0x1801134e0
mov rcx, rdi
call fcn.180005840
mov rbx, rax
test rax, rax
jne 0x1801134f8
test rdi, rdi
jle 0x1801134ed
mov dword [r13], 7
test rbx, rbx
je 0x180113731
jmp 0x180113505
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 0x10]
mov qword [rbx], rcx
mov eax, dword [rbp - 1]
mov dword [rbx + 0xc], eax
mov eax, dword [rbp - 1]
mov dword [rbx + 8], eax
movsxd rax, dword [rbp - 1]
test eax, eax
je 0x18011352c
mov rdx, qword [rbp - 9]
mov r8, rax
call sub.VCRUNTIME140.dll_memcpy
cmp dword [r13], 0
jne 0x1801136d6
call sym.QoOBJSl.dll_hqlite3_initialize
test eax, eax
jne 0x1801136ce
mov ecx, 0x158
call fcn.180005840
mov rsi, rax
test rax, rax
je 0x1801136ce
xor edx, edx
mov r8d, 0x158
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsi + 0x40], 2
lea rcx, [rsi + 0x150]
mov qword [rsi + 0x58], rcx
lea rax, [0x18010b500]
mov qword [rsi + 0x38], rax
lea rdi, [rsi + 0xd8]
mov qword [rsi + 0x18], r14
mov r15d, 1
mov dword [rdi + 8], r15d
cmp dword [rbx + 0xc], 0
jle 0x180113690
mov qword [rdi + 0x10], rbx
lea rdx, [rdi + 0x68]
mov rcx, qword [rbx]
call fcn.1801296c0
cmp dword [rbp + 0x5f], 0
movzx eax, al
mov dword [rdi + 0x20], eax
mov eax, dword [rbx + 8]
mov dword [rdi + 0x3c], eax
mov rax, qword [rsi + 0x58]
mov word [rax + 4], r15w
je 0x1801135eb
mov dword [rsi + 0x44], r15d
mov rdx, rdi
or dword [rdi + 8], 2
mov rcx, r14
call fcn.180108850
xor ebx, ebx
jmp 0x180113694
cmp dword [r13], 0
jne 0x18011368c
mov rax, qword [r14]
movsxd rdx, dword [rdi + 0x20]
mov r9, qword [rdi + 0x10]
mov ebx, edx
cmp dword [rax + 0x5c], r15d
jne 0x18011365a
mov r8d, dword [rdi + 0x3c]
cmp r8d, dword [r9 + 0xc]
cmovge r8d, dword [r9 + 0xc]
mov byte [rdi + 0x74], 0
mov dword [rdi + 0x70], r15d
cmp edx, r8d
jge 0x180113689
mov rax, qword [r9]
cmp byte [rdx + rax], 0
jne 0x180113689
inc edx
mov byte [rdi + 0x74], r15b
cmp edx, r8d
jge 0x18011364c
mov rax, qword [r9]
movsxd rcx, edx
cmp byte [rcx + rax], 0
jne 0x18011364c
inc edx
mov dword [rdi + 0x20], edx
xor ebx, ebx
jmp 0x180113694
mov dword [rdi + 0x70], 0
xor ebx, ebx
mov dword [rdi + 0x20], edx
jmp 0x180113694
mov rcx, rdx
inc edx
add rcx, qword [r9]
movzx eax, byte [rcx]
mov dword [rbp + 0x57], eax
test al, al
jns 0x18011367b
lea rdx, [rbp + 0x57]
call fcn.180129630
lea edx, [rbx + rax]
mov eax, dword [rbp + 0x57]
movzx ecx, al
and cl, r15b
sar eax, 1
mov dword [rdi + 0x70], eax
mov byte [rdi + 0x74], cl
mov dword [rdi + 0x20], edx
xor ebx, ebx
jmp 0x180113694
mov byte [rsi + 0x14], r15b
test byte [rdi + 8], 2
je 0x1801136a3
lea rcx, [0x180108ca0]
jmp 0x1801136bc
mov rax, qword [r14]
lea rcx, [0x180108f60]
lea rdx, [0x180108d30]
cmp dword [rax + 0x5c], r15d
cmove rcx, rdx
mov rax, qword [rbp + 0x7f]
mov qword [rdi + 0x28], rcx
mov qword [rax], rsi
test rbx, rbx
jne 0x1801136d6
jmp 0x180113731
mov dword [r13], 7
cmp dword [0x18015a080], 0
je 0x180113728
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801136f1
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180113731
call qword [0x18015a110]
jmp 0x180113731
mov rcx, rbx
call qword [0x18015a0a8]
mov rbx, qword [rbp - 9]
test rbx, rbx
je 0x1801137b1
cmp dword [0x18015a080], 0
je 0x180113799
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x180113755
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x18015d0a0], rdx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011378a
call qword [0x18015a110]
mov rcx, qword [rbp - 0x21]
call fcn.1801057f0
mov rbx, qword [rbp - 0x31]
jmp 0x1801137c3
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [rbp - 0x21]
call fcn.1801057f0
mov rbx, qword [rbp - 0x31]
jmp 0x1801137c3
mov rbx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x21]
call fcn.1801057f0
test rbx, rbx
je 0x18011381e
cmp dword [0x18015a080], 0
je 0x180113815
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x1801137de
call qword [0x18015a100]
mov rcx, rbx
call qword [0x18015a0b8]
dec qword [0x18015d0e8]
movsxd rcx, eax
sub qword [0x18015d0a0], rcx
mov rcx, rbx
call qword [0x18015a0a8]
mov rcx, qword [0x18015d358]
test rcx, rcx
je 0x18011381e
call qword [0x18015a110]
jmp 0x18011381e
mov rcx, rbx
call qword [0x18015a0a8]
mov r15, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
add rsp, 0xa8
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret