Function at 0x1400c21c0
Capabilities:
Authenticate hmac
Create thread
Log keystrokes via polling
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
vmovaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14012d340]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov r13, rcx
cmp dword [rcx + 0x1c], 0
je 0x1400c2bcd
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov byte [rbp + 0x10], 0x61
mov al, 0x12
mov cl, 0xc
mov dl, 0xe
mov r8b, 0xa
mov r9b, 4
mov r10b, 6
mov r11b, 0x13
movzx ebx, r9b
mov dil, 0xf
xor sil, sil
mov r14b, 5
movzx r15d, r9b
xor r12d, r12d
xor al, 0x61
mov byte [rbp + 0x11], al
xor cl, 0x61
mov byte [rbp + 0x12], cl
xor dl, 0x61
mov byte [rbp + 0x13], dl
xor r8b, 0x61
mov byte [rbp + 0x14], r8b
xor r9b, 0x61
mov byte [rbp + 0x15], r9b
xor r10b, 0x61
mov byte [rbp + 0x16], r10b
xor r11b, 0x61
mov byte [rbp + 0x17], r11b
xor bl, 0x61
mov byte [rbp + 0x18], bl
xor dil, 0x61
mov byte [rbp + 0x19], dil
xor sil, 0x61
mov byte [rbp + 0x1a], sil
xor r14b, 0x61
mov byte [rbp + 0x1b], r14b
xor r15b, 0x61
mov byte [rbp + 0x1c], r15b
mov byte [rbp + 0x1d], r12b
vmovups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rax, [rbp + 0x11]
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400c22c0
lea rdx, [rbp + 0x11]
lea rcx, [rsp + 0x30]
call fcn.140006e00
nop
mov byte [rbp + 0x10], 0x2b
mov al, 0x4d
mov cl, 0x47
mov dl, 0x4a
mov r8b, 0x58
mov r9b, 0x43
mov r10b, 0x49
movzx r11d, dl
mov bl, 0x45
mov dil, 0x4c
xor esi, esi
xor al, 0x2b
mov byte [rbp + 0x11], al
xor cl, 0x2b
mov byte [rbp + 0x12], cl
xor dl, 0x2b
mov byte [rbp + 0x13], dl
xor r8b, 0x2b
mov byte [rbp + 0x14], r8b
xor r9b, 0x2b
mov byte [rbp + 0x15], r9b
xor r10b, 0x2b
mov byte [rbp + 0x16], r10b
xor r11b, 0x2b
mov byte [rbp + 0x17], r11b
xor bl, 0x2b
mov byte [rbp + 0x18], bl
xor dil, 0x2b
mov byte [rbp + 0x19], dil
mov byte [rbp + 0x1a], sil
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea rax, [rbp + 0x11]
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x1400c2354
lea rdx, [rbp + 0x11]
lea rcx, [rsp + 0x50]
call fcn.140006e00
nop
mov byte [rbp + 0x10], 0x57
mov al, 0x3f
mov cl, 0x32
mov dl, 0x30
mov r8b, 0x25
movzx r9d, cl
mov r10b, 0x39
mov r11b, 0x36
mov bl, 0x33
movzx edi, cl
xor esi, esi
xor al, 0x57
mov byte [rbp + 0x11], al
xor cl, 0x57
mov byte [rbp + 0x12], cl
xor dl, 0x57
mov byte [rbp + 0x13], dl
xor r8b, 0x57
mov byte [rbp + 0x14], r8b
xor r9b, 0x57
mov byte [rbp + 0x15], r9b
xor r10b, 0x57
mov byte [rbp + 0x16], r10b
xor r11b, 0x57
mov byte [rbp + 0x17], r11b
xor bl, 0x57
mov byte [rbp + 0x18], bl
xor dil, 0x57
mov byte [rbp + 0x19], dil
mov byte [rbp + 0x1a], sil
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
lea rax, [rbp + 0x11]
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x1400c23e6
lea rdx, [rbp + 0x11]
lea rcx, [rsp + 0x70]
call fcn.140006e00
nop
mov byte [rbp + 0x10], 0x1a
mov al, 0x77
mov cl, 0x75
mov dl, 0x76
movzx r8d, cl
mov r9b, 0x6e
movzx r10d, cl
mov r11b, 0x6c
xor ebx, ebx
xor al, 0x1a
mov byte [rbp + 0x11], al
xor cl, 0x1a
mov byte [rbp + 0x12], cl
xor dl, 0x1a
mov byte [rbp + 0x13], dl
xor r8b, 0x1a
mov byte [rbp + 0x14], r8b
xor r9b, 0x1a
mov byte [rbp + 0x15], r9b
xor r10b, 0x1a
mov byte [rbp + 0x16], r10b
xor r11b, 0x1a
mov byte [rbp + 0x17], r11b
mov byte [rbp + 0x18], bl
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
lea rax, [rbp + 0x11]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x1400c2464
lea rdx, [rbp + 0x11]
lea rcx, [rbp - 0x70]
call fcn.140006e00
nop
mov byte [rbp + 0x10], 0x2c
mov al, 0x48
mov cl, 0x49
mov dl, 0x4f
mov r8b, 0x43
mov r9b, 0x55
xor r10d, r10d
xor al, 0x2c
mov byte [rbp + 0x11], al
xor cl, 0x2c
mov byte [rbp + 0x12], cl
xor dl, 0x2c
mov byte [rbp + 0x13], dl
xor r8b, 0x2c
mov byte [rbp + 0x14], r8b
xor r9b, 0x2c
mov byte [rbp + 0x15], r9b
mov byte [rbp + 0x16], r10b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
lea rax, [rbp + 0x11]
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x1400c24d0
lea rdx, [rbp + 0x11]
lea rcx, [rbp - 0x50]
call fcn.140006e00
nop
mov byte [rbp + 0x10], 0x39
mov al, 0x50
mov cl, 0x57
mov dl, 0x5a
mov r8b, 0x5e
mov r9b, 0x4b
mov r10b, 0x5c
movzx r11d, cl
mov bl, 0x58
mov dil, 0x5d
movzx esi, r10b
xor r15d, r15d
xor al, 0x39
mov byte [rbp + 0x11], al
xor cl, 0x39
mov byte [rbp + 0x12], cl
xor dl, 0x39
mov byte [rbp + 0x13], dl
xor r8b, 0x39
mov byte [rbp + 0x14], r8b
xor r9b, 0x39
mov byte [rbp + 0x15], r9b
xor r10b, 0x39
mov byte [rbp + 0x16], r10b
xor r11b, 0x39
mov byte [rbp + 0x17], r11b
xor bl, 0x39
mov byte [rbp + 0x18], bl
xor dil, 0x39
mov byte [rbp + 0x19], dil
xor sil, 0x39
mov byte [rbp + 0x1a], sil
mov byte [rbp + 0x1b], r15b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
lea rax, [rbp + 0x11]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x1400c2570
lea rdx, [rbp + 0x11]
lea rcx, [rbp - 0x30]
call fcn.140006e00
nop
mov byte [rbp + 0x10], 0x3f
mov al, 0x5c
mov cl, 0xb
xor edx, edx
xor al, 0x3f
mov byte [rbp + 0x11], al
xor cl, 0x3f
mov byte [rbp + 0x12], cl
mov byte [rbp + 0x13], dl
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], r12
lea rax, [rbp + 0x11]
mov r8, r14
inc r8
cmp byte [rax + r8], dl
jne 0x1400c25b7
lea rdx, [rbp + 0x11]
lea rcx, [rbp - 0x10]
call fcn.140006e00
nop
lea rax, [rsp + 0x30]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x38], rax
vmovups xmm0, xmmword [rbp + 0x30]
vmovdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x50]
call fcn.140008800
nop
lea r9, [fcn.140005ef0]
mov edx, 0x20
mov r8d, 7
lea rcx, [rsp + 0x30]
call fcn.1400f4b7c
lea rdi, [r13 + 0xb8]
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
cmp rbx, rsi
je 0x1400c2679
mov r15, qword [rdi + 0x18]
mov r12, qword [rdi + 0x10]
mov rdx, rdi
cmp r15, 0xf
jbe 0x1400c2641
mov rdx, qword [rdi]
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400c2652
mov rcx, qword [rbx]
cmp r8, r12
jne 0x1400c2664
call sub.VCRUNTIME140.dll_memcmp
nop dword [rax]
test eax, eax
je 0x1400c266d
add rbx, 0x20
cmp rbx, rsi
jne 0x1400c2635
xor r12d, r12d
cmp rbx, rsi
jne 0x1400c2bc4
mov edx, dword [0x14016c9b8]
add rdx, qword [r13 + 0x58]
mov rcx, qword [0x1401e10c0]
test rcx, rcx
je 0x1400c2bc4
cmp dword [0x1401e10c8], 0
nop word [rax + rax]
je 0x1400c2bc4
mov qword [rsp + 0x20], r12
mov r9d, 1
lea r8, [0x1401e0ab4]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
test eax, eax
je 0x1400c2bc4
mov edx, dword [0x14016c9d8]
add rdx, qword ds:[r13 + 0x58]
mov rcx, qword [0x1401e10c0]
test rcx, rcx
je 0x1400c2bc4
cmp dword [0x1401e10c8], 0
je 0x1400c2bc4
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x1401e0b2c]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400c2bc4
mov eax, dword [0x1401e0b2c]
nop dword [rax]
cmp eax, 0xffffffff
je 0x1400c2bc4
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], r12d
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov ecx, 8
call fcn.1400f4b40
mov qword [rbp + 0x30], rax
lea rcx, [rax + 8]
mov qword [rbp + 0x40], rcx
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
add rax, 8
mov qword [rbp + 0x38], rax
lea r8, [rbp + 0x30]
mov rdx, qword [0x1401e1128]
call fcn.14002f640
mov qword [0x1401e0b30], rax
test rax, rax
je 0x1400c2bc4
mov ecx, dword [0x1401e0b2c]
and ecx, 0x1ff
imul edx, ecx, 0x78
add rdx, rax
mov rcx, qword [0x1401e10c0]
test rcx, rcx
je 0x1400c2bc4
cmp dword [0x1401e10c8], 0
je 0x1400c2bc4
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [0x1401e0b38]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400c2bc4
lea rdx, [0x1401e0b38]
lea rcx, [0x14016c860]
call fcn.14002fcc0
test al, al
je 0x1400c2bc4
cmp byte [0x1401e0c09], 0
jne 0x1400c2812
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [r13 + 0x124]
jb 0x1400c2bc4
cmp byte [0x1401e0c08], 0
je 0x1400c2859
mov edx, dword [0x14016c99c]
add rdx, qword [r13 + 0x58]
mov rcx, qword [0x1401e10c0]
test rcx, rcx
je 0x1400c284f
cmp dword [0x1401e10c8], 0
je 0x1400c284f
mov qword [rsp + 0x20], r12
mov r9d, 1
lea r8, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rbp + 0x20], 0
je 0x1400c2bc4
cmp byte [0x14012d405], 0
je 0x1400c2884
mov eax, dword [0x14016c96c]
cmp dword [r13 + 0x10c], eax
je 0x1400c287f
cmp dword [0x14016c958], 0
jle 0x1400c287f
mov sil, 1
jmp 0x1400c288f
xor sil, sil
jmp 0x1400c288f
cmp dword [0x14016c958], 0
setg sil
mov byte [0x1401e0ab5], sil
vmovss xmm6, dword ds:[r13 + 0x8c]
vsubss xmm3, xmm6, dword [0x14016c8ec]
vmovss xmm0, dword [r13 + 0x88]
vsubss xmm2, xmm0, dword [0x14016c8e8]
vmovss xmm1, dword [r13 + 0x90]
vsubss xmm0, xmm1, dword [0x14016c8f0]
vmulss xmm3, xmm3, xmm3
vfmadd231ss xmm3, xmm2, xmm2
vfmadd231ss xmm3, xmm0, xmm0
vcomiss xmm3, dword [0x14010fdac]
jb 0x1400c29fe
mov byte [rbp + 0x10], 0x13
mov al, 0x70
mov cl, 0x67
mov dl, 0x4c
mov r8b, 0x78
mov r9b, 0x7d
mov r10b, 0x7a
mov r11b, 0x75
mov bl, 0x76
xor r15d, r15d
xor al, 0x13
mov byte [rbp + 0x11], al
xor cl, 0x13
mov byte [rbp + 0x12], cl
xor dl, 0x13
mov byte [rbp + 0x13], dl
xor r8b, 0x13
mov byte [rbp + 0x14], r8b
xor r9b, 0x13
mov byte [rbp + 0x15], r9b
xor r10b, 0x13
mov byte [rbp + 0x16], r10b
xor r11b, 0x13
mov byte [rbp + 0x17], r11b
xor bl, 0x13
mov byte [rbp + 0x18], bl
mov byte [rbp + 0x19], r15b
lea rcx, [rbp + 0x11]
mov rax, r14
inc rax
cmp byte [rcx + rax], r15b
jne 0x1400c2943
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
mov r15, qword [rdi + 0x18]
cmp r15, 0xf
jbe 0x1400c2960
mov rcx, qword [rdi]
cmp rbx, rax
jne 0x1400c2979
mov r8, rbx
lea rdx, [rbp + 0x11]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400c2bc4
mov byte [rbp + 0x10], 0x47
mov al, 0x33
mov cl, 0x18
mov dl, 0x2c
mov r8b, 0x29
mov r9b, 0x2e
mov r10b, 0x21
mov r11b, 0x22
xor r12d, r12d
xor al, 0x47
mov byte [rbp + 0x11], al
xor cl, 0x47
mov byte [rbp + 0x12], cl
xor dl, 0x47
mov byte [rbp + 0x13], dl
xor r8b, 0x47
mov byte [rbp + 0x14], r8b
xor r9b, 0x47
mov byte [rbp + 0x15], r9b
xor r10b, 0x47
mov byte [rbp + 0x16], r10b
xor r11b, 0x47
mov byte [rbp + 0x17], r11b
mov byte [rbp + 0x18], r12b
lea rcx, [rbp + 0x11]
mov rax, r14
nop
inc rax
cmp byte [rcx + rax], r12b
jne 0x1400c29d0
cmp r15, 0xf
jbe 0x1400c29e2
mov rdi, qword [rdi]
cmp rbx, rax
jne 0x1400c29fe
mov r8, rbx
lea rdx, [rbp + 0x11]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400c2bc4
vsubss xmm4, xmm6, dword [0x14016c8ec]
vmovss xmm0, dword ds:[r13 + 0x88]
vsubss xmm2, xmm0, dword [0x14016c8e8]
vmovss xmm1, dword [r13 + 0x90]
vsubss xmm3, xmm1, dword [0x14016c8f0]
vmulss xmm0, xmm2, xmm2
vfmadd231ss xmm0, xmm4, xmm4
vfmadd231ss xmm0, xmm3, xmm3
vcomiss xmm0, dword [0x14010fdb0]
jb 0x1400c2aad
mov byte [rbp + 0x10], 0xc
mov al, 0x76
mov cl, 0x69
mov dl, 0x79
mov r8b, 0x7f
xor r9d, r9d
xor al, 0xc
mov byte [rbp + 0x11], al
xor cl, 0xc
mov byte [rbp + 0x12], cl
xor dl, 0xc
mov byte [rbp + 0x13], dl
xor r8b, 0xc
mov byte [rbp + 0x14], r8b
mov byte [rbp + 0x15], r9b
lea rcx, [r13 + 0xb8]
lea rax, [rbp + 0x11]
nop word [rax + rax]
inc r14
cmp byte [rax + r14], r9b
jne 0x1400c2a80
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400c2a97
mov rcx, qword [rcx]
cmp r8, r14
jne 0x1400c2aad
lea rdx, [rbp + 0x11]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400c2bc4
test sil, sil
je 0x1400c2bc4
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401e1320], eax
jle 0x1400c2aff
lea rcx, [0x1401e1320]
call fcn.1400f4ac8
cmp dword [0x1401e1320], 0xffffffff
jne 0x1400c2aff
lea rcx, [0x1401e1328]
call fcn.140006720
lea rcx, [0x1401e1320]
call fcn.1400f4a5c
lea rcx, [rbp + 0x10]
call fcn.140006720
movsxd rax, dword [0x14012d3b4]
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
sub rcx, qword [0x1401e1328]
imul rdx, rax, 0xf4240
cmp rcx, rdx
je 0x1400c2b2f
jl 0x1400c2bc4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
test al, al
jne 0x1400c2bbd
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 8
call fcn.1400f4b40
lea rcx, [0x1400c2180]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14002e860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x30], rax
test rax, rax
je 0x1400c2c0d
cmp dword [rbp + 0x38], 0
je 0x1400c2c01
vmovups xmm0, xmmword [rbp + 0x30]
vmovdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400c2c01
mov qword [0x1401e1328], rbx
lea rcx, [rbp + 0x50]
call fcn.140028f40
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1400f4a00
lea r11, ss:[rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
vmovaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x38], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3