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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rsi
sub rsp, 0xc0
mov rsi, rcx
lea rcx, [r11 - 0x60]
mov qword [r11 - 0x10], rbx
mov rax, qword [rsi + 8]
mov qword [r11 - 0x18], rbp
mov qword [r11 - 0x20], rdi
mov qword [rcx], rax
mov rax, qword [rsi + 0x10]
mov qword [rcx + 8], rax
mov rax, qword [rsi + 0x18]
mov qword [rcx + 0x10], rax
mov rax, qword [rsi + 0x38]
lea rcx, [r11 - 0x78]
mov qword [rcx], rax
mov rax, qword [rsi + 0x40]
mov qword [rcx + 8], rax
mov rax, qword [rsi + 0x48]
mov qword [rsi + 0x40], 0
mov dword [rsi + 0x3c], 0
mov dword [rsi + 0x38], 0
mov qword [rsi + 0x48], 0
mov rdi, qword [rsi + 0x28]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0x28], 0
call sym.SQLite.Interop.dll_sqlite3_free
mov qword [rsi + 0x30], 0
mov dword [rsi + 0x20], 0
test rdi, rdi
je 0x180052363
nop dword [rax + rax]
mov rbx, qword [rdi]
mov rcx, rdi
call sym.SQLite.Interop.dll_sqlite3_free
mov rdi, rbx
test rbx, rbx
jne 0x180052350
mov rbp, qword [rsp + 0x58]
mov dword [rsi + 0x24], 0
mov rdi, rbp
mov qword [rsp + 0x20], rbp
test rbp, rbp
je 0x180052ae3
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x88], r15
mov rbx, qword [rdi + 0x10]
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x180052aa5
mov r14, qword [rbx + 0x38]
test r14, r14
je 0x180052a6c
nop
mov r13, r14
mov qword [rsp + 0x30], r14
mov r14, qword [r14 + 0x40]
mov rbp, qword [r13 + 0x28]
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0x28], rbp
test rbp, rbp
je 0x18005292f
bt dword [rbp + 4], 0xe
jb 0x180052920
mov rdx, qword [rbp + 0x10]
xor ecx, ecx
call fcn.18003ac70
mov rdx, qword [rbp + 0x18]
xor ecx, ecx
call fcn.18003ac70
bt dword [rbp + 4], 0x10
jae 0x18005241c
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x18005241c
call sym.SQLite.Interop.dll_sqlite3_free
bt dword [rbp + 4], 0xb
jae 0x1800528b7
mov r14, qword [rbp + 0x20]
mov qword [rsp + 0xe0], r14
test r14, r14
je 0x180052918
nop dword [rax]
mov rsi, qword [r14]
mov r15, qword [r14 + 0x50]
mov qword [rsp + 0x48], r15
test rsi, rsi
je 0x1800524a6
mov rbx, qword [rsi + 8]
xor edi, edi
cmp dword [rsi], edi
jle 0x180052490
nop dword [rax + rax]
mov rdx, qword [rbx]
xor ecx, ecx
call fcn.18003ac70
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180052478
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180052486
call sym.SQLite.Interop.dll_sqlite3_free
inc edi
add rbx, 0x28
cmp edi, dword [rsi]
jl 0x180052460
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x18005249e
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, rsi
call sym.SQLite.Interop.dll_sqlite3_free
mov rbp, qword [r14 + 0x28]
mov qword [rsp + 0x40], rbp
test rbp, rbp
je 0x1800526f9
xor ebx, ebx
cmp dword [rbp], ebx
mov r15d, ebx
jle 0x1800526ec
lea r14, [rbp + 0x18]
nop word [rax + rax]
mov rcx, qword [r14 - 8]
test rcx, rcx
je 0x1800524de
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [r14]
test rcx, rcx
je 0x1800524eb
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1800524f9
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [r14 + 0x58]
test rcx, rcx
je 0x180052507
call sym.SQLite.Interop.dll_sqlite3_free
mov r12, qword [r14 + 0x10]
test r12, r12
je 0x18005266e
mov eax, 0xffff
add word [r12 + 0x44], ax
jne 0x18005266e
mov rbp, qword [r12 + 0x10]
test rbp, rbp
je 0x18005260e
nop word [rax + rax]
mov rdi, qword [rbp + 0x30]
mov rdx, qword [rbp]
mov r13, qword [rbp + 0x28]
lea rcx, [rdi + 0x20]
lea r8, [rsp + 0xd8]
call fcn.18001e560
mov r11, rax
test rax, rax
je 0x1800525f8
mov rax, qword [rax + 8]
test rax, rax
je 0x18005257a
mov rcx, qword [r11]
mov qword [rax], rcx
jmp 0x180052581
mov rax, qword [r11]
mov qword [rdi + 0x28], rax
mov rcx, qword [r11]
test rcx, rcx
je 0x180052591
mov rax, qword [r11 + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x1800525b7
mov ecx, dword [rsp + 0xd8]
shl rcx, 4
add rcx, rax
cmp qword [rcx + 8], r11
jne 0x1800525b5
mov rax, qword [r11]
mov qword [rcx + 8], rax
dec dword [rcx]
mov rcx, r11
call sym.SQLite.Interop.dll_sqlite3_free
add dword [rdi + 0x24], 0xffffffff
jne 0x1800525f8
mov rsi, qword [rdi + 0x28]
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x28], rbx
call sym.SQLite.Interop.dll_sqlite3_free
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x20], ebx
test rsi, rsi
je 0x1800525f5
mov rbx, qword [rsi]
mov rcx, rsi
call sym.SQLite.Interop.dll_sqlite3_free
mov rsi, rbx
test rbx, rbx
jne 0x1800525e2
mov dword [rdi + 0x24], ebx
mov rdx, rbp
xor ecx, ecx
call fcn.180040880
mov rbp, r13
test r13, r13
jne 0x180052540
mov rdx, r12
xor ecx, ecx
call fcn.180049ce0
mov rdx, r12
xor ecx, ecx
call fcn.180040530
mov rcx, qword [r12]
test rcx, rcx
je 0x180052630
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [r12 + 0x28]
test rcx, rcx
je 0x18005263f
call sym.SQLite.Interop.dll_sqlite3_free
mov rdx, qword [r12 + 0x18]
xor ecx, ecx
call fcn.180039d00
mov rdx, qword [r12 + 0x30]
xor ecx, ecx
call fcn.1800415b0
mov rdx, r12
xor ecx, ecx
call fcn.18002bff0
mov rcx, r12
call sym.SQLite.Interop.dll_sqlite3_free
mov rbp, qword [rsp + 0x40]
mov rdx, qword [r14 + 0x18]
xor ecx, ecx
call fcn.180039d00
mov rdx, qword [r14 + 0x40]
xor ecx, ecx
call fcn.18003ac70
mov rdi, qword [r14 + 0x48]
test rdi, rdi
je 0x1800526d3
cmp dword [rdi + 8], 0
mov esi, ebx
jle 0x1800526be
nop word [rax + rax]
mov rax, qword [rdi]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x1800526b1
call sym.SQLite.Interop.dll_sqlite3_free
inc esi
add rbx, 0x10
cmp esi, dword [rdi + 8]
jl 0x1800526a0
xor ebx, ebx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800526cb
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, rdi
call sym.SQLite.Interop.dll_sqlite3_free
inc r15d
add r14, 0x78
cmp r15d, dword [rbp]
jl 0x1800524d0
mov r14, qword [rsp + 0xe0]
mov rcx, rbp
call sym.SQLite.Interop.dll_sqlite3_free
mov r15, qword [rsp + 0x48]
mov rdx, qword [r14 + 0x30]
xor ecx, ecx
call fcn.18003ac70
mov rsi, qword [r14 + 0x38]
test rsi, rsi
je 0x180052766
mov rbx, qword [rsi + 8]
xor edi, edi
cmp dword [rsi], edi
jle 0x180052750
nop word [rax + rax]
mov rdx, qword [rbx]
xor ecx, ecx
call fcn.18003ac70
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180052738
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180052746
call sym.SQLite.Interop.dll_sqlite3_free
inc edi
add rbx, 0x28
cmp edi, dword [rsi]
jl 0x180052720
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x18005275e
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, rsi
call sym.SQLite.Interop.dll_sqlite3_free
mov rdx, qword [r14 + 0x40]
xor ecx, ecx
call fcn.18003ac70
mov rsi, qword [r14 + 0x48]
test rsi, rsi
je 0x1800527ca
mov rbx, qword [rsi + 8]
xor edi, edi
cmp dword [rsi], edi
jle 0x1800527b4
mov rdx, qword [rbx]
xor ecx, ecx
call fcn.18003ac70
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18005279c
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800527aa
call sym.SQLite.Interop.dll_sqlite3_free
inc edi
add rbx, 0x28
cmp edi, dword [rsi]
jl 0x180052784
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1800527c2
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, rsi
call sym.SQLite.Interop.dll_sqlite3_free
mov rdx, qword [r14 + 0x60]
xor ecx, ecx
call fcn.18003ac70
mov rdx, qword [r14 + 0x68]
xor ecx, ecx
call fcn.18003ac70
mov r13, qword [r14 + 0x70]
test r13, r13
je 0x180052887
xor r12d, r12d
cmp dword [r13], r12d
jle 0x18005287f
lea rbp, [r13 + 0x10]
nop
mov rsi, qword [rbp + 8]
test rsi, rsi
je 0x180052859
mov rbx, qword [rsi + 8]
xor edi, edi
cmp dword [rsi], edi
jle 0x180052843
mov rdx, qword [rbx]
xor ecx, ecx
call fcn.18003ac70
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18005282b
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180052839
call sym.SQLite.Interop.dll_sqlite3_free
inc edi
add rbx, 0x28
cmp edi, dword [rsi]
jl 0x180052813
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x180052851
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, rsi
call sym.SQLite.Interop.dll_sqlite3_free
mov rdx, qword [rbp + 0x10]
xor ecx, ecx
call fcn.180039d00
mov rcx, qword [rbp]
test rcx, rcx
je 0x180052872
call sym.SQLite.Interop.dll_sqlite3_free
inc r12d
add rbp, 0x20
cmp r12d, dword [r13]
jl 0x180052800
mov rcx, r13
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, r14
call sym.SQLite.Interop.dll_sqlite3_free
mov r14, r15
mov qword [rsp + 0xe0], r15
test r15, r15
jne 0x180052440
mov rbp, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0xe8]
jmp 0x180052920
mov rsi, qword [rbp + 0x20]
test rsi, rsi
je 0x180052920
mov rbx, qword [rsi + 8]
xor edi, edi
cmp dword [rsi], edi
jle 0x180052900
nop word [rax + rax]
mov rdx, qword [rbx]
xor ecx, ecx
call fcn.18003ac70
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800528e8
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800528f6
call sym.SQLite.Interop.dll_sqlite3_free
inc edi
add rbx, 0x28
cmp edi, dword [rsi]
jl 0x1800528d0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x18005290e
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, rsi
call sym.SQLite.Interop.dll_sqlite3_free
jmp 0x180052920
mov r14, qword [rsp + 0xe8]
bt dword [rbp + 4], 0xf
jb 0x18005292f
mov rcx, rbp
call sym.SQLite.Interop.dll_sqlite3_free
mov rdx, qword [r13 + 0x30]
xor ecx, ecx
call fcn.1800415b0
mov rbp, qword [r13 + 0x10]
test rbp, rbp
je 0x180052a09
nop word [rax + rax]
mov rdx, qword [rbp]
mov r12, qword [rbp + 0x50]
xor ecx, ecx
call fcn.1800415b0
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call fcn.1800320a0
mov rdx, qword [rbp + 0x30]
xor ecx, ecx
call fcn.18003ac70
mov rdx, qword [rbp + 0x38]
xor ecx, ecx
call fcn.1800415b0
mov rdx, qword [rbp + 0x40]
xor ecx, ecx
call fcn.18003ac70
mov rdx, qword [rbp + 0x48]
xor ecx, ecx
call fcn.1800415b0
mov rdx, qword [rbp + 0x60]
xor ecx, ecx
call fcn.18003ac70
mov rdx, qword [rbp + 0x68]
xor ecx, ecx
call fcn.18003ac70
mov rsi, qword [rbp + 0x70]
test rsi, rsi
je 0x1800529f5
xor edi, edi
cmp dword [rsi], edi
jle 0x1800529ed
lea rbx, [rsi + 0x20]
nop
mov rdx, qword [rbx - 8]
xor ecx, ecx
call fcn.1800415b0
mov rdx, qword [rbx]
xor ecx, ecx
call fcn.180039d00
mov rcx, qword [rbx - 0x10]
test rcx, rcx
je 0x1800529e3
call sym.SQLite.Interop.dll_sqlite3_free
inc edi
add rbx, 0x20
cmp edi, dword [rsi]
jl 0x1800529c0
mov rcx, rsi
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, rbp
call sym.SQLite.Interop.dll_sqlite3_free
mov rbp, r12
test r12, r12
jne 0x180052950
mov rbx, qword [r13 + 0x38]
test rbx, rbx
je 0x180052a51
xor esi, esi
cmp dword [rbx + 8], esi
jle 0x180052a3c
xor edi, edi
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x180052a31
call sym.SQLite.Interop.dll_sqlite3_free
inc esi
add rdi, 0x10
cmp esi, dword [rbx + 8]
jl 0x180052a20
mov rcx, qword [rbx]
test rcx, rcx
je 0x180052a49
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, rbx
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, r13
call sym.SQLite.Interop.dll_sqlite3_free
test r14, r14
jne 0x1800523c0
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180052a79
call sym.SQLite.Interop.dll_sqlite3_free
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180052a87
call sym.SQLite.Interop.dll_sqlite3_free
mov rdx, qword [rbx + 0x18]
xor ecx, ecx
call fcn.18003ac70
mov rdx, qword [rbx + 0x20]
xor ecx, ecx
call fcn.18002c730
mov rcx, rbx
call sym.SQLite.Interop.dll_sqlite3_free
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rdi
test rdi, rdi
jne 0x1800523a0
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call sym.SQLite.Interop.dll_sqlite3_free
test rbp, rbp
je 0x180052b06
mov rbx, qword [rbp]
mov rcx, rbp
call sym.SQLite.Interop.dll_sqlite3_free
mov rbp, rbx
test rbx, rbx
jne 0x180052af2
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xb0]
mov qword [rsi + 0x10], 0
mov dword [rsi + 0xc], 0
mov dword [rsi + 8], 0
mov qword [rsi + 0x18], 0
mov rbx, rdi
test rdi, rdi
je 0x180052b53
nop dword [rax]
mov rdx, qword [rbx + 0x10]
xor ecx, ecx
call fcn.18004b6a0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180052b40
mov rcx, qword [rsp + 0x78]
call sym.SQLite.Interop.dll_sqlite3_free
test rdi, rdi
je 0x180052b75
mov rbx, qword [rdi]
mov rcx, rdi
call sym.SQLite.Interop.dll_sqlite3_free
mov rdi, rbx
test rbx, rbx
jne 0x180052b62
lea rcx, [rsi + 0x50]
call fcn.180025310
movzx eax, word [rsi + 0x72]
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb8]
mov qword [rsi + 0x68], 0
test al, 1
je 0x180052bad
inc dword [rsi + 4]
mov ecx, 0xfffe
and ax, cx
mov word [rsi + 0x72], ax
add rsp, 0xc0
pop rsi
ret