joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100003560
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100005110]
jne 0x10000357b
rol rcx, 0x10
test cx, 0xffff
jne 0x100003577
ret 0
ror rcx, 0x10
jmp 0x10000386c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100005640]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x100005738]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1000038f1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100005640]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x100003913
mov rax, qword [rsp + 0x88]
mov qword [0x100005738], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000056d8], rax
mov rax, qword [0x100005738]
mov qword [0x1000055b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1000056c0], rax
mov dword [0x1000055a0], 0xc0000409
mov dword [0x1000055a4], 1
mov rax, qword [0x100005110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100005118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000012a0]
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, 0x88
ret

Function at 0x100003708
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100003755
cmp rcx, 0xffffffffffffffff
je 0x100003755
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000374d
cmp dword [rcx + 0x3c], edx
jl 0x10000374d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000374d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100003755
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001001
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140007750]
mov rcx, qword [0x1400076d0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x140007760]
cmp word [rcx], 0x5a4d
mov dword [rax], 1
mov rax, qword [0x140007770]
mov dword [rax], 1
jne 0x140001083
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001083
mov ecx, dword [rax + 0x18]
cmp cx, 0x10b
je 0x14000105e
cmp cx, 0x20b
je 0x14000106d
jmp 0x140001083
cmp dword [rax + 0x74], 0xe
jbe 0x140001083
cmp dword [rax + 0xe8], 0
jmp 0x14000107d
cmp dword [rax + 0x84], 0xe
jbe 0x140001083
cmp dword [rax + 0xf8], 0
setne dl
movzx edx, dl
mov rax, qword [0x140007740]
mov dword [0x14000a00c], edx
mov ecx, 2
cmp dword [rax], 0
jne 0x14000109f
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140007820]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140007800]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400076b0]
cmp dword [rax], 1
jne 0x1400010e1
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001ba0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14000a100]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x140001bec
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140001be6
test eax, eax
jne 0x140001be6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140001bbe
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140001da0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140001dc3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140001dc3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140001dc4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140001dfe
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140001df5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140001e00
inc r8d
add rax, 0x28
jmp 0x140001ddc
xor eax, eax
ret

Function at 0x140001e71
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1400076d0]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x140001e9d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret
Function at 0x140131f96
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [rbx + rcx + 0x24]
add rcx, r9
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + r9 + 0x1c]
jmp 0x1401305b4
add rcx, r9
mov r12d, dword [rcx + rdx*4]
mov rcx, qword [rax + 0x18]
add r12, r9
jmp 0x140130632
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14013062a
jmp 0x1401305da
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jmp 0x140130618
mov r11d, dword [rbx + r9 + 0x20]
nop dword [rax]
mov r10d, r8d
mov edx, 0xaae5c252
lea rax, [r9 + r10*4]
mov ecx, dword [rax + r11]
add rcx, r9
jmp 0x1401305c7
jne 0x1401305dd
cmp edx, 0x730cacc5
je 0x140130652
inc r8d
jmp 0x140130600
xchg r13, rax
mov r13, qword [rcx + 0x10]
xchg r13, rax
mov rcx, qword [rax]
mov r9, qword [rcx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
jmp 0x1401305f7
mov ecx, dword [rbx + r9 + 0x24]
lea rax, [r14 + 0x1f400]
add rcx, r9
shl rax, 7
shl rax, 2
loopne 0x14013066b
div dh
test bh, 0x45
test eax, 0x7a738478
test esi, 0xe1fd2284
jne 0x1401315ee
jmp rcx
invalid
add eax, 0xf7486258
in eax, 0xc2
cmp byte [rax], al
ja 0x140131ceb
jg 0x14013059e
neg r13
jmp 0x140131942
Function at 0x14005a9a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005a9ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005a9bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14005a9a5
lea eax, [rcx + 1]
jmp 0x14005a9cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005a9de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14005a9c4
sub eax, 3
jb 0x14005a9fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005aa4d
sar eax, 1
movsxd rbp, eax
jb 0x14005aa34
jmp 0x14005aa0c
add ebx, ebx
jne 0x14005aa0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005aa34
inc ecx
add ebx, ebx
jne 0x14005aa1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005aa34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005aa2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005aa1c
add ecx, 2
jmp 0x14005aa39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14005a962
jmp 0x14005a9ad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2b200
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14005aa99
cmp rsi, rcx
jae 0x14005aaa1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14005aa80
cmp al, 0x8f
ja 0x14005aa80
cmp byte [rsi - 2], 0xf
je 0x14005aa86
sub al, 0xe8
cmp al, 1
ja 0x14005aa6a
cmp rsi, rcx
jae 0x14005aaa1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14005aa70
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005aaa1
lodsb al, byte [rsi]
jmp 0x14005aa80
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x58000]
mov eax, dword [rdi]
or eax, eax
je 0x14005aafe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x68fb0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14005aaae
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14005aaf8
mov qword [rbx], rax
add rbx, 8
jmp 0x14005aace
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14005ab38
cmp al, 0xef
ja 0x14005ab2a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005ab0a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14005ab19
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14005ab8c
sub rsp, 0xffffffffffffff80
jmp 0x14000c320
Function at 0x140028974
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140001050
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x40], rbx
lea rcx, [rdi + 0x30]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
mov qword [rsp + 0x40], rax
cmp rax, rbx
je 0x140001107
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1400010e0
mov r8, rbx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140001113
cmp rsi, 0xffffffffffffffff
je 0x140001122
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bfd0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret

Function at 0x140001310
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x8e0
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
movsxd rdi, r8d
xor ecx, ecx
mov r8d, edi
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
mov rcx, rbx
call fcn.14000d260
xor r8d, r8d
test rax, rax
je 0x14000135a
mov word [rax + 2], r8w
lea rdx, [rsp + 0x100]
mov rax, rbx
sub rdx, rbx
nop dword [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140001370
lea rcx, [rsp + 0x100]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], r8w
lea rcx, [rcx + 2]
jne 0x140001390
movups xmm0, xmmword [str.Installation.ini]
movzx eax, word [0x14002ed20]
xor edx, edx
movups xmm1, xmmword [0x14002ed10]
mov word [rsp + 0x30], r8w
mov r8d, 0xc6
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov word [rcx + 0x20], ax
lea rcx, [rsp + 0x32]
call fcn.140024cd0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x14002ecf0]
mov dword [rsp + 0x20], 0x63
lea rdx, str.StoreType
lea rcx, str.Main
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x14002ed50]
lea rcx, [rsp + 0x30]
call fcn.140016da8
test eax, eax
jne 0x140001447
xor r9d, r9d
mov r8d, 0x23
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140001447
mov rdx, rdi
lea r8, str.ProgDVB_
mov rcx, rbx
call fcn.140011e88
lea rdx, str.user
lea rcx, [rsp + 0x30]
call fcn.140016da8
test eax, eax
jne 0x140001486
xor r9d, r9d
mov r8d, 0x1c
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140001486
mov rdx, rdi
lea r8, str.ProgDVB_
mov rcx, rbx
call fcn.140011e88
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.14000bfd0
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8e0
pop rdi
ret
Function at 0x1400014d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xfd0
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0xfc0], rax
mov rsi, rdx
mov rdi, r9
mov edx, 0x5c
mov rbx, rcx
call fcn.14000d260
test rax, rax
je 0x140001509
lea rbx, [rax + 2]
mov r8d, 0x3e8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.14000d260
test rax, rax
je 0x140001537
xor ecx, ecx
mov word [rax + 2], cx
lea rax, str.Modules
test rsi, rsi
mov edx, 0x3e8
lea rcx, [rsp + 0x20]
cmove rsi, rax
mov r8, rsi
call fcn.140011e88
lea rdx, [rsp + 0x7f0]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea r8, [0x14002ed90]
mov edx, 0x3e8
lea rcx, [rsp + 0x20]
call fcn.140011e88
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x3e8
call fcn.140011e88
lea rcx, [rsp + 0x20]
call fcn.1400014b0
lea rcx, [rsp + 0x7f0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r9, rbx
lea r8, [rsp + 0x20]
lea rdx, str.LoadDll__s____p
lea rcx, vtable.critical_section.0
call fcn.140001150
mov rax, rbx
mov rcx, qword [rsp + 0xfc0]
xor rcx, rsp
call fcn.14000bfd0
add rsp, 0xfd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002ae0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x120
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
lea rax, vtable.sm_RemoteControl::CRemoteControlManager.0
mov qword [rcx], rax
lea rax, [rcx + 0x10]
mov qword [rsp + 0x38], rax
lea rcx, vtable.sm_RemoteControl::CProgRcPluginCollection.0
mov qword [rax], rcx
lea rcx, vtable.sm_RemoteControl::CProgRcPlugin.0
mov qword [rax + 8], rcx
xor ebx, ebx
mov qword [rax + 0x40], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], rbx
mov word [rax + 0x110], bx
mov word [rax + 0x48], bx
mov word [rax + 0x1d8], bx
mov qword [rax + 0x9a8], rbx
mov qword [r14 + 0xe88], rbx
mov qword [r14 + 0xe90], rbx
mov qword [r14 + 0xe98], rbx
movzx eax, byte [rdx + 0x18]
mov byte [r14 + 8], al
mov r8, qword [rdx + 0x10]
mov edx, 0x3e8
lea rbp, [0x140037970]
mov rcx, rbp
call fcn.140011e20
mov r8, qword [rsi + 0x30]
mov edx, 0x3e8
lea rcx, [0x140037580]
call fcn.140016c8c
mov eax, dword [rsi + 0x38]
mov dword [0x140037570], eax
mov rax, qword [rsi + 8]
mov qword [0x140037578], rax
mov rax, qword [rsi]
mov qword [0x140037968], rax
mov qword [r14 + 0x9c0], rbx
mov rax, qword [rsi + 0x28]
mov qword [r14 + 0xf910], rax
mov rax, qword [rsi + 0x20]
mov qword [0x140038140], rax
mov byte [r14 + 0x9c8], bl
mov byte [r14 + 0xa90], bl
mov qword [r14 + 0xb58], rbx
lea rdx, [r14 + 0xb60]
call fcn.140003af0
mov dword [r14 + 0xea0], 0xea6c
mov byte [r14 + 0xea4], bl
mov dword [r14 + 0xea8], ebx
lea rcx, [r14 + 0xeac]
xor edx, edx
mov r8d, 0xea60
call fcn.14002538e
movzx r8d, byte [r14 + 0xea4]
mov r9, rbp
lea rdx, str.StartOtherPrograms
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne al
mov byte [r14 + 0xea4], al
mov r9, rbp
mov r8d, dword [r14 + 0xea8]
lea rdx, str.ProgrammCount
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [r14 + 0xea8], eax
test eax, eax
jle 0x140002d3b
nop dword [rax]
mov r8d, ebx
lea rdx, str.Programm_Name__d
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rax, ebx
imul rdi, rax, 0x258
lea r8, [r14 + 0xeac]
add r8, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0xc8
mov r9, r8
lea rdx, [rsp + 0x40]
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r8d, ebx
lea rdx, str.Programm_Key__d
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [r14 + 0x103c]
add r8, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x64
mov r9, r8
lea rdx, [rsp + 0x40]
lea rcx, str.RemoteControl
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
inc ebx
cmp ebx, dword [r14 + 0xea8]
jl 0x140002ca0
mov rcx, r14
call fcn.140002e10
nop
mov rax, r14
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14000bfd0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400035d0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa60
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0xa50], rax
xor ebx, ebx
mov edi, r8d
mov r15, rdx
mov r12, rcx
test r9b, r9b
je 0x140003614
mov rax, qword [rcx]
call qword [rax + 0x38]
mov r14d, eax
jmp 0x140003617
mov r14d, ebx
mov rcx, qword [r12 + 0x9b8]
lea rdx, [rsp + 0x280]
movsxd rax, r14d
mov r8d, 0x3e8
imul r13, rax, 0x330
sub edi, r14d
add r13, r15
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x280]
call fcn.14000d260
test rax, rax
je 0x14000365e
mov word [rax + 2], bx
lea rcx, [rsp + 0x280]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x140003670
movups xmm0, xmmword [str.RemoteControl.]
mov eax, dword [0x14002f028]
mov r9, r13
movups xmm1, xmmword [0x14002f018]
mov rdx, qword [r12 + 0x9b8]
lea r8, [0x14002ecf0]
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], edi
movups xmmword [rcx + 0x10], xmm1
mov dword [rcx + 0x20], eax
lea rcx, [r12 + 0x10]
call fcn.1400026b0
lea rdx, [rsp + 0x30]
mov ebx, eax
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140003731
cmp edi, ebx
jle 0x140003731
test byte [rsp + 0x30], 0x10
je 0x14000371f
movzx ecx, word [rsp + 0x5c]
test cx, cx
je 0x14000371f
cmp cx, 0x2e
je 0x14000371f
mov rdx, qword [r12 + 0x9b8]
lea r8, [rsp + 0x5c]
movsxd rax, ebx
mov ecx, edi
sub ecx, ebx
imul r9, rax, 0x330
mov dword [rsp + 0x20], ecx
lea rcx, [r12 + 0x10]
add r9, r13
call fcn.1400026b0
add ebx, eax
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400036d6
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
add r14d, ebx
xor r13d, r13d
movsxd rsi, r14d
mov edi, r13d
test r14d, r14d
jle 0x14000380c
lea rbx, [r15 + 0x324]
nop word [rax + rax]
lea rdx, str._FirstTVSource_
lea rcx, [r12 + 0xb64]
call fcn.140016da8
test eax, eax
jne 0x1400037c3
mov byte [rbx + 8], r13b
test edi, edi
jne 0x1400037ec
lea rax, [r15 + 0x194]
lea rdx, [rsp + 0x30]
sub rdx, rax
nop
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140003790
lea rcx, [rsp + 0x30]
call fcn.140016bd8
lea rdx, str..device
lea rcx, [rsp + 0x30]
call fcn.14000e130
test rax, rax
setne al
jmp 0x1400037e9
movsxd rax, edi
lea rcx, [r12 + 0xb64]
imul rdx, rax, 0x330
add rdx, 0x194
add rdx, r15
call fcn.140016da8
test eax, eax
sete al
mov byte [rbx + 8], al
mov dword [rbx - 0x324], 2
inc edi
mov qword [rbx], r13
add rbx, 0x330
sub rsi, 1
jne 0x140003760
mov eax, r14d
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.14000bfd0
mov rbx, qword [rsp + 0xab8]
add rsp, 0xa60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret