Function at 0x180060100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov ebx, dword [rsp + 0xc8]
mov r14d, r9d
imul eax, r14d, 0x2a0
mov r9, rcx
mov ecx, r14d
mov r12, r8
mov r8, rdx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], eax
cmp r14d, eax
ja 0x1800602b0
mov rsi, qword [rsp + 0xd8]
mov r13d, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0x30]
mov r15d, dword [rsp + 0xc8]
mov edx, dword [0x180089af0]
cmp ecx, 0x6ada
ja 0x18006051a
je 0x1800604ee
cmp ecx, 0x21b
ja 0x180060279
je 0x1800601cf
mov eax, ecx
sub eax, 0xb
je 0x1800601c2
sub eax, 0x9a
je 0x1800602d9
cmp eax, 0x75
jne 0x180060620
test r12, r12
jne 0x180060620
mov eax, 0xffffffff
jmp 0x1800602b2
mov dword [r12], 0
jmp 0x180060620
mov r8d, 0x88
cmp r8d, 0x88
je 0x18006024d
cmp r8d, 0x4598
jne 0x18006022c
mov eax, dword [r12]
mov ecx, 0x21b
mov dword [rsp + 0x20], ecx
cmp r15d, eax
jne 0x180060230
cmp eax, 0x40
jae 0x180060277
mov edx, 0x82
mov eax, edx
sub eax, 0x81
je 0x18006021e
cmp eax, 1
jne 0x180060222
mov rax, qword [rsi]
mov ecx, r15d
mov qword [r12 + rcx*8 + 8], rax
jmp 0x180060222
inc dword [r12]
dec edx
cmp edx, 0x80
ja 0x180060203
mov ecx, dword [rsp + 0x20]
add r8d, 0x4510
cmp r8d, 0x8a20
jbe 0x1800601d5
mov r8, qword [rsp + 0xb8]
jmp 0x180060620
mov ecx, dword [r12]
xor r15d, r15d
test ecx, ecx
je 0x18006026f
mov rdx, qword [rsi]
nop dword [rax + rax]
cmp qword [r12 + r15*8 + 8], rdx
je 0x18006026f
inc r15d
cmp r15d, ecx
jb 0x180060260
mov r8d, 0x88
jmp 0x18006022c
jmp 0x180060230
cmp ecx, 0x1f95
je 0x180060341
cmp ecx, 0x35fa
je 0x180060319
cmp ecx, 0x3e85
jne 0x180060620
mov eax, 0xab
cmp eax, 0xab
je 0x1800602ca
cmp eax, 0x3570
jne 0x1800602cd
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, r13d
add eax, 0x34c5
cmp eax, 0x698a
jbe 0x1800602a2
movsxd rcx, dword [r9]
xor r13d, r13d
mov eax, dword [r12 + rcx*4 + 0xd0]
imul eax, dword [r8]
cdq
sub eax, edx
sar eax, 1
movsxd rdi, eax
add rdi, qword [r12 + rcx*8 + 0xa0]
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax]
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
add rdi, rcx
mov ecx, dword [rsp + 0x20]
jmp 0x180060620
mov rdx, r12
lea rcx, str.WebRTC_Stun_origin_header
call fcn.18006ce50
mov ecx, dword [rsp + 0x20]
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
jmp 0x180060620
mov rax, qword [rsp + 0xd0]
mov ebp, dword [rax]
test ebp, ebp
jle 0x180060620
xorps xmm3, xmm3
mov qword [rsp + 0x28], rbp
xorps xmm2, xmm2
nop
mov r14d, 0x125
nop word [rax + rax]
cmp r14d, 0x125
jne 0x180060490
xor r8d, r8d
cmp ebp, 8
jb 0x1800603ef
cmp edx, 2
jl 0x1800603ef
mov eax, ebp
and eax, 0x80000007
jge 0x18006039a
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, ebp
sub ecx, eax
nop
movdqu xmm1, xmmword [rsi]
add r8d, 8
movd xmm0, dword [rdi]
pmovzxbd xmm0, xmm0
psubd xmm1, xmm0
movd xmm0, dword [rdi + 4]
pabsd xmm1, xmm1
add rdi, 8
paddd xmm1, xmm3
movdqa xmm3, xmm1
movdqu xmm1, xmmword [rsi + 0x10]
add rsi, 0x20
pmovzxbd xmm0, xmm0
psubd xmm1, xmm0
pabsd xmm1, xmm1
paddd xmm1, xmm2
movdqa xmm2, xmm1
cmp r8d, ecx
jl 0x1800603a0
xor r10d, r10d
xor r11d, r11d
cmp r8d, ebp
jge 0x18006047e
mov eax, ebp
sub eax, r8d
cmp eax, 2
jl 0x180060456
mov eax, ebp
sub eax, r8d
sub eax, 2
shr eax, 1
inc eax
mov r9d, eax
lea r8d, [r8 + rax*2]
nop dword [rax + rax]
movzx ecx, byte [rdi]
mov eax, dword [rsi]
sub eax, ecx
movzx ecx, byte [rdi + 1]
cdq
add rdi, 2
xor eax, edx
sub eax, edx
add r10d, eax
mov eax, dword [rsi + 4]
sub eax, ecx
add rsi, 8
cdq
xor eax, edx
sub eax, edx
add r11d, eax
sub r9, 1
jne 0x180060420
mov r9, qword [rsp + 0xb0]
cmp r8d, ebp
jge 0x180060471
movzx ecx, byte [rdi]
mov eax, dword [rsi]
add rsi, 4
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add r13d, eax
inc rdi
mov edx, dword [0x180089af0]
lea eax, [r11 + r10]
add r13d, eax
movsxd rax, dword [r9]
mov eax, dword [r12 + rax*4 + 0xd0]
sub eax, ebp
cdqe
add rdi, rax
add r14d, 0xa286
cmp r14d, 0xa286
jbe 0x180060370
sub qword [rsp + 0x28], 1
jne 0x180060360
mov ecx, dword [rsp + 0x20]
paddd xmm2, xmm3
mov r14d, dword [rsp + 0xc8]
movdqa xmm0, xmm2
mov r8, qword [rsp + 0xb8]
psrldq xmm0, 8
paddd xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
add r13d, eax
jmp 0x180060620
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r12 + 0x108], xmm0
movups xmmword [r12 + 0x118], xmm0
mov qword [r12 + 0x128], rax
mov dword [r12 + 0x130], eax
jmp 0x180060620
cmp ecx, 0x13e5a
ja 0x180060608
je 0x180060600
cmp ecx, 0x9fba
je 0x1800605db
cmp ecx, 0xd49a
je 0x180060571
cmp ecx, 0x1097a
jne 0x180060620
lea rcx, [0x180078468]
call fcn.18006ce50
mov ecx, dword [rsp + 0x20]
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
jmp 0x180060620
cmp dword [0x180089c34], 0
je 0x180060620
movups xmm0, xmmword [r12 + 0x30]
mov eax, dword [0x180089c40]
lea rdx, [r12 + 8]
movups xmm1, xmmword [r12 + 0x40]
lea r9, [rsp + 0x28]
mov r8d, SHTestTokenMembership
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
movsd xmm0, qword [r12 + 0x50]
movsd qword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x28], eax
call fcn.1800082d0
mov ecx, dword [rsp + 0x20]
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
jmp 0x180060620
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 0x64]
call fcn.1800048a0
mov ecx, dword [rsp + 0x20]
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
jmp 0x180060620
inc dword [0x180089c40]
jmp 0x180060620
cmp ecx, 0x1733a
je 0x18006061e
cmp ecx, 0x1a81a
je 0x1800602b0
jmp 0x180060620
xor ebx, ebx
lea eax, [r14 + r14*2]
shl eax, 4
add ecx, eax
mov dword [rsp + 0x20], ecx
cmp ecx, dword [rsp + 0x30]
ja 0x1800602b0
jmp 0x18006016e