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

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x573234
push rbp
mov rbp, rsp
sub rsp, 0xd0
movq qword [rsp + 0xc8], xmm15
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rbx
mov dword [rsp + 0xf0], ecx
mov byte [rsp + 0xf4], dil
mov dword [rsp + 0xf8], esi
mov byte [rsp + 0x2f], 0
mov ebx, 0x40
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x48], rax
lea rcx, [sym.modernc.org_sqlite_lib._checkPtrmap.deferwrap1]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x58]
mov qword [rsp + 0xc8], rdx
mov byte [rsp + 0x2f], 1
mov rdx, qword [rsp + 0xe8]
mov rbx, qword [rdx]
lea rdx, [rax + 4]
mov qword [rsp + 0x50], rdx
mov rdi, rax
mov rax, rcx
mov ecx, dword [rsp + 0xf0]
mov rsi, rdx
call sym.modernc.org_sqlite_lib._ptrmapGet
test eax, eax
je 0x5730c6
cmp eax, 7
je 0x573007
nop
cmp eax, 0xc0a
jne 0x573034
mov rdx, qword [rsp + 0xe8]
mov rsi, rdx
nop
mov dword [rdx + 0x24], 7
mov rdx, rsi
mov dword [rsi + 0x1c], 0
mov rsi, rdx
cmp dword [rdx + 0x20], 0
jne 0x573034
mov dword [rdx + 0x20], 1
movups xmmword [rsp + 0xb8], xmm15
mov edx, dword [rsp + 0xf0]
mov dword [rsp + 0x44], edx
lea rdx, [0x00728b80]
mov qword [rsp + 0xb8], rdx
mov rax, qword [rsp + 0x48]
add rax, 0x10
lea rdx, [rsp + 0x44]
mov qword [rsp + 0xc0], rdx
lea rbx, [rsp + 0xb8]
mov ecx, 1
mov rdi, rcx
nop dword [rax]
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x15fa
mov rbx, qword [rsp + 0xe8]
mov rdi, rax
mov rax, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xc8]
mov rsi, qword [rdx]
call rsi
add rsp, 0xd0
pop rbp
ret
mov rax, qword [rsp + 0x48]
mov rsi, rax
movzx esi, byte [rsi]
movzx r8d, byte [rsp + 0xf4]
movzx r8d, r8b
nop
cmp esi, r8d
je 0x5730f4
mov r9, qword [rsp + 0x50]
mov r10d, dword [rsp + 0xf8]
jmp 0x57310d
mov rsi, qword [rsp + 0x50]
mov r9, rsi
mov r10d, dword [rsp + 0xf8]
cmp dword [rsi], r10d
je 0x57320b
lea rdi, [rsp + 0x68]
lea rdi, [rdi - 0x30]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00471530
mov rbp, qword [rbp]
mov edx, dword [rsp + 0xf0]
mov dword [rsp + 0x40], edx
lea rdx, [0x00728b80]
mov qword [rsp + 0x68], rdx
lea rsi, [rax + 0x10]
lea r11, [rsp + 0x40]
mov qword [rsp + 0x70], r11
mov dword [rsp + 0x3c], r8d
lea r8, [0x00728b40]
mov qword [rsp + 0x78], r8
lea r11, [rsp + 0x3c]
mov qword [rsp + 0x80], r11
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x88], rdx
lea r10, [rsp + 0x38]
mov qword [rsp + 0x90], r10
movzx r10d, byte [rax]
mov dword [rsp + 0x34], r10d
mov qword [rsp + 0x98], r8
lea r8, [rsp + 0x34]
mov qword [rsp + 0xa0], r8
mov r8d, dword [r9]
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0xa8], rdx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0xb0], rdx
mov rax, rsi
lea rbx, [rsp + 0x68]
mov ecx, 5
mov rdi, rcx
nop dword [rax + rax]
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x1617
mov rbx, qword [rsp + 0xe8]
mov rdi, rax
mov rax, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib._checkAppendMsg
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rdx]
call rax
add rsp, 0xd0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov byte [rsp + 0x1c], dil
mov dword [rsp + 0x20], esi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
movzx edi, byte [rsp + 0x1c]
mov esi, dword [rsp + 0x20]
jmp sym.modernc.org_sqlite_lib._checkPtrmap