joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056c0
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x405879
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rdx, qword [rax + 0x30]
mov rsi, qword [rdx]
nop dword [rax]
cmp rsi, 0x10000
jae 0x405867
cmp byte [rdx + 0x15], 8
ja 0x405856
mov qword [rsp + 0x20], rdx
mov rax, rbx
mul rsi
jo 0x405843
movabs rdx, 0xffffffffffa0
cmp rax, rdx
ja 0x405843
nop dword [rax + rax]
test rbx, rbx
jl 0x405843
mov qword [rsp + 0x48], rbx
test rax, rax
je 0x4057d3
mov rdx, qword [rsp + 0x20]
cmp qword [rdx + 8], 0
jne 0x40577b
add rax, 0x60
xor ebx, ebx
mov ecx, 1
call sym.runtime.mallocgc
test byte [rax], al
lea rdx, [rax + 0x60]
cmp dword [0x007c4ac0], 0
je 0x405772
call sym.runtime.gcWriteBarrier2
mov qword [r11], rdx
mov rcx, qword [rax + 0x10]
mov qword [r11 + 8], rcx
mov qword [rax + 0x10], rdx
jmp 0x405808
mov qword [rsp + 0x18], rax
lea rax, [0x005cea80]
call sym.runtime.newobject
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x20]
mov ecx, 1
mov rax, qword [rsp + 0x18]
call sym.runtime.mallocgc
cmp dword [0x007c4ac0], 0
jne 0x4057b5
mov rcx, qword [rsp + 0x28]
jmp 0x4057ca
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x10]
mov qword [r11 + 8], rdx
mov qword [rcx + 0x10], rax
mov rax, rcx
jmp 0x405808
mov eax, 0x60
xor ebx, ebx
mov ecx, 1
nop
call sym.runtime.mallocgc
test byte [rax], al
lea rdx, [rax + 0x10]
cmp dword [0x007c4ac0], 0
je 0x405804
call sym.runtime.gcWriteBarrier2
mov qword [r11], rdx
mov rcx, qword [rax + 0x10]
mov qword [r11 + 8], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
mov word [rax + 0x18], dx
cmp dword [0x007c4ac0], 0
je 0x405830
nop dword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rdx, qword [rax + 0x20]
mov qword [r11 + 8], rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
add rsp, 0x30
pop rbp
ret
lea rax, [0x005a28a0]
lea rbx, [0x00636858]
call sym.runtime.gopanic
lea rax, [0x005e3c14]
mov ebx, 0x17
call sym.runtime.throw
lea rax, [0x005e95ec]
mov ebx, 0x26
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.makechan
Function at 0x407080
Capabilities:
Reference sql statements

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x40], rax
mov rcx, qword [r14 + 0x30]
mov rdx, r14
nop word [rax + rax]
nop dword [rax]
cmp qword [rcx + 0x90], rdx
jne 0x407139
lea rcx, [rsp + 0x40]
cmp qword [rdx], rcx
jae 0x407127
cmp qword [rdx + 8], rcx
jb 0x407127
movups xmmword [rsp + 8], xmm15
movups xmmword [rsp + 0x18], xmm15
mov qword [rsp + 0x28], 0
lea rax, [sym.runtime.debugCallCheck.func1]
mov qword [rsp + 0x18], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x18]
mov qword [rsp], rax
nop dword [rax + rax]
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
add rsp, 0x30
pop rbp
ret
lea rax, [0x005e6816]
mov ebx, 0x1d
add rsp, 0x30
pop rbp
ret
lea rax, [0x005e6816]
mov ebx, 0x1d
add rsp, 0x30
pop rbp
ret
Function at 0x409980
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x409a97
push rbp
mov rbp, rsp
sub rsp, 0x20
cmp byte [0x007709b8], 0
jne 0x409a85
mov qword [rsp + 0x30], rax
mov byte [0x007709b8], 1
mov rbx, qword [0x007709a8]
mov qword [rsp + 0x18], rbx
xor ecx, ecx
jmp 0x4099c0
inc rcx
nop
cmp rcx, rbx
jge 0x409a2d
mov rsi, qword [0x007709a8]
mov rdi, rsi
sub rsi, rcx
dec rsi
cmp rdi, rsi
jbe 0x409a76
mov qword [rsp + 0x10], rcx
shl rsi, 4
mov rdi, qword [0x007709a0]
movzx r8d, byte [rdi + rsi + 8]
mov rsi, qword [rdi + rsi]
test rax, rax
je 0x409a05
nop dword [rax]
test r8b, r8b
je 0x4099bb
mov rcx, qword [sym.runtime.runExitHooks.func1]
mov rax, rsi
lea rdx, sym.runtime.runExitHooks.func1
call rcx
test al, al
jne 0x409a65
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
jmp 0x4099bb
movups xmmword [0x007709a8], xmm15
cmp dword [0x007c4ac0], 0
je 0x409a4d
mov rax, qword [0x007709a0]
call sym.runtime.gcWriteBarrier1
mov qword [r11], rax
mov qword [0x007709a0], 0
mov byte [0x007709b8], 0
add rsp, 0x20
pop rbp
ret
lea rax, [0x005e9958]
mov ebx, 0x27
call sym.runtime.throw
mov rax, rsi
mov rcx, rdi
nop dword [rax]
call sym.runtime.panicIndex
lea rax, [0x005e9612]
mov ebx, 0x26
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
nop dword [rax]
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.runtime.runExitHooks
Function at 0x40a4e0
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a5f8
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdx, qword [r14 + 0x30]
cmp dword [rdx + 0xc0], 0
nop dword [rax]
jne 0x40a5e6
mov rdx, qword [0x0075a6a0]
mov rsi, qword [rdx + 8]
mov rdi, qword [rdx]
mov r8, rdi
shr rdi, 2
lea rdi, [rdi + rdi*2]
nop
cmp rsi, rdi
jb 0x40a5c4
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x28], rax
lea rax, [r8 + r8]
lea rax, [rax + 2]
shl rax, 3
xor ebx, ebx
mov ecx, 1
call sym.runtime.mallocgc
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x18]
mov rsi, qword [rdx]
shl rsi, 1
mov qword [rax], rsi
movups xmmword [rsp + 0x30], xmm15
lea rsi, [sym.runtime._itabTableType_.add_fm]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
call sym.runtime.iterate_itabs
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
mov rsi, qword [rsp + 0x18]
cmp qword [rsi + 8], rdx
jne 0x40a5d5
nop
cmp byte [0x007c4ac0], 0
je 0x40a5ae
lea rax, [0x0075a6a0]
call sym.runtime.atomicwb
mov rbx, qword [rsp + 0x20]
lea rcx, [0x0075a6a0]
xchg qword [rcx], rbx
mov rdx, qword [0x0075a6a0]
mov rax, qword [rsp + 0x28]
mov rbx, rax
mov rax, rdx
call sym.runtime._itabTableType_.add
add rsp, 0x40
pop rbp
ret
lea rax, [0x005e997f]
mov ebx, 0x27
call sym.runtime.throw
lea rax, [0x005e036c]
mov ebx, 0xf
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
nop dword [rax]
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.runtime.itabAdd

Function at 0x40b380
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40b4a6
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rcx, qword [rbx + 8]
inc rcx
mov qword [rbx + 8], rcx
mov rdx, rbx
shl rbx, 0x10
mov rsi, rcx
and ecx, 0x7ffff
or rbx, rcx
mov rcx, rbx
sar rbx, 0x13
shl rbx, 3
nop
nop
nop
nop
cmp rdx, rbx
je 0x40b3ca
jmp 0x40b3ea
mov rax, rsi
mov rbx, qword [rax]
mov qword [rdx], rbx
mov rsi, rax
mov rax, rbx
lock cmpxchg qword [rsi], rcx
sete bl
nop
test bl, bl
je 0x40b3c7
add rsp, 0x30
pop rbp
ret
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x20], rbx
nop
call sym.runtime.printlock
lea rax, [0x005eaaa4]
mov ebx, 0x2c
call sym.runtime.printstring
mov rax, qword [rsp + 0x28]
nop dword [rax + rax]
call sym.runtime.printpointer
lea rax, [0x005dd554]
mov ebx, 5
call sym.runtime.printstring
mov rax, qword [rsp + 0x18]
nop dword [rax + rax]
call sym.runtime.printhex
lea rax, [0x005dde70]
mov ebx, 8
call sym.runtime.printstring
mov rax, qword [rsp + 0x10]
nop dword [rax + rax]
call sym.runtime.printhex
lea rax, [0x005de248]
mov ebx, 9
call sym.runtime.printstring
mov rax, qword [rsp + 0x20]
nop dword [rax + rax]
call sym.runtime.printpointer
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005df235]
mov ebx, 0xc
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime._lfstack_.push
Function at 0x40b4e0
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40b597
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rsp + 0x30], rax
mov rdx, rax
xor ebx, ebx
mov rcx, rbx
mov rax, rdx
call sym.runtime.findObject
test rax, rax
jne 0x40b585
mov rax, qword [rsp + 0x30]
mov rcx, rax
shl rax, 0x10
or rax, 0x7ffff
sar rax, 0x13
shl rax, 3
nop
nop
cmp rcx, rax
jne 0x40b533
add rsp, 0x20
pop rbp
ret
call sym.runtime.printlock
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x18], rax
call sym.runtime.printlock
lea rax, [0x005e61bb]
mov ebx, 0x1c
call sym.runtime.printstring
mov rax, qword [rsp + 0x18]
nop dword [rax]
call sym.runtime.printhex
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005e155d]
mov ebx, 0x12
nop dword [rax + rax]
call sym.runtime.throw
lea rax, [0x005e8d13]
mov ebx, 0x24
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
nop dword [rax]
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.runtime.lfnodeValidate

Function at 0x40b980
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40baa6
push rbp
mov rbp, rsp
sub rsp, 0x28
mov rcx, qword [r14 + 0x30]
mov rdx, r14
nop dword [rax]
cmp qword [rcx], rdx
jne 0x40ba94
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x18], rdx
mov rax, rcx
call sym.runtime.semacreate
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rcx + 0x30]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x38]
lock cmpxchg qword [rbx], rdx
sete dl
nop dword [rax]
test dl, dl
je 0x40ba14
mov rdx, qword [rcx + 0x30]
mov byte [rdx + 0xe5], 1
mov rdx, qword [0x0075a698]
cmp qword [rdx], 0
nop word [rax + rax]
jne 0x40ba8a
mov rax, 0xffffffffffffffff
call sym.runtime.semasleep
jmp 0x40ba32
cmp qword [rbx], 1
jne 0x40ba21
add rsp, 0x28
pop rbp
nop
ret
lea rax, [0x005e6833]
mov ebx, 0x1d
call sym.runtime.throw
mov rax, qword [rsp + 0x18]
mov rax, qword [rax + 0x30]
mov byte [rax + 0xe5], 0
add rsp, 0x28
pop rbp
ret
mov eax, 0x989680
call sym.runtime.semasleep
mov rcx, qword [0x0075a698]
mov rcx, qword [rcx]
mov qword [rsp], rcx
mov qword [rsp + 8], 0
call sym.runtime.asmcgocall.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rbx]
test rdx, rdx
je 0x40ba48
jmp 0x40ba32
lea rax, [0x005e1c70]
mov ebx, 0x13
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.runtime.notesleep
Function at 0x40bac0
Capabilities:
Reference sql statements

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
mov rcx, qword [r14 + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x20]
mov rdx, rax
xor eax, eax
lock cmpxchg qword [rdx], rcx
sete cl
test cl, cl
je 0x40bb52
mov qword [rsp + 0x30], r14
test rbx, rbx
jge 0x40bb1e
mov rcx, qword [r14 + 0x30]
mov byte [rcx + 0xe5], 1
mov rcx, qword [0x0075a698]
cmp qword [rcx], 0
jne 0x40bd23
mov rax, 0xffffffffffffffff
call sym.runtime.semasleep
jmp 0x40bcda
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x50], rbx
call sym.runtime.nanotime1.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rbx, qword [rsp + 0x50]
add rax, rbx
mov qword [rsp + 0x18], rax
jmp 0x40bb7a
cmp qword [rdx], 1
jne 0x40bb63
mov eax, 1
add rsp, 0x38
pop rbp
ret
lea rax, [0x005e6e8e]
mov ebx, 0x1e
call sym.runtime.throw
mov rax, rdx
mov rbx, rcx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + 0x30]
mov byte [rdx + 0xe5], 1
mov rdx, qword [0x0075a698]
cmp qword [rdx], 0
je 0x40bbae
nop word [rax + rax]
cmp rbx, 0x989680
jle 0x40bbae
mov ebx, 0x989680
mov rax, rbx
call sym.runtime.semasleep
test eax, eax
jge 0x40bc3c
mov rax, qword [0x0075a698]
mov rax, qword [rax]
test rax, rax
je 0x40bbf1
mov qword [rsp], rax
mov qword [rsp + 8], 0
call sym.runtime.asmcgocall.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe5], 0
call sym.runtime.nanotime1.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x18]
mov rdx, rcx
sub rcx, rax
test rcx, rcx
jg 0x40bb74
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
jmp 0x40bc57
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
add rsp, 0x38
pop rbp
ret
mov rax, qword [rcx]
mov rsi, qword [rdx + 0x30]
mov rdi, rsi
cmp rax, rsi
jne 0x40bc80
xor esi, esi
lock cmpxchg qword [rcx], rsi
sete dil
test dil, dil
je 0x40bc57
xor eax, eax
add rsp, 0x38
pop rbp
ret
cmp rax, 1
jne 0x40bcc9
mov byte [rdi + 0xe5], 1
mov rax, 0xffffffffffffffff
call sym.runtime.semasleep
test eax, eax
jl 0x40bcb8
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
add rsp, 0x38
pop rbp
ret
lea rax, [0x005ebc06]
mov ebx, 0x32
call sym.runtime.throw
lea rax, [0x005eb9b9]
mov ebx, 0x31
call sym.runtime.throw
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
add rsp, 0x38
pop rbp
ret
mov rax, qword [0x0075a698]
mov rax, qword [rax]
mov qword [rsp], rax
mov qword [rsp + 8], 0
call sym.runtime.asmcgocall.abi0
xorps xmm15, xmm15
mov r14, qword [0x007c4a20]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, 0x989680
call sym.runtime.semasleep
test eax, eax
jl 0x40bcf5
jmp 0x40bcda
Function at 0x40c9c0
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40cac0
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x28], rax
xor edx, edx
jmp 0x40c9f8
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x10], rdx
lea rsi, [rcx + rbx]
mov qword [rsp + 0x20], rsi
mov rbx, rsi
call sym.runtime.sysReserveOS
mov rcx, rax
test rcx, rcx
je 0x40caa4
mov rdx, qword [rsp + 0x50]
lea rsi, [rdx - 1]
test rcx, rsi
je 0x40ca99
mov qword [rsp + 0x18], rcx
mov rbx, qword [rsp + 0x20]
call sym.runtime.sysFreeOS
mov rcx, qword [rsp + 0x18]
mov rax, qword [rsp + 0x50]
lea rcx, [rax + rcx]
lea rcx, [rcx - 1]
mov rdx, rax
neg rdx
and rdx, rcx
mov qword [rsp + 0x18], rdx
nop
nop
mov rbx, qword [rsp + 0x48]
mov rax, rdx
call sym.runtime.sysReserveOS
mov rcx, rax
mov rdx, qword [rsp + 0x18]
cmp rcx, rdx
je 0x40ca8e
mov rbx, qword [rsp + 0x48]
call sym.runtime.sysFreeOS
mov rcx, qword [rsp + 0x10]
cmp rcx, 0x63
jne 0x40c9e5
jmp 0x40caae
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret
mov rbx, qword [rsp + 0x20]
add rsp, 0x30
pop rbp
ret
xor eax, eax
xor ebx, ebx
add rsp, 0x30
pop rbp
ret
lea rax, [0x005ec57f]
mov ebx, 0x38
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.runtime.sysReserveAligned
Function at 0x40cba0
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40cd78
push rbp
mov rbp, rsp
sub rsp, 0x38
movzx edx, bl
nop word [rax + rax]
nop
cmp rdx, 0x88
jae 0x40cd6a
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x50], bl
test byte [rax], al
mov rcx, qword [rax + rdx*8 + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, rcx
call sym.runtime._mspan_.nextFreeIndex
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x38]
cmp rax, rdx
jne 0x40cc4f
mov qword [rsp + 0x20], rdx
movzx ecx, word [rcx + 0x68]
cmp rdx, rcx
jne 0x40cd07
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x48]
movzx ebx, byte [rsp + 0x50]
nop
call sym.runtime._mcache_.refill
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + rcx*8 + 0x28]
mov qword [rsp + 0x28], rax
call sym.runtime._mspan_.nextFreeIndex
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x28]
jmp 0x40cc52
mov rbx, rax
cmp qword [rcx + 0x38], rax
jbe 0x40ccf6
mov rsi, qword [rcx + 0x70]
imul rax, rsi
movzx esi, word [rcx + 0x68]
inc esi
movzx edi, si
add rax, qword [rcx + 0x18]
mov word [rcx + 0x68], si
mov r8, qword [rcx + 0x38]
cmp r8, rdi
jb 0x40cc8f
cmp rbx, rdx
sete dl
mov rbx, rcx
mov ecx, edx
add rsp, 0x38
pop rbp
ret
mov word [rsp + 0x16], si
mov qword [rsp + 0x20], r8
call sym.runtime.printlock
lea rax, [0x005dfdd0]
mov ebx, 0xe
call sym.runtime.printstring
movzx eax, word [rsp + 0x16]
movzx eax, ax
call sym.runtime.printuint
lea rax, [0x005dec65]
mov ebx, 0xb
call sym.runtime.printstring
mov rax, qword [rsp + 0x20]
call sym.runtime.printuint
call sym.runtime.printnl
nop dword [rax]
call sym.runtime.printunlock
lea rax, [0x005e3c87]
mov ebx, 0x17
call sym.runtime.throw
lea rax, [0x005e3424]
mov ebx, 0x16
call sym.runtime.throw
mov word [rsp + 0x16], cx
call sym.runtime.printlock
lea rax, [0x005e3c70]
mov ebx, 0x17
nop dword [rax]
call sym.runtime.printstring
movzx eax, word [rsp + 0x16]
call sym.runtime.printuint
lea rax, [0x005dec65]
mov ebx, 0xb
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x20]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x005eb9ea]
mov ebx, 0x31
call sym.runtime.throw
mov rax, rdx
mov ecx, 0x88
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
jmp sym.runtime._mcache_.nextFree
Function at 0x40d740
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40d7b8
push rbp
mov rbp, rsp
sub rsp, 0x18
cmp rbx, 1
je 0x40d78b
mov rdx, qword [rax]
mov rcx, rax
mov rax, rbx
mul rdx
jo 0x40d7a4
movabs rdx, 0x1000000000000
cmp rax, rdx
ja 0x40d7a4
test rbx, rbx
jl 0x40d7a4
mov rbx, rcx
mov ecx, 1
nop
call sym.runtime.mallocgc
add rsp, 0x18
pop rbp
ret
mov rdx, qword [rax]
mov rbx, rax
mov ecx, 1
mov rax, rdx
call sym.runtime.mallocgc
add rsp, 0x18
pop rbp
ret
lea rax, [0x005a28a0]
lea rbx, [0x00636848]
call sym.runtime.gopanic
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.newarray

Function at 0x40d7e0
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40d871
push rbp
mov rbp, rsp
sub rsp, 0x28
mov rdx, qword [rax + 0xa0]
test rdx, rdx
je 0x40d804
mov rdx, qword [rdx + 0x40]
jmp 0x40d80b
mov rdx, qword [0x007c4910]
test rdx, rdx
je 0x40d85f
mov rax, qword [0x0072e9f0]
cmp rax, 1
jne 0x40d822
xor eax, eax
nop
jmp 0x40d84b
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rcx
call sym.runtime.fastexprand
movsxd rcx, eax
mov rdx, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
mov rax, rcx
mov rcx, qword [rsp + 0x18]
mov qword [rdx], rax
mov rax, rbx
mov rbx, rcx
call sym.runtime.mProf_Malloc
add rsp, 0x28
pop rbp
ret
lea rax, [0x005ec5b7]
mov ebx, 0x38
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.runtime.profilealloc
Function at 0x40dac0
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x40dd51
push rbp
mov rbp, rsp
sub rsp, 0x40
test rax, rax
je 0x40dd3f
nop dword [rax + rax]
test rbx, rbx
je 0x40db05
lea rdx, [rbx - 1]
test rbx, rdx
jne 0x40dd2e
cmp rbx, 0x2000
jbe 0x40db0a
nop dword [rax + rax]
jmp 0x40dd1d
mov ebx, 8
cmp rax, 0x10000
jae 0x40dbdc
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x10], rbx
mov rdx, qword [r14 + 0x30]
nop
inc dword [rdx + 0xd8]
mov rdx, qword [r14 + 0x30]
mov qword [rsp + 0x20], rdx
test rdx, rdx
je 0x40db55
mov rsi, qword [rdx + 0xa0]
test rsi, rsi
je 0x40db55
test byte [rsi], al
add rsi, 0x11f8
jmp 0x40db80
nop
nop
lea rax, [0x007c4b50]
nop
call sym.runtime.lock2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x10]
lea rsi, [0x007c4b58]
mov qword [rsp + 0x28], rsi
mov rdi, qword [rsi + 8]
lea rdi, [rbx + rdi]
lea rdi, [rdi - 1]
neg rbx
mov qword [rsp + 0x18], rbx
and rdi, rbx
lea r9, [rax + rdi]
mov qword [rsi + 8], rdi
cmp r9, 0x40000
ja 0x40dbb3
cmp qword [rsi], 0
jne 0x40dbeb
mov eax, 0x40000
lea rbx, [0x007c77c0]
nop
call sym.runtime.sysAlloc
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
cmp qword [rcx], 0
je 0x40dcf0
jmp 0x40dc93
mov rbx, rcx
nop
call sym.runtime.sysAlloc
add rsp, 0x40
pop rbp
ret
mov rdi, qword [rsi]
mov r8, qword [rsi + 8]
lea r9, [rax + r8]
mov qword [rsi + 8], r9
mov r9d, dword [rdx + 0xd8]
lea r10d, [r9 - 1]
nop
add rdi, r8
mov dword [rdx + 0xd8], r10d
cmp r9d, 1
jne 0x40dc2a
cmp byte [r14 + 0xb1], 0
nop
je 0x40dc2a
mov qword [r14 + 0x10], 0xfffffffffffffade
mov qword [rsp + 0x30], rdi
lea rdx, [0x007c4b58]
cmp rsi, rdx
jne 0x40dc58
nop
nop
lea rax, [0x007c4b50]
call sym.runtime.unlock2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
lea rdx, [0x007c77c0]
nop
cmp rcx, rdx
je 0x40dc8a
mov rbx, rax
mov rax, rcx
call sym.runtime._sysMemStat_.add
mov rbx, qword [rsp + 0x50]
neg rbx
lea rax, [0x007c77c0]
nop
call sym.runtime._sysMemStat_.add
mov rdi, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x40
pop rbp
ret
mov rax, qword [0x007c4850]
mov rdx, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
mov qword [rsp + 0x38], rdx
mov rdx, qword [rsp + 0x38]
lea rsi, [0x007c4850]
lock cmpxchg qword [rsi], rdx
sete dl
nop dword [rax]
test dl, dl
je 0x40dc93
mov rdi, qword [rsp + 0x10]
add rdi, 7
mov r8, qword [rsp + 0x18]
and rdi, r8
mov qword [rcx + 8], rdi
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rsi, rcx
mov rcx, qword [rsp + 0x60]
jmp 0x40dbeb
lea rdx, [0x007c4b58]
cmp rcx, rdx
je 0x40dd0d
lea rax, [0x005e759c]
mov ebx, 0x1f
call sym.runtime.throw
nop
nop
lea rax, [0x007c4b50]
call sym.runtime.unlock2
jmp 0x40dcfc
lea rax, [0x005e89cb]
mov ebx, 0x23
call sym.runtime.throw
lea rax, [0x005ea3aa]
mov ebx, 0x2a
call sym.runtime.throw
lea rax, [0x005e5411]
mov ebx, 0x1a
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestackc.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.runtime.persistentalloc1