Function at 0x140057f40
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x138]
cmp r12, qword [r14 + 0x10]
jbe 0x140058235
sub rsp, 0x1b8
mov qword [rsp + 0x1b0], rbp
lea rbp, [rsp + 0x1b0]
mov qword [rsp + 0x1d8], rdi
mov qword [rsp + 0x78], rcx
cmp byte [0x140226061], 0
nop dword [rax]
je 0x140058083
mov rdx, qword [rdi + 0x30]
test rdx, rdx
je 0x140058083
cmp dword [rdx + 0x108], 0
nop word [rax + rax]
jle 0x140058083
cmp qword [rdi + 0x70], 0
je 0x140058083
mov r12, qword [rdx + 0x110]
nop dword [rax + rax]
test r12, r12
je 0x140058083
cmp qword [r12], 0
je 0x140058083
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rbx
mov qword [rsp + 0x1e0], rsi
nop
mov ecx, 1
xchg dword [rdx + 0x10c], ecx
mov rcx, qword [rdi + 0x30]
mov rsi, qword [rcx + 0x110]
test byte [rcx], al
mov rax, rdi
lea rdi, [rsp + 0x80]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.140063f80
mov rbp, qword [rbp]
mov rcx, qword [rax + 0x30]
mov rcx, qword [rcx + 0x110]
mov qword [rcx], 0
mov rcx, qword [rax + 0x30]
xor edx, edx
xchg dword [rcx + 0x10c], edx
lea rax, [rsp + 0x80]
call fcn.140059360
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x1c8]
mov rsi, qword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1d8]
mov edx, dword [rdi + 0x90]
btr edx, 0xc
cmp edx, 3
jne 0x14005809e
mov rax, qword [rdi + 0x78]
mov rbx, qword [rdi + 0x70]
and rsi, 0xfffffffffffffffd
mov rdx, qword [rdi + 0x30]
test rdx, rdx
je 0x1400580c7
mov r12, qword [rdx + 0x2f0]
test r12, r12
je 0x1400580c2
mov rax, qword [rdx + 0x2f8]
and rsi, 0xfffffffffffffffd
nop
jmp 0x1400580ca
mov r12, rbx
jmp 0x1400580ca
mov r12, rbx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], rsi
mov qword [rsp], rsi
mov rbx, r12
xor r8d, r8d
mov r9d, 0x64
xor r10d, r10d
xor r11d, r11d
xor esi, esi
call fcn.1400556a0
test rax, rax
jne 0x140058140
mov rdx, qword [rsp + 0x60]
bt edx, 0
jb 0x140058140
or rdx, 1
mov qword [rsp], rdx
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x1d8]
xor esi, esi
xor r8d, r8d
mov r9d, 0x64
xor r10d, r10d
xor r11d, r11d
call fcn.1400556a0
nop dword [rax + rax]
cmp rax, 0x64
jne 0x140058165
call fcn.140038400
lea rax, [0x140284b72]
mov ebx, 0x1f
call fcn.140038d00
nop dword [rax]
call fcn.140038480
mov rax, qword [rsp + 0x1d8]
call fcn.140057bc0
mov rcx, qword [rsp + 0x1d8]
mov rcx, qword [rcx + 0x130]
test rcx, rcx
je 0x140058199
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov qword [rsp + 0x58], r8
xor eax, eax
jmp 0x140058220
mov rbp, qword [rsp + 0x1b0]
add rsp, 0x1b8
ret
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x180], rdx
mov r8, qword [rdx]
mov qword [rsp + 0x188], r8
movups xmm0, xmmword [rdx + 8]
movups xmmword [rsp + 0x190], xmm0
movups xmm0, xmmword [rdx + 0x18]
movups xmmword [rsp + 0x1a0], xmm0
mov rax, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
mov rdi, qword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x1a8]
call fcn.140058280
mov rdx, qword [rsp + 0x180]
add rdx, 0x28
mov rax, qword [rsp + 0x50]
inc rax
mov r8, qword [rsp + 0x58]
nop
cmp rax, r8
jl 0x1400581a9
mov rbp, qword [rsp + 0x1b0]
add rsp, 0x1b8
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.140061380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp fcn.140057f40