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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x1401b7098]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x24], 0xfffffff
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0
cmp dword [rsp + 0x1b0], 0
jl 0x14000c04c
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x5c], eax
jmp 0x14000c05d
mov rcx, qword [rsp + 0x1a8]
call fcn.14015b930
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x1a0]
cmp dword [rax + 0x3c], 0
je 0x14000c148
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x1a0]
movzx eax, byte [rcx + rax + 0x30]
mov byte [rsp + 0x38], al
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x3c]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x74]
jg 0x14000c120
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x1a8]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x38]
cmp eax, ecx
jne 0x14000c111
mov rax, qword [rsp + 0x1a0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
add rcx, 0x30
movsxd rdx, dword [rsp + 0x70]
mov r8, qword [rsp + 0x1a8]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x88], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.14015b9f0
test eax, eax
je 0x14000c120
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
jmp 0x14000c091
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x3c]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x74]
jle 0x14000c140
xor eax, eax
jmp 0x14000c76e
mov dword [rsp + 0x24], 0xffffffe
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x40]
cmp rax, 0x32
ja 0x14000c17d
mov qword [rsp + 0x78], 0
mov eax, 0x10
imul rax, rax, 0
lea rcx, [rsp + 0xb0]
mov qword [rsp + rax + 0x98], rcx
jmp 0x14000c1c1
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x40]
shl rax, 2
mov rcx, rax
call sym.sqlite3.exe_sqlite3_malloc64
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14000c1ab
mov eax, 0xffffffff
jmp 0x14000c76e
mov eax, 0x10
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov qword [rsp + rax + 0x98], rcx
mov eax, 0x10
imul rax, rax, 0
mov rcx, qword [rsp + 0x1a0]
mov ecx, dword [rcx + 0x40]
mov rax, qword [rsp + rax + 0x98]
lea rax, [rax + rcx*2]
mov ecx, 0x10
imul rcx, rcx, 1
mov qword [rsp + rcx + 0x98], rax
mov eax, 0x10
imul rax, rax, 1
lea rax, [rsp + rax + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
cmp dword [rsp + 0x24], 0
je 0x14000c6c5
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
jbe 0x14000c6c5
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x68]
mov rax, qword [rsp + 0x1a0]
call qword [rax + 0x28]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
imul rax, rax, 0x10
lea rax, [rsp + rax + 0x90]
mov qword [rsp + 0x30], rax
mov eax, 1
sub eax, dword [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
mov dword [rsp + 0x2c], 0
jmp 0x14000c29f
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
cmp dword [rsp + 0x2c], eax
jae 0x14000c6c0
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 8]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x18]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
dec eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x11
ja case.0x14000c309.9
movsxd rax, dword [rsp + 0x44]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xc788]
add rax, rcx
jmp rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov edx, dword [rsp + 0x24]
cmp dword [rcx + rax*4], edx
jne 0x14000c337
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp case.0x14000c309.9
cmp dword [rsp + 0x54], 0xfffffff
jne 0x14000c358
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.14000bae0
jmp case.0x14000c309.9
cmp dword [rsp + 0x24], 0
je 0x14000c376
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp case.0x14000c309.9
mov ecx, dword [rsp + 0x24]
call fcn.14000bee0
test eax, eax
je 0x14000c39a
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp case.0x14000c309.9
mov ecx, dword [rsp + 0x24]
call fcn.14000bee0
test eax, eax
jne 0x14000c3c5
cmp dword [rsp + 0x24], 0
je 0x14000c3c5
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp case.0x14000c309.9
mov ecx, dword [rsp + 0x24]
call fcn.14000bf40
test eax, eax
je 0x14000c3e9
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp case.0x14000c309.9
mov ecx, dword [rsp + 0x24]
call fcn.14000bf40
test eax, eax
jne 0x14000c414
cmp dword [rsp + 0x24], 0
je 0x14000c414
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp case.0x14000c309.9
mov ecx, dword [rsp + 0x24]
call fcn.14000bf80
test eax, eax
je 0x14000c438
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp case.0x14000c309.9
mov ecx, dword [rsp + 0x24]
call fcn.14000bf80
test eax, eax
jne 0x14000c463
cmp dword [rsp + 0x24], 0
je 0x14000c463
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp case.0x14000c309.9
mov ecx, dword [rsp + 0x24]
call fcn.14000bee0
mov dword [rsp + 0x80], eax
mov ecx, dword [rsp + 0x54]
call fcn.14000bee0
mov ecx, dword [rsp + 0x80]
cmp ecx, eax
je 0x14000c49e
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.14000bae0
jmp case.0x14000c309.9
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.14000bae0
jmp case.0x14000c309.9
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rcx + rax*4]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.14000bae0
mov eax, dword [rsp + 0x20]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.14000bae0
jmp case.0x14000c309.9
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rcx + rax*4]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.14000bae0
jmp case.0x14000c309.9
mov dword [rsp + 0x58], 1
jmp 0x14000c760
cmp dword [rsp + 0x24], 0
jne case.0x14000c309.7
jmp case.0x14000c309.9
mov dword [rsp + 0x28], 1
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x28], 1
jmp 0x14000c589
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jle 0x14000c661
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x28], eax
jge 0x14000c661
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x18]
movsx eax, byte [rcx + rax]
cmp eax, 9
jne 0x14000c5fa
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov edx, dword [rsp + 0x24]
cmp dword [rcx + rax*4], edx
jne 0x14000c5f8
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x28], 0xffffffff
jmp 0x14000c65c
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov edx, dword [rsp + 0x24]
cmp dword [rcx + rax*4], edx
jg 0x14000c652
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
lea eax, [rax + rcx + 1]
cdqe
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov edx, dword [rsp + 0x24]
cmp dword [rcx + rax*4], edx
jl 0x14000c652
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x28], 0xffffffff
jmp 0x14000c65c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x14000c57f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x18]
movsx eax, byte [rcx + rax]
cmp eax, 8
jne 0x14000c69c
cmp dword [rsp + 0x3c], 0
jne 0x14000c68c
mov dword [rsp + 0x60], 1
jmp 0x14000c694
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je case.0x14000c309.9
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.14000bae0
jmp 0x14000c295
jmp 0x14000c21f
mov dword [rsp + 0x2c], 0
jmp 0x14000c6d9
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
cmp dword [rsp + 0x2c], eax
jae 0x14000c760
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x18]
movsx eax, byte [rcx + rax]
cmp eax, 5
jne 0x14000c737
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rcx + rax*4]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x14000c6fb
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x18]
movsx eax, byte [rcx + rax]
cmp eax, 6
jne 0x14000c75b
mov dword [rsp + 0x58], 1
jmp 0x14000c760
jmp 0x14000c6cf
mov rcx, qword [rsp + 0x78]
call sym.sqlite3.exe_sqlite3_free
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140157ff0
add rsp, 0x198
ret