joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004480
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x148
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x120], rax
cmp dword [rdx], 0xea6c
je 0x1400044bb
xor al, al
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14000bfd0
add rsp, 0x148
ret
mov qword [rsp + 0x160], rbx
mov r8d, 0xea6c
mov qword [rsp + 0x140], rbp
mov qword [rsp + 0x138], rsi
lea rsi, [rcx + 0xea0]
mov rcx, rsi
mov qword [rsp + 0x130], rdi
call fcn.140025090
xor edi, edi
cmp dword [rsi + 8], edi
jge 0x1400044fa
mov dword [rsi + 8], edi
movzx ecx, byte [rsi + 4]
lea rdx, [rsp + 0x20]
mov r8d, 0xa
call fcn.140016914
lea r9, [0x140037970]
lea r8, [rsp + 0x20]
lea rdx, str.StartOtherPrograms
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r9, [0x140037970]
xor r8d, r8d
lea rdx, str.ProgrammCount
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [rsi + 8]
lea rdx, [rsp + 0x20]
mov r8d, 0xa
mov ebp, eax
call fcn.140016914
lea r9, [0x140037970]
lea r8, [rsp + 0x20]
lea rdx, str.ProgrammCount
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, dword [rsi + 8]
test ebx, ebx
jle 0x140004610
nop dword [rax]
mov r8d, edi
lea rdx, str.Programm_Name__d
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rax, edi
lea r8, [rsi + 0xc]
imul rbx, rax, 0x258
lea r9, [0x140037970]
add r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r8d, edi
lea rdx, str.Programm_Key__d
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsi + 0x19c]
add r8, rbx
lea r9, [0x140037970]
lea rdx, [rsp + 0x50]
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, dword [rsi + 8]
inc edi
cmp edi, ebx
jl 0x140004590
mov rdi, qword [rsp + 0x130]
inc ebx
mov rsi, qword [rsp + 0x138]
cmp ebx, ebp
jge 0x140004698
nop word [rax + rax]
mov r8d, ebx
lea rdx, str.Programm_Name__d
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [0x140037970]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r8d, ebx
lea rdx, str.Programm_Key__d
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [0x140037970]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc ebx
cmp ebx, ebp
jl 0x140004630
mov rbp, qword [rsp + 0x140]
mov al, 1
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14000bfd0
add rsp, 0x148
ret
Function at 0x1400047e0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x1010
call fcn.140024ac0
sub rsp, rax
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x1000], rax
movzx edi, cl
lea rdx, [rsp + 0x60]
xor ecx, ecx
mov r8d, 0x3e8
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call fcn.14000d260
xor esi, esi
test rax, rax
je 0x14000483a
mov word [rax + 2], si
lea r8, [0x14002f408]
mov edx, 0x3e8
lea rcx, [rsp + 0x60]
call fcn.140011e88
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x140004970
xor edx, edx
mov word [rsp + 0x830], si
mov r8d, 0x7ce
lea rcx, [rsp + 0x832]
call fcn.140024cd0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, [0x14002f430]
lea rax, [rsp + 0x830]
mov dword [rsp + 0x5c], 0x7d0
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test dil, dil
je 0x14000494f
test eax, eax
jne 0x140004910
lea rdx, [rsp + 0x830]
lea rcx, [rsp + 0x60]
call fcn.140016da8
test eax, eax
je 0x140004965
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14002f430]
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
jmp 0x140004965
test eax, eax
jne 0x140004965
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14002f430]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x1000]
xor rcx, rsp
call fcn.14000bfd0
lea r11, [rsp + 0x1010]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400049a0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x8c0
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov r8d, 0x3e8
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0xe0]
call fcn.14000d260
xor ebx, ebx
test rax, rax
je 0x1400049ee
mov word [rax + 2], bx
lea r8, [0x14002f408]
mov edx, 0x3e8
lea rcx, [rsp + 0xe0]
call fcn.140011e88
xorps xmm0, xmm0
lea rcx, [rsp + 0xe0]
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0xb0], rax
xor r8d, r8d
mov eax, 5
xor edx, edx
movups xmmword [rsp + 0x90], xmm0
mov word [rsp + 0x90], ax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x28], ebx
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x8c], 1
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.14000bfd0
add rsp, 0x8c0
pop rbx
ret

Function at 0x140004f90
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x800
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
lea rdi, [rcx + 0x1778]
mov rbx, rcx
cmp qword [rdi], 0
jne 0x140005036
mov r8d, dword [rcx + 0x1770]
xor edx, edx
mov ecx, 0x100400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rdi], rax
test rax, rax
je 0x140005032
mov r8d, 0x3e8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x140005032
mov edx, 0x5c
mov rcx, rbx
call fcn.14000d260
test rax, rax
je 0x140005009
lea rbx, [rax + 2]
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.14000d260
lea rcx, [rax + 2]
test rax, rax
jne 0x140005026
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140016da8
test eax, eax
je 0x140005036
mov al, 1
jmp 0x14000504c
mov rcx, qword [rdi]
mov edx, 5
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
setne al
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.14000bfd0
mov rbx, qword [rsp + 0x818]
add rsp, 0x800
pop rdi
ret
Function at 0x140005070
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x3c0
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
mov rbx, rcx
movups xmmword [rsp + 0x80], xmm0
mov eax, 5
xor edx, edx
movups xmmword [rsp + 0x90], xmm0
mov r8d, 0x2b8
lea rcx, [rsp + 0xf8]
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x8c], 1
movups xmmword [rsp + 0xa0], xmm0
mov word [rsp + 0x90], ax
movups xmm0, xmmword [str._AppRestart]
movaps xmmword [rsp + 0xe0], xmm0
movsd xmm0, qword [0x14002f5b8]
movsd qword [rsp + 0xf0], xmm0
call fcn.140024cd0
lea rax, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rcx, rbx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.14000bfd0
add rsp, 0x3c0
pop rbx
ret
Function at 0x140005180
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push rbx
sub rsp, 0x420
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x1938]
test ecx, ecx
je 0x140005386
sub ecx, 1
je 0x14000530b
sub ecx, 1
je 0x1400052ed
sub ecx, 1
je 0x14000525c
cmp ecx, 1
jne 0x140005382
mov rcx, rbx
call fcn.140005070
mov dword [rbx + 0x1938], 5
mov rcx, qword [rbx + 0x1940]
test al, al
je 0x1400051ff
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
xor al, al
jmp 0x1400053a1
mov r9d, 0x1f4
lea r8, [rsp + 0x20]
mov edx, 0x3fa
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
lea rcx, [rsp + 0x20]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140005220
movups xmm0, xmmword [str..._ERROR_]
mov eax, dword [0x14002f5e8]
lea r8, [rsp + 0x20]
mov edx, 0x3fa
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
mov rcx, qword [rbx + 0x1940]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
xor al, al
jmp 0x1400053a1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x1930]
lea r8, [rbx + 0x1798]
mov eax, eax
sub rcx, rax
add rcx, 0x1770
test rcx, rcx
jle 0x1400052cc
movabs rax, 0x20c49ba5e353f7cf
imul rcx
lea rcx, [rsp + 0x20]
sar rdx, 7
mov r9, rdx
shr r9, 0x3f
add r9, rdx
lea rdx, str._s..__i_s.
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rbx + 0x1940]
lea r8, [rsp + 0x20]
mov edx, 0x3f9
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
xor al, al
jmp 0x1400053a1
mov rcx, qword [rbx + 0x1940]
mov edx, 0x3f9
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [rbx + 0x1938], 4
jmp 0x14000539f
mov dword [rbx + 0x1938], 3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
mov qword [rbx + 0x1930], rax
jmp 0x14000539f
mov rcx, rbx
call fcn.140004f90
test al, al
je 0x140005323
mov dword [rbx + 0x1938], 2
jmp 0x14000539f
cmp qword [rbx + 0x1928], 0
jle 0x140005382
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
sub rax, qword [rbx + 0x1928]
cmp rax, 0x1b58
jle 0x140005382
mov r8d, dword [rbx + 0x1770]
xor edx, edx
mov ecx, 0x100001
mov qword [rbx + 0x1928], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140005382
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400053a1
mov dword [rbx + 0x1938], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
mov qword [rbx + 0x1928], rax
mov al, 1
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.14000bfd0
add rsp, 0x420
pop rbx
ret
Function at 0x140005c40
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x60
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], ebp
mov r8d, 7
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140005dbd
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140005db4
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.14000c1dc
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov rdx, rax
mov dword [rsp + 0x48], ebp
mov rcx, rdi
mov qword [rsp + 0x20], rbp
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140005db4
mov rcx, rdi
mov qword [rsp + 0x78], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x40]
mov eax, 2
inc esi
movsxd rcx, esi
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.14000c1dc
mov r9, qword [rsp + 0x40]
mov rdi, rax
cmp r9d, 3
jb 0x140005d55
cmp byte [rbx], 0xef
jne 0x140005d55
cmp byte [rbx + 1], 0xbb
jne 0x140005d55
cmp byte [rbx + 2], 0xbf
jne 0x140005d55
add r9d, 0xfffffffd
mov dword [rsp + 0x28], esi
lea r8, [rbx + 3]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rcx, eax
mov word [rdi + rcx*2], bp
jmp 0x140005da2
cmp r9d, 2
jb 0x140005d82
mov eax, 0xfeff
cmp word [rbx], ax
jne 0x140005d82
lea r8d, [r9*2 - 4]
mov rcx, rdi
lea rdx, [rbx + 2]
call fcn.140025090
mov eax, dword [rsp + 0x40]
add eax, 0xfffffffe
jmp 0x140005d9e
mov dword [rsp + 0x28], esi
mov r8, rbx
xor edx, edx
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
js 0x140005da2
cdqe
mov word [rdi + rax*2], bp
mov rcx, rbx
call fcn.14000c16c
mov rsi, qword [rsp + 0x78]
mov rax, rdi
jmp 0x140005dbf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000bfd0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140007bc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rax, qword [rcx + 0x28]
lea rbx, [0x140038160]
mov rsi, rdx
mov qword [0x140038370], rcx
mov rdx, rbx
mov qword [rcx + 0xf1c8], rax
mov r8d, 0x105
mov qword [rcx + 0xf1d0], rax
mov rdi, rcx
mov qword [rcx + 0xf1f0], rcx
call fcn.140001310
lea rcx, [rbx - 2]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140007c20
movups xmm0, xmmword [str.ProgDVBEngine.ini]
mov eax, dword [0x14002f648]
xor ebp, ebp
movups xmm1, xmmword [0x14002f638]
mov r8d, 0x104
lea rdx, [rsp + 0x90]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov dword [rcx + 0x20], eax
mov qword [rdi + 0xf1d8], rbx
lea rbx, [0x1400383a0]
mov qword [rdi + 0xf1f8], rbx
mov qword [rdi + 0xf1e8], rbp
call fcn.140001310
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x90]
mov qword [rsp + 0x30], rbp
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0x3e8
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
dec rbx
nop
cmp byte [rbx + 1], bpl
lea rbx, [rbx + 1]
jne 0x140007cb0
mov eax, dword [str.Logs_]
lea r8, str.ProgDVB.ini
mov dword [rbx], eax
lea rcx, [rsp + 0x90]
movzx eax, word [0x14002f958]
mov edx, 0x104
mov word [rbx + 4], ax
call fcn.140011e88
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 0xa
lea r9, [0x14002f95c]
mov qword [rsp + 0x20], rax
lea r8, [0x14002f960]
lea rdx, str.Debug
lea rcx, [rsp + 0x90]
call fcn.140005de0
lea rcx, [rsp + 0x78]
call fcn.1400181b8
mov dword [rdi + 0xf200], eax
call fcn.140008b70
test al, al
jne 0x140007d3b
mov rcx, rdi
call fcn.140007e30
test rdi, rdi
lea rbx, [rdi + 0xf208]
lea rax, [rdi + 8]
mov qword [0x140038378], rbx
cmove rax, rbp
mov qword [rbx + 8], rax
test rax, rax
je 0x140007d9e
call fcn.140008b70
xor r9d, r9d
mov byte [rbx + 0x20], al
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x10], rax
xor r9d, r9d
lea r8, [0x140008a10]
xor edx, edx
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
call fcn.140018a44
mov qword [rbx + 0x18], rax
test rsi, rsi
je 0x140007dae
mov rdx, rsi
mov rcx, rdi
call fcn.140008550
xor r9d, r9d
lea rcx, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140007df2
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140007dc5
mov rax, qword [rsp + 0x58]
mov qword [0x140038370], rbp
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14000bfd0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008110
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [0x140038370]
lea rdx, [rsp + 0xe0]
mov r8d, 0x105
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0xe0]
call fcn.14000d260
xor esi, esi
test rax, rax
je 0x14000816e
mov word [rax + 2], si
mov rcx, qword [rbx + 0x410]
lea rdx, [rbx + 0x418]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x20]
lea rcx, [rsp + 0xe0]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x140008191
xor edx, edx
nop dword [rax]
movzx eax, word [rbx + rdx*2 + 0x678]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400081a0
lea rcx, [rbx + 0xf240]
call fcn.14000baf0
mov rcx, qword [rbx + 0x28]
mov edx, 6
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
test rax, rax
je 0x140008210
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 4
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
test rax, rax
je 0x140008210
cmp rax, qword [rbx + 0x28]
jne 0x1400081e0
cmp dword [rbx + 0x38], esi
je 0x14000824c
lea rdx, [rbx + 0x40]
mov ecx, 2
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, esi
test eax, eax
sete cl
mov dword [rbx + 0x38], ecx
mov rcx, qword [rbx + 0x410]
test rcx, rcx
je 0x140008245
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x40]
mov qword [rbx + 0x410], rsi
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], esi
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400082fd
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 0xf230], rcx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008305
mov rcx, rbx
call fcn.140007e30
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14000bfd0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400083c0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140008443
mov rcx, qword [rsp + 0x30]
lea rdx, [0x14002f430]
xor eax, eax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
sete bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000bfd0
add rsp, 0x48
ret
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000bfd0
add rsp, 0x48
ret

Function at 0x140008b70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x8c0
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
lea rax, str.ProgDvbNet.exe
xor r14d, r14d
mov qword [rsp + 0x50], rax
mov edi, r14d
lea rax, str.ProgTV2.exe
mov qword [rsp + 0x58], rax
lea rax, str.PMSLauncher.exe
mov qword [rsp + 0x60], rax
nop dword [rax]
mov rsi, qword [rsp + rdi*8 + 0x50]
xor edx, edx
mov ecx, 2
mov ebp, 0xffffffff
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140008ccb
nop dword [rax + rax]
mov qword [rsp + 0x40], 0x100
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x9c]
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call fcn.1400188a8
lea rax, [rsp + 0x4b0]
sub rax, 2
cmp word [rax + 2], r14w
lea rax, [rax + 2]
jne 0x140008c62
lea r8, [rsp + 0x2b0]
xor edx, edx
nop word [rax + rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x140008c80
lea rdx, [rsp + 0x4b0]
mov rcx, rsi
call fcn.140016da8
test eax, eax
je 0x140008cbe
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008c10
jmp 0x140008cc2
mov ebp, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [0x140038378], r14
je 0x140008cd9
cmp ebp, 0xffffffff
jne 0x140008d16
inc rdi
cmp rdi, 3
jl 0x140008bd0
xor al, al
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.14000bfd0
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov r8d, ebp
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [0x140038378]
mov qword [rcx + 0x28], rax
mov al, 1
jmp 0x140008ce8