Function at 0x140070080
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 0x1400700a6
xor eax, eax
jmp 0x140070667
mov qword [0x140206cc8], rcx
call fcn.1400870c0
test eax, eax
je 0x140070667
mov eax, dword [0x140206d04]
test eax, eax
jne 0x1400700e1
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 0x1400700fc
cmp dword [0x140206d08], esi
jne 0x1400700fc
mov dword [reloc.DSOUND.dll_DirectSoundCreate], 1
jmp 0x140070102
mov dword [reloc.DSOUND.dll_DirectSoundCreate], esi
lea rcx, [rbx + 0x260]
call fcn.140103e50
test eax, eax
je 0x140070667
lea rcx, [rsp + 0x40]
mov rax, qword [0x14018e398]
mov qword [rcx], rax
mov rax, qword [0x14018e3a0]
mov qword [rcx + 8], rax
cmp qword [0x140206e20], rsi
je 0x140070665
mov dword [rsp + 0x20], 0x1f0
lea r9, [rbx + 0x6c]
xor r8d, r8d
lea edx, [r8 + 0x19]
lea rcx, [rsp + 0x40]
call fcn.140086370
test eax, eax
je 0x140070665
bt dword [rbx + 0x184], 0xa
jae 0x14007017e
lea rcx, [rbx + 0x260]
call fcn.140105400
mov dword [rbx + 0x1c30], eax
lea rdi, [rbx + 0x25c]
lea rcx, [rbx + 0x528]
mov r8, rdi
lea rdx, [rbx + 0x6c]
call fcn.1401106d0
test rdi, rdi
je 0x140070661
lea rcx, [rsp + 0x50]
mov rax, qword [0x14018e398]
mov qword [rcx], rax
mov rax, qword [0x14018e3a0]
mov qword [rcx + 8], rax
cmp qword [0x140206e20], rsi
je 0x140070661
mov dword [rsp + 0x20], 4
mov r9, rdi
xor r8d, r8d
lea edx, [r8 + 0x13]
lea rcx, [rsp + 0x50]
call fcn.140086370
test eax, eax
je 0x140070661
bt dword [rdi], 0x15
jae 0x140070200
mov dword [rbx + 0x1c20], 1
or dword [rbx + 0x70], 3
mov ecx, 0x80
call fcn.1401287b0
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x140070224
mov rcx, rax
call fcn.140114020
mov rcx, rax
jmp 0x140070227
mov rcx, rsi
mov qword [rbx + 0x520], rcx
test rcx, rcx
jne 0x14007023a
xor eax, eax
jmp 0x140070667
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x20]
test eax, eax
je 0x140070667
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 0x140070667
mov rdx, rbx
lea rcx, [rbx + 0x540]
call fcn.1400ace90
test eax, eax
je 0x140070667
mov rdx, rbx
lea rcx, [rbx + 0x1b90]
call fcn.1400ce210
test eax, eax
je 0x140070667
mov rcx, qword [rbx + 0x520]
test rcx, rcx
je 0x1400702b8
mov rax, qword [rcx]
call qword [rax + 0xb0]
lea rdx, str.CplExecuted
lea rcx, [rsp + 0x98]
call fcn.140004b50
nop
lea rdx, [0x14017f438]
lea rcx, [rsp + 0xa0]
call fcn.140004b50
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.140004aa0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x98]
call fcn.14003bbc0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
lea rdx, str.General
lea rcx, [0x140206e90]
call fcn.1401386a8
test eax, eax
jne 0x140070400
mov rcx, qword [rbx + 0x520]
test rcx, rcx
je 0x140070369
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, rbx
lea rcx, [rbx + 0x1b90]
call fcn.1400ce210
test eax, eax
jne 0x1400703ca
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 0x1400703a2
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 0x1400703c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140070667
mov rcx, qword [rbx + 0x520]
test rcx, rcx
je 0x1400703df
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.140138748
test byte [rbx + 0x34], 4
je 0x14007040e
mov rcx, rbx
call fcn.140070ae0
test byte [rbx + 0x37], 1
je 0x14007041c
mov rcx, rbx
call fcn.1400753f0
bt dword [rbx + 0x1bc], 0xc
jae 0x14007042e
mov rcx, rbx
call fcn.1400755b0
test byte [rbx + 0x34], 0x20
je 0x14007043c
mov rcx, rbx
call fcn.140070c90
bt dword [rbx + 0x5c], 0xc
jae 0x14007044b
mov rcx, rbx
call fcn.140070e60
test byte [rbx + 0x34], 0x40
je 0x14007048c
mov rcx, qword [rbx + 0x1c28]
test rcx, rcx
je 0x14007046e
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x14007046e
mov qword [rbx + 0x1c28], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140072420]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbx + 0x1c28], rax
bt dword [rbx + 0x34], 0x11
jae 0x14007049b
mov rcx, rbx
call fcn.140074690
mov rdi, qword [rbx + 0x1ba0]
test rdi, rdi
je 0x1400704e3
mov rdx, rdi
test rdi, rdi
je 0x1400704dd
mov rdi, qword [rdi]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x1400704d6
cmp dword [rdx + 0x160], 0
je 0x1400704d6
bt dword [rdx + 0x30c], 0x12
jae 0x1400704d6
mov rcx, rbx
call fcn.140074af0
test rdi, rdi
jne 0x1400704a7
jmp 0x1400704e3
call fcn.140129ec4
int3
mov rdi, qword [rbx + 0x1ba0]
test rdi, rdi
je 0x140070531
nop
mov rcx, rdi
test rdi, rdi
je 0x14007052b
mov rdi, qword [rdi]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140070524
cmp dword [rcx + 0x160], 0
je 0x140070524
mov eax, dword [rcx + 0x310]
bt eax, 0xc
jb 0x14007051f
bt eax, 0x1a
jae 0x140070524
call fcn.14005ffe0
test rdi, rdi
jne 0x1400704f0
jmp 0x140070531
call fcn.140129ec4
int3
test byte [rbx + 0x34], 0x40
je 0x14007053d
test byte [rbx + 0x44], 2
jne 0x140070547
bt dword [rbx + 0x184], 0xa
jae 0x140070553
lea rcx, [0x140207c90]
call fcn.14006f790
mov eax, dword [rbx + 0x11c]
test al, 1
jne 0x140070561
test al, 2
je 0x140070569
mov rcx, rbx
call fcn.1400710e0
test byte [rbx + 0x50], 4
je 0x1400705b1
mov rax, qword [rbx + 0x1ba0]
test rax, rax
je 0x1400705b1
nop
nop
mov rcx, rax
test rax, rax
je 0x1400705ab
mov rax, qword [rax]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14007059d
cmp dword [rcx + 0x1d0], 1
je 0x1400705a4
test rax, rax
je 0x1400705b1
jmp 0x140070580
call fcn.140060f40
jmp 0x1400705b1
call fcn.140129ec4
int3
test byte [rbx + 0x50], 0x20
je 0x1400705bf
mov rcx, rbx
call fcn.140071230
or edi, 0xffffffff
test byte [rbx + 0x50], 0x40
je 0x140070614
mov ecx, dword [rbx + 0x554]
test ecx, ecx
je 0x1400705f2
lea rax, [rbx + 0x68c]
nop
nop
cmp dword [rax], 0x1a
je 0x1400705f4
add esi, 1
add rax, 0xac
cmp esi, ecx
jb 0x1400705e0
mov esi, edi
movsxd rax, esi
imul rax, rax, 0xac
test byte [rax + rbx + 0x608], 2
je 0x140070614
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 0x140070638
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 0x14007065a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
jmp 0x140070667
xor eax, eax
jmp 0x140070667
xor eax, eax
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret