Function at 0x18004ff70
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x180107070]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rcx
mov qword [rbp - 0x69], r8
mov rax, qword [0x18014fa60]
test rax, rax
jne 0x18004ffcf
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]
cmp dword [rdi + 0x4ad8], 0
jg 0x18005000b
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 [rdi + 0x4ae0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.180006960
movaps xmm6, xmmword [0x1800f36d0]
mov rdi, qword [0x18014fa60]
mov dword [rbp - 0x61], reloc.WS2_32.dll_setsockopt
movups xmm0, xmmword [rdi + 0x3b24]
movups xmmword [rbp - 0x5d], xmm0
lea rcx, [rdi + 0x4a40]
lea rdx, [rbp - 0x61]
call fcn.18001dd10
cmp dword [rdi + 0x4a3c], 0x15
je 0x180050066
movups xmmword [rdi + 0x3b24], xmm6
movaps xmm6, xmmword [0x1800f3810]
mov rdi, qword [0x18014fa60]
mov dword [rbp - 0x61], reloc.WLDAP32.dll_Ordinal_22
movups xmm0, xmmword [rdi + 0x3b34]
movups xmmword [rbp - 0x5d], xmm0
lea rcx, [rdi + 0x4a40]
lea rdx, [rbp - 0x61]
call fcn.18001dd10
cmp dword [rdi + 0x4a3c], 0x16
je 0x1800500a6
movups xmmword [rdi + 0x3b34], xmm6
movaps xmm6, xmmword [0x1800f3660]
mov rdi, qword [0x18014fa60]
mov dword [rbp - 0x61], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rdi + 0x3b44]
movups xmmword [rbp - 0x5d], xmm0
lea rcx, [rdi + 0x4a40]
lea rdx, [rbp - 0x61]
call fcn.18001dd10
cmp dword [rdi + 0x4a3c], 0x17
je 0x1800500e6
movups xmmword [rdi + 0x3b44], xmm6
mov rcx, qword [0x18014fc78]
call fcn.180010de0
xor esi, esi
mov qword [rbp - 0x61], rsi
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], sil
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rbx + r8], 0
jne 0x180050112
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.180046fa0
nop
mov dword [rbp - 0x79], 0xc99d8db4
mov word [rbp - 0x75], reloc.WLDAP32.dll_Ordinal_200
mov byte [rbp - 0x73], 1
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x19]
xor byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 5
jb 0x180050140
mov byte [rbp - 0x73], 0
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 1]
call fcn.180067b70
nop
mov dword [rbp - 0x79], 0x8f9a86b2
mov dword [rbp - 0x75], 0xcecf9f
mov byte [rbp - 0x71], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x19]
xor byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 7
jb 0x180050180
mov byte [rbp - 0x71], 0
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x21]
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 - 0x65]
addss xmm2, xmm7
movss xmm1, dword [rax + 0x28]
subss xmm1, dword [rax + 0x8c]
movss xmm6, dword [rbp - 0x69]
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 [rbp - 0x69], 0x42c80000
mov dword [rbp - 0x65], 0x41c80000
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
lea rdx, [rbp - 0x69]
call fcn.180034800
test al, al
je 0x18005024a
mov dword [reloc.WS2_32.dll_getsockname], 0x3e7
mov byte [0x18014ff2a], 1
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 [0x1800f3078]
addss xmm1, xmm0
movss dword [rax + 0x110], xmm1
movss dword [rax + 0x114], xmm2
mov byte [rax + 0x151], 1
mov dword [rbp - 0x69], 0x42c80000
mov dword [rbp - 0x65], 0x41c80000
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rcx, qword [rbp - 0x21]
lea rdx, [rbp - 0x69]
call fcn.180034800
test al, al
je 0x1800502e2
mov dword [reloc.WS2_32.dll_getsockname], esi
mov byte [0x18014ff2a], 0
jmp 0x18005031e
cmp byte [0x18014ff2a], 1
jne 0x18005031e
mov ebx, esi
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180050314
cmp ebx, 0x1b
je 0x18005030d
cmp ebx, 0x2d
je 0x180050314
mov dword [reloc.WS2_32.dll_getsockname], ebx
mov byte [0x18014ff2a], 0
inc ebx
cmp ebx, 0xff
jl 0x1800502f0
call fcn.180010f10
mov ecx, 3
call fcn.1800041d0
mov rax, qword [0x18014fa60]
test rax, rax
jne 0x18005035a
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], esi
mov ecx, dword [reloc.WS2_32.dll_getsockname]
call fcn.180044dc0
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x41], 0
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x180050380
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.180046fa0
nop
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rax, qword [rbp - 0x41]
mov rcx, qword [0x18014fa60]
test rax, rax
jne 0x1800503b8
xorps xmm1, xmm1
jmp 0x18005040f
mov qword [rsp + 0x30], rsi
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, [rbp - 0x69]
mov rcx, qword [rcx + 0x3d38]
call fcn.18002db40
movss xmm0, dword [rbp - 0x69]
addss xmm0, dword [0x1800f2ed8]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov rcx, qword [0x18014fa60]
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 [0x1800f305c]
mulss xmm1, dword [0x1800f2eac]
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 [0x1800f2f68]
addss xmm0, xmm7
movss dword [rax + 0x114], xmm0
mov byte [rax + 0x151], 1
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rcx, qword [rbp - 0x41]
call fcn.180033ef0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1800504e7
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800504e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800504e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x41], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x180050535
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050530
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x180050583
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005057e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005057e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], reloc.WS2_32.dll_ntohs
mov byte [rbp - 1], 0
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x1800505d1
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800505cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800505cc
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 + 0x1f]
xor rcx, rsp
call fcn.1800cf2e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret