Function at 0x409d30
Capabilities:
Reference http user-agent string
Reference sql statements
Run powershell expression

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x40a19a
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x40a15e
mov rcx, qword [rax]
test rcx, rcx
je 0x40a15e
movzx ecx, byte [rax + 8]
test cl, 4
jne 0x40a17f
movzx ecx, byte [rax + 9]
test cl, cl
jne 0x409eed
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x48], rcx
mov rbx, qword [rsp + 0x88]
cmp rbx, 0x20
jge 0x409e7b
lea rax, [rcx + 8]
xor edx, edx
jmp 0x409db5
inc rdx
add rax, 0x10
cmp rdx, 8
jae 0x409e5a
mov rbx, qword [rax + 8]
mov rsi, qword [rsp + 0x88]
cmp rbx, rsi
jne 0x409dae
test byte [rcx], al
movzx ebx, byte [rdx + rcx]
test bl, bl
je 0x409dae
mov qword [rsp + 0x30], rdx
mov rbx, qword [rax]
mov rdi, qword [rsp + 0x80]
cmp rbx, rdi
je 0x409e21
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x10], rsi
mov qword [rsp], rbx
mov qword [rsp + 8], rdi
call fcn.004539e0
movzx eax, byte [rsp + 0x18]
test al, al
jne 0x409e21
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
jmp 0x409dae
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x52]
mov rcx, qword [rsp + 0x30]
imul rcx, rax
mov rax, qword [rsp + 0x48]
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x016374e0]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rsi, [rcx + 8]
xor edx, edx
mov edi, 8
jmp 0x409e8f
inc rdx
add rsi, 0x10
cmp rdx, 8
jae 0x40a0c9
mov r8, qword [rsi + 8]
cmp r8, rbx
jne 0x409e88
test byte [rcx], al
movzx r8d, byte [rdx + rcx]
test r8b, r8b
je 0x409e88
mov r8, qword [rsi]
mov r9, qword [rsp + 0x80]
cmp r8, r9
je 0x40a09a
mov r10d, dword [r9]
mov r11d, dword [r8]
cmp r10d, r11d
jne 0x409e88
lea r9, [r9 + rbx - 4]
lea r8, [r8 + rbx - 4]
mov r9d, dword [r9]
mov r8d, dword [r8]
cmp r9d, r8d
jne 0x409e88
cmp rdi, 8
jne 0x409eed
mov rdi, rdx
jmp 0x409e88
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rcx + 0x30]
mov rbx, qword [rbx + 0x18]
mov rdx, qword [rbx]
mov ebx, dword [rax + 0xc]
mov qword [rsp + 8], rbx
lea rbx, [rsp + 0x80]
mov qword [rsp], rbx
mov rbx, qword [rdx]
call rbx
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x78]
movzx ebx, byte [rcx + 9]
mov rdx, rcx
mov ecx, ebx
mov esi, 1
shl rsi, cl
lea rcx, [rsi - 1]
mov rbx, rcx
and rcx, rax
mov rsi, qword [rsp + 0x70]
movzx edi, word [rsi + 0x54]
imul rcx, rdi
mov r8, qword [rdx + 0x18]
add rcx, qword [rdx + 0x10]
test r8, r8
je 0x409f7f
movzx edx, byte [rdx + 8]
test dl, 8
je 0x40a092
and rbx, rax
imul rdi, rbx
lea rdx, [rdi + r8]
test byte [rdx], al
movzx ebx, byte [r8 + rdi]
dec ebx
cmp bl, 3
jae 0x40a08a
shr rax, 0x38
cmp al, 4
jae 0x409f8a
add eax, 4
mov byte [rsp + 0x27], al
jmp 0x40a054
inc rbx
add rdx, 0x10
cmp rbx, 8
jae 0x40a048
mov rdi, qword [rdx + 8]
mov r8, qword [rsp + 0x88]
cmp rdi, r8
jne 0x409f93
movzx edi, byte [rbx + rcx]
cmp al, dil
jne 0x409f93
mov qword [rsp + 0x38], rbx
mov rdi, qword [rdx]
mov r9, qword [rsp + 0x80]
cmp rdi, r9
je 0x40a00f
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp], rdi
mov qword [rsp + 8], r9
call fcn.004539e0
movzx eax, byte [rsp + 0x18]
test al, al
jne 0x40a00f
movzx eax, byte [rsp + 0x27]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x70]
jmp 0x409f93
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x52]
mov rcx, qword [rsp + 0x38]
imul rcx, rax
mov rax, qword [rsp + 0x58]
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
movzx edx, word [rsi + 0x54]
lea rdx, [rcx + rdx - 8]
mov rcx, qword [rdx]
test rcx, rcx
je 0x40a069
mov qword [rsp + 0x58], rcx
lea rdx, [rcx + 8]
xor ebx, ebx
jmp 0x409f9a
lea rax, [0x016374e0]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rcx, rdx
jmp 0x409f7f
shr rbx, 1
jmp 0x409f62
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x52]
imul rdx, rax
lea rax, [rdx + rcx + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
cmp rdi, 8
jne 0x40a0f0
lea rax, [0x016374e0]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov qword [rsp + 0x28], rdi
shl rdi, 4
lea rcx, [rdi + rcx + 8]
mov rcx, qword [rcx]
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x10], rbx
mov qword [rsp], rcx
mov qword [rsp + 8], rsi
call fcn.004539e0
movzx eax, byte [rsp + 0x18]
test al, al
je 0x40a0cf
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x52]
mov rcx, qword [rsp + 0x28]
imul rcx, rax
mov rax, qword [rsp + 0x48]
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x016374e0]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x008b177f]
mov qword [rsp], rax
mov qword [rsp + 8], 0x21
call fcn.0042ab20
ud2
call fcn.00451b80
jmp fcn.00409d30