Function at 0x412580
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41291b
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rdi
nop
test rbx, rbx
je 0x412617
cmp qword [rbx], 0
je 0x412617
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
movzx esi, byte [rbx + 8]
test sil, 4
je 0x4125da
lea rax, [0x005e8042]
mov ebx, 0x21
call sym.runtime.fatal
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
cmp byte [rbx + 9], 0
nop
jne 0x412626
mov rcx, qword [rsp + 0x80]
mov rsi, qword [rbx + 0x10]
mov qword [rsp + 0x50], rsi
cmp rcx, 0x20
jge 0x412605
nop
lea rdx, [rsi + 8]
xor ecx, ecx
jmp 0x41286c
nop
lea rdi, [rsi + 8]
xor edx, edx
mov r8d, 8
jmp 0x412780
lea rax, [0x007c5de0]
xor ebx, ebx
add rsp, 0x58
pop rbp
ret
mov rdx, qword [rax + 0x48]
mov rcx, qword [rdx]
mov esi, dword [rbx + 0xc]
lea rax, [rsp + 0x78]
mov rbx, rsi
call rcx
mov rcx, qword [rsp + 0x70]
movzx esi, byte [rcx + 9]
mov rdi, qword [rsp + 0x68]
movzx r8d, word [rdi + 0x52]
mov r9, qword [rcx + 0x18]
mov rdx, rcx
mov ecx, esi
mov r10d, 1
shl r10, cl
lea rcx, [r10 - 1]
mov rsi, rcx
and rcx, rax
imul rcx, r8
add rcx, qword [rdx + 0x10]
test r9, r9
je 0x41269d
movzx edx, byte [rdx + 8]
test dl, 8
jne 0x412682
shr rsi, 1
and rsi, rax
imul r8, rsi
movzx edx, byte [r9 + r8]
add edx, 0xfffffffe
lea rsi, [r9 + r8]
cmp dl, 3
jb 0x41269d
mov rcx, rsi
shr rax, 0x38
cmp al, 5
jae 0x4126a8
add eax, 5
mov byte [rsp + 0x1f], al
jmp 0x4126c0
movzx edx, word [rdi + 0x52]
lea rdx, [rcx + rdx]
lea rdx, [rdx - 8]
mov rcx, qword [rdx]
nop dword [rax]
test rcx, rcx
je 0x4126d3
mov qword [rsp + 0x48], rcx
nop
lea rdx, [rcx + 8]
xor ebx, ebx
jmp 0x4126e9
lea rax, [0x007c5de0]
xor ebx, ebx
add rsp, 0x58
pop rbp
ret
inc rbx
add rdx, 0x10
cmp rbx, 8
jae 0x4126ae
mov rsi, qword [rsp + 0x80]
cmp qword [rdx + 8], rsi
jne 0x4126e2
movzx r8d, byte [rbx + rcx]
cmp r8b, al
jne 0x4126e2
mov r8, qword [rdx]
mov r9, qword [rsp + 0x78]
cmp r9, r8
je 0x41275a
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, r9
mov rcx, rsi
call sym.runtime.memequal
test al, al
jne 0x41274b
movzx eax, byte [rsp + 0x1f]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x68]
jmp 0x4126e2
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x68]
movzx edx, byte [rdi + 0x51]
imul rbx, rdx
lea rax, [rcx + rbx]
lea rax, [rax + 0x88]
mov ebx, 1
add rsp, 0x58
pop rbp
ret
inc rdx
add rdi, 0x10
nop
cmp rdx, 8
jae 0x412801
cmp qword [rdi + 8], rcx
jne 0x412799
test byte [rsi], al
movzx r9d, byte [rdx + rsi]
cmp r9b, 1
ja 0x4127a7
test byte [rsi], al
movzx r9d, byte [rdx + rsi]
test r9b, r9b
jne 0x412778
jmp 0x412801
mov r9, qword [rdi]
mov r10, qword [rsp + 0x78]
cmp r10, r9
je 0x4127e3
mov r11d, dword [r9]
cmp dword [r10], r11d
jne 0x412778
lea r10, [r10 + rcx]
lea r10, [r10 - 4]
lea r9, [r9 + rcx]
lea r9, [r9 - 4]
mov r9d, dword [r9]
cmp dword [r10], r9d
jne 0x412778
cmp r8, 8
jne 0x412626
mov r8, rdx
jmp 0x412778
movzx ecx, byte [rax + 0x51]
imul rdx, rcx
lea rax, [rdx + rsi]
lea rax, [rax + 0x88]
mov ebx, 1
add rsp, 0x58
pop rbp
ret
cmp r8, 8
je 0x412829
mov qword [rsp + 0x20], r8
shl r8, 4
mov rbx, qword [rsp + 0x78]
lea rsi, [r8 + rsi]
lea rsi, [rsi + 8]
mov rax, qword [rsi]
call sym.runtime.memequal
test al, al
jne 0x412838
lea rax, [0x007c5de0]
xor ebx, ebx
add rsp, 0x58
pop rbp
ret
mov rcx, qword [rsp + 0x68]
movzx ecx, byte [rcx + 0x51]
mov rdx, qword [rsp + 0x20]
imul rdx, rcx
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rdx]
lea rax, [rax + 0x88]
mov ebx, 1
add rsp, 0x58
pop rbp
ret
inc rcx
add rdx, 0x10
cmp rcx, 8
jae 0x41290c
mov rdi, qword [rsp + 0x80]
nop
cmp qword [rdx + 8], rdi
jne 0x412893
test byte [rsi], al
movzx r8d, byte [rcx + rsi]
cmp r8b, 1
ja 0x4128a2
test byte [rsi], al
movzx edi, byte [rcx + rsi]
test dil, dil
jne 0x412865
nop
jmp 0x41290c
mov r8, qword [rdx]
mov rbx, qword [rsp + 0x78]
cmp rbx, r8
je 0x4128ee
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rdx
mov rax, r8
mov rcx, rdi
nop
call sym.runtime.memequal
test al, al
jne 0x4128df
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
jmp 0x412865
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
movzx edx, byte [rax + 0x51]
imul rcx, rdx
lea rax, [rsi + rcx]
lea rax, [rax + 0x88]
mov ebx, 1
add rsp, 0x58
pop rbp
ret
lea rax, [0x007c5de0]
xor ebx, ebx
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.runtime.mapaccess2_faststr