Function at 0x180048bb0
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, [rax - 0x57]
sub rsp, 0xf0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x180107070]
xor rax, rsp
mov qword [rbp - 9], rax
mov r14d, r9d
mov r15, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x18014fa60]
test rax, rax
jne 0x180048c17
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, rdi
call fcn.180033ef0
mov rbx, qword [0x18014fa60]
cmp dword [rbx + 0x4ad8], 0
jg 0x180048c53
mov r8d, 0x782
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug.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.180006960
movaps xmm6, xmmword [0x1800f36d0]
mov rbx, qword [0x18014fa60]
mov dword [rsp + 0x48], reloc.WS2_32.dll_setsockopt
movups xmm0, xmmword [rbx + 0x3b24]
movups xmmword [rsp + 0x4c], xmm0
lea rcx, [rbx + 0x4a40]
lea rdx, [rsp + 0x48]
call fcn.18001dd10
cmp dword [rbx + 0x4a3c], 0x15
je 0x180048cb1
movups xmmword [rbx + 0x3b24], xmm6
movaps xmm6, xmmword [0x1800f3810]
mov rbx, qword [0x18014fa60]
mov dword [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_22
movups xmm0, xmmword [rbx + 0x3b34]
movups xmmword [rsp + 0x4c], xmm0
lea rcx, [rbx + 0x4a40]
lea rdx, [rsp + 0x48]
call fcn.18001dd10
cmp dword [rbx + 0x4a3c], 0x16
je 0x180048cf4
movups xmmword [rbx + 0x3b34], xmm6
movaps xmm6, xmmword [0x1800f3660]
mov rbx, qword [0x18014fa60]
mov dword [rsp + 0x48], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rbx + 0x3b44]
movups xmmword [rsp + 0x4c], xmm0
lea rcx, [rbx + 0x4a40]
lea rdx, [rsp + 0x48]
call fcn.18001dd10
cmp dword [rbx + 0x4a3c], 0x17
je 0x180048d37
movups xmmword [rbx + 0x3b44], xmm6
mov rcx, qword [0x18014fc78]
call fcn.180010de0
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r12b
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x180048d66
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180046fa0
nop
mov dword [rsp + 0x40], 0xcacbdb
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 0x180048d90
mov byte [rsp + 0x44], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.180067b70
nop
mov dword [rsp + 0x40], 0xcacbd9
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 0x180048dd0
mov byte [rsp + 0x44], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x49]
call fcn.180067b70
nop
mov rcx, qword [0x18014fa60]
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 + 0x83]
addss xmm2, xmm7
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
movss xmm6, dword [rbp + 0x7f]
movaps xmm0, xmm6
addss xmm0, dword [0x1800f3018]
addss xmm1, xmm0
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm2
mov byte [rax + 0x151], 1
mov dword [rsp + 0x40], 0x42480000
mov dword [rsp + 0x44], 0x41c80000
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rcx, qword [rbp - 0x29]
lea rdx, [rsp + 0x40]
call fcn.180034800
test al, al
je 0x180048e9c
mov eax, dword [rsi]
test eax, eax
jle 0x180048e9c
dec eax
mov dword [rsi], eax
mov rcx, qword [0x18014fa60]
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 [0x1800f308c]
addss xmm1, xmm0
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm2
mov byte [rax + 0x151], 1
mov dword [rsp + 0x40], 0x42480000
mov dword [rsp + 0x44], 0x41c80000
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rcx, qword [rbp - 0x49]
lea rdx, [rsp + 0x40]
call fcn.180034800
test al, al
je 0x180048f33
mov eax, dword [rsi]
cmp eax, r14d
jge 0x180048f33
inc eax
mov dword [rsi], eax
call fcn.180010f10
mov ecx, 3
call fcn.1800041d0
mov rax, qword [0x18014fa60]
test rax, rax
jne 0x180048f6f
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
movsxd rax, dword [rsi]
mov rdx, qword [r15 + rax*8]
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x69], 0
inc rbx
cmp byte [rdx + rbx], 0
jne 0x180048f91
mov r8, rbx
lea rcx, [rbp - 0x69]
call fcn.180046fa0
nop
lea rax, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rax, qword [rbp - 0x69]
mov rcx, qword [0x18014fa60]
test rax, rax
jne 0x180048fc6
xorps xmm0, xmm0
jmp 0x18004901f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x1800f30e0]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1800f30cc]
movss xmm2, dword [rcx + 0x3d40]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + 0x3d38]
call fcn.18002db40
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1800f2ed8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov rcx, qword [0x18014fa60]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4008]
addss xmm6, dword [0x1800f305c]
mulss xmm0, dword [0x1800f2eac]
subss xmm6, xmm0
movss xmm0, dword [rax + 0x28]
subss xmm0, dword [rax + 0x8c]
addss xmm6, xmm0
movss dword [rax + 0x110], xmm6
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 [0x1800f2f68]
addss xmm0, xmm7
movss dword [rax + 0x114], xmm0
mov byte [rax + 0x151], 1
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rcx, qword [rbp - 0x69]
call fcn.180033ef0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x1800490f7
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800490f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800490f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x180049145
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049140
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180049140
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x180049193
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004918e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004918e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x1800491e2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800491dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800491dd
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 - 9]
xor rcx, rsp
call fcn.1800cf2e0
movaps xmm6, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xd0]
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret