Function at 0x140022c60
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Log keystrokes via polling
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
xor r12d, r12d
mov dword [rbp + 0x67], r12d
mov r13d, dword [reloc.WS2_32.dll_accept]
lea r14, str._F1__Perm_Spoof__n
movabs rsi, 0x7fffffffffffffff
mov eax, dword [str._UI_]
mov dword [rbp + 0x67], eax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140022d36
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140022d36
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140022d31
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140022d10
cmp r8d, 0x491e0a9c
je 0x140022d3b
test r9d, r9d
jne 0x140022cf0
mov rax, qword [rax]
jmp 0x140022cc0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r11d, dword [rcx + rax*4]
add r11, r10
cmp r13d, 2
jl 0x140022dd7
movdqa xmm3, xmmword [0x1400adc30]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400add60]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400add60]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400adc50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400adcc0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400add00]
movd xmm0, dword [rbp + 0x67]
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x140022e10
lea r9, [rbp + 0x67]
xor r8d, r8d
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140022de0
lea rcx, [rbp + 0x67]
call r11
call fcn.14000c0e0
mov rax, rsi
mov rcx, qword [0x14016e950]
sub rax, rcx
cmp rax, 0x11
jb 0x140023395
lea r9, [0x14016e940]
cmp qword [0x14016e958], 0xf
cmova r9, qword [0x14016e940]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x29]
call fcn.14002be60
or r12d, 1
lea rbx, [rbp - 0x29]
mov r14, qword [rbp - 0x11]
cmp r14, 0xf
seta r15b
mov rdi, qword [rbp - 0x29]
cmova rbx, rdi
lea rcx, [rbp - 0x29]
test r15b, r15b
cmovne rcx, rdi
mov rsi, qword [rbp - 0x19]
add rsi, rcx
cmp rbx, rsi
je 0x140022ed1
mov qword [rbp + 0x67], 0xa
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140029560
lea rdx, [0x140029730]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x67]
call fcn.140029410
inc rbx
cmp rbx, rsi
jne 0x140022ea1
test r15b, r15b
je 0x140022f07
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140022eff
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400232cf
mov rcx, rdi
call fcn.14009806c
movabs rax, 0x7fffffffffffffff
mov rcx, qword [0x14016e950]
sub rax, rcx
cmp rax, 0x14
jb 0x140023395
lea r9, [0x14016e940]
cmp qword [0x14016e958], 0xf
cmova r9, qword [0x14016e940]
mov qword [rsp + 0x30], reloc.WS2_32.dll_sendto
lea rax, str._F2__Check_Serials__n
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 9]
call fcn.14002be60
nop
lea rbx, [rbp - 9]
mov r14, qword [rbp + 0xf]
cmp r14, 0xf
seta r15b
mov rdi, qword [rbp - 9]
cmova rbx, rdi
lea rcx, [rbp - 9]
test r15b, r15b
cmovne rcx, rdi
mov rsi, qword [rbp + 7]
add rsi, rcx
cmp rbx, rsi
je 0x140022fd0
mov qword [rbp + 0x67], 0xa
nop word [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140029560
lea rdx, [0x140029730]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x67]
call fcn.140029410
inc rbx
cmp rbx, rsi
jne 0x140022fa0
test r15b, r15b
je 0x140023006
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140022ffe
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400232cf
mov rcx, rdi
call fcn.14009806c
movabs rax, 0x7fffffffffffffff
mov rcx, qword [0x14016e910]
sub rax, rcx
cmp rax, 9
jb 0x140023395
lea r9, [0x14016e900]
cmp qword [0x14016e918], 0xf
cmova r9, qword [0x14016e900]
mov qword [rsp + 0x30], 9
lea rax, str._F3__Exit
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x17]
call fcn.14002be60
or r12d, 6
lea rbx, [rbp + 0x17]
mov r14, qword [rbp + 0x2f]
cmp r14, 0xf
seta al
mov rdi, qword [rbp + 0x17]
cmova rbx, rdi
lea rcx, [rbp + 0x17]
test al, al
cmovne rcx, rdi
mov rsi, qword [rbp + 0x27]
add rsi, rcx
cmp rbx, rsi
je 0x1400230d0
mov qword [rbp + 0x67], 0xa
nop word [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140029560
lea rdx, [0x140029730]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x67]
call fcn.140029410
inc rbx
cmp rbx, rsi
jne 0x1400230a0
cmp r14, 0xf
jbe 0x140023107
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400230ff
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400232cf
mov rcx, rdi
call fcn.14009806c
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140023155
nop word [rax + rax]
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400231ef
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400232d6
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140023120
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400231ea
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400231ea
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rbx]
add rcx, r10
mov r8d, 0x811c9dc5
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400231e5
nop dword [rax]
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x1400231c0
cmp r8d, 0xb3c99bd
je 0x1400232a5
test r9d, r9d
jne 0x1400231a0
mov rax, qword [rax]
jmp 0x140023170
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140023276
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140023276
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140023271
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140023250
cmp r8d, 0xb3c99bd
je 0x14002327b
test r9d, r9d
jne 0x140023230
mov rax, qword [rax]
jmp 0x140023200
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov edx, 0x1f4
mov ecx, edx
call rax
call fcn.1400209d0
jmp 0x140022c92
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov edx, 0x1f4
mov ecx, edx
call rax
call fcn.14001faa0
jmp 0x140022c92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140023366
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140023366
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140023361
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140023340
cmp r8d, 0xb3c99bd
je 0x14002336b
test r9d, r9d
jne 0x140023320
mov rax, qword [rax]
jmp 0x1400232f0
mov edx, dword [rdi + 0x24]
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [rdi + 0x1c]
add rdx, r10
mov eax, dword [rdx + r8*4]
add rax, r10
mov edx, 0x1f4
mov ecx, edx
call rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140001db0
int3