Function at 0x140031320
Capabilities:
Authenticate hmac
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
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140102340]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov qword [rsp + 0x30], rcx
cmp byte [0x1401b5716], 0
je 0x140031d26
lea rdx, [rcx + 0xb0]
lea rcx, [rbp + 0xd8]
call fcn.140008680
lea rdx, [rbp + 0xd8]
mov r13, qword [rbp + 0xd8]
mov rbx, qword [rbp + 0xf0]
cmp rbx, 0xf
cmova rdx, r13
lea rcx, [0x1401414d8]
cmp qword [0x1401414f0], 0xf
cmova rcx, qword [0x1401414d8]
mov r8, qword [0x1401414e8]
mov r12, qword [rbp + 0xe8]
cmp r8, r12
jne 0x1400313cd
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400313f9
mov byte [0x1401b5744], 0
lea rdx, [rbp + 0xd8]
cmp rbx, 0xf
cmova rdx, r13
mov r8, r12
lea rcx, [0x1401414d8]
call fcn.14002aa10
mov r13, qword [rbp + 0xd8]
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rax
mov byte [rbp + 0xc0], 0xe
mov al, 0x7d
mov cl, 0x63
mov dl, 0x61
mov r8b, 0x65
mov r9b, 0x6b
mov r10b, 0x69
mov r11b, 0x7c
movzx ebx, r9b
mov dil, 0x60
mov sil, 0x6f
mov r14b, 0x6a
movzx r15d, r9b
xor r12d, r12d
xor al, 0xe
mov byte [rbp + 0xc1], al
xor cl, 0xe
mov byte [rbp + 0xc2], cl
xor dl, 0xe
mov byte [rbp + 0xc3], dl
xor r8b, 0xe
mov byte [rbp + 0xc4], r8b
xor r9b, 0xe
mov byte [rbp + 0xc5], r9b
xor r10b, 0xe
mov byte [rbp + 0xc6], r10b
xor r11b, 0xe
mov byte [rbp + 0xc7], r11b
xor bl, 0xe
mov byte [rbp + 0xc8], bl
xor dil, 0xe
mov byte [rbp + 0xc9], dil
xor sil, 0xe
mov byte [rbp + 0xca], sil
xor r14b, 0xe
mov byte [rbp + 0xcb], r14b
xor r15b, 0xe
mov byte [rbp + 0xcc], r15b
mov byte [rbp + 0xcd], r12b
vmovups xmmword [rsp + 0x40], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0xc1]
mov r14, 0xffffffffffffffff
mov r8, r14
mov r12, qword [rbp + 0xe8]
inc r8
cmp byte [rax + r8], 0
jne 0x1400314e5
lea rdx, [rbp + 0xc1]
lea rcx, [rsp + 0x40]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x3e
mov al, 0x58
mov cl, 0x52
mov dl, 0x5f
mov r8b, 0x4d
mov r9b, 0x56
mov r10b, 0x5c
movzx r11d, dl
mov bl, 0x50
mov dil, 0x59
xor esi, esi
xor al, 0x3e
mov byte [rbp + 0xc1], al
xor cl, 0x3e
mov byte [rbp + 0xc2], cl
xor dl, 0x3e
mov byte [rbp + 0xc3], dl
xor r8b, 0x3e
mov byte [rbp + 0xc4], r8b
xor r9b, 0x3e
mov byte [rbp + 0xc5], r9b
xor r10b, 0x3e
mov byte [rbp + 0xc6], r10b
xor r11b, 0x3e
mov byte [rbp + 0xc7], r11b
xor bl, 0x3e
mov byte [rbp + 0xc8], bl
xor dil, 0x3e
mov byte [rbp + 0xc9], dil
mov byte [rbp + 0xca], sil
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x1400315a0
lea rdx, [rbp + 0xc1]
lea rcx, [rsp + 0x60]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x3d
mov al, 0x55
mov cl, 0x58
mov dl, 0x5a
mov r8b, 0x4f
movzx r9d, cl
mov r10b, 0x53
mov r11b, 0x5c
mov bl, 0x59
movzx edi, cl
xor al, 0x3d
mov byte [rbp + 0xc1], al
xor cl, 0x3d
mov byte [rbp + 0xc2], cl
xor dl, 0x3d
mov byte [rbp + 0xc3], dl
xor r8b, 0x3d
mov byte [rbp + 0xc4], r8b
xor r9b, 0x3d
mov byte [rbp + 0xc5], r9b
xor r10b, 0x3d
mov byte [rbp + 0xc6], r10b
xor r11b, 0x3d
mov byte [rbp + 0xc7], r11b
xor bl, 0x3d
mov byte [rbp + 0xc8], bl
xor dil, 0x3d
mov byte [rbp + 0xc9], dil
mov byte [rbp + 0xca], sil
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x80], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x140031656
lea rdx, [rbp + 0xc1]
lea rcx, [rbp - 0x80]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x70
mov al, 0x1d
mov cl, 0x1f
mov dl, 0x1c
movzx r8d, cl
mov r9b, 4
movzx r10d, cl
mov r11b, 6
xor ebx, ebx
xor al, 0x70
mov byte [rbp + 0xc1], al
xor cl, 0x70
mov byte [rbp + 0xc2], cl
xor dl, 0x70
mov byte [rbp + 0xc3], dl
xor r8b, 0x70
mov byte [rbp + 0xc4], r8b
xor r9b, 0x70
mov byte [rbp + 0xc5], r9b
xor r10b, 0x70
mov byte [rbp + 0xc6], r10b
xor r11b, 0x70
mov byte [rbp + 0xc7], r11b
mov byte [rbp + 0xc8], bl
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x60], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x1400316f4
lea rdx, [rbp + 0xc1]
lea rcx, [rbp - 0x60]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x77
mov al, 0x13
mov cl, 0x12
mov dl, 0x14
mov r8b, 0x18
mov r9b, 0xe
xor al, 0x77
mov byte [rbp + 0xc1], al
xor cl, 0x77
mov byte [rbp + 0xc2], cl
xor dl, 0x77
mov byte [rbp + 0xc3], dl
xor r8b, 0x77
mov byte [rbp + 0xc4], r8b
xor r9b, 0x77
mov byte [rbp + 0xc5], r9b
mov byte [rbp + 0xc6], bl
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x40], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x30], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140031772
lea rdx, [rbp + 0xc1]
lea rcx, [rbp - 0x40]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0xd
mov al, 0x64
mov cl, 0x63
mov dl, 0x6e
mov r8b, 0x6a
mov r9b, 0x7f
mov r10b, 0x68
movzx r11d, cl
mov bl, 0x6c
mov dil, 0x69
movzx esi, r10b
xor r15d, r15d
xor al, 0xd
mov byte [rbp + 0xc1], al
xor cl, 0xd
mov byte [rbp + 0xc2], cl
xor dl, 0xd
mov byte [rbp + 0xc3], dl
xor r8b, 0xd
mov byte [rbp + 0xc4], r8b
xor r9b, 0xd
mov byte [rbp + 0xc5], r9b
xor r10b, 0xd
mov byte [rbp + 0xc6], r10b
xor r11b, 0xd
mov byte [rbp + 0xc7], r11b
xor bl, 0xd
mov byte [rbp + 0xc8], bl
xor dil, 0xd
mov byte [rbp + 0xc9], dil
xor sil, 0xd
mov byte [rbp + 0xca], sil
mov byte [rbp + 0xcb], r15b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x20], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x10], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140031840
lea rdx, [rbp + 0xc1]
lea rcx, [rbp - 0x20]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x15
mov al, 0x74
mov cl, 0x62
mov dl, 0x65
xor r8d, r8d
xor al, 0x15
mov byte [rbp + 0xc1], al
xor cl, 0x15
mov byte [rbp + 0xc2], cl
xor dl, 0x15
mov byte [rbp + 0xc3], dl
mov byte [rbp + 0xc4], r8b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x10], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
inc r8
cmp byte [rax + r8], r15b
jne 0x1400318a6
lea rdx, [rbp + 0xc1]
lea rcx, [rbp]
call fcn.140006ef0
mov byte [rbp + 0xc0], 6
mov al, 0x75
movzx ecx, al
mov dl, 0x61
mov r8b, 0x36
mov r9b, 0x3e
xor r10d, r10d
xor al, 6
mov byte [rbp + 0xc1], al
xor cl, 6
mov byte [rbp + 0xc2], cl
xor dl, 6
mov byte [rbp + 0xc3], dl
xor r8b, 6
mov byte [rbp + 0xc4], r8b
xor r9b, 6
mov byte [rbp + 0xc5], r9b
mov byte [rbp + 0xc6], r10b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x20], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x30], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140031930
lea rdx, [rbp + 0xc1]
lea rcx, [rbp + 0x20]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x7c
mov al, 0x1d
mov cl, 9
mov dl, 0x1b
xor r8d, r8d
xor al, 0x7c
mov byte [rbp + 0xc1], al
xor cl, 0x7c
mov byte [rbp + 0xc2], cl
xor dl, 0x7c
mov byte [rbp + 0xc3], dl
mov byte [rbp + 0xc4], r8b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x40], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x50], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
inc r8
cmp byte [rax + r8], r15b
jne 0x140031996
lea rdx, [rbp + 0xc1]
lea rcx, [rbp + 0x40]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x77
mov al, 4
mov cl, 0x10
mov dl, 0x42
movzx r8d, dl
mov r9b, 0x41
xor r10d, r10d
xor al, 0x77
mov byte [rbp + 0xc1], al
xor cl, 0x77
mov byte [rbp + 0xc2], cl
xor dl, 0x77
mov byte [rbp + 0xc3], dl
xor r8b, 0x77
mov byte [rbp + 0xc4], r8b
xor r9b, 0x77
mov byte [rbp + 0xc5], r9b
mov byte [rbp + 0xc6], r10b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x60], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x70], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140031a20
lea rdx, [rbp + 0xc1]
lea rcx, [rbp + 0x60]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x53
mov al, 0x38
mov cl, 0x3d
mov dl, 0x3a
mov r8b, 0x35
mov r9b, 0x36
xor r10d, r10d
xor al, 0x53
mov byte [rbp + 0xc1], al
xor cl, 0x53
mov byte [rbp + 0xc2], cl
xor dl, 0x53
mov byte [rbp + 0xc3], dl
xor r8b, 0x53
mov byte [rbp + 0xc4], r8b
xor r9b, 0x53
mov byte [rbp + 0xc5], r9b
mov byte [rbp + 0xc6], r10b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x80], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x90], xmm1
lea rax, [rbp + 0xc1]
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140031ab0
lea rdx, [rbp + 0xc1]
lea rcx, [rbp + 0x80]
call fcn.140006ef0
mov byte [rbp + 0xc0], 0x61
mov al, 2
mov cl, 0x55
xor edx, edx
xor al, 0x61
mov byte [rbp + 0xc1], al
xor cl, 0x61
mov byte [rbp + 0xc2], cl
mov byte [rbp + 0xc3], dl
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xa0], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xb0], xmm1
lea rax, [rbp + 0xc1]
nop
inc r14
cmp byte [rax + r14], dl
jne 0x140031b10
mov r8, r14
lea rdx, [rbp + 0xc1]
lea rcx, [rbp + 0xa0]
call fcn.140006ef0
lea rax, [rsp + 0x40]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xc0]
mov qword [rbp + 0xc8], rax
vmovups xmm0, xmmword [rbp + 0xc0]
vmovdqa xmmword [rbp + 0xc0], xmm0
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x100]
call fcn.140008540
lea r9, [fcn.140006240]
mov edx, 0x20
mov r8d, 0xc
lea rcx, [rsp + 0x40]
call fcn.1400d042c
mov rbx, qword [rbp + 0x100]
mov rdi, qword [rbp + 0x108]
cmp rbx, rdi
je 0x140031bf0
mov rsi, qword [rbp + 0xf0]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0xd8]
cmp rsi, 0xf
cmova rdx, r13
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140031bd0
mov rcx, qword [rbx]
cmp r8, r12
jne 0x140031bde
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140031be7
add rbx, 0x20
cmp rbx, rdi
jne 0x140031bb0
cmp rbx, rdi
jne 0x140031d0d
xor esi, esi
mov rcx, qword [0x1401b5808]
mov rdi, qword [rsp + 0x30]
test rcx, rcx
je 0x140031c6a
mov eax, dword [0x1401b5810]
test eax, eax
je 0x140031c3c
mov edx, dword [0x140141424]
add rdx, qword [rdi + 0x58]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [0x1401b5810]
mov rcx, qword [0x1401b5808]
test rcx, rcx
je 0x140031c6a
test eax, eax
je 0x140031c6a
mov edx, dword [0x1401414b8]
add rdx, qword [rbp + 0xf8]
mov qword [rsp + 0x20], rsi
mov r9d, 1
lea r8, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rbp + 0xd0], sil
je 0x140031c7a
mov byte [0x1401b5744], sil
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
cmp byte [0x140102400], sil
jne 0x140031cc3
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140031cc3
mov ecx, ebx
sub ecx, dword [0x1401b5748]
cmp ecx, 0x1f4
jb 0x140031cc3
cmp byte [0x1401b5744], sil
sete al
mov byte [0x1401b5744], al
mov dword [0x1401b5748], ebx
jmp 0x140031cca
movzx eax, byte [0x1401b5744]
test al, al
je 0x140031d0d
mov dword [rbp + 0xc0], 0x2d
mov rcx, qword [0x1401b5808]
test rcx, rcx
je 0x140031d0d
cmp dword [0x1401b5810], esi
je 0x140031d0d
mov edx, dword [0x14014147c]
add rdx, qword [rdi]
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [rbp + 0x100]
call fcn.140029950
lea rcx, [rbp + 0xd8]
call fcn.140006410
nop
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.1400d02b0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret