Function at 0x1800ad940
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 0x1800ada25
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 0x1800ada0d
test qword [r9 + 0x28], rbx
jne 0x1800ada0d
movzx eax, word [r9 + 0x14]
test eax, 0xfffff7ff
je 0x1800ada0d
test cl, cl
js 0x1800ada0d
movzx edx, byte [r13 + 0x3c]
test dl, 0x58
je 0x1800ada02
mov rax, qword [r9]
mov r8d, dword [rax + 4]
test r8b, 3
je 0x1800ada0d
cmp dword [rax + 0x34], r11d
jne 0x1800ada0d
test dl, 0x18
je 0x1800ada02
test r8b, 2
jne 0x1800ada0d
inc edi
or cx, 0x40
mov word [r9 + 0x12], cx
inc r10d
add r9, 0x38
cmp r10d, dword [r14 + 0x14]
jl 0x1800ad9b0
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.1800535f0]
lea r10, [0x180053410]
test rcx, rcx
je 0x1800adbd4
movsxd r14, dword [rcx]
mov ebp, edx
mov rsi, rdx
mov r12, r14
test r14d, r14d
jle 0x1800adb8f
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 0x1800adb6b
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.18004c270
cmp word [rsp + 0x6c], 0
jne 0x1800adb55
test byte [rdi], 2
jne 0x1800adb7d
movzx ecx, byte [rbx]
cmp cl, 0xa7
jne 0x1800adac8
mov eax, dword [r13 + 0x44]
cmp dword [rbx + 0x2c], eax
je 0x1800adb55
cmp cl, 0x71
jne 0x1800adb7d
mov rcx, qword [rbx + 0x10]
cmp byte [rcx], 0xa7
jne 0x1800adb7d
mov eax, dword [r13 + 0x44]
cmp dword [rcx + 0x2c], eax
jne 0x1800adb7d
movzx eax, word [rcx + 0x30]
mov word [rbx + 0x30], ax
cmp word [rcx + 0x30], 0
jl 0x1800adb55
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 0x1800adb41
mov rax, qword [rcx + rax*8]
cmp byte [rax], 0
je 0x1800adb28
nop dword [rax + rax]
inc rax
cmp byte [rax], 0
jne 0x1800adb20
test dl, 4
je 0x1800adb38
nop dword [rax]
inc rax
cmp byte [rax], 0
jne 0x1800adb30
lea rdx, [rax + 1]
test rdx, rdx
jne 0x1800adb48
lea rdx, [0x180144b18]
mov rcx, qword [rbx + 8]
call sym.sqlite.dll_sqlite3_stricmp
test eax, eax
jne 0x1800adb7d
lea r10, [0x180053410]
lea r9, [fcn.1800535f0]
mov r8d, 1
xor edx, edx
inc rsi
inc ebp
add rdi, 0x20
cmp rsi, r12
jl 0x1800ada70
mov r15d, dword [rsp + 0x28]
mov edi, dword [rsp + 0x20]
xor edx, edx
lea r8d, [rdx + 1]
mov r14d, r12d
cmp ebp, r14d
jne 0x1800adbc8
mov rax, qword [rsp + 0xc0]
mov r15d, r14d
mov r14, qword [rsp + 0xc8]
movzx eax, word [rax + 0x3c]
test al, al
jns 0x1800adbbc
mov esi, eax
shr esi, 9
and esi, 1
add esi, 2
jmp 0x1800adbd4
mov esi, dword [rsp + 0x24]
test al, 0x40
cmovne esi, r8d
jmp 0x1800adbd4
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 0x1800adc03
mov rdx, rbx
call fcn.18000c4a0
mov r12, rax
jmp 0x1800adc67
test rbx, rbx
je 0x1800adc64
cmp rbx, 0x7ffffeff
ja 0x1800adc64
cmp dword [0x180172920], 0
je 0x1800adc57
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800adc2c
call qword [0x1801729a0]
lea rdx, [rsp + 0xc8]
mov ecx, ebx
call fcn.18000bd10
mov rcx, qword [0x1801821a8]
test rcx, rcx
je 0x1800adc4d
call qword [0x1801729b0]
mov r12, qword [rsp + 0xc8]
jmp 0x1800adc67
mov ecx, ebx
call qword [0x180172940]
mov r12, rax
jmp 0x1800adc67
mov r12, rdx
test r12, r12
je 0x1800ade95
mov r8, rbx
xor edx, edx
mov rcx, r12
call fcn.18012e4b0
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 0x1800addfa
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 0x1800addd5
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 0x1800add53
test word [r9 + 0x12], di
jne 0x1800add3b
xor eax, eax
cmp r10d, 0x1f
cmovle eax, r11d
or dword [r12 + 0x74], eax
mov edx, 2
test si, dx
je 0x1800add63
cmp dx, r15w
setne al
add al, 0x47
mov byte [r8], al
jmp 0x1800addcb
cmp dx, 0x40
jne 0x1800add40
movzx eax, byte [r9 + 0x17]
mov byte [r8], al
jmp 0x1800addcb
mov byte [r8], dl
test dl, 0x3c
je 0x1800addcb
mov rax, qword [r9]
mov rcx, qword [rax + 0x18]
movzx eax, byte [rcx]
cmp al, 0xb0
jne 0x1800add7d
movzx eax, byte [rcx + 2]
cmp al, 0xb1
jne 0x1800add89
mov rax, qword [rcx + 0x20]
mov ecx, dword [rax]
jmp 0x1800add97
cmp al, 0x8a
jne 0x1800addc6
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov ecx, dword [rcx]
cmp ecx, 1
jle 0x1800addc6
cmp r10d, 0x10
jge 0x1800addb0
mov eax, 1
mov ecx, r10d
shl ax, cl
or bp, ax
cmp dx, 0x10
jne 0x1800addbc
mov byte [r8], 8
jmp 0x1800addc6
cmp dx, 4
jne 0x1800addc6
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 0x1800add00
mov word [rsp + 0xd8], bp
mov rbp, qword [rsp + 0xc8]
mov eax, 1
xor esi, esi
mov dword [r12], r10d
test r13, r13
jle 0x1800ade78
mov rbx, qword [rsp + 0x30]
lea r14, [fcn.1800535f0]
lea r15, [0x180053410]
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 0x1800ade6f
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.18004c270
cmp word [rsp + 0x6c], 0
jne 0x1800ade6a
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 0x1800ade20
mov rax, qword [rsp + 0xe0]
movzx ecx, word [rsp + 0xd8]
mov dword [r12 + 0x10], esi
mov word [rax], cx
mov rax, r12
jmp 0x1800adea6
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