Function at 0x40f800
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40fcb8
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rsp + 0x70], rax
mov rbx, qword [rax + 0x18]
mov qword [rsp + 0x50], rbx
movzx esi, byte [rbx + 8]
test sil, 4
je 0x40f845
lea rax, [0x005e965e]
mov ebx, 0x26
call sym.runtime.fatal
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rax + 0x10]
mov qword [rsp + 0x40], rsi
mov rdi, qword [rax + 0x50]
mov r8, qword [rax + 0x28]
movzx r9d, byte [rax + 0x4b]
mov r10, qword [rax + 0x58]
nop
jmp 0x40f878
movzx r11d, word [rsi + 0x52]
lea r11, [r10 + r11]
lea r11, [r11 - 8]
mov r8, qword [r11]
xor r9d, r9d
mov r10, rdx
test r8, r8
je 0x40f888
mov rdx, r10
mov r10, r8
jmp 0x40f94e
cmp qword [rax + 0x40], rdi
jne 0x40f898
cmp byte [rax + 0x49], 0
jne 0x40f95f
mov r8, qword [rbx + 0x18]
nop dword [rax]
test r8, r8
je 0x40f910
movzx r9d, byte [rax + 0x4a]
cmp byte [rbx + 9], r9b
jne 0x40f910
mov r9, qword [rax + 0x18]
movzx r10d, byte [r9 + 8]
movzx r9d, byte [r9 + 9]
nop
test r10b, 8
jne 0x40f8c9
dec r9d
movzx r10d, word [rsi + 0x52]
mov ecx, r9d
mov r9d, 1
shl r9, cl
dec r9
and r9, rdi
imul r9, r10
movzx r11d, byte [r9 + r8]
add r11d, 0xfffffffe
add r8, r9
nop
cmp r11b, 3
jae 0x40f908
imul r10, rdi
add r10, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
jmp 0x40f924
mov rcx, rdi
mov r10, r8
jmp 0x40f924
movzx r10d, word [rsi + 0x52]
imul r10, rdi
add r10, qword [rax + 0x20]
mov rcx, 0xffffffffffffffff
inc rdi
movzx r8d, byte [rax + 0x4a]
mov rdx, rcx
mov ecx, r8d
mov r9d, 1
shl r9, cl
nop dword [rax + rax]
cmp r9, rdi
jne 0x40f94b
mov byte [rax + 0x49], 1
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x58], r10
jmp 0x40f988
cmp dword [0x007c4ac0], 0
je 0x40f97b
mov rcx, qword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rcx, qword [rax + 8]
mov qword [r11 + 8], rcx
movups xmmword [rax], xmm15
add rsp, 0x60
pop rbp
ret
inc r9d
cmp r9b, 8
jae 0x40f862
test byte [r10], al
movzx r8d, byte [rax + 0x48]
add r8d, r9d
mov r11d, r8d
and r8d, 7
movzx r12d, byte [r8 + r10]
cmp r12b, 1
jbe 0x40f985
cmp r12b, 4
je 0x40f985
and r11d, 7
movzx r12d, byte [rsi + 0x50]
mov r13, r12
imul r12, r11
mov r15, r10
lea r12, [r12 + r10]
lea r12, [r12 + 8]
mov ecx, dword [rsi + 0x54]
bt ecx, 0
jae 0x40f9de
mov r12, qword [r12]
mov byte [rsp + 0x1f], r9b
mov qword [rsp + 0x48], r12
movzx edi, byte [rsi + 0x51]
imul rdi, r11
lea rdi, [rdi + r13*8]
lea rdi, [rdi + r10]
lea rdi, [rdi + 8]
mov qword [rsp + 0x38], rdi
cmp rdx, 0xffffffffffffffff
je 0x40fb36
movzx r10d, byte [rbx + 8]
test r10b, 8
jne 0x40fb36
mov qword [rsp + 0x30], r8
bt ecx, 2
jae 0x40fa2c
mov ecx, 1
jmp 0x40fa6f
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx]
mov rax, r12
mov rbx, rax
call rcx
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
movzx r9d, byte [rsp + 0x1f]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x58]
mov ecx, eax
mov rax, qword [rsp + 0x70]
test cl, cl
jne 0x40faaa
movzx ecx, byte [rax + 0x4a]
dec ecx
mov r10, rdx
shr rdx, cl
movzx r11d, byte [r8 + r15]
and r11d, 1
cmp cl, 0x40
sbb r13, r13
and r13, rdx
cmp r11, r13
je 0x40fb39
mov rdx, r10
mov rdi, qword [rsp + 0x28]
mov r10, r15
jmp 0x40f985
mov rdx, qword [rsi + 0x48]
mov rcx, qword [rdx]
mov edi, dword [rbx + 0xc]
mov rax, r12
mov rbx, rdi
call rcx
mov rcx, qword [rsp + 0x70]
movzx esi, byte [rcx + 0x4a]
mov rdx, rcx
mov ecx, esi
mov edi, 1
shl rdi, cl
lea rcx, [rdi - 1]
and rax, rcx
mov rcx, qword [rsp + 0x20]
nop
cmp rcx, rax
je 0x40fb0a
mov rax, rdx
mov rdx, rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
movzx r9d, byte [rsp + 0x1f]
mov r10, qword [rsp + 0x58]
jmp 0x40f985
mov rax, rdx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
movzx r9d, byte [rsp + 0x1f]
mov r10, rcx
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x58]
jmp 0x40fb39
mov r10, rdx
movzx r8d, byte [r8 + r15]
nop
cmp r8b, 2
je 0x40fb53
cmp r8b, 3
je 0x40fb53
mov ecx, 1
jmp 0x40fba6
mov r8d, dword [rsi + 0x54]
bt r8d, 2
jae 0x40fb65
mov ecx, 1
jmp 0x40fba3
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx]
mov rax, r12
mov rbx, rax
call rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
movzx r9d, byte [rsp + 0x1f]
mov r10, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x58]
mov ecx, eax
mov rax, qword [rsp + 0x70]
xor ecx, 1
test cl, cl
jne 0x40fc33
mov rax, rsi
mov rcx, r12
call sym.runtime.mapaccessK
test rax, rax
jne 0x40fbe7
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
movzx r9d, byte [rsp + 0x1f]
mov r10, qword [rsp + 0x58]
jmp 0x40f985
cmp dword [0x007c4ac0], 0
jne 0x40fbf7
mov rcx, qword [rsp + 0x70]
jmp 0x40fc17
call sym.runtime.gcWriteBarrier4
mov qword [r11], rax
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx]
mov qword [r11 + 8], rdx
mov qword [r11 + 0x10], rbx
mov rdx, qword [rcx + 8]
mov qword [r11 + 0x18], rdx
mov qword [rcx], rax
mov qword [rcx + 8], rbx
mov rax, rcx
movzx r9d, byte [rsp + 0x1f]
mov r10, qword [rsp + 0x20]
mov r15, qword [rsp + 0x58]
jmp 0x40fc7b
cmp dword [0x007c4ac0], 0
je 0x40fc4f
nop dword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], r12
mov rcx, qword [rax]
mov qword [r11 + 8], rcx
mov qword [rax], r12
mov ecx, dword [rsi + 0x54]
bt ecx, 1
jae 0x40fc5e
mov rdi, qword [rdi]
cmp dword [0x007c4ac0], 0
je 0x40fc77
call sym.runtime.gcWriteBarrier2
mov qword [r11], rdi
mov rcx, qword [rax + 8]
mov qword [r11 + 8], rcx
mov qword [rax + 8], rdi
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x50], rcx
cmp qword [rax + 0x28], r15
je 0x40fca7
cmp dword [0x007c4ac0], 0
je 0x40fca3
call sym.runtime.gcWriteBarrier2
mov qword [r11], r15
mov rcx, qword [rax + 0x28]
mov qword [r11 + 8], rcx
mov qword [rax + 0x28], r15
lea ecx, [r9 + 1]
mov byte [rax + 0x4b], cl
mov qword [rax + 0x58], r10
add rsp, 0x60
pop rbp
ret
mov qword [rsp + 8], rax
nop dword [rax]
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.runtime.mapiternext