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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov byte [rsp + 0x4c], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x84], 0
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
mov edx, 0xf
mov rcx, qword [rsp + 0x50]
call fcn.140048640
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x158]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x158]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x158]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
jmp 0x1401003f4
mov rax, qword [rsp + 0x58]
add rax, 0x38
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x58], rax
jae 0x1401005c7
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x12]
and eax, 2
test eax, eax
jne 0x14010047b
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0xc8]
call fcn.140074290
test eax, eax
je 0x14010047b
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.1400778d0
mov r8, rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x150]
call fcn.140052a00
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x58]
call fcn.140100220
test eax, eax
je 0x1401005c2
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0x40
jl 0x1401004ca
movabs rax, 0x8000000000000000
mov qword [rsp + 0xd0], rax
jmp 0x1401004f4
mov eax, dword [rsp + 0x80]
mov ecx, 1
mov qword [rsp + 0x110], rcx
movzx ecx, al
mov rax, qword [rsp + 0x110]
shl rax, cl
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
movzx eax, byte [rsp + 0x4c]
test eax, eax
jne 0x14010054a
movsxd rax, dword [rsp + 0x80]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 8]
mov r9, qword [rcx + rax]
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
lea rdx, str.automatic_index_on__s__s_
mov ecx, 0x11c
call sym.sqlite3.exe_sqlite3_log
mov byte [rsp + 0x4c], 1
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1401005c2
mov eax, dword [rsp + 0x48]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.1400ff300
test eax, eax
je 0x140100589
jmp 0x140100e2e
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x1401003e6
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x48]
mov word [rax + 0x3c], cx
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x48]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x38], 0x4241
mov rax, qword [rsp + 0x78]
not rax
movabs rcx, 0x8000000000000000
or rax, rcx
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x50]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x90]
movsx eax, word [rax + 0x36]
cmp eax, 0x3f
jle 0x14010063c
mov dword [rsp + 0xa8], 0x3f
jmp 0x14010064f
mov rax, qword [rsp + 0x90]
movsx eax, word [rax + 0x36]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x40], 0
jmp 0x140100671
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x40], eax
jge 0x1401006bc
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov qword [rsp + 0x118], rcx
movzx ecx, al
mov rax, qword [rsp + 0x118]
shl rax, cl
mov rcx, qword [rsp + 0x108]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x1401006ba
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x140100667
mov rax, qword [rsp + 0x160]
movabs rcx, 0x8000000000000000
mov rax, qword [rax + 0x50]
and rax, rcx
test rax, rax
je 0x1401006f2
mov rax, qword [rsp + 0x90]
movsx eax, word [rax + 0x36]
mov ecx, dword [rsp + 0x48]
lea eax, [rcx + rax - 0x3f]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
inc eax
lea r9, [rsp + 0x138]
xor r8d, r8d
movzx edx, ax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.1400632f0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140100728
jmp 0x140100e2e
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x60]
lea rcx, str.auto_index
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x18], rcx
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x158]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
jmp 0x140100788
mov rax, qword [rsp + 0x58]
add rax, 0x38
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x58], rax
jae 0x1401008f8
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x58]
call fcn.140100220
test eax, eax
je 0x1401008f3
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0x40
jl 0x1401007ea
movabs rax, 0x8000000000000000
mov qword [rsp + 0xe8], rax
jmp 0x140100814
mov eax, dword [rsp + 0xac]
mov ecx, 1
mov qword [rsp + 0x120], rcx
movzx ecx, al
mov rax, qword [rsp + 0x120]
shl rax, cl
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1401008f3
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x58]
movzx edx, word [rdx + 0x20]
mov word [rcx + rax*2], dx
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x150]
call fcn.140089090
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x1401008c0
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
jmp 0x1401008cf
lea rax, [0x14017db1c]
mov qword [rsp + 0x100], rax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0x100]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x14010077a
mov dword [rsp + 0x40], 0
jmp 0x14010090c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x40], eax
jge 0x14010098a
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov qword [rsp + 0x130], rcx
movzx ecx, al
mov rax, qword [rsp + 0x130]
shl rax, cl
mov rcx, qword [rsp + 0x108]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x140100985
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
movzx edx, word [rsp + 0x40]
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
lea rdx, [0x14017db1c]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x140100902
mov rax, qword [rsp + 0x160]
movabs rcx, 0x8000000000000000
mov rax, qword [rax + 0x50]
and rax, rcx
test rax, rax
je 0x140100a0a
mov dword [rsp + 0x40], 0x3f
jmp 0x1401009bc
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x90]
movsx eax, word [rax + 0x36]
cmp dword [rsp + 0x40], eax
jge 0x140100a0a
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
movzx edx, word [rsp + 0x40]
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
lea rdx, [0x14017db1c]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x1401009b2
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov edx, 0xffffffff
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
lea rdx, [0x14017db1c]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x150]
mov ecx, dword [rcx + 0x34]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x150]
mov dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x48]
inc eax
mov r9d, eax
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 8]
mov edx, 0x74
mov rcx, qword [rsp + 0x50]
call fcn.1400486c0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x150]
call fcn.1400495d0
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov eax, dword [rax + 0x60]
and eax, 0x80000
test eax, eax
jne 0x140100b0e
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x150]
mov ecx, dword [rsp + 0xb4]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x170]
mov ecx, dword [rsp + 0xb4]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0x170]
mov r9d, dword [rax + 0x34]
mov r8d, 0x2710
mov edx, 0x4d
mov rcx, qword [rsp + 0x50]
call fcn.1400486c0
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x170]
movzx ecx, byte [rcx + 0x40]
imul rcx, rcx, 0x68
lea rax, [rax + rcx + 8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x40]
shr eax, 5
and eax, 1
test eax, eax
je 0x140100bc3
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0xb8], eax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x47
mov rcx, qword [rsp + 0x50]
call fcn.1400486c0
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0xb8]
mov edx, 0xb
mov rcx, qword [rsp + 0x50]
call fcn.1400488f0
mov r8d, dword [rsp + 0xb8]
mov edx, 0xc
mov rcx, qword [rsp + 0x50]
call fcn.140048680
mov dword [rsp + 0x68], eax
jmp 0x140100be2
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov edx, 0x24
mov rcx, qword [rsp + 0x50]
call fcn.140048680
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0xa0], 0
je 0x140100c38
mov rcx, qword [rsp + 0x150]
call fcn.140049750
mov dword [rsp + 0x84], eax
mov r9d, 0x10
mov r8d, dword [rsp + 0x84]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x150]
call fcn.140070fe0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
bts eax, 0x11
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x38], eax
mov rcx, qword [rsp + 0x150]
call fcn.1400523a0
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x88]
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x150]
call fcn.140074df0
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x34], 0
je 0x140100cdf
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 0x34]
mov edx, 0xb4
mov rcx, qword [rsp + 0x50]
call fcn.140048af0
mov r9d, dword [rsp + 0x88]
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 8]
mov edx, 0x8a
mov rcx, qword [rsp + 0x50]
call fcn.1400486c0
mov dx, 0x10
mov rcx, qword [rsp + 0x50]
call fcn.1400491d0
cmp qword [rsp + 0xa0], 0
je 0x140100d2c
mov edx, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x50]
call fcn.140049e50
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x40]
shr eax, 5
and eax, 1
test eax, eax
je 0x140100dc9
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0xbc]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
call fcn.140049150
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov r9d, dword [rax + 0x38]
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x150]
call fcn.140100090
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.140048710
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x40]
and eax, 0xffffffdf
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 0x40], eax
jmp 0x140100dfb
mov eax, dword [rsp + 0x68]
inc eax
mov r9d, eax
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov edx, 0x27
mov rcx, qword [rsp + 0x50]
call fcn.1400486c0
mov dx, 3
mov rcx, qword [rsp + 0x50]
call fcn.1400491d0
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.140049280
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x150]
call fcn.140052410
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x50]
call fcn.140049280
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.140053070
add rsp, 0x148
ret