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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, rdx
mov r15, rcx
mov dl, 1
mov rcx, r12
call fcn.18004832c
mov dl, 1
mov rcx, r12
mov rbp, rax
call fcn.1800487f8
xor r10d, r10d
or r9d, 0xffffffff
movsxd r14, eax
mov edi, r10d
mov dword [rsp + 0x24], r10d
mov r13d, r10d
mov dword [rsp + 0x20], r9d
test rbp, rbp
jne 0x1800ae07d
xor eax, eax
jmp 0x1800ae25d
mov esi, r10d
lea edx, [rsi - 0x68f72]
mov rcx, r15
call sym.WWStartupCtrl64.dll_sqlite3_get_auxdata
mov rbx, rax
test rax, rax
je 0x1800ae143
test rdi, rdi
jne 0x1800ae11a
cmp dword [rax + 0x3c], r14d
jne 0x1800ae0dc
cmp byte [rax + 0x37], r10b
je 0x1800ae0b6
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x1800ae0e3
mov rcx, qword [rbx + 0x10]
cmp rcx, rbp
je 0x1800ae0d6
mov r8, r14
mov rdx, rbp
call fcn.1800ca490
mov r9d, dword [rsp + 0x20]
xor r10d, r10d
test eax, eax
jne 0x1800ae0dc
mov byte [rbx + 0x36], r10b
jmp 0x1800ae111
mov eax, dword [rsp + 0x88]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800ae11a
test eax, eax
jne 0x1800ae11a
cmp dword [rbx + 0x40], r14d
jne 0x1800ae11a
mov r8, r14
mov rdx, rbp
call fcn.1800ca490
mov r9d, dword [rsp + 0x20]
xor r10d, r10d
test eax, eax
jne 0x1800ae11a
mov byte [rbx + 0x36], 1
mov byte [rbx + 0x32], r10b
mov rdi, rbx
jmp 0x1800ae12d
cmp dword [rbx + 0x4c], r9d
jae 0x1800ae12d
mov r9d, dword [rbx + 0x4c]
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x20], r9d
cmp dword [rbx + 0x4c], r13d
cmova r13d, dword [rbx + 0x4c]
inc esi
cmp esi, 4
jl 0x1800ae080
jmp 0x1800ae147
mov dword [rsp + 0x24], esi
test rdi, rdi
je 0x1800ae15f
lea ecx, [r13 + 1]
mov byte [rdi + 0x32], r10b
mov dword [rdi + 0x4c], ecx
mov rax, rdi
jmp 0x1800ae25d
test r12, r12
je 0x1800ae18c
test byte [r12 + 0x14], 0x12
je 0x1800ae18c
mov eax, 0x1000
test word [r12 + 0x14], ax
je 0x1800ae18c
lea rax, [0x18002b0cc]
mov ebx, 1
cmp qword [r12 + 0x30], rax
je 0x1800ae18f
mov ebx, r10d
lea esi, [r14 + 1]
test ebx, ebx
mov eax, esi
cmovne eax, r10d
movsxd rcx, eax
add rcx, 0x50
call sym.WWStartupCtrl64.dll_sqlite3_malloc64
mov rdi, rax
test rax, rax
jne 0x1800ae1bc
mov rcx, r15
call sym.WWStartupCtrl64.dll_sqlite3_result_error_nomem
jmp 0x1800ae076
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x50]
call fcn.1800c5900
test ebx, ebx
je 0x1800ae1dc
inc qword [rbp - 8]
mov qword [rdi + 0x10], rbp
mov byte [rdi + 0x34], 1
jmp 0x1800ae1ef
lea rcx, [rdi + 0x50]
movsxd r8, esi
mov rdx, rbp
mov qword [rdi + 0x10], rcx
call fcn.1800bf720
mov rbx, qword [rsp + 0x80]
mov rcx, rdi
mov dword [rdi + 0x38], 1
mov rdx, rbx
call fcn.1800ade50
test eax, eax
je 0x1800ae228
test rbx, rbx
jne 0x1800ae21b
mov byte [rdi + 0x32], 1
jmp 0x1800ae157
mov rcx, rdi
call fcn.1800ac1fc
jmp 0x1800ae076
mov ebx, dword [rsp + 0x24]
lea eax, [r13 + 1]
lea r9, [fcn.1800ac1fc]
lea edx, [rbx - 0x68f72]
mov r8, rdi
mov rcx, r15
mov dword [rdi + 0x3c], r14d
mov dword [rdi + 0x4c], eax
call sym.WWStartupCtrl64.dll_sqlite3_set_auxdata
lea edx, [rbx - 0x68f72]
mov rcx, r15
call sym.WWStartupCtrl64.dll_sqlite3_get_auxdata
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret