joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000177c
Capabilities:
Create directory
Get common file path
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
and qword [rsp + 0x38], 0
mov rdi, rcx
mov ebx, edx
mov esi, 0x103
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, esi
mov dword [rsp + 0x44], Ordinal_1030
mov dword [rsp + 0x40], 1
mov byte [rsp + 0x50], 0
call sub.MSVCR110.dll_memset
lea rcx, [rbp + 0x61]
mov r8d, esi
xor edx, edx
mov byte [rbp + 0x60], 0
call sub.MSVCR110.dll_memset
and qword [rsp + 0x48], 0
mov eax, 0x2e
mov esi, 0x104
lea rdx, [rbp + 0x60]
xor ecx, ecx
mov r8d, esi
mov word [rsp + 0x30], ax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCR110.dll__mbstok_s]
or r15, 0xffffffffffffffff
lea r8, str..dmp
lea rcx, [rbp + 0x60]
mov r9, r15
mov edx, esi
call qword [sym.imp.MSVCR110.dll__mbsnbcat_s]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp ebx, 1
jne 0x1400018f7
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWAREIntelWireless
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001967
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.InstallDir
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r8, str.UnifiedLogging_
lea rcx, [rsp + 0x50]
mov r9, r15
mov edx, esi
call qword [sym.imp.MSVCR110.dll__mbsnbcat_s]
lea r8, [rbp + 0x60]
lea rcx, [rsp + 0x50]
mov r9, r15
mov edx, esi
call qword [sym.imp.MSVCR110.dll__mbsnbcat_s]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x38], 0
jmp 0x140001967
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x140001967
lea rdx, str.IntelWirelessCrashDumps_
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001724
test eax, eax
jne 0x140001947
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, [rbp + 0x60]
lea rcx, [rsp + 0x50]
mov r9, r15
mov rdx, rsi
call qword [sym.imp.MSVCR110.dll__mbsnbcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rdi + 0x14]
lea r8, [rsp + 0x50]
mov r9, r15
mov rdx, rsi
call qword [sym.imp.MSVCR110.dll__mbsnbcpy_s]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140011780
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x140001abc
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rdi, rcx
lea rcx, [rsp + 0x31]
xor ebx, ebx
xor edx, edx
mov r8d, Ordinal_1026
mov dword [rsp + 0x20], Ordinal_1030
mov byte [rsp + 0x30], bl
call sub.MSVCR110.dll_memset
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140001b2f
lea rdx, str.System
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCR110.dll__mbscmp]
test eax, eax
sete bl
mov dword [rdi + 0x118], ebx
mov eax, dword [rdi + 0x118]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140011780
mov rbx, qword [rsp + 0x458]
add rsp, 0x440
pop rdi
ret

Function at 0x140001c84
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea r8, [rsp + 0x20]
lea rdx, [0x140000000]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov r9d, 0x10
mov r8, rbx
call sub.PSAPI.DLL_GetModuleBaseNameA
mov edx, 0x2e
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll__mbsrchr]
test rax, rax
je 0x140001ceb
mov byte [rax], 0
mov edx, 0x10
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll__mbsupr_s]
lea rdx, str.MUROC_TRACE__s
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140001be8
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x30]
mov r8d, 0x100
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x140001d49
lea rdx, [0x140017520]
lea rcx, [rsp + 0x130]
call qword [sym.imp.MSVCR110.dll__mbscmp]
test eax, eax
setne al
mov byte [rbx + 0x10], al
jmp 0x140001d4d
mov byte [rbx + 0x10], 1
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140011780
add rsp, 0x240
pop rbx
ret
Function at 0x140003924
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov esi, 0x105
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MSVCR110.dll_memset
mov rcx, rbx
call fcn.1400062ec
nop
mov rdx, rdi
mov rcx, rbx
call fcn.140007b24
test eax, eax
je 0x14000399e
mov dword [rsp + 0x28], eax
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x28]
call sub.MSVCR110.dll__CxxThrowException
mov edx, esi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1400039c8
mov dword [rsp + 0x24], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x24]
call sub.MSVCR110.dll__CxxThrowException
lea r8, [0x140017530]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR110.dll_strcat_s]
lea r8, str.wcfg.bat
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR110.dll_strcat_s]
lea r8, [0x140017ba8]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000615c
mov edi, eax
jmp 0x140003a13
mov rcx, rbx
call fcn.140007b18
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140011780
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140003ef0
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, r9
mov rbx, r8
movsxd r14, edx
mov rdi, rcx
test r9, r9
jne 0x140003f2a
mov eax, 0x80070057
jmp 0x140003ff0
call fcn.1400062ec
nop
mov rdx, r14
mov rcx, rdi
call fcn.140005e14
test al, al
je 0x140003f58
mov dword [rsp + 0x20], SafeArrayDestroy
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x20]
call sub.MSVCR110.dll__CxxThrowException
mov r8b, 1
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140002e6c
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140003f8c
cmp qword [rbx + 8], 0
jne 0x140003f86
mov rcx, qword [rbx]
call fcn.140012690
mov qword [rbx + 8], rax
mov rdx, qword [rbx + 8]
jmp 0x140003f8e
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140003fdc
lock dec dword [rbx + 0x10]
jne 0x140003fdc
test rbx, rbx
je 0x140003fdc
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003fc0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
and qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140003fd3
call sub.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_
and qword [rbx + 8], 0
mov rcx, rbx
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
nop
jmp 0x140003fe6
mov rcx, rdi
call fcn.140007b18
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x140004004
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, r9
mov rbx, r8
movsxd r14, edx
mov rdi, rcx
test r9, r9
jne 0x14000403e
mov eax, 0x80070057
jmp 0x140004104
call fcn.1400062ec
nop
mov rdx, r14
mov rcx, rdi
call fcn.140005e14
test al, al
je 0x14000406c
mov dword [rsp + 0x20], SafeArrayDestroy
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x20]
call sub.MSVCR110.dll__CxxThrowException
mov r8b, 1
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140002e6c
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400040a0
cmp qword [rbx + 8], 0
jne 0x14000409a
mov rcx, qword [rbx]
call fcn.140012690
mov qword [rbx + 8], rax
mov rdx, qword [rbx + 8]
jmp 0x1400040a2
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400040f0
lock dec dword [rbx + 0x10]
jne 0x1400040f0
test rbx, rbx
je 0x1400040f0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400040d4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
and qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400040e7
call sub.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_
and qword [rbx + 8], 0
mov rcx, rbx
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
nop
jmp 0x1400040fa
mov rcx, rdi
call fcn.140007b18
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x140004138
Capabilities:
Modify service
Query service configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push r12
push r14
push r15
sub rsp, 0xe0
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r12d, r8d
mov r14, rdx
mov rbx, rcx
call fcn.1400135a4
mov rdx, rax
lea rcx, [rsp + 0xb0]
call sub.mfc110.dll_Ordinal_322
nop
and dword [rsp + 0x118], 0
and qword [rsp + 0x60], 0
and qword [rsp + 0x70], 0
and qword [rsp + 0x68], 0
mov rcx, rbx
call fcn.1400062ec
nop
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x1400041d7
mov dword [rsp + 0x7c], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x7c]
call sub.MSVCR110.dll__CxxThrowException
mov r8d, 3
mov rdx, r14
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov r14, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140004215
mov dword [rsp + 0x84], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x84]
call sub.MSVCR110.dll__CxxThrowException
mov r15d, 0x1000
mov edx, r15d
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140004255
mov dword [rsp + 0x8c], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x8c]
call sub.MSVCR110.dll__CxxThrowException
lea r9, [rsp + 0x9c]
mov r8d, r15d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x14000428f
mov dword [rsp + 0x98], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x98]
call sub.MSVCR110.dll__CxxThrowException
cmp dword [rbx + 4], r12d
jne 0x1400042b1
and dword [rsp + 0x80], 0
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x80]
call sub.MSVCR110.dll__CxxThrowException
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1400042e0
mov dword [rsp + 0x78], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x78]
call sub.MSVCR110.dll__CxxThrowException
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
or edx, 0xffffffff
mov r9d, edx
mov r8d, r12d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x140004340
mov dword [rsp + 0x88], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x88]
call sub.MSVCR110.dll__CxxThrowException
nop
jmp 0x140004359
test r15, r15
je 0x140004367
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
test r14, r14
je 0x140004375
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rsi, rsi
je 0x140004383
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x140004391
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x100]
call fcn.140007b18
nop
lea rcx, [rsp + 0xb0]
call sub.mfc110.dll_Ordinal_1030
mov eax, dword [rsp + 0x118]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400043d0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
call fcn.1400135a4
lea rcx, [rsp + 0x20]
mov rdx, rax
call sub.mfc110.dll_Ordinal_322
mov rcx, rbp
call fcn.1400062ec
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r8d, 0xf01ff
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
je 0x140004455
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 0x1c]
call sub.MSVCR110.dll_memset
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x140004463
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call fcn.140007b18
lea rcx, [rsp + 0x20]
call sub.mfc110.dll_Ordinal_1030
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140004714
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rsi, r9
mov r15d, r8d
movsxd r14, edx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r9
mov rdi, qword [rsp + 0x230]
xor r13d, r13d
test r9, r9
jne 0x140004775
mov eax, 0x80070057
jmp 0x140004893
call fcn.1400062ec
nop
test rdi, rdi
jne 0x140004799
mov dword [rsp + 0x54], 0x57
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x54]
call sub.MSVCR110.dll__CxxThrowException
mov rdx, r14
mov rcx, rbx
call fcn.140005e14
test al, al
je 0x1400047c1
mov dword [rsp + 0x50], SafeArrayDestroy
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x50]
call sub.MSVCR110.dll__CxxThrowException
mov r12d, 0x104
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0xb0]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x5c], r12d
mov r12d, 8
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.MSVCR110.dll_memset
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x5c]
lea r8, [rsp + 0xb0]
mov edx, r15d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsi], eax
test eax, eax
je 0x140004840
mov dword [rsp + 0x58], eax
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x58]
call sub.MSVCR110.dll__CxxThrowException
mov word [rsp + 0x68], r12w
lea rcx, [rsp + 0xb0]
call fcn.1400127b0
mov rdx, rax
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov word [rsp + 0x68], r13w
mov qword [rdi], rcx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
jmp 0x140004889
mov rcx, rbx
call fcn.140007b18
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140011780
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140005a90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x50], r9
mov rsi, qword [rbp + 0xe0]
mov qword [rsp + 0x58], rsi
and dword [rsp + 0x38], 0
mov rcx, rdx
call qword [sym.imp.mfc110.dll_Ordinal_316]
mov dword [rsp + 0x38], 1
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140005b89
mov byte [rsp + 0x70], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x71]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x30], 0x104
and dword [rsp + 0x34], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140005b7d
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.mfc110.dll_Ordinal_1498]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, r14
call qword [sym.imp.mfc110.dll_Ordinal_1026]
nop
mov rcx, rsi
call qword [sym.imp.mfc110.dll_Ordinal_1026]
mov rax, rdi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140011780
add rsp, 0x190
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140005bc0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov ebx, edx
lea rcx, [rsp + 0x52]
lea rdx, [rsp + 0x3c]
mov rdi, r8
mov dword [rsp + 0x3c], 0x102
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
mov word [rsp + 0x50], 0x5c5c
call qword [sym.imp.SETUPAPI.dll_CM_Connect_MachineA]
test eax, eax
je 0x140005c2b
mov ecx, 5
xor eax, eax
mov dword [rdi], ecx
jmp 0x140005cd0
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc110.dll_Ordinal_316]
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov r8d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status_Ex]
test eax, eax
jne 0x140005caf
mov edx, dword [rsp + 0x38]
test edx, edx
jne 0x140005c77
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SETUPAPI.dll_CM_Disconnect_Machine]
and dword [rdi], 0
mov ebx, 1
jmp 0x140005cc3
cmp edx, 0x16
je 0x140005c9c
cmp edx, 0x18
je 0x140005c93
mov eax, 3
cmp edx, 0x27
lea ecx, [rax + 2]
cmovne eax, ecx
mov dword [rdi], eax
jmp 0x140005ca2
mov ebx, 1
mov dword [rdi], ebx
jmp 0x140005ca2
mov dword [rdi], 2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SETUPAPI.dll_CM_Disconnect_Machine]
jmp 0x140005cc1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SETUPAPI.dll_CM_Disconnect_Machine]
mov ecx, 5
mov dword [rdi], ecx
xor ebx, ebx
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc110.dll_Ordinal_1026]
mov eax, ebx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140011780
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140005e34
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r12, rdx
lea rdx, str.7E60CB96_0AEF_4405_AC61_4F6198834EA4
mov r15, r8
mov rcx, r12
xor edi, edi
xor esi, esi
call qword [sym.imp.MSVCR110.dll__mbsicmp]
test eax, eax
jne 0x140005e8e
mov dword [r15], 1
lea eax, [rdi + 1]
jmp 0x14000603e
lea rax, [rsp + 0x60]
lea rdx, str.SOFTWAREINTELWirelessSupportedAdapters
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140006039
mov dword [rsp + 0x40], 0x64
xor r14d, r14d
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rbp - 0x50]
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000602e
lea r8, str.SOFTWAREINTELWirelessSupportedAdapters
lea rcx, [rbp + 0x20]
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
call qword [sym.imp.MSVCR110.dll_strcpy_s]
lea r8, [0x140017530]
lea rcx, [rbp + 0x20]
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
call qword [sym.imp.MSVCR110.dll_strcat_s]
lea r8, [rbp - 0x50]
lea rcx, [rbp + 0x20]
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
call qword [sym.imp.MSVCR110.dll_strcat_s]
lea rax, [rsp + 0x48]
lea rdx, [rbp + 0x20]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000601b
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.CLSGUID
xor r8d, r8d
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x54], 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140006010
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.MSVCR110.dll__mbsicmp]
test eax, eax
jne 0x140006010
mov rcx, qword [rsp + 0x48]
mov eax, 4
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
lea rdx, str.PROSetEnabled
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000600b
xor esi, esi
cmp dword [rsp + 0x44], esi
setne sil
mov edi, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r14d
mov dword [rsp + 0x40], 0x64
test edi, edi
je 0x140005ec8
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [r15], esi
mov eax, edi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140011780
mov rsi, qword [rsp + 0x230]
add rsp, 0x200
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000615c
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x220
mov qword [rax - 0x1b8], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x60]
call sub.MSVCR110.dll_memset
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x90]
call sub.MSVCR110.dll_memset
mov ebx, 0x105
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x100]
call sub.MSVCR110.dll_memset
mov rcx, rdi
call fcn.1400062ec
nop
mov edx, ebx
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor ebx, ebx
test eax, eax
jne 0x14000620b
mov dword [rsp + 0x58], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x58]
call sub.MSVCR110.dll__CxxThrowException
mov dword [rsp + 0x90], 0x68
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14000627a
mov dword [rsp + 0x50], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x50]
call sub.MSVCR110.dll__CxxThrowException
mov edx, 0x1f40
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000629b
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400062bd
mov rcx, rdi
call fcn.140007b18
mov eax, ebx
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140011780
mov rbx, qword [rsp + 0x258]
add rsp, 0x220
pop r14
pop rdi
pop rsi
ret