Function at 0x14006fea0
Capabilities:
Check os version
Log keystrokes via application hook

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14006fec6
xor eax, eax
jmp 0x140070487
mov qword [0x140206cc8], rcx
call fcn.1400870b0
test eax, eax
je 0x140070487
mov eax, dword [0x140206d04]
test eax, eax
jne 0x14006ff01
mov dword [0x140206d00], 0x114
lea rcx, [0x140206d00]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x140206d04]
xor esi, esi
cmp eax, 6
jne 0x14006ff1c
cmp dword [0x140206d08], esi
jne 0x14006ff1c
mov dword [reloc.DSOUND.dll_DirectSoundCreate], 1
jmp 0x14006ff22
mov dword [reloc.DSOUND.dll_DirectSoundCreate], esi
lea rcx, [rbx + 0x260]
call fcn.140103ae0
test eax, eax
je 0x140070487
lea rcx, [rsp + 0x40]
mov rax, qword [0x14018e388]
mov qword [rcx], rax
mov rax, qword [0x14018e390]
mov qword [rcx + 8], rax
cmp qword [0x140206e20], rsi
je 0x140070485
mov dword [rsp + 0x20], 0x1f0
lea r9, [rbx + 0x6c]
xor r8d, r8d
lea edx, [r8 + 0x19]
lea rcx, [rsp + 0x40]
call fcn.140086360
test eax, eax
je 0x140070485
bt dword [rbx + 0x184], 0xa
jae 0x14006ff9e
lea rcx, [rbx + 0x260]
call fcn.140105090
mov dword [rbx + 0x1c30], eax
lea rdi, [rbx + 0x25c]
lea rcx, [rbx + 0x528]
mov r8, rdi
lea rdx, [rbx + 0x6c]
call fcn.1401100d0
test rdi, rdi
je 0x140070481
lea rcx, [rsp + 0x50]
mov rax, qword [0x14018e388]
mov qword [rcx], rax
mov rax, qword [0x14018e390]
mov qword [rcx + 8], rax
cmp qword [0x140206e20], rsi
je 0x140070481
mov dword [rsp + 0x20], 4
mov r9, rdi
xor r8d, r8d
lea edx, [r8 + 0x13]
lea rcx, [rsp + 0x50]
call fcn.140086360
test eax, eax
je 0x140070481
bt dword [rdi], 0x15
jae 0x140070020
mov dword [rbx + 0x1c20], 1
or dword [rbx + 0x70], 3
mov ecx, 0x80
call fcn.1401281a0
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x140070044
mov rcx, rax
call fcn.140113a20
mov rcx, rax
jmp 0x140070047
mov rcx, rsi
mov qword [rbx + 0x520], rcx
test rcx, rcx
jne 0x14007005a
xor eax, eax
jmp 0x140070487
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x20]
test eax, eax
je 0x140070487
lea rcx, [r12 + 0xa8]
mov rax, qword [rcx]
lea r8, [rbx + 0x538]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov edx, 0x10000076
call qword [rax + 0x10]
test eax, eax
je 0x140070487
mov rdx, rbx
lea rcx, [rbx + 0x540]
call fcn.1400accc0
test eax, eax
je 0x140070487
mov rdx, rbx
lea rcx, [rbx + 0x1b90]
call fcn.1400ce0b0
test eax, eax
je 0x140070487
mov rcx, qword [rbx + 0x520]
test rcx, rcx
je 0x1400700d8
mov rax, qword [rcx]
call qword [rax + 0xb0]
lea rdx, str.CplExecuted
lea rcx, [rsp + 0x98]
call fcn.140004c90
nop
lea rdx, [0x14017f438]
lea rcx, [rsp + 0xa0]
call fcn.140004c90
nop
movzx eax, word [rbx + 0x434]
movzx ecx, word [rbx + 0x436]
movzx r9d, word [rbx + 0x430]
movzx r8d, word [rbx + 0x432]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str.__X_X__X_X
lea rcx, [rsp + 0xa0]
call fcn.140004be0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x98]
call fcn.14003bbf0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.1401380a8
test eax, eax
jne 0x140070220
mov rcx, qword [rbx + 0x520]
test rcx, rcx
je 0x140070189
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, rbx
lea rcx, [rbx + 0x1b90]
call fcn.1400ce0b0
test eax, eax
jne 0x1400701ea
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400701c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x1400701e3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140070487
mov rcx, qword [rbx + 0x520]
test rcx, rcx
je 0x1400701ff
mov rax, qword [rcx]
call qword [rax + 0xb0]
mov r9d, 1
mov r8, qword [rsp + 0x98]
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.140138148
test byte [rbx + 0x34], 4
je 0x14007022e
mov rcx, rbx
call fcn.140070900
test byte [rbx + 0x37], 1
je 0x14007023c
mov rcx, rbx
call fcn.140075210
bt dword [rbx + 0x1bc], 0xc
jae 0x14007024e
mov rcx, rbx
call fcn.1400753d0
test byte [rbx + 0x34], 0x20
je 0x14007025c
mov rcx, rbx
call fcn.140070ab0
bt dword [rbx + 0x5c], 0xc
jae 0x14007026b
mov rcx, rbx
call fcn.140070c80
test byte [rbx + 0x34], 0x40
je 0x1400702ac
mov rcx, qword [rbx + 0x1c28]
test rcx, rcx
je 0x14007028e
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x14007028e
mov qword [rbx + 0x1c28], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140072240]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbx + 0x1c28], rax
bt dword [rbx + 0x34], 0x11
jae 0x1400702bb
mov rcx, rbx
call fcn.1400744b0
mov rdi, qword [rbx + 0x1ba0]
test rdi, rdi
je 0x140070303
mov rdx, rdi
test rdi, rdi
je 0x1400702fd
mov rdi, qword [rdi]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x1400702f6
cmp dword [rdx + 0x160], 0
je 0x1400702f6
bt dword [rdx + 0x30c], 0x12
jae 0x1400702f6
mov rcx, rbx
call fcn.140074910
test rdi, rdi
jne 0x1400702c7
jmp 0x140070303
call fcn.1401298b4
int3
mov rdi, qword [rbx + 0x1ba0]
test rdi, rdi
je 0x140070351
nop
mov rcx, rdi
test rdi, rdi
je 0x14007034b
mov rdi, qword [rdi]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140070344
cmp dword [rcx + 0x160], 0
je 0x140070344
mov eax, dword [rcx + 0x310]
bt eax, 0xc
jb 0x14007033f
bt eax, 0x1a
jae 0x140070344
call fcn.14005fb40
test rdi, rdi
jne 0x140070310
jmp 0x140070351
call fcn.1401298b4
int3
test byte [rbx + 0x34], 0x40
je 0x14007035d
test byte [rbx + 0x44], 2
jne 0x140070367
bt dword [rbx + 0x184], 0xa
jae 0x140070373
lea rcx, [0x140207c90]
call fcn.14006f5b0
mov eax, dword [rbx + 0x11c]
test al, 1
jne 0x140070381
test al, 2
je 0x140070389
mov rcx, rbx
call fcn.140070f00
test byte [rbx + 0x50], 4
je 0x1400703d1
mov rax, qword [rbx + 0x1ba0]
test rax, rax
je 0x1400703d1
nop
nop
mov rcx, rax
test rax, rax
je 0x1400703cb
mov rax, qword [rax]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400703bd
cmp dword [rcx + 0x1d0], 1
je 0x1400703c4
test rax, rax
je 0x1400703d1
jmp 0x1400703a0
call fcn.140060aa0
jmp 0x1400703d1
call fcn.1401298b4
int3
test byte [rbx + 0x50], 0x20
je 0x1400703df
mov rcx, rbx
call fcn.140071050
or edi, 0xffffffff
test byte [rbx + 0x50], 0x40
je 0x140070434
mov ecx, dword [rbx + 0x554]
test ecx, ecx
je 0x140070412
lea rax, [rbx + 0x68c]
nop
nop
cmp dword [rax], 0x1a
je 0x140070414
add esi, 1
add rax, 0xac
cmp esi, ecx
jb 0x140070400
mov esi, edi
movsxd rax, esi
imul rax, rax, 0xac
test byte [rax + rbx + 0x608], 2
je 0x140070434
mov ecx, 0x80000041
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140070458
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
add edi, 0xffffffff
test edi, edi
jg 0x14007047a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
jmp 0x140070487
xor eax, eax
jmp 0x140070487
xor eax, eax
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret