Function at 0x140031f70
Capabilities:
Create thread
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140046040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140031fb4
cmp byte [0x1400460c1], 0
sete al
mov byte [0x1400460c1], al
jmp 0x140031fbb
movzx eax, byte [0x1400460c1]
test al, al
je 0x1400323dd
mov rax, qword [0x140046cc0]
mov dword [rax + 0x1af4], 0x44160000
mov dword [rax + 0x1af8], 0x43c80000
mov dword [rax + 0x1acc], 2
movss xmm2, dword [rax + 0x14]
subss xmm2, dword [0x14003ecf0]
mulss xmm2, dword [0x14003ec08]
movss xmm1, dword [rax + 0x10]
subss xmm1, dword [0x14003ecf4]
mulss xmm1, dword [0x14003ec08]
movss dword [rax + 0x1ae4], xmm1
movss dword [rax + 0x1ae8], xmm2
xor edi, edi
mov qword [rax + 0x1aec], rdi
mov dword [rax + 0x1ac8], 2
mov r8d, 0x2b
lea rdx, [0x1400460c1]
lea rcx, str.redshirtfan_is_based
call fcn.140009740
lea rcx, str.Kainite_Free_Private_UD_Made_By_Sykkov
call fcn.140024050
call fcn.140026120
call fcn.14002d9d0
test al, al
je 0x140032123
lea rcx, [0x14003e960]
call fcn.14002ea60
test al, al
je 0x1400320c3
mov dword [0x140046cc8], edi
mov rax, qword [0x140046cc0]
mov r8, qword [rax + 0x19f8]
cmp byte [r8 + 0x7f], dil
jne 0x1400320c3
movsxd rcx, dword [rax + 0x1e30]
mov rax, qword [rax + 0x1e38]
mov rdx, qword [rax + rcx*8 - 8]
movsx rax, word [rdx + 0x5a]
imul rcx, rax, 0x1c
add rcx, qword [rdx + 8]
test byte [rcx + 4], 8
jne 0x1400320c3
dec dword [r8 + 0x1e0]
lea rcx, str.Visuals
call fcn.14002ea60
test al, al
je 0x14003211e
mov dword [0x140046cc8], 1
mov rax, qword [0x140046cc0]
mov r8, qword [rax + 0x19f8]
cmp byte [r8 + 0x7f], dil
jne 0x14003211e
movsxd rcx, dword [rax + 0x1e30]
mov rax, qword [rax + 0x1e38]
mov rdx, qword [rax + rcx*8 - 8]
movsx rax, word [rdx + 0x5a]
imul rcx, rax, 0x1c
add rcx, qword [rdx + 8]
test byte [rcx + 4], 8
jne 0x14003211e
dec dword [r8 + 0x1e0]
call fcn.14002dd70
mov eax, dword [0x140046cc8]
test eax, eax
jne 0x1400322d1
lea rdx, [0x140047315]
lea rcx, str.Aimbot
call fcn.140025a70
mov ebx, dword [0x140046e60]
movsxd rax, dword [0x1400465f0]
mov rdx, rdi
cmp eax, 0x7b
ja 0x140032164
lea rdx, [0x140046210]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x14003ed80]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], dil
test rdx, rdx
jne 0x140032190
mov r8d, 0xa
lea rdx, str.Select_Key
jmp 0x1400321aa
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400321a0
lea rcx, [rbp - 0x30]
call fcn.140036ab0
cmp ebx, 1
jne 0x1400321ce
mov r8d, 9
lea rdx, str.Press_Key
lea rcx, [rbp - 0x30]
call fcn.140036ab0
mov dword [rbp - 0x40], 0x42fa0000
mov dword [rbp - 0x3c], 0x41c80000
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x40]
call fcn.140024780
test al, al
je 0x140032219
test ebx, ebx
jne 0x140032219
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140031f20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140032257
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032252
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032252
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038014
lea rdx, [0x140047313]
lea rcx, str.Fov_Circle
call fcn.140025a70
mov dword [rbp - 0x38], 0x3e8
mov dword [rbp - 0x40], 0xa
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [0x1400465f4]
lea rcx, str.Fov_Size
call fcn.140027480
mov dword [rbp - 0x40], 0x14
mov dword [rbp - 0x38], 1
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
lea r8, [0x1400465f8]
lea rcx, str.Smoothing
call fcn.140027480
call fcn.1400270b0
mov eax, dword [0x140046cc8]
cmp eax, 1
jne 0x140032348
lea rdx, [0x140047312]
lea rcx, str.Fullbox
call fcn.140025a70
lea rdx, [0x140047316]
lea rcx, str.Skeleton
call fcn.140025a70
lea rdx, [0x140047310]
lea rcx, str.Distance
call fcn.140025a70
lea rdx, [0x140047314]
lea rcx, str.Weapon
call fcn.140025a70
lea rdx, [0x140047311]
lea rcx, str.Rank
call fcn.140025a70
lea rdx, [0x140047317]
lea rcx, str.Render_Count
call fcn.140025a70
mov rcx, qword [0x140046cc0]
mov rax, qword [rcx + 0x19f8]
mov byte [rax + 0x7c], 1
mov rax, qword [rcx + 0x19f8]
cmp byte [rax + 0x7f], 0
jne 0x14003237b
mov qword [rbp - 0x40], 0
xorps xmm1, xmm1
lea rcx, [rbp - 0x40]
call fcn.140004a90
call fcn.140026120
mov rcx, qword [0x140046cc0]
mov rax, qword [rcx + 0x19f8]
mov byte [rax + 0x7c], 1
mov rax, qword [rcx + 0x19f8]
cmp byte [rax + 0x7f], 0
jne 0x1400323b3
mov qword [rbp - 0x40], 0
xorps xmm1, xmm1
lea rcx, [rbp - 0x40]
call fcn.140004a90
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
lea rcx, str.Unload
call fcn.140024780
test al, al
je 0x1400323d8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.14000c6f0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140037c00
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret