Function at 0x1800472b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x180109070]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], r8
mov rax, qword [0x18015b2a0]
test rax, rax
jne 0x180047312
mov r8d, 0xbc4
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.cpp
lea rcx, str.GDrUg___0___No_current_context._Did_you_call_DrUg::CreateContext___and_DrUg::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x18015b2a0]
mov dword [rax + 0x3938], 0x3f400000
mov rcx, rdi
call fcn.180033f40
mov rbx, qword [0x18015b2a0]
cmp dword [rbx + 0x4ad8], 0
jg 0x18004734e
mov r8d, 0x782
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4ae0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.1800069b0
movaps xmm6, xmmword [0x1800f5600]
mov rbx, qword [0x18015b2a0]
mov dword [rbp - 0x79], reloc.WS2_32.dll_setsockopt
movups xmm0, xmmword [rbx + 0x3b24]
movups xmmword [rbp - 0x75], xmm0
lea rcx, [rbx + 0x4a40]
lea rdx, [rbp - 0x79]
call fcn.18001dd60
cmp dword [rbx + 0x4a3c], 0x15
je 0x1800473a9
movups xmmword [rbx + 0x3b24], xmm6
movaps xmm6, xmmword [0x1800f5750]
mov rbx, qword [0x18015b2a0]
mov dword [rbp - 0x79], reloc.WLDAP32.dll_Ordinal_22
movups xmm0, xmmword [rbx + 0x3b34]
movups xmmword [rbp - 0x75], xmm0
lea rcx, [rbx + 0x4a40]
lea rdx, [rbp - 0x79]
call fcn.18001dd60
cmp dword [rbx + 0x4a3c], 0x16
je 0x1800473e9
movups xmmword [rbx + 0x3b34], xmm6
movaps xmm6, xmmword [0x1800f5570]
mov rbx, qword [0x18015b2a0]
mov dword [rbp - 0x79], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rbx + 0x3b44]
movups xmmword [rbp - 0x75], xmm0
lea rcx, [rbx + 0x4a40]
lea rdx, [rbp - 0x79]
call fcn.18001dd60
cmp dword [rbx + 0x4a3c], 0x17
je 0x180047429
movups xmmword [rbx + 0x3b44], xmm6
mov rcx, qword [0x18015b4b8]
call fcn.180010e30
xor r14d, r14d
mov qword [rbp - 0x79], r14
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x61], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x79], r14b
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x180047456
mov rdx, rdi
lea rcx, [rbp - 0x79]
call fcn.180047020
nop
mov dword [rsp + 0x40], 0xa0a1bd
mov byte [rsp + 0x44], 1
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 3
jb 0x180047480
mov byte [rsp + 0x44], 0
lea r8, [rbp - 0x79]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x19]
call fcn.180069dc0
nop
mov dword [rsp + 0x40], 0xa0a1bf
mov byte [rsp + 0x44], 1
mov rcx, r14
nop dword [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 3
jb 0x1800474c0
mov byte [rsp + 0x44], 0
lea r8, [rbp - 0x79]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x39]
call fcn.180069dc0
nop
mov rcx, qword [0x18015b2a0]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4008]
movss xmm2, dword [rax + 0x2c]
subss xmm2, dword [rax + 0x90]
movss xmm7, dword [rbp - 0x7d]
addss xmm2, xmm7
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
movss xmm6, dword [rsp + 0x48]
movaps xmm0, xmm6
addss xmm0, dword [0x1800f4f58]
addss xmm1, xmm0
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm2
mov byte [rax + 0x151], 1
mov dword [rsp + 0x48], 0x42480000
mov dword [rbp - 0x7d], 0x41c80000
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rcx, qword [rbp - 0x19]
lea rdx, [rsp + 0x48]
call fcn.180034850
test al, al
je 0x180047581
mov byte [rsi], 0
mov rcx, qword [0x18015b2a0]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4008]
movss xmm2, dword [rax + 0x2c]
subss xmm2, dword [rax + 0x90]
addss xmm2, xmm7
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
movaps xmm0, xmm6
addss xmm0, dword [0x1800f4fcc]
addss xmm1, xmm0
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm2
mov byte [rax + 0x151], 1
mov dword [rsp + 0x48], 0x42480000
mov dword [rbp - 0x7d], 0x41c80000
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rcx, qword [rbp - 0x39]
lea rdx, [rsp + 0x48]
call fcn.180034850
test al, al
je 0x18004760f
mov byte [rsi], 1
call fcn.180010f60
mov ecx, 3
call fcn.180004220
mov rax, qword [0x18015b2a0]
test rax, rax
jne 0x18004764b
mov r8d, 0xbc4
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.cpp
lea rcx, str.GDrUg___0___No_current_context._Did_you_call_DrUg::CreateContext___and_DrUg::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x18015b2a0]
mov dword [rax + 0x3938], r14d
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x59], 0
mov rcx, r14
cmp byte [rsi], 1
jne 0x1800476b0
mov dword [rsp + 0x40], 0x100ecce
nop word [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x180047680
mov byte [rsp + 0x43], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800476a0
lea rdx, [rsp + 0x40]
jmp 0x1800476ee
mov dword [rsp + 0x40], 0xe5e4ce
mov byte [rsp + 0x44], 1
nop dword [rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 3
jb 0x1800476c0
mov byte [rsp + 0x44], 0
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800476e0
lea rdx, [rsp + 0x40]
mov r8, rbx
lea rcx, [rbp - 0x59]
call fcn.180047020
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rax, qword [rbp - 0x59]
mov rcx, qword [0x18015b2a0]
test rax, rax
jne 0x180047719
xorps xmm1, xmm1
jmp 0x180047772
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x1800f5020]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1800f500c]
movss xmm2, dword [rcx + 0x3d40]
lea rdx, [rsp + 0x48]
mov rcx, qword [rcx + 0x3d38]
call fcn.18002db90
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x1800f4e18]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov rcx, qword [0x18015b2a0]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4008]
movss xmm0, dword [rax + 0x28]
subss xmm0, dword [rax + 0x8c]
addss xmm6, dword [0x1800f4f9c]
mulss xmm1, dword [0x1800f4dec]
subss xmm6, xmm1
addss xmm0, xmm6
movss dword [rax + 0x110], xmm0
mov byte [rax + 0x151], 1
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4008]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
addss xmm7, dword [0x1800f4ea8]
addss xmm0, xmm7
movss dword [rax + 0x114], xmm0
mov byte [rax + 0x151], 1
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rcx, qword [rbp - 0x59]
call fcn.180033f40
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x18004784a
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047845
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180047845
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d15ac
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180047898
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180047893
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d15ac
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x1800478e6
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800478e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800478e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d15ac
mov qword [rbp - 9], r14
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x180047934
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004792f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004792f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d15ac
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800d12f0
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0xe0]
add rsp, 0x100
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret