Function at 0x1400399b0
Capabilities:
Contain obfuscated stackstrings
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov ecx, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14015b8f8], eax
jle 0x140039a57
lea rcx, [0x14015b8f8]
call fcn.1400a7ac4
cmp dword [0x14015b8f8], 0xffffffff
jne 0x140039a57
mov word [rbp - 0xc], reloc.WLDAP32.dll_Ordinal_46
mov dword [rbp - 0x19], 0x63696c43
mov dword [rbp - 0x15], 0x6f74206b
mov dword [rbp - 0x11], 0x6e696220
mov byte [rbp - 0xd], 0x64
mov byte [rbp - 0xa], 0
lea r8, [rbp - 0xb]
lea rdx, [rbp - 0x19]
lea rcx, [0x14015b8d8]
call fcn.1400454b0
lea rcx, [0x1400aa640]
call fcn.1400a7e34
nop
lea rcx, [0x14015b8f8]
call fcn.1400a7a58
mov dword [rbp + 0x67], 0x42c80000
mov dword [rbp + 0x6b], 0x41a00000
lea rcx, [0x14015b8d8]
cmp qword [0x14015b8f0], 0xf
cmova rcx, qword [0x14015b8d8]
lea rdx, [rbp + 0x67]
call fcn.140026650
test al, al
je 0x140039a92
mov byte [0x14015b884], 1
jmp 0x140039a9b
cmp byte [0x14015b884], 0
je 0x140039af4
mov ebx, 1
mov edi, 0xffffffff
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140039acc
cmp ebx, 0xc
je 0x140039acc
mov eax, ebx
cmp ebx, 0x1b
cmove eax, edi
mov dword [0x140159f54], eax
mov byte [0x14015b884], 0
inc ebx
cmp ebx, 0x100
jl 0x140039aa5
mov r8d, recvfrom
lea rdx, str.Press_a_Key.
lea rcx, [0x14015b8d8]
call fcn.140044240
jmp 0x140039d08
mov r8d, dword [0x140159f54]
cmp r8d, 0xffffffff
jne 0x140039b1f
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.Click_to_bind.
lea rcx, [0x14015b8d8]
call fcn.140044240
jmp 0x140039d08
lea r9, [rbp - 4]
test r8d, r8d
jns 0x140039b70
neg r8d
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140039b30
dec r9
mov byte [r9], reloc.WLDAP32.dll_Ordinal_45
jmp 0x140039b9a
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140039b70
lea r8, [rbp - 4]
mov rdx, r9
lea rcx, [rbp - 1]
call fcn.1400454b0
nop
mov r8, qword [rbp + 0xf]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
sub rax, r8
mov r14d, 6
lea rsi, str.Key_
cmp rax, r14
jb 0x140039c42
lea rax, [r8 + 6]
mov qword [rbp + 0xf], rax
lea rbx, [rbp - 1]
cmp rcx, 0xf
cmova rbx, qword [rbp - 1]
lea rax, [0x140123c96]
cmp rax, rbx
jbe 0x140039c06
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x140039c06
cmp rbx, rsi
ja 0x140039bfe
xor edi, edi
jmp 0x140039c09
mov rdi, rbx
sub rdi, rsi
jmp 0x140039c09
mov rdi, r14
lea rcx, [rbx + 6]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 6]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 1]
jmp 0x140039c5e
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 1]
call fcn.140046b20
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [0x14015b8f0]
cmp rdx, 0xf
jbe 0x140039cbc
inc rdx
mov rcx, qword [0x14015b8d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039cb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039cb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a7e4c
movups xmmword [0x14015b8d8], xmm6
movups xmmword [0x14015b8e8], xmm7
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140039d08
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039d03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039d03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a7e4c
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret