Function at 0x180071940
Capabilities:
Access peb ldr_data
Encode data using xor
Log keystrokes via polling

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
mov rbp, rsp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov edi, r8d
mov r13d, edx
mov r15, rcx
mov r9d, dword [0x180280880]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r9*8]
xor esi, esi
lea rbx, [rsi - 1]
lea r14, [0x180235e00]
mov r12d, dword [0x180154990]
mov eax, dword [rcx + rax]
cmp dword [0x180235e20], eax
jg 0x180071ca2
movd xmm0, r13d
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x40], xmm0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x3c], xmm1
mov rcx, r14
cmp qword [0x180235e18], 0xf
cmova rcx, qword [0x180235e00]
lea rdx, [rbp - 0x40]
call fcn.180049720
test al, al
je 0x180071a02
mov byte [0x180235dfc], 1
jmp 0x180071a0f
lea rax, [rbp - 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
je 0x180071c78
jmp 0x1800719f2
cmp byte [0x180235dfc], 0
je 0x180071b7b
mov edi, 1
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180071a38
cmp edi, 0xc
je 0x180071a38
mov eax, edi
cmp edi, 0x1b
cmove eax, ebx
mov dword [r15], eax
mov byte [0x180235dfc], 0
inc edi
cmp edi, 0x100
jl 0x180071a14
mov eax, dword [0x1800e33ac]
mov dword [rbp - 0x40], eax
cmp byte [0x1800e33af], 0
je 0x180071b1d
cmp r12d, 2
jl 0x180071adf
movdqa xmm3, xmmword [0x1800db910]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1800e6350]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1800e6350]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [str.2222]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800e2d20]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
jmp 0x180071b1d
lea r8, [rbp - 0x40]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, sil
sub al, cl
add al, 0x36
xor byte [r8], al
inc esi
lea r8, [r8 + 1]
cmp esi, 4
jl 0x180071af0
lea rax, [rbp - 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180071b21
mov rax, qword [0x180235e18]
cmp rbx, rax
ja 0x180071b62
cmp rax, 0xf
cmova r14, qword [0x180235e00]
mov qword [0x180235e10], rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1800d6360
mov byte [r14 + rbx], 0
jmp 0x180071c4f
lea r9, [rbp - 0x40]
movzx r8d, byte [rbp - 0x50]
mov rdx, rbx
mov rcx, r14
call fcn.180008cb0
jmp 0x180071c4f
mov edx, dword [r15]
cmp edx, 0xffffffff
jne 0x180071c04
mov eax, dword [0x1800e33b0]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x1800e33b4]
mov byte [rbp - 0x40], 0x4e
xor byte [rbp - 0x3f], 0x37
xor byte [rbp - 0x3e], 0x38
xor byte [rbp - 0x3d], 0x39
xor al, 0x3a
mov byte [rbp - 0x3c], al
lea rax, [rbp - 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180071bb0
mov rax, qword [0x180235e18]
cmp rbx, rax
ja 0x180071bee
cmp rax, 0xf
cmova r14, qword [0x180235e00]
mov qword [0x180235e10], rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1800d6360
mov byte [r14 + rbx], 0
jmp 0x180071c4f
lea r9, [rbp - 0x40]
movzx r8d, byte [rbp - 0x50]
mov rdx, rbx
mov rcx, r14
call fcn.180008cb0
jmp 0x180071c4f
lea rcx, [rbp - 0x30]
call fcn.18009bb80
mov rdx, rax
mov rcx, r14
call fcn.180070f70
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x180071c4f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180071c4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180071c72
call fcn.1800a5b5c
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800ace9c
nop
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.180003ca0
lea rcx, [0x1800d9990]
call fcn.1800a6014
nop
lea rcx, [0x180235e20]
call fcn.1800a6354
jmp 0x1800719a9
lea rcx, [0x180235e20]
call fcn.1800a63c0
cmp dword [0x180235e20], ebx
jne 0x1800719a9
movups xmm0, xmmword [0x1800e3398]
movups xmmword [rbp - 0x30], xmm0
movzx eax, word [0x1800e33a8]
mov word [rbp - 0x20], ax
cmp byte [0x1800e33a9], 0
je 0x1800719eb
mov r8d, esi
cmp r12d, 2
jl 0x180071e29
movdqa xmm5, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e6350]
movdqa xmm6, xmmword [str.2222]
movdqa xmm0, xmmword [0x1800e2d20]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x2c]
mov edx, dword [rbp - 0x40]
nop word [rax + rax]
movd xmm2, r8d
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x180071d20
cmp r8d, 0x12
jge 0x1800719eb
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x180071e40
jmp 0x1800719eb