Function at 0x140008ff0
Capabilities:
Create thread
Encode data using xor
Enumerate process modules
Log keystrokes via polling
Set console window title

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 - 0x4a8]
sub rsp, 0x580
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14000f070]
xor rax, rsp
mov qword [rbp + 0x440], rax
xor edx, edx
lea rcx, [rbp + 0x410]
call fcn.140008a60
nop
lea rcx, [rbp + 0x410]
mov rbx, qword [rbp + 0x420]
cmp qword [rbp + 0x428], 0x10
jb 0x140009067
mov rdi, qword [rbp + 0x410]
add rbx, rdi
jmp 0x140009071
add rbx, rcx
lea rdi, [rbp + 0x410]
xor r15d, r15d
mov qword [rbp + 0x3f0], r15
movdqa xmm0, xmmword [0x14000b9a0]
movdqu xmmword [rbp + 0x400], xmm0
mov word [rbp + 0x3f0], r15w
mov rdx, rbx
sub rdx, rdi
lea rcx, [rbp + 0x3f0]
call fcn.140008ec0
xor r9d, r9d
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x3f0]
call fcn.1400014e0
nop
lea rcx, [rbp + 0x3f0]
cmp qword [rbp + 0x408], 8
cmovae rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov dword [rbp - 0x80], r15d
lea rdx, [0x14000b97c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp - 0x80]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
movups xmm0, xmmword [str.__YPNeZRL]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14000b918]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x14000b928]
movups xmmword [rsp + 0x60], xmm0
movzx ecx, byte [0x14000b938]
mov byte [rsp + 0x70], cl
mov ecx, r15d
lea ebx, [r15 + 0x1f]
lea r13d, [r15 + 4]
mov edi, dword [reloc.d2d1.dll_Ordinal_1]
cmp edi, 2
jl 0x140009297
movdqa xmm5, xmmword [0x14000b7a0]
movdqa xmm4, xmmword [0x14000b9c0]
movd xmm6, r13d
movdqa xmm7, xmmword [str.6666]
movd xmm8, ebx
movdqa xmm0, xmmword [str.6666666666666666]
movdqa xmmword [rbp + 0x3d0], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rbp + 0x3d0]
movd xmm2, ecx
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14000b7e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14000b7e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x30
jl 0x140009193
cmp ecx, 0x31
jge 0x1400092de
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x36
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x31
jl 0x1400092b0
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001280
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movabs r14, 0x7fffffffffffffff
test ax, ax
jne 0x140009377
movabs r12, 0x7ffffffffa0a1efe
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r12
jg 0x14000934f
add rax, 0x5f5e100
mov qword [rbp + 0x3d0], rax
jmp 0x140009356
mov qword [rbp + 0x3d0], r14
lea rcx, [rbp + 0x3d0]
call fcn.140001ad0
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140009313
mov ebx, 0x1f
mov eax, dword [0x14000b93c]
mov dword [rbp + 0x3d0], eax
movzx eax, word [0x14000b940]
mov word [rbp + 0x3d4], ax
mov byte [rbp + 0x3d0], 0x50
xor byte [rbp + 0x3d1], 0x37
xor byte [rbp + 0x3d2], 0x38
xor byte [rbp + 0x3d3], 0x39
xor byte [rbp + 0x3d4], 0x3a
xor byte [rbp + 0x3d5], 0x3b
lea rdx, [rbp + 0x3d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001280
mov edx, dword [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
movzx ecx, word [0x14000b944]
mov word [rsp + 0x30], cx
cmp byte [0x14000b945], 0
je 0x1400093f9
mov byte [rsp + 0x30], 0xa
xor byte [rsp + 0x31], 0x37
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140001280
movups xmm0, xmmword [str.rVAceC_n_t]
movups xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [0x14000b958]
movsd qword [rsp + 0x50], xmm1
movzx eax, word [0x14000b960]
mov word [rsp + 0x58], ax
mov r8d, r15d
cmp edi, 2
jl 0x140009525
movdqa xmm4, xmmword [0x14000b9c0]
movd xmm6, r13d
movd xmm5, ebx
movdqa xmm2, xmmword [0x14000b7a0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.6666]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14000b7d0]
movq xmm0, qword [str.rVAceC_n_t]
pxor xmm2, xmm0
movq qword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x14000b7b0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.6666]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x14000b7d0]
movq xmm0, qword [rsp + 0x48]
pxor xmm2, xmm0
movq qword [rsp + 0x48], xmm2
mov r8d, 8
mov eax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x36
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xd
jl 0x140009540
mov rdi, r15
mov edx, dword [rbp - 0x80]
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400095ca
mov dword [rbp - 0x70], 0x438
lea rdx, [rbp - 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1400095ca
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400095c6
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
jmp 0x1400095a1
mov rdi, qword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x140008a40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov ecx, dword [str.tVK_]
mov dword [rbp + 0x3d0], ecx
movzx ecx, word [0x14000b968]
mov word [rbp + 0x3d4], cx
movzx ecx, byte [0x14000b96a]
mov byte [rbp + 0x3d0], 0x42
xor byte [rbp + 0x3d1], 0x37
xor byte [rbp + 0x3d2], 0x38
xor byte [rbp + 0x3d3], 0x39
xor byte [rbp + 0x3d4], 0x3a
xor byte [rbp + 0x3d5], 0x3b
xor cl, 0x3c
mov byte [rbp + 0x3d6], cl
lea rdx, [rbp + 0x3d0]
mov rcx, rax
call fcn.140001280
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
movzx ecx, word [0x14000b96c]
mov word [rsp + 0x30], cx
cmp byte [0x14000b96d], 0
je 0x140009675
mov byte [rsp + 0x30], 0xa
xor byte [rsp + 0x31], 0x37
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140001280
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x3d0], eax
mov qword [rbp + 0x3d8], rdi
mov qword [rbp + 0x3e0], rsi
mov ecx, 0x82
call fcn.1400021c0
movups xmm6, xmmword [rbp + 0x3d0]
movaps xmmword [rsp + 0x40], xmm6
movsd xmm7, qword [rbp + 0x3e0]
movsd qword [rsp + 0x50], xmm7
movsd xmm0, qword [str.rVAc:]
movsd qword [rbp + 0x3d0], xmm0
movzx eax, word [0x14000b978]
mov ecx, 0x44
mov word [rbp + 0x3d0], cx
xor word [rbp + 0x3d2], 0x37
xor word [rbp + 0x3d4], 0x38
xor word [rbp + 0x3d6], 0x39
xor ax, 0x3a
mov word [rbp + 0x3d8], ax
lea rdx, [rbp + 0x3d0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdx, rax
lea r12, [0x14002cc30]
mov qword [rsp + 0x20], r12
lea r9, [0x14000fc20]
lea r8, [rsp + 0x40]
lea rcx, [fcn.140001ed0]
call fcn.140002690
mov ecx, 0x20
call fcn.140009b48
mov r9, rax
test rax, rax
je 0x140009766
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov eax, dword [rbp - 0x80]
mov dword [r9 + 0x10], eax
lea rax, [0x140006770]
mov qword [r9 + 0x18], rax
jmp 0x140009769
mov r9, r15
mov qword [rbp + 0x3d0], r9
lea rax, [rbp + 0x438]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r8, [0x1400065f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x430], rax
test rax, rax
je 0x14000999b
movabs rdi, 0x7ffffffffd050f7e
movabs rsi, 0x7ffffffff4143dfe
movabs r15, 0x7fffffffc46535fe
cmp byte [0x14002cc68], 1
jne 0x140009935
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, rdi
jg 0x14000980c
add rax, 0x2faf080
mov qword [rbp + 0x3d0], rax
jmp 0x140009813
mov qword [rbp + 0x3d0], r14
lea rcx, [rbp + 0x3d0]
call fcn.140001ad0
lea rdx, str.DayZ
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
je 0x140009850
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140009935
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, rsi
jg 0x14000988f
add rax, 0xbebc200
mov qword [rbp + 0x3d0], rax
jmp 0x140009896
mov qword [rbp + 0x3d0], r14
lea rcx, [rbp + 0x3d0]
call fcn.140001ad0
mov byte [0x14002cc68], 0
movaps xmmword [rsp + 0x40], xmm6
movsd qword [rsp + 0x50], xmm7
lea rdx, str.DayZ
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdx, rax
mov qword [rsp + 0x20], r12
lea r9, [0x14000fc20]
lea r8, [rsp + 0x40]
lea rcx, [fcn.140001ed0]
call fcn.140002690
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, r15
jg 0x140009922
add rax, 0x3b9aca00
mov qword [rbp + 0x3d0], rax
jmp 0x140009929
mov qword [rbp + 0x3d0], r14
lea rcx, [rbp + 0x3d0]
call fcn.140001ad0
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, rdi
jg 0x140009983
add rax, 0x2faf080
mov qword [rbp + 0x3d0], rax
lea rcx, [rbp + 0x3d0]
call fcn.140001ad0
jmp 0x1400097c0
mov qword [rbp + 0x3d0], r14
lea rcx, [rbp + 0x3d0]
call fcn.140001ad0
jmp 0x1400097c0
mov dword [rbp + 0x438], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3