joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400181c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1d0012
mov dword [rbp - 0x1c], 0x30011
mov dword [rbp - 0x18], 0x52001e
mov dword [rbp - 0x14], 0x45005c
mov dword [rbp - 0x10], 0x1f006d
mov dword [rbp - 0xc], 0x65001c
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400181c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400181a0], rax
mov dword [rbp - 0x20], 0x1c0016
mov dword [rbp - 0x1c], 0x6001a
mov dword [rbp - 0x18], 0x4001c
mov dword [rbp - 0x14], 0x45001a
mov dword [rbp - 0x10], 0x1f006d
mov dword [rbp - 0xc], 0x65001c
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140017360]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400181b0], rax
mov word [rbp - 0x10], 0x5e11
mov byte [rbp - 0xe], 0x76
call fcn.140004620
mov rcx, qword [0x1400181a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140018130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x3111d12
mov dword [rbp - 0x1c], 0xe16241e
mov dword [rbp - 0x18], 0x4066a
mov word [rbp - 0x14], 0x6c3b
call fcn.140001180
mov rcx, qword [0x1400181a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140018130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xa001b08
mov dword [rbp - 0x1c], 0x1f0b0f00
mov dword [rbp - 0x18], 0xb150346
mov word [rbp - 0x14], 0x6c2d
call fcn.140001180
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017420]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180e8], rax
mov byte [rbp - 0x10], 0x67
call fcn.140004330
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017300]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180f0], rax
mov dword [rbp - 0x10], 0x65136503
call fcn.140002660
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017380]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180e0], rax
mov byte [rbp - 0x10], 0x67
call fcn.140004330
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017400]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180d8], rax
mov dword [rbp - 0x10], 0x2418660e
mov byte [rbp - 0xc], 0x6e
call fcn.140003130
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017320]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x4809
mov byte [rbp - 0xe], 0x76
call fcn.140004620
mov rcx, qword [0x1400181b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000c8f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x70
mov dword [rbp - 0x20], 0x30000a
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x210026
mov dword [rbp - 0x18], 0x2d0037
mov dword [rbp - 0x14], 0x2a002c
mov dword [rbp - 0x10], 0x36005a
call fcn.140004fd0
mov rcx, rax
call 0x14000f050
mov qword [0x1400181b8], rax
lea rcx, [rbp - 0x20]
mov eax, 9
mov dword [rbp - 0x20], 0x30000a
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x210026
mov dword [rbp - 0x18], 0x2d0037
mov dword [rbp - 0x14], 0x59005d
call fcn.1400022a0
mov rcx, rax
call 0x14000f050
lea rcx, [rbp - 0x20]
mov qword [0x1400181a8], rax
mov dword [rbp - 0x20], 0x1002f
mov dword [rbp - 0x1c], 0x30010
mov dword [rbp - 0x18], 0x61001e
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000f050
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000f0b2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.1400092f0
test al, al
jne 0x14000f0c4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000f080
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f050
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x70
mov dword [rbp - 0x20], 0x30000a
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x210026
mov dword [rbp - 0x18], 0x2d0037
mov dword [rbp - 0x14], 0x2a002c
mov dword [rbp - 0x10], 0x36005a
call fcn.140004fd0
mov rcx, rax
call 0x14000f050
mov qword [0x1400181b8], rax
lea rcx, [rbp - 0x20]
mov eax, 9
mov dword [rbp - 0x20], 0x30000a
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x210026
mov dword [rbp - 0x18], 0x2d0037
mov dword [rbp - 0x14], 0x59005d
call fcn.1400022a0
mov rcx, rax
call 0x14000f050
lea rcx, [rbp - 0x20]
mov qword [0x1400181a8], rax
mov dword [rbp - 0x20], 0x1002f
mov dword [rbp - 0x1c], 0x30010
mov dword [rbp - 0x18], 0x61001e
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000f050
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000f0b2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.1400092f0
test al, al
jne 0x14000f0c4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000f080
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d8b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d8fa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d8fa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d8fa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d8fa
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d8fa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000d8fc
xor al, al
add rsp, 0x28
ret
Function at 0x140003bd0
Capabilities:
Check mutex on windows

Disassembly:
push rdi
sub rsp, 0x200
mov rdx, qword [str._RegPlugIn]
mov rdi, rcx
mov rcx, r8
call fcn.140008d8c
test rax, rax
jne 0x140003bf9
add rsp, 0x200
pop rdi
ret
lea r8, str.SynTP_Toshiba_PlugIn_Mutex
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x210], rbx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x140003e53
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140003e41
cmp eax, 0xffffffff
je 0x140003e41
mov rcx, qword [str.SynTP_Toshiba_PlugIn_Wndclass]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140003e41
lea rax, [0x140003f70]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rsp + 0x68], rax
mov rax, qword [str.SynTP_Toshiba_PlugIn_Wndclass]
mov qword [rsp + 0x220], rsi
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmmword [rsp + 0x90], xmm1
xor esi, esi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x70], rsi
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140003d06
mov rdx, qword [str.SynTP_Toshiba_PlugIn_Wndclass]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
lea r8, [0x14001c884]
mov r9d, 0x80000000
mov ecx, 0x80
mov dword [rsp + 0x28], 0xffffff9c
mov dword [rsp + 0x20], 0xffffff9c
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
jne 0x140003d33
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rsi, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x210]
add rsp, 0x200
pop rdi
ret
mov qword [rsp + 0x218], rbp
lea rbp, vtable.CSynTPAPI.0
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], rsi
call fcn.1400049d0
lea rcx, [rsp + 0xe0]
call fcn.140004350
test eax, eax
je 0x140003d90
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x140003d90
mov rcx, qword [0x140028038]
xor r8d, r8d
mov rdx, rdi
call rax
test eax, eax
jne 0x140003da4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9004
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
call fcn.140003e70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0xb0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140003e16
nop word [rax + rax]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0xb0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140003de0
mov ebx, dword [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0xe0], rbp
call fcn.1400049d0
mov rbp, qword [rsp + 0x218]
mov eax, ebx
jmp 0x140003d1a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x210]
add rsp, 0x200
pop rdi
ret
Function at 0x140004bf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x440
xor edi, edi
mov rsi, r8
mov rbp, rdx
mov dword [rsp + 0x468], edi
cmp rdx, 0xffffffff80000002
jne 0x140004c30
lea rdx, str.RegistryEx.cpp
lea rcx, str.hStartKey___HKEY_LOCAL_MACHINE
mov r8d, 0x267
call fcn.140007310
test rsi, rsi
je 0x140004d3a
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rsi + rax*2], di
jne 0x140004c40
test rax, rax
je 0x140004d3a
lea rax, [rsp + 0x470]
mov r9d, 0x10008
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004d3a
mov qword [rsp + 0x478], rbx
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x470]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x468]
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x468], 0x200
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
cmp eax, 0x103
je 0x140004d03
test eax, eax
jne 0x140004d11
mov rdx, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x460]
lea r8, [rsp + 0x40]
call fcn.140004bf0
mov ebx, 0x3f2
test eax, eax
cmovne ebx, edi
test ebx, ebx
je 0x140004c90
jmp 0x140004d11
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x478]
sete dil
mov eax, edi
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004db0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, r9
mov rdi, r8
mov r12, rdx
mov rbp, rcx
cmp r8, qword [rsp + 0x80]
jne 0x140004df0
lea rdx, str.RegistryEx.cpp
lea rcx, str.pvValue___pvDefaultValue
mov r8d, 0x183
call fcn.140007310
xor ebx, ebx
mov r15d, ebx
test r12, r12
je 0x140004eda
test rdi, rdi
je 0x140004eda
test r14, r14
je 0x140004eda
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140004ea6
mov rbp, qword [rsp + 0x88]
mov r15d, dword [r14]
mov qword [rsp + 0x70], rcx
test rbp, rbp
je 0x140004e57
lea rax, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004ea6
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14d, eax
test rbp, rbp
je 0x140004e85
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
jne 0x140004ea6
cmp dword [rsp + 0x68], 3
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
cmp qword [rsp + 0x80], rbx
je 0x140004eda
mov rdx, qword [rsp + 0x80]
mov r8d, r15d
mov rcx, rdi
call fcn.140007b20
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret

Function at 0x140004ef0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov rdi, r9
mov rsi, r8
mov r15, rdx
mov r14d, ebx
test r9, r9
je 0x140004f19
mov r14d, dword [r9]
test rdx, rdx
je 0x140004fe3
test r8, r8
je 0x140004fe3
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140004fd4
mov qword [rsp + 0x30], rcx
cmp qword [rsp + 0x80], rbx
je 0x140004f71
mov rdx, qword [rsp + 0x80]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004fd4
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
cmp qword [rsp + 0x80], rbx
je 0x140004fb1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15d, r15d
jne 0x140004fd4
mov eax, dword [rsp + 0x78]
cmp eax, 4
je 0x140004fcb
cmp eax, 3
jne 0x140004fd0
cmp dword [rsp + 0x68], 4
jne 0x140004fd0
mov ebx, 1
mov eax, ebx
jmp 0x140004fe5
test rdi, rdi
je 0x140004fe3
mov dword [rsi], r14d
mov eax, 1
jmp 0x140004fe5
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140005000
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x80]
mov r12, r9
mov rsi, r8
mov r15, rdx
mov rdi, rcx
cmp r8, rbx
jne 0x140005048
lea rdx, str.RegistryEx.cpp
lea rcx, str.pszValue___pszDefaultValue
mov r8d, 0x126
call fcn.140007310
xor ebp, ebp
mov r13d, ebp
test r15, r15
je 0x1400051e0
test rsi, rsi
je 0x1400051e0
test r12, r12
je 0x1400051e0
mov rcx, qword [rdi + 0x10]
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x60], r14
test rcx, rcx
je 0x140005195
mov r14, qword [rsp + 0x88]
mov r13d, dword [r12]
mov qword [rsp + 0x68], rcx
test r14, r14
je 0x1400050bd
lea rax, [rsp + 0x68]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140005195
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test r14, r14
je 0x1400050ee
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x80]
cmp ecx, 2
jne 0x140005160
mov eax, 2
mul r13
cmovo rax, rdi
mov rcx, rax
call fcn.1400078f8
mov r14, rax
test rax, rax
je 0x140005159
mov r8d, r13d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rdx, rsi
mov rcx, r14
sub rdx, r14
nop
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140005130
mov rax, rdi
inc rax
cmp word [rsi + rax*2], bp
jne 0x140005144
mov rcx, r14
mov dword [r12], eax
call fcn.1400095a0
mov ecx, dword [rsp + 0x80]
test r15d, r15d
jne 0x140005195
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140005172
cmp ecx, 7
jne 0x140005177
mov ebp, 1
mov eax, ebp
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
test rbx, rbx
je 0x1400051dc
nop word [rax + rax]
cmp word [rbx + rdi*2 + 2], bp
lea rdi, [rdi + 1]
jne 0x1400051a0
lea ecx, [rdi*2 + 2]
cmp ecx, r13d
ja 0x1400051dc
sub rsi, rbx
nop word [rax + rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rsi + rbx - 2], ax
test ax, ax
jne 0x1400051c0
mov dword [r12], ecx
mov eax, 1
jmp 0x140005179
xor eax, eax
jmp 0x140005179
xor eax, eax
jmp 0x14000517e
Function at 0x140005450
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push r14
sub rsp, 0x60
mov rcx, qword [rcx + 0x10]
mov rsi, r9
mov r14d, r8d
mov rbp, rdx
test rcx, rcx
je 0x140005533
test rdx, rdx
je 0x140005533
test r9, r9
je 0x140005533
mov qword [r11 + 0x10], rbx
xor ebx, ebx
mov qword [r11 - 0x18], rcx
cmp qword [rsp + 0x98], rbx
je 0x1400054f4
mov rdx, qword [rsp + 0x98]
lea rax, [r11 + 8]
xor r9d, r9d
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400054ef
xor eax, eax
mov rbx, qword [rsp + 0x78]
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x90]
mov r9d, r14d
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp qword [rsp + 0x98], rbx
je 0x14000552a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov eax, ebx
jmp 0x1400054d7
lea r11, [rsp + 0x60]
xor eax, eax
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140005910
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
mov edx, eax
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test rdi, rdi
je 0x14000596d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov ecx, ebp
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140c9c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c9c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c9c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c9c06f
add dl, dl
jne 0x140c9c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c9c0f6
xor eax, eax
add dl, dl
jne 0x140c9c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c9c1ad
add dl, dl
jne 0x140c9c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c9c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c9c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c9c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c9c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c9c07e
mov eax, 1
add dl, dl
jne 0x140c9c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c9c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c9c0fb
sub eax, ebx
mov ebx, 1
jne 0x140c9c14c
mov ecx, 1
add dl, dl
jne 0x140c9c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c9c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c9c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c9c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c9c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c9c15d
cmp eax, 0x7d00
jae 0x140c9c19b
cmp eax, 0x500
jb 0x140c9c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9c07e
cmp eax, 0x7f
ja 0x140c9c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c9c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140c9c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20