Function at 0x1400239f0
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
mov r15d, 5
movabs rsi, 0x7fffffffffffffff
nop dword [rax]
mov eax, dword [0x1400acff4]
mov dword [rbp + 0x67], eax
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 0x140023ad6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140023ad6
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 0x140023ad1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140023ab0
cmp r8d, 0x491e0a9c
je 0x140023adb
test r9d, r9d
jne 0x140023a90
mov rax, qword [rax]
jmp 0x140023a60
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 0x140023b8b
movdqa xmm3, xmmword [0x1400aec30]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400aed00]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400aed00]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r15d
psrad xmm2, xmm0
mov eax, Ordinal_32
movd xmm0, eax
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1400aec60]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400aecc0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rbp + 0x67]
xorps xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x140023bd3
lea r9, [rbp + 0x67]
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140023ba0
lea rcx, [rbp + 0x67]
call r11
call fcn.14000c0f0
mov rax, rsi
mov rcx, qword [0x14016f910]
sub rax, rcx
cmp rax, 0x11
jb 0x140024165
lea r9, [0x14016f900]
cmp qword [0x14016f918], 0x10
cmovae r9, qword [0x14016f900]
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.14002cd50
or r12d, 1
lea rbx, [rbp - 0x29]
mov r14, qword [rbp - 0x11]
cmp r14, 0x10
setae r15b
mov rdi, qword [rbp - 0x29]
cmovae rbx, rdi
lea rcx, [rbp - 0x29]
test r15b, r15b
cmovne rcx, rdi
mov rsi, qword [rbp - 0x19]
add rsi, rcx
cmp rbx, rsi
je 0x140023ca0
mov qword [rbp + 0x67], 0xa
nop dword [rax]
nop dword [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.14002a480
lea rdx, [0x14002a650]
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.14002a2f0
inc rbx
cmp rbx, rsi
jne 0x140023c70
test r15b, r15b
je 0x140023cd6
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140023cce
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002409f
mov rcx, rdi
call fcn.140098e6c
movabs rax, 0x7fffffffffffffff
mov rcx, qword [0x14016f910]
sub rax, rcx
cmp rax, 0x14
jb 0x140024165
lea r9, [0x14016f900]
cmp qword [0x14016f918], 0x10
cmovae r9, qword [0x14016f900]
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.14002cd50
nop
lea rbx, [rbp - 9]
mov r14, qword [rbp + 0xf]
cmp r14, 0x10
setae r15b
mov rdi, qword [rbp - 9]
cmovae rbx, rdi
lea rcx, [rbp - 9]
test r15b, r15b
cmovne rcx, rdi
mov rsi, qword [rbp + 7]
add rsi, rcx
cmp rbx, rsi
je 0x140023da0
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.14002a480
lea rdx, [0x14002a650]
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.14002a2f0
inc rbx
cmp rbx, rsi
jne 0x140023d70
test r15b, r15b
je 0x140023dd6
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140023dce
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002409f
mov rcx, rdi
call fcn.140098e6c
movabs rax, 0x7fffffffffffffff
mov rcx, qword [0x14016f8d0]
sub rax, rcx
cmp rax, 9
jb 0x140024165
lea r9, [0x14016f8c0]
cmp qword [0x14016f8d8], 0x10
cmovae r9, qword [0x14016f8c0]
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.14002cd50
or r12d, 6
lea rbx, [rbp + 0x17]
mov r14, qword [rbp + 0x2f]
cmp r14, 0x10
setae al
mov rdi, qword [rbp + 0x17]
cmovae rbx, rdi
lea rcx, [rbp + 0x17]
test al, al
cmovne rcx, rdi
mov rsi, qword [rbp + 0x27]
add rsi, rcx
cmp rbx, rsi
je 0x140023ea0
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.14002a480
lea rdx, [0x14002a650]
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.14002a2f0
inc rbx
cmp rbx, rsi
jne 0x140023e70
cmp r14, 0x10
jb 0x140023ed7
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140023ecf
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002409f
mov rcx, rdi
call fcn.140098e6c
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140023f25
nop word [rax + rax]
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140023fbf
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400240a6
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140023ef0
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 0x140023fba
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140023fba
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x811c9dc5
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140023fb5
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140023f90
cmp r8d, 0xb3c99bd
je 0x140024075
test r9d, r9d
jne 0x140023f70
mov rax, qword [rax]
jmp 0x140023f40
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 0x140024046
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024046
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 0x140024041
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140024020
cmp r8d, 0xb3c99bd
je 0x14002404b
test r9d, r9d
jne 0x140024000
mov rax, qword [rax]
jmp 0x140023fd0
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.140021640
jmp 0x140023a22
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.140020660
jmp 0x140023a22
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 0x140024136
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024136
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 0x140024131
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140024110
cmp r8d, 0xb3c99bd
je 0x14002413b
test r9d, r9d
jne 0x1400240f0
mov rax, qword [rax]
jmp 0x1400240c0
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.140001e50
int3