Function at 0x4580e0
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458398
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdx, qword [rax]
cmp dword [rdx + 0x10], 0
je 0x458326
movzx r9d, byte [rdx + 0x28]
movzx r10d, byte [rdx + 0x29]
cmp r9b, 4
jne 0x458113
and r10d, 0xfffffffd
test cl, cl
je 0x45811b
and r10d, 0xfffffffd
mov qword [rsp + 0x70], rax
mov r11, qword [rax + 8]
cmp qword [rax + 0x30], 0
jne 0x458264
mov byte [rsp + 0x78], bl
movzx r12d, byte [rax + 0x59]
nop dword [rax + rax]
test r12b, 8
je 0x45820d
mov r12, qword [rax + 0x48]
mov r13, qword [r12 + 0x30]
cmp qword [r13], r12
jne 0x45820d
mov r12, qword [r13 + 0x90]
test r12, r12
je 0x45820d
cmp qword [r12 + 0x30], r13
jne 0x45820d
cmp r9b, 0xc
je 0x4581ae
nop
cmp r9b, 0x13
jne 0x45820d
mov r9, r12
nop
mov qword [rax + 0x48], r12
mov r12, qword [r9 + 0x38]
mov qword [rax + 0x28], r12
mov r9, qword [r9 + 0x148]
dec r9
mov qword [rax + 0x50], r9
and r10d, 0xfffffffd
jmp 0x45820d
mov qword [rsp + 0x58], r12
mov rcx, r12
nop
mov qword [rax + 0x48], r12
mov rdx, qword [rcx + 0x40]
mov qword [rax + 0x10], rdx
mov rax, rdx
call sym.runtime.findfunc
mov rsi, qword [rsp + 0x70]
mov qword [rsi], rax
mov qword [rsi + 8], rbx
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + 0x60]
movzx r10d, byte [rax + 0x29]
mov qword [rsi + 0x20], rdx
mov rdx, qword [rcx + 0x38]
mov qword [rsi + 0x28], rdx
mov rcx, qword [rcx + 0x148]
dec rcx
mov qword [rsi + 0x50], rcx
mov rdx, rax
mov r11, rbx
mov rax, rsi
movzx ebx, byte [rsp + 0x78]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], rdx
mov byte [rsp + 0x37], r10b
mov rdi, qword [rax + 0x10]
lea rsi, [rax + 0x60]
mov ecx, dword [rdx + 0x10]
mov rbx, r11
mov r8d, 1
mov rax, rdx
call sym.runtime.pcvalue
movsxd rdx, eax
mov r9, qword [rsp + 0x70]
add rdx, qword [r9 + 0x28]
add rdx, 8
mov qword [r9 + 0x30], rdx
mov rax, r9
movzx ebx, byte [rsp + 0x78]
movzx r10d, byte [rsp + 0x37]
mov rdx, qword [rsp + 0x48]
mov r11, qword [rsp + 0x40]
test r10b, 1
je 0x458274
mov qword [rax + 0x20], 0
jmp 0x4582b8
test r10b, 2
je 0x4582a2
test bl, bl
je 0x458287
movzx ecx, byte [rax + 0x59]
test cl, 3
je 0x4582a2
movzx ecx, byte [rax + 0x59]
test cl, 3
jne 0x458298
test bl, bl
je 0x458331
mov qword [rax + 0x20], 0
jmp 0x4582b8
cmp qword [rax + 0x20], 0
jne 0x4582b8
mov rcx, qword [rax + 0x30]
add rcx, 0xfffffffffffffff8
mov rcx, qword [rcx]
mov qword [rax + 0x20], rcx
mov rcx, qword [rax + 0x30]
lea rdx, [rcx - 8]
mov qword [rax + 0x38], rdx
cmp qword [rax + 0x28], rdx
jae 0x4582d2
add rcx, 0xfffffffffffffff0
mov qword [rax + 0x38], rcx
mov rcx, qword [rax + 0x30]
mov qword [rax + 0x40], rcx
mov rcx, qword [rax + 0x10]
mov qword [rax + 0x18], rcx
cmp byte [rax + 0x58], 0x12
jne 0x458320
mov rcx, qword [rax]
cmp dword [rcx + 0xc], 0
jne 0x4582fb
mov qword [rax + 0x18], 0
jmp 0x458320
mov rdx, qword [rax + 8]
mov ebx, dword [rcx]
mov rax, rdx
call sym.runtime._moduledata_.textAddr
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx]
mov edx, dword [rdx + 0xc]
lea rdx, [rdx + rax]
lea rdx, [rdx + 1]
mov qword [rcx + 0x18], rdx
add rsp, 0x60
pop rbp
ret
call sym.runtime._unwinder_.finishInternal
add rsp, 0x60
pop rbp
ret
test rdx, rdx
jne 0x458385
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x38], rax
call sym.runtime.printlock
lea rax, [0x005e9b05]
mov ebx, 0x27
call sym.runtime.printstring
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x38]
call sym.runtime.printstring
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005de344]
mov ebx, 9
nop
call sym.runtime.throw
mov ebx, dword [rdx + 4]
mov rax, r11
call sym.runtime._moduledata_.funcName
mov rcx, rax
mov rax, rbx
jmp 0x45833a
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
mov byte [rsp + 0x11], cl
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
movzx ecx, byte [rsp + 0x11]
jmp sym.runtime._unwinder_.resolveInternal