joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002880
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov dword [rsp + 0x48], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x208
xor bl, bl
mov ebp, 1
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, ebp
xor r8d, r8d
lea rdx, str.SOFTWAREATI_TechnologiesInstallCNext
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002980
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.InstallDir
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000294d
mov eax, dword [rsp + 0x30]
dec eax
movzx ebx, bl
cmp eax, ebp
cmovbe ebx, ebp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x140002980
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x140002970
test rax, rax
je 0x140002980
mov esi, ebp
xor edx, edx
lea rcx, [0x1400085b8]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rdi], rax
mov dword [rsp + 0x48], ebp
test esi, esi
je 0x1400029c7
mov r8d, 0xffffffff
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400062f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140002a00
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rbx, rcx
xor edi, edi
mov dword [rax - 0x48], edi
xor edx, edx
lea rcx, [0x1400085b8]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbx], rax
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x80]
call fcn.140002b70
nop
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 9
mov rax, qword [rsp + 0x30]
cmp cx, ax
je 0x140002af1
mov ecx, 6
cmp cx, ax
je 0x140002af1
mov dword [rsp + 0x78], edi
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140002ac5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x78]
call rdi
cmp dword [rsp + 0x78], 0
jne 0x140002af1
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QChar___cdecl_QDir::separator_void_]
movzx edx, word [rax]
lea rcx, [rsp + 0x80]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QChar____ptr64]
lea rdx, str.amddvr.msi
jmp 0x140002b14
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QChar___cdecl_QDir::separator_void_]
movzx edx, word [rax]
lea rcx, [rsp + 0x80]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QChar____ptr64]
lea rdx, str.amddvr64.msi
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x80]
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QFile::exists_class_QString_const____ptr64_]
test al, al
je 0x140002b41
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x140002d10
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea rcx, [rsp + 0x50]
call fcn.140002880
nop
mov edx, 0xf
lea rcx, str.INSTALLDIR__1_
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x30], rax
mov dl, 0x20
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
call fcn.140002a00
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::toWCharArray_wchar_t____ptr64_const___ptr64]
movsxd rcx, eax
add rcx, rcx
cmp rcx, 0x208
jae 0x140002ed9
xor edi, edi
mov word [rbp + rcx - 0x80], di
mov ebx, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QFile::exists_class_QString_const____ptr64_]
test al, al
je 0x140002e90
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x30]
lea rcx, [0x1400027c0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x30]
mov ecx, 0x202
call sub.msi.dll_MsiSetPropertyW
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x140002e3c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x80]
call sub.msi.dll_MsiOpenDatabaseW
mov ebx, eax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140002e90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ed0
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400062f0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140005fe0
nop
int3
Function at 0x1400030e0
Capabilities:
Enumerate process modules

Disassembly:
push rbx
mov eax, 0x1260
call fcn.140006280
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1240], rax
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
xor ebx, ebx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x140003268
mov qword [rsp + 0x1280], rdi
mov edi, ebx
mov qword [rsp + 0x1258], r14
mov r14d, dword [rsp + 0x20]
shr r14d, 2
test r14d, r14d
je 0x140003264
mov qword [rsp + 0x1270], rbp
mov qword [rsp + 0x1278], rsi
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x1250], r15
lea r15d, [rbx + 1]
mov ebp, dword [rsi]
test ebp, ebp
je 0x140003212
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x140008618]
lea rcx, [rsp + 0x1044]
xor edx, edx
mov dword [rsp + 0x24], 0x104
mov r8d, 0x1f4
movaps xmmword [rsp + 0x1030], xmm0
mov dword [rsp + 0x1040], eax
call sub.VCRUNTIME140.dll_memset
mov r8d, ebp
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140003205
lea r9, [rsp + 0x24]
xor edx, edx
lea r8, [rsp + 0x1030]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x1030]
call sub.VCRUNTIME140.dll_wcsrchr
test rax, rax
je 0x140003205
lea rcx, [rax + 2]
lea rdx, [0x140008620]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
cmove ebx, r15d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140003221
inc edi
add rsi, 4
cmp edi, r14d
jb 0x140003164
mov rbp, qword [rsp + 0x1270]
mov eax, ebx
mov rsi, qword [rsp + 0x1278]
mov r15, qword [rsp + 0x1250]
mov rdi, qword [rsp + 0x1280]
mov r14, qword [rsp + 0x1258]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.1400062f0
add rsp, 0x1260
pop rbx
ret
mov eax, ebx
jmp 0x14000323b
mov eax, ebx
jmp 0x14000324b

Function at 0x140003270
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x4c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x2a0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, [rsp + 0x90]
mov edx, 0x104
lea r8, str._s_netsh.exe
lea rcx, [rsp + 0x2a0]
call fcn.1400055a0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 8
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x38], rax
mov rax, rdi
mov dword [rsp + 0x20], 0x70
jb 0x140003322
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x20]
lea rax, str.runas
mov dword [rsp + 0x24], 0x100
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, 0xc8
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.1400039c0
mov eax, ebx
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400062f0
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x4c0
pop rdi
ret
Function at 0x14007e7c9
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400f55c0
mov qword [rsp + 0x28], 0
jmp 0x14007e7ea
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x28]
jl 0x14007e8e6
push 0
pop rcx
call fcn.1400dc570
and rax, rax
je 0x14007e8db
mov qword [rsp + 0x30], 0xffffffffffffffff
call fcn.140088423
mov qword [rsp + 0x30], rax
mov r15, qword [rsp + 0x30]
and r15, r15
jle 0x14007e8a4
call fcn.1400e100c
mov rax, rax
push rax
mov r15, qword [0x1410dfdb8]
cmp r15, qword [rsp]
jne 0x14007e861
sub rsp, 8
push qword [rsp + 0x40]
pop rcx
sub rsp, 0x20
call fcn.14007c760
add rsp, 0x28
mov r15, rax
and r15, r15
jne 0x14007e85f
jmp 0x14007e8a1
xor r15, r15
cmp r15, qword [rsp]
jne 0x14007e88a
sub rsp, 8
push qword [rsp + 0x40]
pop rcx
sub rsp, 0x20
call fcn.140066f74
add rsp, 0x28
mov r15, rax
and r15, r15
jne 0x14007e888
jmp 0x14007e8a1
sub rsp, 8
push 3
pop rcx
sub rsp, 0x20
call fcn.1400dc114
add rsp, 0x28
pop rax
jmp 0x14007e8af
push 5
pop rcx
call fcn.1400dc114
push 0x1b
pop rcx
call sub.USER32.dll_GetKeyState
mov r15, rax
cmp r15, 1
jle 0x14007e8d0
mov qword [0x1410dfd18], 1
jmp 0x14007e8db
mov qword [0x1410dfd18], 0
inc qword [rsp + 0x28]
jno 0x14007e7ea
xor rax, rax
add rsp, 0x40
pop r15
ret
Function at 0x140088551
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push r15
mov rax, 7
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140088564
sub rsp, 0x28
call fcn.1400f55c0
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400f5130
add rsp, 0x10
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.1400f5130
add rsp, 0x10
push qword [rsp + 0x28]
pop rcx
call fcn.14008879d
push qword [rsp + 0x30]
movabs rcx, 0x1401ad710
pop rdx
call fcn.1400f5340
or rax, rax
je 0x140088695
cmp dword [0x1410dffe8], 0
je 0x140088673
movabs rax, 0x1401accf4
push rax
push 0xffffffffffffffff
pop rcx
pop rdx
call fcn.1400cf42c
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140088671
movabs rax, 0x1401bcbe2
push rax
push qword [rsp + 0x40]
pop rcx
pop rdx
call fcn.1400cf4b4
mov qword [rsp + 0x40], rax
sub rsp, 8
push 0
movsxd r15, dword [0x1410dffec]
or r15, 0xf003f
mov rax, r15
push rax
mov rax, qword [0x1410dff60]
mov rax, rax
push rax
push qword [0x1410dff70]
push qword [rsp + 0x68]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400cfe8c
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.1400cf318
jmp 0x140088690
mov rax, qword [0x1410dff60]
mov rax, rax
push rax
push qword [0x1410dff70]
pop rcx
pop rdx
call sub.ADVAPI32.dll_RegDeleteKeyW
mov qword [rsp + 0x48], rax
jmp 0x14008875a
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push qword [0x1410dff70]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_RegConnectRegistryW
movsxd rax, eax
mov qword [rsp + 0x50], rax
cmp dword [0x1410dffe8], 0
je 0x14008873f
movabs rax, 0x1401accf4
push rax
push 0xffffffffffffffff
pop rcx
pop rdx
call fcn.1400cf42c
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14008873d
push 0
movsxd r15, dword [0x1410dffec]
or r15, 0xf003f
mov rax, r15
push rax
mov rax, qword [0x1410dff60]
mov rax, rax
push rax
push qword [rsp + 0x70]
movabs rax, 0x1401bcbe2
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400d0aa0
add rsp, 0x30
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.1400cf318
jmp 0x14008875a
mov rax, qword [0x1410dff60]
mov rax, rax
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
call sub.ADVAPI32.dll_RegDeleteKeyW
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x14008876d
mov rax, 1
jmp 0x140088770
xor rax, rax
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400f5630
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400f5630
add rsp, 0x28
pop rax
add rsp, 0x60
pop r15
ret
Function at 0x140088b22
Capabilities:
Get graphical window text

Disassembly:
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.1400f55c0
mov rcx, qword [rsp + 0x60]
call fcn.140089fd4
mov r15, qword [0x1410dfff0]
and r15, r15
jne 0x140088b6c
push 0
push 0
pop rcx
pop rdx
call sub.USER32.dll_FindWindowW
mov qword [0x1410dfff8], rax
mov qword [0x1410dfff0], 1
jmp 0x140088b85
push 2
push qword [0x1410dfff8]
pop rcx
pop rdx
call sub.USER32.dll_GetWindow
mov qword [0x1410dfff8], rax
mov r15, qword [0x1410dfff8]
and r15, r15
je 0x140088c5b
push 0xfffffffffffffff0
push qword [0x1410dfff8]
pop rcx
pop rdx
call sub.USER32.dll_GetWindowLongPtrW
mov r15, rax
and r15, 0x10000000
cmp r15, 0x10000000
jne 0x140088c59
push 0xffffffffffffffec
push qword [0x1410dfff8]
pop rcx
pop rdx
call sub.USER32.dll_GetWindowLongPtrW
mov r15, rax
and r15, 0x80
cmp r15, 0x80
je 0x140088c59
push rcx
sub rsp, 0x28
call fcn.1400f51a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400f51a0
add rsp, 0x28
pop rcx
push rax
push 0x100
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400f21e0
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400f5260
push 0x100
push qword [rsp + 0x30]
push qword [0x1410dfff8]
pop rcx
pop rdx
pop r8
call sub.USER32.dll_GetWindowTextW
push qword [rsp + 0x28]
movabs rcx, 0x1401ac0c4
pop rdx
call fcn.1400f5340
or rax, rax
jne 0x140088c59
jmp 0x140088c76
jmp 0x140088c66
mov qword [0x1410dfff0], 0
mov r15, qword [0x1410dfff8]
and r15, r15
jne 0x140088b3b
mov rcx, qword [rsp + 0x28]
push rcx
sub rsp, 0x28
call fcn.1400f51a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400f51f0
add rsp, 0x28
pop rax
push rax
call fcn.1400f5490
pop rdx
add rax, rdx
jmp 0x140088caf
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400f5630
add rsp, 0x28
pop rax
add rsp, 0x30
pop r15
ret
Function at 0x140088cca
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
push r15
mov rax, 0x14
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140088cde
sub rsp, 0x28
call fcn.1400f55c0
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400f5130
add rsp, 0x10
lea rax, [rsp + 0x30]
lea rax, [rsp + 0x98]
lea rbp, [rsp + 0x30]
mov dword [rbp], 0x68
mov dword [rbp + 0x3c], 1
mov r15, qword [rsp + 0xe8]
and r15, 2
and r15, r15
je 0x140088d50
lea rbp, [rsp + 0x30]
mov word [rbp + 0x40], 0
jmp 0x140088d5b
lea rbp, [rsp + 0x30]
mov word [rbp + 0x40], 1
lea rax, [rsp + 0x98]
mov rax, rax
push rax
lea rax, [rsp + 0x38]
mov rax, rax
push rax
push 0
push 0
push 0
push 0
push 0
push 0
push qword [rsp + 0x68]
push 0
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.KERNEL32.dll_CreateProcessW
add rsp, 0x50
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x140088e2a
mov r15, qword [rsp + 0xe8]
and r15, 1
and r15, r15
je 0x140088e1c
lea rbp, [rsp + 0x98]
push qword [rbp + 8]
pop rax
mov qword [rsp + 0xb8], rax
push 1
pop rcx
call fcn.1400dc114
lea rax, [rsp + 0xc0]
mov rax, rax
push rax
push qword [rsp + 0xc0]
pop rcx
pop rdx
call sub.KERNEL32.dll_GetExitCodeThread
movsxd r15, dword [rsp + 0xc0]
cmp r15, 0x103
je 0x140088e1a
jmp 0x140088e1c
jmp 0x140088de2
lea rbp, [rsp + 0x98]
mov rax, qword [rbp]
jmp 0x140088e2d
xor rax, rax
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400f5630
add rsp, 0x28
pop rax
add rsp, 0xc8
pop r15
pop rbp
ret

Function at 0x140088e78
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
mov rax, 8
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140088e82
sub rsp, 0x28
call fcn.1400f55c0
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push 0x28
sub rsp, 0x20
call sub.KERNEL32.dll_GetCurrentProcess
add rsp, 0x20
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_OpenProcessToken
and rax, rax
je 0x140088f95
lea rax, [rsp + 0x38]
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, 0x1401b4862
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_LookupPrivilegeValueW
and rax, rax
je 0x140088f8b
lea rax, [rsp + 0x40]
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 4], eax
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp + 4]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 8], eax
push rbp
pop rbp
mov dword [rbp + 0xc], 2
lea rax, [rsp + 0x60]
mov rax, rax
push rax
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0x10
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.dll_AdjustTokenPrivileges
add rsp, 0x30
mov rax, rax
push rax
pop rax
mov byte [rsp + 0x28], al
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x140088fa4
add rsp, 0x68
pop r15
pop rbp
ret
Function at 0x140089fd4
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x1410dad68]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14008b890
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14008b956
lea rcx, [0x14115aae0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1410e01b0]
jmp 0x14008b91a
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14008b917
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x1410e01b0]
mov rdx, rsi
call fcn.1400f500c
jmp 0x14008b91a
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14008b8e7
mov rdx, qword [0x1410dab68]
lea rcx, [0x1410e01b0]
mov rdi, rdx
inc rdx
mov qword [0x1410dab68], rdx
lea edx, [rbx + 0x20]
call fcn.1400f5054
lea rcx, [0x14115aae0]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x14008b970
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14008b770
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x14115aae0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1410e01b0]
jmp 0x14008b9ac
cmp qword [rbx + 0x18], rdi
je 0x14008b9b3
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14008b9a3
jmp 0x14008b9cd
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1410e01b0]
call fcn.1400f500c
lea rcx, [0x14115aae0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14008bd54
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14008bdcb
movsxd rdx, ecx
lea rcx, [0x14008bcb0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x1410e01c0]
test rbx, rbx
je 0x14008be3e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14008bdc1
cmp byte [rbx + 0x20], 0
je 0x14008bdc1
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x14008bd87
jmp 0x14008be3e
mov rbx, qword [0x1410e01c0]
test rbx, rbx
je 0x14008be3e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14008be36
cmp byte [rbx + 0x21], 0
je 0x14008bdfa
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14008be26
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x1410e01c0]
call fcn.1400f500c
mov rbx, rdi
test rdi, rdi
jne 0x14008bdd7
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14008c500
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x14115ab40]
call fcn.1400f461c
test rax, rax
je 0x14008c53d
cmp dword [rax + 0x28], 0
je 0x14008c53d
mov rcx, qword [rax + 0x18]
mov r9d, ebx
mov r8d, dword [rcx + 4]
mov edx, dword [rcx]
mov rcx, qword [rax + 0x10]
add rsp, 0x20
pop rbx
jmp fcn.14008c120
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp fcn.1400f5b50