Function at 0x52e840
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x52ed7e
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
xor edx, edx
jmp 0x52e860
inc rdx
nop
cmp rbx, rdx
jle 0x52e8a9
movzx esi, byte [rax + rdx]
cmp sil, 0x20
jb 0x52e875
cmp sil, 0x7f
jne 0x52e85b
lea rax, [0x005a9cc0]
nop dword [rax]
call sym.runtime.newobject
mov qword [rax + 8], 0x29
lea rcx, [0x005ea306]
mov qword [rax], rcx
lea rbx, [0x006371c0]
mov rcx, rax
xor eax, eax
add rsp, 0x48
pop rbp
ret
mov byte [rsp + 0x68], cl
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
test rbx, rbx
jne 0x52e8f4
nop dword [rax]
test cl, cl
je 0x52e8f4
lea rax, [0x005a9cc0]
call sym.runtime.newobject
mov qword [rax + 8], 9
lea rcx, [0x005de50f]
mov qword [rax], rcx
lea rbx, [0x006371c0]
mov rcx, rax
xor eax, eax
add rsp, 0x48
pop rbp
ret
lea rax, [0x005cf680]
nop dword [rax + rax]
call sym.runtime.newobject
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0x60]
cmp rbx, 1
jne 0x52e93c
mov rdx, qword [rsp + 0x58]
cmp byte [rdx], 0x2a
jne 0x52e941
mov qword [rax + 0x40], 1
lea rdx, [0x006350c0]
mov qword [rax + 0x38], rdx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rdx, qword [rsp + 0x58]
mov rax, rdx
call sym.net_url.getScheme
mov rdx, qword [rsp + 0x30]
mov qword [rdx + 8], rbx
cmp dword [0x007c4ac0], 0
je 0x52e96f
nop dword [rax + rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r9, qword [rdx]
mov qword [r11 + 8], r9
mov qword [rdx], rax
test rsi, rsi
jne 0x52ed4b
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rdi
call sym.strings.ToLower
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 8], rbx
cmp dword [0x007c4ac0], 0
je 0x52e9af
nop dword [rax]
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rcx]
mov qword [r11 + 8], rsi
mov qword [rcx], rax
mov rbx, qword [rsp + 0x20]
test rbx, rbx
jne 0x52e9c2
xor edx, edx
nop
jmp 0x52ea23
mov rdx, qword [rsp + 0x38]
lea rax, [rbx + rdx]
lea rax, [rax - 1]
mov ecx, 1
lea rbx, [0x00635140]
nop dword [rax + rax]
call sym.runtime.memequal
test al, al
jne 0x52e9f7
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
xor edx, edx
jmp 0x52ea23
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
lea rcx, [0x00635140]
mov edi, 1
call sym.strings.Count
cmp rax, 1
sete dl
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
test dl, dl
je 0x52ea45
mov byte [rcx + 0x59], 1
lea rsi, [rbx - 1]
cmp rbx, rsi
jb 0x52ed72
mov rdx, rcx
mov rbx, rsi
mov rax, qword [rsp + 0x38]
jmp 0x52ea81
mov rax, qword [rsp + 0x38]
lea rcx, [0x00635140]
mov edi, 1
call sym.strings.Cut
mov rdx, qword [rsp + 0x30]
mov qword [rdx + 0x68], rdi
cmp dword [0x007c4ac0], 0
je 0x52ea7d
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rsi, qword [rdx + 0x60]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x60], rcx
test rbx, rbx
je 0x52ea8f
cmp byte [rax], 0x2f
sete sil
jmp 0x52ea91
xor esi, esi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
nop dword [rax + rax]
test sil, sil
jne 0x52eb23
cmp qword [rdx + 8], 0
je 0x52eada
mov qword [rdx + 0x18], rbx
cmp dword [0x007c4ac0], 0
je 0x52eac9
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx + 0x10]
mov qword [r11 + 8], rsi
mov qword [rdx + 0x10], rax
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
movzx esi, byte [rsp + 0x68]
nop
test sil, sil
jne 0x52ed1b
lea rcx, [0x005dd07a]
mov edi, 1
call sym.strings.Cut
lea rcx, [0x00635138]
mov edi, 1
call sym.strings.Index
test rax, rax
jge 0x52eceb
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
cmp qword [rdx + 8], 0
je 0x52eb31
mov ecx, 1
jmp 0x52eb6f
movzx esi, byte [rsp + 0x68]
test sil, sil
je 0x52eb3f
xor ecx, ecx
jmp 0x52eb6f
nop
cmp rbx, 3
jge 0x52eb4a
xor ecx, ecx
jmp 0x52eb6c
lea rbx, [0x005dd2af]
mov ecx, 3
call sym.runtime.memequal
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
mov ecx, eax
mov rax, qword [rsp + 0x38]
xor ecx, 1
test cl, cl
je 0x52eb88
cmp rbx, 2
jl 0x52eb84
cmp word [rax], 0x2f2f
sete sil
jmp 0x52eb8a
xor esi, esi
jmp 0x52eb8a
xor esi, esi
test sil, sil
je 0x52ec99
cmp rbx, 2
jb 0x52ed65
lea rdx, [rbx - 2]
mov qword [rsp + 0x28], rdx
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 2
add rax, rdx
mov qword [rsp + 0x40], rax
lea rcx, [0x005dd07a]
mov edi, 1
mov rbx, rsi
call sym.strings.Index
test rax, rax
jl 0x52ec0c
mov rdx, qword [rsp + 0x28]
nop dword [rax]
cmp rax, rdx
ja 0x52ed59
mov rcx, qword [rsp + 0x20]
sub rcx, rax
add rcx, 0xfffffffffffffffe
mov rsi, rcx
neg rcx
sar rcx, 0x3f
and rcx, rax
mov rdi, qword [rsp + 0x40]
add rcx, rdi
jmp 0x52ec1a
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
xor esi, esi
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x38], rcx
mov rbx, rax
mov rax, rdi
call sym.net_url.parseAuthority
cmp dword [0x007c4ac0], 0
jne 0x52ec40
mov rdx, qword [rsp + 0x30]
jmp 0x52ec55
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 0x20]
mov qword [r11 + 8], r8
mov qword [rdx + 0x20], rax
mov qword [rdx + 0x30], rcx
cmp dword [0x007c4ac0], 0
je 0x52ec76
call sym.runtime.gcWriteBarrier2
mov qword [r11], rbx
mov r8, qword [rdx + 0x28]
mov qword [r11 + 8], r8
mov qword [rdx + 0x28], rbx
test rdi, rdi
jne 0x52ec8b
mov rbx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
jmp 0x52ecbb
xor eax, eax
mov rbx, rdi
mov rcx, rsi
add rsp, 0x48
pop rbp
ret
cmp qword [rdx + 8], 0
nop
je 0x52ecbb
test rbx, rbx
je 0x52ecb0
cmp byte [rax], 0x2f
sete sil
jmp 0x52ecb2
xor esi, esi
test sil, sil
je 0x52ecbb
mov byte [rdx + 0x58], 1
mov rcx, rbx
mov rbx, rax
mov rax, rdx
call sym.net_url._URL_.setPath
test rax, rax
je 0x52ecdc
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0x48
pop rbp
ret
mov rax, qword [rsp + 0x30]
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
lea rax, [0x005a9cc0]
call sym.runtime.newobject
mov qword [rax + 8], 0x2e
lea rcx, [0x005eb3cb]
mov qword [rax], rcx
lea rbx, [0x006371c0]
mov rcx, rax
xor eax, eax
add rsp, 0x48
pop rbp
ret
lea rax, [0x005a9cc0]
call sym.runtime.newobject
mov qword [rax + 8], 0x17
lea rcx, [0x005e43fc]
mov qword [rax], rcx
lea rbx, [0x006371c0]
mov rcx, rax
xor eax, eax
add rsp, 0x48
pop rbp
ret
xor eax, eax
mov rbx, rsi
mov rcx, r8
add rsp, 0x48
pop rbp
ret
mov rcx, rax
nop dword [rax]
call sym.runtime.panicSliceAlen
mov eax, 2
mov rcx, rbx
call sym.runtime.panicSliceB
mov rcx, rsi
mov rdx, rbx
call sym.runtime.panicSliceAlen
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
jmp sym.net_url.parse