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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rsp + 0xa0]
mov r13, qword [rcx + 8]
mov rax, rcx
mov rbx, qword [rax + 0x10]
mov rax, qword [rax]
movsxd r11, dword [rdi]
mov rbp, qword [rax + 8]
mov r14, qword [rax]
mov rcx, qword [rdi + 0x20]
movzx esi, byte [rbx + 0x10]
mov rax, qword [rsp + 0xb0]
xor r12d, r12d
mov qword [rbx], rdx
mov rdx, qword [rdi + 8]
mov r10, r8
imul rsi, rsi, 0x68
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x30], rbp
mov dword [rax], r12d
test r11d, r11d
jle 0x1800d4d5d
mov r12, qword [rsp + 0xb8]
add rdx, 5
mov r8d, r11d
xor r15d, r15d
movsxd rcx, dword [rdx + 3]
imul rcx, rcx, 0x38
add rcx, qword [r13 + 0x20]
mov byte [rdx], r15b
mov rax, qword [rcx + 0x28]
and rax, r10
cmp rax, qword [rcx + 0x28]
jne 0x1800d4d49
test word [rcx + 0x14], r9w
jne 0x1800d4d49
test r12, r12
jne 0x1800d4d46
mov al, byte [rcx + 0x17]
cmp al, 0x49
jb 0x1800d4d46
cmp al, 0x4a
jbe 0x1800d4d49
mov byte [rdx], 1
add rdx, 0xc
dec r8
jne 0x1800d4d13
mov rcx, qword [rsp + 0x88]
xor r12d, r12d
mov r15, r11
xor edx, edx
mov qword [rsp + 0x38], r11
shl r15, 3
mov r8, r15
call fcn.1800e96b0
mov qword [rdi + 0x30], r12
mov dword [rdi + 0x28], r12d
mov dword [rdi + 0x3c], r12d
mov qword [rdi + 0x48], 0x19
mov dword [rdi + 0x50], r12d
movabs rax, 0x546d42aea2879f2e
mov qword [rdi + 0x40], rax
mov rax, qword [rsi + rbp + 0x58]
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x78], r12d
mov rbp, qword [rsi + rbp + 0x28]
mov rax, qword [rbp + 0x50]
test rax, rax
je 0x1800d4dc5
mov rcx, qword [r14]
cmp qword [rax], rcx
je 0x1800d4dc5
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1800d4db7
mov r13, qword [rax + 0x10]
mov rax, qword [r14]
mov rdx, rdi
inc dword [rax + 0x48]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x18]
mov esi, eax
mov rax, qword [r14]
dec dword [rax + 0x48]
test esi, esi
je 0x1800d4e1e
cmp esi, 0x13
je 0x1800d4e1e
cmp esi, 7
jne 0x1800d4dfc
mov rcx, qword [r14]
call fcn.18006837c
jmp 0x1800d4e1e
mov r8, qword [r13 + 0x10]
test r8, r8
jne 0x1800d4e0f
mov ecx, esi
call fcn.1800e1210
mov r8, rax
lea rdx, [0x18010c9f8]
mov rcx, r14
call fcn.180069390
mov rax, qword [rbp + 0x50]
cmp byte [rax + 0x1d], r12b
je 0x1800d4e6f
mov rax, qword [r14]
mov r12d, dword [rax + 0x28]
xor eax, eax
mov ebp, eax
test r12d, r12d
jle 0x1800d4e4b
mov edx, ebp
mov rcx, r14
call fcn.1800aa264
inc ebp
cmp ebp, r12d
jl 0x1800d4e38
xor eax, eax
cmp dword [r14 + 0x78], eax
je 0x1800d4e6c
mov ebp, eax
test r12d, r12d
jle 0x1800d4e6c
mov r8d, ebp
xor edx, edx
mov rcx, r14
call fcn.1800aa330
inc ebp
cmp ebp, r12d
jl 0x1800d4e58
xor r12d, r12d
mov rcx, qword [r13 + 0x10]
call sym.WWStartupCtrl64.dll_sqlite3_free
mov qword [r13 + 0x10], r12
test esi, esi
je 0x1800d4e8e
cmp esi, 0x13
cmove esi, r12d
mov eax, esi
jmp 0x1800d5142
mov rcx, qword [rbx + 0x48]
mov r8, r15
xor edx, edx
or esi, 0xffffffff
call fcn.1800e96b0
lea r8d, [rsi + 0x21]
lea rcx, [rbx + 0x18]
xor edx, edx
call fcn.1800e96b0
mov r15, qword [rsp + 0x38]
mov r11, qword [rdi + 8]
xor r9d, r9d
mov r10d, r9d
mov ebp, r9d
test r15, r15
jle 0x1800d4fe7
mov rax, qword [rsp + 0x88]
add r11, 5
mov r13d, r15d
mov r8d, dword [rax + rbp*8]
dec r8d
js 0x1800d4fd4
movsxd rax, dword [r11 + 3]
cmp r8d, r13d
jge 0x1800d5093
test eax, eax
js 0x1800d5093
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx + 0x14]
jge 0x1800d5093
mov rdx, qword [rbx + 0x48]
movsxd rcx, r8d
cmp qword [rdx + rcx*8], r9
jne 0x1800d5093
cmp byte [r11], r9b
je 0x1800d5093
mov r9, rax
mov rax, qword [rsp + 0x20]
imul r9, r9, 0x38
add r9, qword [rax + 0x20]
mov rax, qword [r9 + 0x28]
or qword [rbx], rax
mov rax, qword [rsp + 0x88]
cmp r8d, esi
mov qword [rdx + rcx*8], r9
cmovg esi, r8d
cmp byte [rax + rbp*8 + 4], 0
je 0x1800d4f81
cmp r10d, 0x10
jge 0x1800d4f76
movzx eax, word [rsp + 0xa8]
bt eax, r10d
jb 0x1800d4f76
mov eax, 1
mov ecx, r8d
shl ax, cl
or word [rbx + 0x22], ax
cmp byte [r9 + 0x17], 0x4a
jne 0x1800d4f81
or dword [rbx + 0x1c], 2
mov ecx, r10d
mov eax, 1
shl eax, cl
xor ecx, ecx
cmp r10d, 0x1f
mov edx, ecx
cmovle edx, eax
test dword [rdi + 0x78], edx
je 0x1800d5041
mov ecx, r8d
mov eax, 1
shl eax, cl
or dword [rbx + 0x30], eax
mov rcx, qword [rsp + 0xb0]
mov al, byte [r9 + 0x17]
xor r9d, r9d
cmp al, 0x49
jb 0x1800d4fcc
cmp al, 0x4a
ja 0x1800d4fcc
cmp dword [rcx], r9d
jne 0x1800d5066
mov rax, qword [rsp + 0x88]
inc rbp
inc r10d
add r11, 0xc
cmp rbp, r15
jl 0x1800d4ed8
mov ebp, 1
mov ecx, r9d
lea eax, [rbp + rsi]
mov word [rbx + 0x3c], ax
test esi, esi
js 0x1800d5012
mov rax, qword [rbx + 0x48]
cmp qword [rax], r9
je 0x1800d50be
add ecx, ebp
add rax, 8
cmp ecx, esi
jle 0x1800d4fff
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x18], eax
mov eax, dword [rdi + 0x38]
xor eax, dword [rbx + 0x1c]
and eax, ebp
xor dword [rbx + 0x1c], eax
mov rax, qword [rdi + 0x30]
mov dword [rdi + 0x38], r9d
mov qword [rbx + 0x28], rax
cmp dword [rdi + 0x3c], r9d
je 0x1800d50e3
mov eax, dword [rdi + 0x10]
jmp 0x1800d50e6
test byte [r9 + 0x14], 1
je 0x1800d4fac
and dword [rdi + 0x50], 0xfffffffe
mov dword [rdi + 0x3c], ecx
mov rcx, qword [rsp + 0xb0]
mov dword [rcx], 1
jmp 0x1800d4fb4
cmp dword [rdi + 0x38], r9d
je 0x1800d507e
mov rcx, qword [rdi + 0x30]
call sym.WWStartupCtrl64.dll_sqlite3_free
xor eax, eax
mov qword [rdi + 0x30], rax
mov dword [rdi + 0x38], eax
mov rax, qword [rsp + 0xb8]
mov dword [rax], 1
xor eax, eax
jmp 0x1800d5142
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
lea rdx, str._s.xBestIndex_malfunction
mov r8, qword [r8 + rcx + 0x28]
mov rcx, r14
mov r8, qword [r8]
call fcn.180069390
mov eax, 1
jmp 0x1800d5142
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
lea rdx, str._s.xBestIndex_malfunction
mov r8, qword [r8 + rcx + 0x28]
mov rcx, r14
mov r8, qword [r8]
call fcn.180069390
mov eax, ebp
jmp 0x1800d5142
mov eax, r9d
mov byte [rbx + 0x20], al
mov word [rbx + 0x12], r9w
movsd xmm0, qword [rdi + 0x40]
call fcn.18006ad34
mov word [rbx + 0x14], ax
mov rcx, qword [rdi + 0x48]
call fcn.18006acd4
mov word [rbx + 0x16], ax
test byte [rdi + 0x50], bpl
je 0x1800d5116
bts dword [rbx + 0x38], 0xc
jmp 0x1800d511b
btr dword [rbx + 0x38], 0xc
mov rcx, qword [rsp + 0x80]
mov rdx, rbx
call fcn.1800d34e0
mov edi, eax
test byte [rbx + 0x1c], bpl
je 0x1800d5140
mov rcx, qword [rbx + 0x28]
call sym.WWStartupCtrl64.dll_sqlite3_free
and dword [rbx + 0x1c], 0xfffffffe
mov eax, edi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret