Function at 0x180047d90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x180107070]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x58], r8
mov rax, qword [0x18014fa60]
test rax, rax
jne 0x180047e11
mov r8d, 0xbc4
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug.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 [0x18014fa60]
mov dword [rax + 0x3938], 0x3f400000
mov rcx, rbx
call fcn.180033ef0
mov rdi, qword [0x18014fa60]
mov rax, qword [rdi + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rdi + 0x4008]
mov r14, qword [rax + 0x2a8]
movaps xmm6, xmmword [str._nW__nW__nW_]
mov dword [rsp + 0x40], reloc.WS2_32.dll_setsockopt
movups xmm0, xmmword [rdi + 0x3b24]
movups xmmword [rsp + 0x44], xmm0
lea rcx, [rdi + 0x4a40]
lea rdx, [rsp + 0x40]
call fcn.18001dd10
cmp dword [rdi + 0x4a3c], 0x15
je 0x180047e82
movups xmmword [rdi + 0x3b24], xmm6
movaps xmm6, xmmword [0x1800f3540]
mov rdi, qword [0x18014fa60]
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_22
movups xmm0, xmmword [rdi + 0x3b34]
movups xmmword [rsp + 0x44], xmm0
lea rcx, [rdi + 0x4a40]
lea rdx, [rsp + 0x40]
call fcn.18001dd10
cmp dword [rdi + 0x4a3c], 0x16
je 0x180047ec5
movups xmmword [rdi + 0x3b34], xmm6
movaps xmm6, xmmword [0x1800f3550]
mov rdi, qword [0x18014fa60]
mov dword [rsp + 0x40], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rdi + 0x3b44]
movups xmmword [rsp + 0x44], xmm0
lea rcx, [rdi + 0x4a40]
lea rdx, [rsp + 0x40]
call fcn.18001dd10
cmp dword [rdi + 0x4a3c], 0x17
je 0x180047f08
movups xmmword [rdi + 0x3b44], xmm6
mov rcx, qword [0x18014fc78]
call fcn.180010de0
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], r12b
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x180047f36
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180046fa0
nop
mov dword [rsp + 0x40], 0x9bcbc4
mov byte [rsp + 0x44], 1
mov rcx, r12
nop
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 3
jb 0x180047f60
mov byte [rsp + 0x44], 0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.180067b70
nop
mov dword [rsp + 0x40], 0x8ecbc4
mov byte [rsp + 0x44], 1
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 3
jb 0x180047fa0
mov byte [rsp + 0x44], 0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.180067b70
nop
mov dword [rsp + 0x40], 0x8bcbc4
mov byte [rsp + 0x44], 1
mov rcx, r12
nop dword [rax]
lea eax, [rcx - 0x19]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 3
jb 0x180047fe0
mov byte [rsp + 0x44], 0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.180067b70
nop
movss xmm7, dword [rsp + 0x58]
movaps xmm9, xmm7
addss xmm9, dword [0x1800f300c]
movss xmm10, dword [rsp + 0x5c]
movaps xmm6, xmm10
addss xmm6, dword [0x1800f2f68]
mov rdi, qword [0x18014fa60]
mov rax, qword [rdi + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rdi + 0x4008]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
movaps xmm2, xmm6
addss xmm2, xmm0
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
addss xmm1, xmm9
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm2
mov byte [rax + 0x151], 1
mov rax, qword [rdi + 0x4008]
lea rcx, [rax + 0x1d8]
lea rbx, [rax + 0x1cc]
mov rdx, rbx
call fcn.18001e1f0
mov dword [rbx], 0x42c80000
and dword [rdi + 0x4958], 0xfffffffe
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
movss xmm11, dword [0x1800f2ee0]
mov dword [rsp + 0x58], 0x3f800000
xorps xmm12, xmm12
mov dword [rsp + 0x40], 0
lea r15, str._.3f
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8, rsi
mov edx, 8
call fcn.180036750
mov rdi, qword [0x18014fa60]
mov rax, qword [rdi + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rdi + 0x4008]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
movaps xmm2, xmm6
addss xmm2, xmm0
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
movaps xmm0, xmm7
addss xmm0, dword [0x1800f3040]
addss xmm1, xmm0
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm2
mov byte [rax + 0x151], 1
mov rax, qword [rdi + 0x4008]
lea rcx, [rax + 0x1d8]
lea rbx, [rax + 0x1cc]
mov rdx, rbx
call fcn.18001e1f0
mov dword [rbx], 0x42c80000
and dword [rdi + 0x4958], 0xfffffffe
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rcx, qword [rbp - 0x60]
mov dword [rsp + 0x40], 0x3f800000
mov dword [rsp + 0x58], 0
lea r8, [rsi + 4]
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov edx, 8
call fcn.180036750
mov rdi, qword [0x18014fa60]
mov rax, qword [rdi + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rdi + 0x4008]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rax + 0x90]
addss xmm6, xmm0
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
addss xmm7, dword [0x1800f3070]
addss xmm1, xmm7
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm6
mov byte [rax + 0x151], 1
mov rax, qword [rdi + 0x4008]
lea rcx, [rax + 0x1d8]
lea rbx, [rax + 0x1cc]
mov rdx, rbx
call fcn.18001e1f0
mov dword [rbx], 0x42c80000
and dword [rdi + 0x4958], 0xfffffffe
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov dword [rsp + 0x40], 0x3f800000
mov dword [rsp + 0x58], 0
lea r8, [rsi + 8]
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov edx, 8
call fcn.180036750
mov rcx, qword [0x18014fa60]
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]
subss xmm10, dword [0x1800f2f68]
addss xmm10, xmm0
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
addss xmm1, xmm9
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm10
mov byte [rax + 0x151], 1
mov rax, qword [rcx + 0x4008]
movss xmm6, dword [rax + 0x110]
movss xmm7, dword [rax + 0x114]
movaps xmm0, xmmword [0x1800f3660]
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.180003ad0
movaps xmm1, xmm7
addss xmm1, dword [0x1800f2f78]
movaps xmm0, xmm6
addss xmm0, dword [0x1800f3048]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x58], xmm6
movss dword [rsp + 0x5c], xmm7
movss dword [rsp + 0x30], xmm11
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.180028b20
mov rcx, rsi
call fcn.180003ad0
movaps xmm1, xmm7
addss xmm1, dword [0x1800f2f6c]
movaps xmm0, xmm6
addss xmm0, dword [0x1800f3044]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
addss xmm7, xmm11
addss xmm6, xmm11
movss dword [rsp + 0x58], xmm6
movss dword [rsp + 0x5c], xmm7
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.180028c20
call fcn.180010f10
mov ecx, 3
call fcn.1800041d0
mov rax, qword [0x18014fa60]
test rax, rax
jne 0x180048415
mov r8d, 0xbc4
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug.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 [0x18014fa60]
mov dword [rax + 0x3938], r12d
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18004845a
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048455
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048455
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1800484a8
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800484a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800484a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800484f6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800484f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800484f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x180048546
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048541
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048541
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1800cf2e0
lea r11, [rsp + 0x150]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm9, xmmword [r11 - 0x30]
movaps xmm10, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x50]
movaps xmm12, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret