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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, rcx
mov rcx, qword [rcx]
mov r14, rdx
xor edx, edx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rax + 0x10]
mov rax, qword [r9 + 0x20]
mov r13, r9
mov r9, qword [r14 + 0x20]
mov rbx, r8
mov word [rsp + 0xd8], dx
mov esi, edx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x30], rcx
mov edi, edx
mov dword [rsp + 0x20], edx
mov r10d, edx
cmp dword [r14 + 0x14], edx
jle 0x1800ada15
mov ebp, 0xffbf
nop
and word [r9 + 0x12], bp
mov r11d, dword [r13 + 0x44]
movzx ecx, word [r9 + 0x12]
cmp dword [r9 + 0x1c], r11d
jne 0x1800ad9fd
test qword [r9 + 0x28], rbx
jne 0x1800ad9fd
movzx eax, word [r9 + 0x14]
test eax, 0xfffff7ff
je 0x1800ad9fd
test cl, cl
js 0x1800ad9fd
movzx edx, byte [r13 + 0x3c]
test dl, 0x58
je 0x1800ad9f2
mov rax, qword [r9]
mov r8d, dword [rax + 4]
test r8b, 3
je 0x1800ad9fd
cmp dword [rax + 0x34], r11d
jne 0x1800ad9fd
test dl, 0x18
je 0x1800ad9f2
test r8b, 2
jne 0x1800ad9fd
inc edi
or cx, 0x40
mov word [r9 + 0x12], cx
inc r10d
add r9, 0x38
cmp r10d, dword [r14 + 0x14]
jl 0x1800ad9a0
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], edi
xor edx, edx
mov r15d, edx
mov dword [rsp + 0x28], edx
mov r8d, 1
lea r9, [fcn.180053600]
lea r10, [0x180053420]
test rcx, rcx
je 0x1800adbc4
movsxd r14, dword [rcx]
mov ebp, edx
mov rsi, rdx
mov r12, r14
test r14d, r14d
jle 0x1800adb7f
mov r15, qword [rsp + 0x38]
lea rdi, [rcx + 0x18]
mov r14d, 0x200
nop dword [rax]
mov rbx, qword [rdi - 0x10]
mov word [rsp + 0x6c], r8w
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r10
mov dword [rsp + 0x70], edx
test rbx, rbx
je 0x1800adb5b
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.18004c270
cmp word [rsp + 0x6c], 0
jne 0x1800adb45
test byte [rdi], 2
jne 0x1800adb6d
movzx ecx, byte [rbx]
cmp cl, 0xa7
jne 0x1800adab8
mov eax, dword [r13 + 0x44]
cmp dword [rbx + 0x2c], eax
je 0x1800adb45
cmp cl, 0x71
jne 0x1800adb6d
mov rcx, qword [rbx + 0x10]
cmp byte [rcx], 0xa7
jne 0x1800adb6d
mov eax, dword [r13 + 0x44]
cmp dword [rcx + 0x2c], eax
jne 0x1800adb6d
movzx eax, word [rcx + 0x30]
mov word [rbx + 0x30], ax
cmp word [rcx + 0x30], 0
jl 0x1800adb45
movsx rax, word [rcx + 0x30]
mov rcx, qword [r15 + 8]
lea rax, [rax + rax*2]
movzx edx, word [rcx + rax*8 + 0x12]
test r14w, dx
je 0x1800adb31
mov rax, qword [rcx + rax*8]
cmp byte [rax], 0
je 0x1800adb18
nop dword [rax + rax]
inc rax
cmp byte [rax], 0
jne 0x1800adb10
test dl, 4
je 0x1800adb28
nop dword [rax]
inc rax
cmp byte [rax], 0
jne 0x1800adb20
lea rdx, [rax + 1]
test rdx, rdx
jne 0x1800adb38
lea rdx, [0x180144b18]
mov rcx, qword [rbx + 8]
call sym.sqlite.dll_sqlite3_stricmp
test eax, eax
jne 0x1800adb6d
lea r10, [0x180053420]
lea r9, [fcn.180053600]
mov r8d, 1
xor edx, edx
inc rsi
inc ebp
add rdi, 0x20
cmp rsi, r12
jl 0x1800ada60
mov r15d, dword [rsp + 0x28]
mov edi, dword [rsp + 0x20]
xor edx, edx
lea r8d, [rdx + 1]
mov r14d, r12d
cmp ebp, r14d
jne 0x1800adbb8
mov rax, qword [rsp + 0xc0]
mov r15d, r14d
mov r14, qword [rsp + 0xc8]
movzx eax, word [rax + 0x3c]
test al, al
jns 0x1800adbac
mov esi, eax
shr esi, 9
and esi, 1
add esi, 2
jmp 0x1800adbc4
mov esi, dword [rsp + 0x24]
test al, 0x40
cmovne esi, r8d
jmp 0x1800adbc4
mov esi, dword [rsp + 0x24]
mov r14, qword [rsp + 0xc8]
movsxd r13, r15d
mov r15, qword [rsp + 0x40]
movsxd rdi, edi
mov rcx, qword [r15]
mov rax, rdi
imul rax, rax, 0x1c
lea rbx, [rax + r13*8 + 0x88]
test rcx, rcx
je 0x1800adbf3
mov rdx, rbx
call fcn.18000c4a0
mov r12, rax
jmp 0x1800adc57
test rbx, rbx
je 0x1800adc54
cmp rbx, 0x7ffffeff
ja 0x1800adc54
cmp dword [0x180172920], 0
je 0x1800adc47
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800adc1c
call qword [0x1801729a0]
lea rdx, [rsp + 0xc8]
mov ecx, ebx
call fcn.18000bd10
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800adc3d
call qword [0x1801729b0]
mov r12, qword [rsp + 0xc8]
jmp 0x1800adc57
mov ecx, ebx
call qword [0x180172940]
mov r12, rax
jmp 0x1800adc57
mov r12, rdx
test r12, r12
je 0x1800ade85
mov r8, rbx
xor edx, edx
mov rcx, r12
call fcn.18012e4c0
lea r8, [r12 + rdi*8 + 0x80]
lea rax, [rdi + rdi*2]
mov qword [r12 + 8], r8
lea rbp, [r8 + rax*4]
xor ebx, ebx
mov qword [r12 + 0x18], rbp
lea rax, [rbp + r13*8]
xor r10d, r10d
mov qword [r12 + 0x20], rax
mov qword [r12 + 0x60], r14
mov qword [r12 + 0x68], r15
mov dword [r12 + 0x70], esi
mov dword [r12 + 0x74], 0
mov r9, qword [r14 + 0x20]
mov eax, 1
mov qword [rsp + 0xc8], rbp
mov r11d, eax
cmp dword [r14 + 0x14], ebx
jle 0x1800addea
mov esi, 0x180
add r8, 4
mov ecx, 0x3fff
mov edi, 0x8000
movzx ebp, bx
lea r15d, [rsi - 0x80]
nop word [rax + rax]
test byte [r9 + 0x12], 0x40
je 0x1800addc5
mov eax, dword [r9 + 0x20]
mov dword [r8 + 4], ebx
mov dword [r8 - 4], eax
movzx edx, word [r9 + 0x14]
and dx, cx
cmp dx, 1
jne 0x1800add43
test word [r9 + 0x12], di
jne 0x1800add2b
xor eax, eax
cmp r10d, 0x1f
cmovle eax, r11d
or dword [r12 + 0x74], eax
mov edx, 2
test si, dx
je 0x1800add53
cmp dx, r15w
setne al
add al, 0x47
mov byte [r8], al
jmp 0x1800addbb
cmp dx, 0x40
jne 0x1800add30
movzx eax, byte [r9 + 0x17]
mov byte [r8], al
jmp 0x1800addbb
mov byte [r8], dl
test dl, 0x3c
je 0x1800addbb
mov rax, qword [r9]
mov rcx, qword [rax + 0x18]
movzx eax, byte [rcx]
cmp al, 0xb0
jne 0x1800add6d
movzx eax, byte [rcx + 2]
cmp al, 0xb1
jne 0x1800add79
mov rax, qword [rcx + 0x20]
mov ecx, dword [rax]
jmp 0x1800add87
cmp al, 0x8a
jne 0x1800addb6
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov ecx, dword [rcx]
cmp ecx, 1
jle 0x1800addb6
cmp r10d, 0x10
jge 0x1800adda0
mov eax, 1
mov ecx, r10d
shl ax, cl
or bp, ax
cmp dx, 0x10
jne 0x1800addac
mov byte [r8], 8
jmp 0x1800addb6
cmp dx, 4
jne 0x1800addb6
mov byte [r8], 0x20
mov ecx, 0x3fff
inc r10d
rol r11d, 1
add r8, 0xc
inc ebx
add r9, 0x38
cmp ebx, dword [r14 + 0x14]
jl 0x1800adcf0
mov word [rsp + 0xd8], bp
mov rbp, qword [rsp + 0xc8]
mov eax, 1
xor esi, esi
mov dword [r12], r10d
test r13, r13
jle 0x1800ade68
mov rbx, qword [rsp + 0x30]
lea r14, [fcn.180053600]
lea r15, [0x180053420]
add rbx, 0x18
nop dword [rax]
mov rdi, qword [rbx - 0x10]
mov word [rsp + 0x6c], ax
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x70], 0
test rdi, rdi
je 0x1800ade5f
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.18004c270
cmp word [rsp + 0x6c], 0
jne 0x1800ade5a
movsx eax, word [rdi + 0x30]
inc esi
mov dword [rbp], eax
movzx eax, byte [rbx]
and al, 1
add rbp, 8
mov byte [rbp - 4], al
mov eax, 1
add rbx, 0x20
dec r13
jne 0x1800ade10
mov rax, qword [rsp + 0xe0]
movzx ecx, word [rsp + 0xd8]
mov dword [r12 + 0x10], esi
mov word [rax], cx
mov rax, r12
jmp 0x1800ade96
lea rdx, str.out_of_memory
mov rcx, r15
call fcn.18000fdc0
xor eax, eax
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret