joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400133f0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov edx, 8
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.1400131e0
cmp qword [0x140051dc8], 8
lea rdx, [0x140051db0]
cmovae rdx, qword [0x140051db0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
js 0x14001343d
lea rax, [0x140054708]
add rsp, 0x48
ret
lea rax, str.Could_not_create_Profiles_directory
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
call qword [sym.imp.MSVCR110.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea rax, vtable.std::runtime_error.0
lea rdx, [0x14004c8c8]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call sub.MSVCR110.dll__CxxThrowException
int3

Function at 0x140013480
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x30
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
jne 0x1400134b0
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
test rax, rax
jne 0x1400134e5
mov rcx, rbx
lea ebp, [rax + 1]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
jmp 0x1400135cb
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
test rax, rax
jne 0x140013502
lea ebp, [rax + 1]
jmp 0x14001353b
lea r8, [0x140013bf0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x140013551
mov rcx, rsi
lea ebp, [rax + 1]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
jmp 0x1400135cb
mov rcx, qword [0x140052ae0]
cmp rbx, rcx
je 0x14001356f
test rcx, rcx
je 0x140013568
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140052ae0], rbx
mov rcx, qword [0x140052b50]
cmp rdi, rcx
je 0x14001358d
test rcx, rcx
je 0x140013586
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140052b50], rdi
mov rcx, qword [0x140052ae8]
cmp rsi, rcx
je 0x1400135ab
test rcx, rcx
je 0x1400135a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140052ae8], rsi
mov rcx, qword [0x140052b48]
cmp rbp, rcx
je 0x1400135c9
test rcx, rcx
je 0x1400135c2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140052b48], rbp
xor eax, eax
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
Function at 0x1400135e0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x140051020]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r8d, 0x28
lea rdx, [r11 - 0x68]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0x30]
call fcn.140004590
nop
call fcn.1400131e0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140005730
mov rcx, rax
lea rdx, [rsp + 0x150]
call fcn.140005730
mov rcx, rax
lea rdx, str..xml
call fcn.140005730
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x30]
call fcn.140004700
cmp qword [rax + 0x18], 8
jb 0x140013672
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sets dil
cmp qword [rsp + 0x148], 8
jb 0x14001369a
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
xor ebx, ebx
test dil, dil
setne bl
lea rcx, [rsp + 0xc8]
call fcn.140004650
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140031010
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x1b0
pop rdi
ret
Function at 0x1400302b0
Capabilities:
Start service

Disassembly:
push rbx
sub rsp, 0x30
lea rdx, str.ServicesActive
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400302dc
or eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x40], rsi
lea rsi, str.AMD_FUEL_Service
mov r8d, 0xf01ff
mov rcx, rax
mov rdx, rsi
mov qword [rsp + 0x48], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
jne 0x140030323
mov rsi, qword [rsp + 0x40]
lea eax, [rdi - 2]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
lea rax, str._start
lea r8, [rsp + 0x20]
mov edx, 2
mov rcx, rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140030360
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov eax, 0xfffffffd
add rsp, 0x30
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140030380
Capabilities:
Stop service

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140051020]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rdx, str.ServicesActive
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x1400303c8
or eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140031010
add rsp, 0x50
pop rdi
ret
lea rdx, str.AMD_FUEL_Service
mov r8d, 0xf01ff
mov rcx, rax
mov qword [rsp + 0x60], rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
jne 0x1400303f9
lea eax, [rbx - 2]
jmp 0x140030428
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14003041d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xfffffffd
jmp 0x140030428
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140031010
add rsp, 0x50
pop rdi
ret

Function at 0x140030440
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
xor ecx, ecx
lea rax, [rsp + 0x68]
lea rdx, str.SOFTWAREAMDFuel
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14003048f
xor al, al
add rsp, 0x58
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
lea rdx, str.ServiceStatus
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 1
movzx ebx, bl
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x1400304f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
mov rbx, rcx
lea rdx, str.SOFTWAREAMDFuel
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003057e
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.ServiceStatus
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140030573
cmp dword [rsp + 0x50], 4
jne 0x140030573
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREAMDFuel
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400305f4
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.ServiceStatus
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x48], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400305e9
cmp dword [rsp + 0x50], 4
je 0x140030560
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x140030600
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREAMDFuel
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140030697
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
lea rdx, str.EnableNonAmdSystems
xor r8d, r8d
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003068c
cmp dword [rsp + 0x50], 4
jne 0x14003068c
cmp dword [rsp + 0x40], eax
je 0x14003068c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x38
ret
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREAMDFuel
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140030711
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
lea rdx, str.EnableNonAmdSystems
xor r8d, r8d
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140030711
cmp dword [rsp + 0x50], 4
jne 0x140030711
cmp dword [rsp + 0x40], eax
jne 0x14003067a
xor al, al
add rsp, 0x38
ret
Function at 0x140030720
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea rax, [rsp + 0x30]
lea rdx, str.SOFTWAREAMDFuel
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140030795
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.DefaultDataPath
xor r8d, r8d
mov dword [rsp + 0x68], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140030795
cmp dword [rsp + 0x70], 1
je 0x140030807
lea r9, [rsp + 0x78]
lea rcx, [0x140037cb8]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x78], 0
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140030811
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.MSVCR110.dll_wcscpy_s]
mov rcx, qword [rsp + 0x60]
lea r8, [0x14003b108]
mov edx, 0x104
call qword [sym.imp.MSVCR110.dll_wcscat_s]
mov rcx, qword [rsp + 0x60]
lea r8, str.AMDFuel_
mov edx, 0x104
call qword [sym.imp.MSVCR110.dll_wcscat_s]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 1
add rsp, 0x58
ret
lea rax, str.Could_not_retrieve_the_Program_Data_directory_for_Profiles
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x68], rax
call qword [sym.imp.MSVCR110.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea rax, vtable.std::runtime_error.0
lea rdx, [0x14004c8c8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call sub.MSVCR110.dll__CxxThrowException
int3
Function at 0x140030850
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140051020]
xor rax, rsp
mov qword [rbp + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rax, [rsp + 0x40]
lea rdx, str.SOFTWAREAMDFuel
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov bl, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
test eax, eax
jne 0x1400309b6
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.LogFilePath
xor r8d, r8d
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400308f9
cmp dword [rsp + 0x34], 1
movzx ebx, bl
cmove ebx, edi
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, str.LogLevel
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140030946
cmp dword [rsp + 0x34], 4
jne 0x140030950
mov eax, dword [rsp + 0x38]
mov dword [0x14005299c], eax
jmp 0x140030950
mov dword [0x14005299c], 4
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, str.LogGroup
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003099d
cmp dword [rsp + 0x34], 4
jne 0x1400309a7
mov eax, dword [rsp + 0x38]
mov dword [0x140051640], eax
jmp 0x1400309a7
mov dword [0x140051640], 0xffffffff
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x1400309e1
lea rax, [rsp + 0x70]
test rax, rax
je 0x1400309ca
lea rcx, [rsp + 0x70]
call fcn.140030720
lea r8, str.Fuel.txt
lea rcx, [rsp + 0x70]
mov edx, 0x104
call qword [sym.imp.MSVCR110.dll_wcscat_s]
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp word [rsp + 0x70], di
jne 0x140030a00
mov r8, rdi
jmp 0x140030a1a
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140030a10
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140004f50
lea rdx, [rsp + 0x48]
call fcn.14002ae30
lea rdx, [0x1400532b0]
mov dword [0x1400532e0], 0xfffff
mov word [0x1400532e4], 0x101
mov dword [0x1400532b8], edi
call fcn.14002ec40
mov eax, dword [0x14005299c]
mov dword [0x140051eb8], eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140031010
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, str.Console
xor ebp, ebp
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov edi, ebp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000110a
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, str.qweasd123zxc
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x50], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400010f8
mov ecx, dword [rsp + 0x50]
call fcn.140001218
mov rcx, qword [rsp + 0x58]
lea rdx, str.qweasd123zxc
mov rbx, rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400010de
mov ecx, dword [rsp + 0x50]
call fcn.140001218
mov r8d, dword [rsp + 0x50]
mov rdx, rbx
mov rcx, rax
mov rsi, rax
call fcn.1400038b0
mov edi, dword [rsp + 0x50]
mov rcx, rbx
call fcn.1400011a0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000110f
mov rsi, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400011a0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000110f
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000110f
mov rsi, qword [rsp + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, edi
xor ecx, ecx
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call fcn.1400038b0
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r9d, 8
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
mov word [rsp + 0x20], bp
call qword [sym.imp.KERNEL32.dll_EnumResourceTypesExW]
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400014ef
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b050]
jne 0x14000119a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001196
repz ret
ror rcx, 0x10
jmp 0x140001448
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000c020]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000c118]
mov qword [rsp + 0x58], rax
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 0x1400014cd
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, [0x14000c020]
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 0x1400014ef
mov rax, qword [rsp + 0x88]
mov qword [0x14000c118], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000c0b8], rax
mov rax, qword [0x14000c118]
mov qword [0x14000bf90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000c0a0], rax
mov dword [0x14000bf80], 0xc0000409
mov dword [0x14000bf84], 1
mov rax, qword [0x14000b050]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b058]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000c018], eax
mov ecx, 1
call fcn.1400031b4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140007288]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000c018], 0
jne 0x140001576
mov ecx, 1
call fcn.1400031b4
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 0x140001e2c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001c9c
Function at 0x140004238
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000b050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002d5c
xor ebx, ebx
cmp qword [0x14000cf28], rbx
mov rdi, rax
jne 0x14000434b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140004422
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004422
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000cf28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000cf30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000cf38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000cf48], rax
test rax, rax
je 0x140004342
lea rdx, [0x140007f10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14000cf40], rax
jmp 0x140004352
mov rax, qword [0x14000cf40]
jmp 0x140004359
mov rax, qword [0x14000cf40]
mov r11, qword [0x14000cf48]
cmp rax, rdi
je 0x1400043c0
cmp r11, rdi
je 0x1400043c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000cf48]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400043c0
test rax, rax
je 0x1400043c0
call rsi
test rax, rax
je 0x1400043ba
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400043ba
test byte [rsp + 0x40], 1
jne 0x1400043c0
bts ebp, 0x15
jmp 0x140004400
mov rcx, qword [0x14000cf30]
cmp rcx, rdi
je 0x140004400
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004400
call rax
mov rbx, rax
test rax, rax
je 0x140004400
mov rcx, qword [0x14000cf38]
cmp rcx, rdi
je 0x140004400
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004400
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000cf28]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004422
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140004424
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001180
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1407d3580
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407d3707
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 0x1407d35b1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407d3597
add dl, dl
jne 0x1407d35be
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407d361e
xor eax, eax
add dl, dl
jne 0x1407d35cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407d36d5
add dl, dl
jne 0x1407d35de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407d35eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407d35f8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407d3605
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407d3612
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407d35a6
mov eax, 1
add dl, dl
jne 0x1407d362e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407d363b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407d3623
sub eax, ebx
mov ebx, 1
jne 0x1407d3674
mov ecx, 1
add dl, dl
jne 0x1407d3656
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407d3663
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407d364b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407d35a6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407d3690
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407d369d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407d3685
cmp eax, 0x7d00
jae 0x1407d36c3
cmp eax, 0x500
jb 0x1407d36be
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407d35a6
cmp eax, 0x7f
ja 0x1407d36c6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407d35a6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407d36fa
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 0x1407d35a6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002ce4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002d2e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002d2e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002d2e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002d2e
cmp dword [rcx + 0x84], 0xe
jbe 0x140002d2e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002d30
xor al, al
add rsp, 0x28
ret