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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbp
sub rsp, 0x60
mov qword [rax - 0x10], rbx
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
xor ebp, ebp
mov qword [rax - 0x30], r13
mov r12, r9
movsxd rdi, edx
mov r13, r8
test rcx, rcx
je 0x18000cd20
call qword [0x1800bcef8]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r15
cmp edi, 0xb
ja case.default.0x18000cd49
lea rdx, [0x180000000]
mov ecx, dword [rdx + rdi*4 + 0xd150]
add rcx, rdx
jmp rcx
mov eax, dword [rbx + 0x160]
mov dword [r13], eax
mov eax, dword [rbx + 0x164]
mov dword [r12], eax
cmp dword [rsp + 0x90], ebp
je 0x18000d116
mov eax, dword [rbx + 0x160]
mov dword [rbx + 0x164], eax
jmp 0x18000d116
mov dword [r13], ebp
lea rcx, [rbx + rdi*4]
mov eax, dword [rcx + 0x158]
mov dword [r12], eax
cmp dword [rsp + 0x90], ebp
je 0x18000d116
mov dword [rcx + 0x158], ebp
jmp 0x18000d116
mov rcx, rbx
mov r14d, ebp
call fcn.18003f970
mov r15d, ebp
cmp dword [rbx + 0x28], ebp
jle 0x18000ce53
mov r12, rbp
mov rax, qword [rbx + 0x20]
mov r13, qword [r12 + rax + 8]
test r13, r13
je 0x18000ce2b
mov rax, qword [r13 + 8]
mov rsi, qword [rax]
movzx ecx, word [rsi + 0xb0]
mov edi, dword [rsi + 0xbc]
add ecx, 0x70
add edi, ecx
mov rcx, qword [rsi + 0x110]
mov rcx, qword [rcx + 0x40]
call qword [0x1800bcf50]
mov rcx, rsi
mov r14d, eax
call qword [0x1800bceb0]
imul r14d, edi
add r14d, dword [rsi + 0xbc]
add r14d, eax
cmp dword [rsp + 0x78], 0xb
jne 0x18000ce28
mov rcx, qword [r13 + 8]
mov eax, r14d
cdq
idiv dword [rcx + 0x60]
mov r14d, eax
add ebp, r14d
inc r15d
add r12, 0x20
cmp r15d, dword [rbx + 0x28]
jl 0x18000cdc1
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov dword [rsp + 0x70], ebp
mov r14d, dword [rsp + 0x70]
xor ebp, ebp
cmp dword [rbx + 0x28], 0
mov edi, ebp
jle 0x18000ce89
mov rsi, rbp
nop
mov rax, qword [rbx + 0x20]
mov rcx, qword [rsi + rax + 8]
test rcx, rcx
je 0x18000ce7e
cmp byte [rcx + 0x11], 0
je 0x18000ce7e
dec dword [rcx + 0x14]
jne 0x18000ce7e
call fcn.180080340
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x28]
jl 0x18000ce60
mov dword [r13], r14d
mov dword [r12], ebp
jmp 0x18000d116
mov rcx, rbx
mov dword [rsp + 0x78], ebp
call fcn.18003f970
lea rax, [rsp + 0x78]
mov r14d, ebp
mov qword [rbx + 0x298], rax
cmp dword [rbx + 0x28], ebp
jle 0x18000cfe2
mov r15, rbp
mov r13d, 0xffff
mov rax, qword [rbx + 0x20]
mov rsi, qword [r15 + rax + 0x18]
test rsi, rsi
je 0x18000cfc9
mov ecx, 0x20
call qword [0x1800bceb8]
mov ecx, dword [rsi + 0x54]
mov edx, dword [rsp + 0x78]
add ecx, dword [rsi + 0x3c]
add ecx, dword [rsi + 0x24]
add ecx, dword [rsi + 0xc]
imul eax, ecx
add edx, eax
mov dword [rsp + 0x78], edx
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x18000cf0e
call qword [0x1800bceb0]
mov edx, dword [rsp + 0x78]
jmp 0x18000cf10
mov eax, ebp
add edx, eax
mov dword [rsp + 0x78], edx
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x18000cf2b
call qword [0x1800bceb0]
mov edx, dword [rsp + 0x78]
jmp 0x18000cf2d
mov eax, ebp
add edx, eax
mov dword [rsp + 0x78], edx
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x18000cf48
call qword [0x1800bceb0]
mov edx, dword [rsp + 0x78]
jmp 0x18000cf4a
mov eax, ebp
add edx, eax
mov dword [rsp + 0x78], edx
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x18000cf65
call qword [0x1800bceb0]
mov edx, dword [rsp + 0x78]
jmp 0x18000cf67
mov eax, ebp
add edx, eax
mov dword [rsp + 0x78], edx
mov rdi, qword [rsi + 0x40]
test rdi, rdi
je 0x18000cf94
nop word [rax + rax]
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call fcn.180047610
mov rdi, qword [rdi]
test rdi, rdi
jne 0x18000cf80
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x18000cfc9
nop dword [rax]
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x18000cfc1
cmp qword [rbx + 0x298], rbp
jne 0x18000cfb9
add word [rdx + 0x40], r13w
jne 0x18000cfc1
mov rcx, rbx
call fcn.18001e960
mov rdi, qword [rdi]
test rdi, rdi
jne 0x18000cfa0
inc r14d
add r15, 0x20
cmp r14d, dword [rbx + 0x28]
jl 0x18000cec3
mov r13, qword [rsp + 0x80]
mov rcx, rbx
mov qword [rbx + 0x298], rbp
call fcn.180040600
mov eax, dword [rsp + 0x78]
mov dword [r12], ebp
mov dword [r13], eax
jmp 0x18000d116
mov rdi, qword [rbx + 8]
lea rcx, [rsp + 0x78]
mov eax, ebp
mov dword [rsp + 0x78], eax
mov qword [rbx + 0x298], rcx
test rdi, rdi
je 0x18000d086
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call fcn.18006bab0
test rdi, rdi
je 0x18000d079
cmp qword [rbx + 0x298], rbp
je 0x18000d046
mov rdx, rdi
mov rcx, rbx
call fcn.18002c290
jmp 0x18000d079
cmp rdi, qword [rbx + 0x180]
jb 0x18000d071
cmp rdi, qword [rbx + 0x188]
jae 0x18000d071
mov rax, qword [rbx + 0x178]
mov qword [rdi], rax
dec dword [rbx + 0x160]
mov qword [rbx + 0x178], rdi
jmp 0x18000d079
mov rcx, rdi
call sym.sqlite3.dll_sqlite3_free
mov rdi, qword [rdi + 0x58]
test rdi, rdi
jne 0x18000d020
mov eax, dword [rsp + 0x78]
mov qword [rbx + 0x298], rbp
mov dword [r12], ebp
mov dword [r13], eax
jmp 0x18000d116
mov edx, ebp
mov r9d, ebp
cmp dword [rbx + 0x28], edx
jle 0x18000d0e4
mov r10d, dword [rsp + 0x90]
mov r8, rbp
nop dword [rax]
mov rax, qword [rbx + 0x20]
mov rax, qword [r8 + rax + 8]
test rax, rax
je 0x18000d0d9
mov rax, qword [rax + 8]
mov rcx, qword [rax]
add r9d, dword [rcx + rdi*4 + 0xd4]
test r10d, r10d
je 0x18000d0d9
mov dword [rcx + rdi*4 + 0xd4], ebp
inc edx
add r8, 0x20
cmp edx, dword [rbx + 0x28]
jl 0x18000d0b0
mov dword [r12], ebp
mov dword [r13], r9d
jmp 0x18000d116
mov dword [r12], ebp
cmp qword [rbx + 0x290], rbp
jg 0x18000d106
mov eax, ebp
cmp qword [rbx + 0x288], rbp
jle 0x18000d10b
mov eax, 1
mov dword [r13], eax
jmp 0x18000d116
mov ebp, 1
mov rcx, qword [rbx + 0x18]
mov r15, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
test rcx, rcx
je 0x18000d148
call qword [0x1800bcf08]
mov eax, ebp
add rsp, 0x60
pop rbp
ret