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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 8]
cmp rax, qword [rcx + 0x10]
jbe 0x4078c5
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x4078a7
movzx ecx, byte [rax + 8]
test cl, 4
jne 0x40788c
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rcx + 0x30]
mov rbx, qword [rbx + 0x18]
mov qword [rsp + 0x60], rbx
mov rdx, qword [rbx]
mov esi, dword [rax + 0xc]
mov qword [rsp + 8], rsi
mov rsi, qword [rsp + 0xa0]
mov qword [rsp], rsi
mov rdi, qword [rdx]
call rdi
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x98]
movzx ebx, byte [rcx + 8]
or ebx, 4
mov byte [rcx + 8], bl
mov rbx, qword [rcx + 0x10]
lea rsi, [rcx + 0x10]
test rbx, rbx
jne 0x4075fb
jmp 0x407813
inc r10
cmp r10, 8
jae 0x407576
test byte [rbx], al
movzx r11d, byte [rbx + r10]
lea r12, [rbx + r10]
cmp al, r11b
je 0x40743f
test r11b, r11b
jne 0x4073e7
test rcx, rcx
jne 0x4073e7
movzx r11d, byte [rsi + 0x50]
mov r13, r10
imul r10, r11
movzx r14d, byte [rsi + 0x52]
imul r14, r13
lea r11, [r14 + r11*8]
mov r14, rbx
lea r8, [r10 + rbx + 8]
lea r9, [r11 + rbx + 8]
mov rbx, r14
mov r10, r13
mov rcx, r12
jmp 0x4073e7
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], rcx
movzx r11d, byte [rsi + 0x50]
imul r11, r10
movzx r12d, byte [rsi + 0x51]
lea rbx, [r11 + rbx + 8]
test r12b, r12b
je 0x40746e
mov rbx, qword [rbx]
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov rsi, qword [rdx]
call rsi
movzx eax, byte [rsp + 0x10]
test al, al
jne 0x4074d3
movzx eax, byte [rsp + 0x27]
mov rdx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x30]
mov r10, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x40]
jmp 0x4073e7
mov rax, qword [rsp + 0x90]
movzx ecx, byte [rax + 0x57]
test cl, cl
jne 0x407545
movzx ecx, byte [rax + 0x50]
movzx edx, byte [rax + 0x52]
mov rbx, qword [rsp + 0x28]
imul rdx, rbx
lea rcx, [rdx + rcx*8]
mov rdx, qword [rsp + 0x78]
lea rcx, [rdx + rcx + 8]
mov rdx, qword [rsp + 0x98]
movzx ebx, byte [rdx + 8]
test bl, 4
je 0x407871
and ebx, 0xfffffffb
mov byte [rdx + 8], bl
movzx eax, byte [rax + 0x53]
test al, al
je 0x407540
mov rax, qword [rcx]
mov qword [rsp + 0xa8], rax
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rax, rcx
jmp 0x407528
mov rcx, qword [rax + 0x30]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rcx
call fcn.00410d90
mov rax, qword [rsp + 0x90]
jmp 0x4074e3
movzx r10d, word [rsi + 0x54]
mov r11, rbx
lea rbx, [rbx + r10 - 8]
mov rbx, qword [rbx]
test rbx, rbx
je 0x407598
mov qword [rsp + 0x78], rbx
xor r10d, r10d
jmp 0x4073ea
mov rbx, qword [rdx + 0x18]
test rbx, rbx
jne 0x4077d4
mov rbx, qword [rdx]
inc rbx
movzx r10d, byte [rdx + 9]
cmp rbx, 8
jle 0x4077c7
mov r12, rcx
mov ecx, r10d
mov r13d, 1
shl r13, cl
shr r13, 1
lea r14, [r13 + r13*2]
lea r13, [r13 + r14*4]
cmp rbx, r13
seta bl
test bl, bl
je 0x407653
mov qword [rsp], rsi
mov qword [rsp + 8], rdx
call fcn.00408650
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
movzx ebx, byte [rcx + 9]
mov rdx, rcx
mov ecx, ebx
mov esi, 1
shl rsi, cl
lea rbx, [rsi - 1]
and rbx, rax
mov rsi, qword [rdx + 0x18]
test rsi, rsi
jne 0x4077dc
mov rsi, qword [rsp + 0x90]
movzx edi, word [rsi + 0x54]
imul rbx, rdi
add rbx, qword [rdx + 0x10]
mov rdi, rax
shr rax, 0x38
cmp al, 4
jae 0x407642
add eax, 4
mov byte [rsp + 0x27], al
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
jmp 0x40758b
movzx ebx, word [rdx + 0xa]
cmp cl, 0xf
jbe 0x407661
mov ecx, 0xf
and ecx, 0xf
mov r10d, 1
shl r10d, cl
cmp bx, r10w
jae 0x4075e0
test r12, r12
je 0x407783
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x58], r12
movzx ecx, byte [rsi + 0x51]
test cl, cl
jne 0x40772a
movzx ecx, byte [rsi + 0x53]
test cl, cl
jne 0x4076e6
mov rax, qword [rsi + 0x30]
mov qword [rsp], rax
mov qword [rsp + 8], r8
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rax
call fcn.00410d90
movzx eax, byte [rsp + 0x27]
mov rcx, qword [rsp + 0x58]
mov byte [rcx], al
mov rax, qword [rsp + 0x98]
inc qword [rax]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
jmp 0x407502
mov qword [rsp + 0x50], r8
mov rax, qword [rsi + 0x38]
mov qword [rsp], rax
call fcn.00410220
mov rdi, qword [rsp + 0x40]
test byte [rdi], al
mov rax, qword [rsp + 8]
mov ecx, dword [0x01636820]
test ecx, ecx
jne 0x407723
mov qword [rdi], rax
mov rsi, qword [rsp + 0x90]
mov r8, qword [rsp + 0x50]
jmp 0x40769e
call fcn.004544a0
jmp 0x407711
mov qword [rsp + 0x70], r8
mov rax, qword [rsi + 0x30]
mov qword [rsp], rax
call fcn.00410220
mov rdi, qword [rsp + 0x70]
test byte [rdi], al
mov rax, qword [rsp + 8]
mov ecx, dword [0x01636820]
test ecx, ecx
jne 0x40777c
mov qword [rdi], rax
mov rdx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov r9, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
mov r8, rax
movzx eax, byte [rsp + 0x27]
jmp 0x407696
call fcn.004544a0
jmp 0x407755
mov qword [rsp], rdx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], r11
call fcn.00406710
mov r12, qword [rsp + 0x18]
test byte [r12], al
mov rsi, qword [rsp + 0x90]
movzx eax, byte [rsi + 0x50]
lea r8, [r12 + 8]
lea r9, [r12 + rax*8 + 8]
movzx eax, byte [rsp + 0x27]
mov rdx, qword [rsp + 0x98]
jmp 0x407680
mov r12, rcx
xor ebx, ebx
mov ecx, r10d
jmp 0x4075dc
mov r12, rcx
jmp 0x407677
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x90]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
call fcn.004088a0
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x38]
jmp 0x407620
mov qword [rsp + 0x68], rsi
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x40]
mov qword [rsp], rcx
call fcn.00410220
mov eax, dword [0x01636820]
mov rcx, qword [rsp + 8]
test eax, eax
jne 0x40785a
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
jmp 0x4075fb
mov rdi, qword [rsp + 0x68]
mov rax, rcx
call fcn.004544a0
mov rax, qword [rsp + 0x98]
jmp 0x407848
lea rax, [0x008a8091]
mov qword [rsp], rax
mov qword [rsp + 8], 0x15
call fcn.0042ab20
ud2
lea rax, [0x008a8091]
mov qword [rsp], rax
mov qword [rsp + 8], 0x15
call fcn.0042ab20
ud2
lea rax, [0x008013e0]
mov qword [rsp], rax
lea rax, [0x008f8490]
mov qword [rsp + 8], rax
call fcn.0042a320
ud2
call fcn.00451b80
jmp fcn.00407330