Function at 0x1800b5640
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x230
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x180126040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r12d, r12d
movsd xmm0, qword [0x180127c98]
ucomisd xmm0, qword [0x18010f7b8]
jp 0x1800b5738
jne 0x1800b5738
mov rdi, qword [0x180127de8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
lea ecx, [r12 + 0x20]
call fcn.1800d2d00
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], socket
mov ecx, 0x1f
mov qword [rbp - 0x50], rcx
movups xmm0, xmmword [str.bIsDisconnecting]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], r12b
test rdi, rdi
je 0x1800b56fa
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.180005220
mov rcx, qword [rbp - 0x50]
test eax, eax
jle 0x1800b56fa
movsxd rbx, eax
add rbx, rdi
jmp 0x1800b56fd
mov rbx, r12
cmp rcx, 0xf
jbe 0x1800b5735
lea rdx, [rcx + 1]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b5730
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5c36
call fcn.1800d2cf0
and byte [rbx], 0xfd
call fcn.18003cef0
movsd xmm6, qword [0x18010f660]
test al, al
je 0x1800b585b
call fcn.1800b9b00
call fcn.18003d5c0
mov rcx, qword [0x180127c90]
test rcx, rcx
je 0x1800b5798
cmp qword [0x180127e78], 0
je 0x1800b5776
mov rax, qword [0x180127e70]
jmp 0x1800b5780
movsxd rax, dword [0x180127da0]
add rax, rcx
mov rbx, qword [rax]
test rbx, rbx
je 0x1800b5798
movsxd rax, dword [0x180127d98]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x1800b579b
mov rbx, r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 0xa
mov qword [rbp - 0x50], 0xf
movsd xmm0, qword [str.Match_Set_]
movsd qword [rbp - 0x68], xmm0
movzx eax, word [0x180105090]
mov word [rbp - 0x60], ax
mov byte [rbp - 0x5e], 0
lea rcx, [rbp - 0x68]
call fcn.180097d70
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 0xa
mov qword [rbp - 0x50], 0xf
movsd xmm0, qword [str.StartMatch]
movsd qword [rbp - 0x68], xmm0
movzx eax, word [0x1801050a0]
mov word [rbp - 0x60], ax
mov byte [rbp - 0x5e], 0
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.1800a4910
mov cl, 5
call fcn.18003d380
call fcn.1800baaa0
comisd xmm6, xmmword [0x180127c98]
ja 0x1800b5841
cmp dword [0x180127da4], 0x17
jge 0x1800b5841
call fcn.18003f000
test al, al
jne 0x1800b5860
mov rcx, qword [0x180127de8]
call fcn.1800b43c0
lea rcx, [0x180127dd0]
call fcn.1800282d0
jmp 0x1800b5860
call fcn.18003df20
call fcn.1800a5d90
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180022ad0
movsxd rax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x1800b58cf
nop word [rax + rax]
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov rdx, qword [0x180128bb0]
cmp rdx, qword [0x180128bb8]
je 0x1800b58b5
mov qword [rdx], rax
add qword [0x180128bb0], 8
jmp 0x1800b58c6
lea r8, [rsp + 0x20]
lea rcx, [0x180128ba8]
call fcn.1800123f0
add rbx, 8
cmp rbx, rdi
jne 0x1800b5890
mov r14, 0xffffffffffffffff
cmp dword [0x180127da4], 0x17
jge 0x1800b5c44
call fcn.18003f000
test al, al
je 0x1800b5c3d
mov rdi, qword [0x180128b70]
mov rbx, qword [0x180128b68]
cmp rbx, rdi
je 0x1800b5914
mov rcx, qword [rbx]
call fcn.18003f160
add rbx, 8
cmp rbx, rdi
jne 0x1800b5903
mov eax, dword [0x180127da4]
cmp eax, 0xb
jge 0x1800b5928
lea rcx, str.Athena_POI_Foundations
jmp 0x1800b5951
cmp eax, 0x13
jge 0x1800b5936
lea rcx, str.Apollo_POI_Foundations
jmp 0x1800b5951
lea rdx, str.Artemis_POI_Foundations
lea rcx, str.NONE
cmp eax, 0x17
cmovl rcx, rdx
cmp word [rcx], 0
je 0x1800b5963
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800b5954
inc rax
jmp 0x1800b5966
mov rax, r12
test eax, eax
cmove rcx, r12
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
xor eax, eax
mov qword [rsp + 0x40], rax
mov rdx, qword [0x180127d50]
mov rcx, qword [0x180127c78]
test rcx, rcx
je 0x1800b59a8
test rdx, rdx
je 0x1800b59a8
lea r8, [rsp + 0x30]
call qword [0x180127dc0]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
shr rax, 0x20
mov dword [rsp + 0x24], eax
mov rcx, qword [0x180127c90]
test rcx, rcx
je 0x1800b59e9
cmp qword [0x180127e78], 0
je 0x1800b59d7
mov rax, qword [0x180127e70]
jmp 0x1800b59e1
movsxd rax, dword [0x180127da0]
add rax, rcx
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800b59ec
mov rcx, r12
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], r8
mov rdx, qword [0x180127d20]
mov rcx, qword [0x180127c88]
test rcx, rcx
je 0x1800b5a2b
test rdx, rdx
je 0x1800b5a2b
lea r8, [rsp + 0x50]
call qword [0x180127dc0]
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1800b5bd5
movsxd rax, dword [0x180127d7c]
mov rcx, qword [rax + r8]
test rcx, rcx
je 0x1800b5bd5
movsxd rax, dword [0x1801263cc]
mov rbx, qword [rax + rcx]
mov rax, qword [rax + rcx + 8]
movsxd rcx, eax
lea r15, [rbx + rcx*8]
cmp rbx, r15
je 0x1800b5bd5
mov r13d, 1
nop
mov r8d, 0x30
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800b5bc8
mov ecx, dword [rbp - 0x74]
test cl, 0xee
sete al
test ecx, 0x101
movzx ecx, al
cmovne ecx, r13d
test cl, cl
jne 0x1800b5bc8
mov rdi, qword [rbx]
call fcn.1800081e0
test rax, rax
je 0x1800b5bc8
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
je 0x1800b5aeb
movsxd r8, dword [0x1801260ac]
nop dword [rax]
test rcx, rcx
je 0x1800b5bc8
mov rcx, qword [r8 + rcx]
test rcx, rcx
je 0x1800b5bc8
cmp rcx, rax
jne 0x1800b5ad0
mov rsi, qword [rbx]
mov qword [rsp + 0x20], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov ecx, 0x20
call fcn.1800d2d00
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], socket
mov edx, 0x1f
mov qword [rbp - 0x50], rdx
movups xmm0, xmmword [str.DynamicFoundationType]
movups xmmword [rax], xmm0
mov ecx, dword [0x18010bf20]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x18010bf24]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
test rsi, rsi
je 0x1800b5b5b
lea rdx, [rbp - 0x68]
mov rcx, rsi
call fcn.180005220
mov rdx, qword [rbp - 0x50]
test eax, eax
jle 0x1800b5b5b
movsxd rdi, eax
add rdi, rsi
jmp 0x1800b5b5e
mov rdi, r12
cmp rdx, 0xf
jbe 0x1800b5b95
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b5b90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b5c36
call fcn.1800d2cf0
cmp byte [rdi], 3
jne 0x1800b5bc8
mov rdx, qword [0x180128b88]
cmp rdx, qword [0x180128b90]
je 0x1800b5bb7
mov qword [rdx], rsi
add qword [0x180128b88], 8
jmp 0x1800b5bc8
lea r8, [rsp + 0x20]
lea rcx, [0x180128b80]
call fcn.1800123f0
add rbx, 8
cmp rbx, r15
jne 0x1800b5a70
movsd xmm0, qword [0x180127c98]
comisd xmm0, xmm6
jb 0x1800b5c44
mov word [rbp - 0x5a], 0
mov qword [rbp - 0x58], 0xe
mov qword [rbp - 0x50], 0xf
movsd xmm0, qword [str.CollectGarbage]
movsd qword [rbp - 0x68], xmm0
mov eax, dword [0x18010bdd8]
mov dword [rbp - 0x60], eax
movzx eax, word [0x18010bddc]
mov word [rbp - 0x5c], ax
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, qword [0x180127c68]
call fcn.1800a4910
mov byte [0x180128bfe], 1
jmp 0x1800b5c44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov byte [0x180128c29], 1
call fcn.18003db70
mov rcx, qword [0x180127c90]
test rcx, rcx
je 0x1800b5cf4
cmp qword [0x180127e78], 0
je 0x1800b5c6c
mov rax, qword [0x180127e70]
jmp 0x1800b5c76
movsxd rax, dword [0x180127da0]
add rax, rcx
mov rcx, qword [rax]
test rcx, rcx
je 0x1800b5cf4
movsxd rax, dword [0x180127d98]
mov r10, qword [rax + rcx]
test r10, r10
je 0x1800b5cf4
lea rcx, [rbp - 0x40]
lea rax, str.89cPZTWT_eHR
mov edx, 2
nop
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1800b5ca0
jmp 0x1800b5d62
mov r10, r12
lea rcx, [rbp - 0x40]
lea rax, str.89cPZTWT_eHR
mov edx, 2
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1800b5d10
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rcx + 0x30], eax
mov r8d, r12d
mov ebx, dword [0x180126018]
cmp ebx, 2
jl 0x1800b5eb5
movdqa xmm5, xmmword [0x18010fc40]
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmm7, xmmword [str.22222222]
lea rcx, [rbp - 0x40]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x98
jl 0x1800b5dc0
cmp r8d, 0x9a
jge 0x1800b5ef7
movsxd rax, r8d
lea r9, [rbp - 0x40]
lea r9, [r9 + rax*2]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x32
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x9a
jl 0x1800b5ec0
cmp word [rbp - 0x40], 0
je 0x1800b5f14
lea rax, [rbp - 0x40]
mov rcx, r14
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800b5f05
inc rcx
jmp 0x1800b5f17
mov rcx, r12
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], ecx
lea rax, [rbp - 0x40]
test ecx, ecx
cmove rax, r12
mov qword [rsp + 0x20], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 3
mov qword [rbp - 0x50], 0xf
mov eax, dword [0x1801050a4]
mov word [rbp - 0x68], ax
movzx eax, byte [0x1801050a6]
mov byte [rbp - 0x66], al
mov byte [rbp - 0x65], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x68]
mov rcx, r10
call fcn.1800a4910
movups xmm0, xmmword [str.eVXVYZ_]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x18010d6a0]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x18010d6b0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x18010d6c0]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [0x18010d6d0]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [0x18010d6e0]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [0x18010d6f0]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [0x18010d700]
movups xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [0x18010d710]
movups xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [0x18010d720]
movsd qword [rbp + 0x50], xmm0
cmp ebx, 2
jl 0x1800b6132
movdqa xmm5, xmmword [0x18010fc40]
mov edx, r12d
movdqa xmm4, xmmword [0x18010fdf0]
movdqa xmm6, xmmword [0x18010fc60]
movdqa xmm0, xmmword [0x18010fd40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp - 0x3c]
mov r8d, dword [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010fd20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x98
jl 0x1800b6030
jmp 0x1800b6173
lea r9, [rbp - 0x40]
mov r8d, r12d
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x98
jl 0x1800b6140
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
lea rax, [rbp - 0x40]
inc r14
cmp byte [rax + r14], 0
jne 0x1800b6186
mov r8, r14
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.180020040
lea rcx, [rbp - 0x68]
call fcn.180097d70
mov cl, 2
call fcn.180008490
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1800d2960
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret