joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d680
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14004c120]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov edi, edx
mov rbx, rcx
xor esi, esi
cmp dword [rcx + 0x18], esi
jne 0x14000d6e9
lea rax, [0x140050538]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x14000bb60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 1
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
mov r8d, 0x26
lea rdx, str.GlobalProfileAppListChangedForSession
lea rcx, [rsp + 0x50]
call fcn.14000e960
mov word [rsp + 0x70], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.140018fb0
mov r9d, edi
lea r8, [0x140035a48]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.14001ab04
cmp word [rsp + 0x70], 0
jne 0x14000d750
mov r8, rsi
jmp 0x14000d76b
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d760
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000e6a0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
test rax, rax
je 0x14000d841
mov dword [rsp + 0x30], esi
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x14000ba50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14000d837
mov qword [rsp + 0x40], rdi
mov rdi, qword [rbx]
lea r9, [rsp + 0x30]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rbx
call fcn.14000ac10
mov rdx, rax
mov rax, qword [rbx + 8]
movabs rcx, 0x666666666666665
sub rcx, rax
cmp rcx, 1
jae 0x14000d823
lea rcx, str.list_T__too_long
call fcn.14002efe4
int3
inc rax
mov qword [rbx + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
jmp 0x14000d841
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x68], 8
jb 0x14000d853
mov rcx, qword [rsp + 0x50]
call fcn.1400184e0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140018f80
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000da50
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x60
xor ecx, ecx
lea rax, [r11 - 0x18]
mov rdi, rdx
mov qword [r11 - 0x28], rcx
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rcx
mov rbx, r8
mov qword [r11 - 0x18], rcx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
lea rdx, str.SOFTWAREIntelDisplayigfxcuiprofiles_app
xor r9d, r9d
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000dade
lea rax, [rsp + 0x88]
mov r9d, 4
mov r8, rbx
mov rdx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x14000daf0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
test r8d, r8d
je 0x14000dbb9
mov edx, dword [rdx + 4]
mov qword [rsp + 0x48], r14
call fcn.14000dc00
mov edx, dword [rbx + 4]
lea rdi, [rbx + 8]
lea r9, [rsp + 0x58]
mov r8, rdi
mov rcx, rsi
call fcn.14000bea0
mov r14, rax
test rax, rax
je 0x14000dbac
mov rdx, qword [rax]
mov rcx, qword [rdx]
cmp rcx, rdx
je 0x14000db54
mov r8d, dword [rbx]
cmp dword [rcx + 0x10], r8d
je 0x14000db4f
mov rcx, qword [rcx]
cmp rcx, rdx
jne 0x14000db41
cmp rcx, rdx
jne 0x14000dbac
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x40], rbp
call fcn.14000ed00
mov ebp, dword [r14 + 8]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000db70
add rax, 0xfffffffffffffffc
lea rdx, str..exe
lea rcx, [rdi + rax*2]
call fcn.14001a96c
test eax, eax
je 0x14000db94
mov ebp, dword [rbx]
mov rdx, qword [rsp + 0x58]
mov r9d, ebp
mov r8, rdi
mov rcx, rsi
call fcn.14000da50
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
mov edx, dword [rdx]
lea r8, [rsp + 0x58]
call fcn.14000bdd0
mov rdi, rax
test rax, rax
je 0x14000dbb1
cmp qword [rax + 8], 0
jbe 0x14000dbb1
mov rdx, rbx
mov rcx, rax
call fcn.14000ed70
mov r9d, dword [rdi + 8]
mov rdx, qword [rsp + 0x58]
lea r8, [rbx + 8]
mov rcx, rsi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.14000da50
Function at 0x14000dc00
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14004c120]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor eax, eax
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
test edx, edx
je 0x14000dc64
mov r8, qword [rcx + 0x20]
mov rax, qword [r8]
cmp rax, r8
je 0x14000dc64
nop dword [rax + rax]
mov rcx, qword [rax + 0x10]
cmp dword [rcx], edx
je 0x14000dd21
mov rax, qword [rax]
cmp rax, r8
jne 0x14000dc50
lea rdx, [rsp + 0x20]
mov ecx, edi
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x14000dd01
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x28]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x14000dd01
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x14000dd01
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14000dcfb
mov r10, qword [rbx + 0x20]
mov rax, qword [r10]
cmp rax, r10
je 0x14000dcfb
mov rcx, qword [rax + 0x10]
lea r9, [rsp + 0x40]
add rcx, 4
sub r9, rcx
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x14000dce6
add rcx, 2
test edx, edx
jne 0x14000dcd0
test r8d, r8d
je 0x14000dcf5
mov rax, qword [rax]
cmp rax, r10
jne 0x14000dcc0
jmp 0x14000dcfb
mov rcx, qword [rax + 0x10]
mov dword [rcx], edi
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000dd11
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14000dd21
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140018f80
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140010280
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x50
xor edi, edi
lea rax, [rsp + 0x68]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelCplsigfxcpl.cpl
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140010322
lea rax, [rsp + 0x60]
mov qword [rsp + 0x78], rbx
mov rbx, qword [rsp + 0x70]
lea r9d, [rdi + 4]
lea rdx, str.RunLevel
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140010315
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x140011610
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
xor eax, eax
xor ebx, ebx
lea rcx, [rsp + 0x78]
lea r8d, [rbx + 0x60]
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.140018fb0
lea rax, [rsp + 0x50]
lea rdx, [0x140050db0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001169d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0xe0
pop rbx
ret
Function at 0x1400116b0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x150
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov ebx, ecx
lea r8, [0x140051e90]
mov edx, 0x400
lea rcx, [0x140052f00]
call fcn.140019df0
lea r8, str.8A694AF2_286D_429D_867A_3F95898EE308.bat
mov edx, 0x432
lea rcx, [0x140052f00]
call fcn.140019d68
lea rcx, [0x140052f00]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140011712
lea rcx, [0x140052f00]
call fcn.14001bc90
lea rcx, [0x140052f00]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400118bc
mov dword [rsp + 0x20], 1
lea r9d, [rax + 0x40]
lea r8d, [rax + 2]
lea rdx, [0x140052f00]
lea rcx, [rsp + 0x40]
call fcn.14000f6c0
nop
lea rdx, str._echo_off
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
cmp ebx, 1
jne 0x1400117a5
lea rdx, str.sc_stop_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rdx, str.sc_delete_igfxCUIService1.0.0.0
jmp 0x140011832
cmp ebx, 2
jne 0x140011844
lea rdx, str.sc_stop_igfxCUIService2.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rdx, str.TIMEOUT_1__NOBREAK
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rdx, str.sc_delete_igfxCUIService2.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rdx, str.TIMEOUT_5__NOBREAK
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rdx, str.igfxCUIService__service
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rdx, str.sc_start_igfxCUIService1.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rdx, str.del__Q_86F549EB_A66B_4D6C_958D_CDDD66410751.bat
lea rcx, [rsp + 0x40]
call fcn.14000ee20
mov rcx, rax
call fcn.14000f300
lea rcx, [rsp + 0x48]
call fcn.140012910
test rax, rax
jne 0x140011893
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x40]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x14001188a
or edx, 4
xor r8d, r8d
call fcn.140012820
nop
lea rcx, [rsp + 0xe8]
call fcn.14000fdf0
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xe8]
call fcn.14002fa7c
mov al, 1
add rsp, 0x150
pop rbx
ret
Function at 0x140011bb0
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x48
xor eax, eax
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelCpls
lea rcx, [rsp + 0x20]
mov r9d, 0xf003f
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], rax
call fcn.140006000
test eax, eax
jne 0x140011ca1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
test rcx, rcx
je 0x140011c0f
mov rbx, qword [rsp + 0x20]
lea r8, str.igfxcpl.cpl
mov rdx, rbx
call fcn.140007660
jmp 0x140011c87
cmp byte [0x1400504c0], 0
jne 0x140011c5a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011c4a
lea rdx, [0x140034148]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1400504c0], 1
mov qword [0x1400504b8], rax
jmp 0x140011c61
mov rax, qword [0x1400504b8]
mov byte [0x1400504c0], 1
jmp 0x140011c61
mov rax, qword [0x1400504b8]
mov rbx, qword [rsp + 0x20]
lea rdx, str.igfxcpl.cpl
mov rcx, rbx
test rax, rax
je 0x140011c81
mov r8d, dword [rsp + 0x28]
xor r9d, r9d
call rax
jmp 0x140011c87
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x140011c95
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140011cb1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x48
ret

Function at 0x140011cc0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
xor eax, eax
xor ebx, ebx
lea rcx, [rsp + 0x78]
lea r8d, [rbx + 0x60]
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.140018fb0
lea rax, [rsp + 0x50]
lea rdx, [0x140051620]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140011d4d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0xe0
pop rbx
ret
Function at 0x140016720
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
mov rbx, rdx
lea r8, str.SOFTWAREIntelDisplayigfxcuiMISC
lea rcx, [rsp + 0x30]
mov r9d, 0x2001f
mov rdx, 0xffffffff80000002
xor dil, dil
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
call fcn.140006000
test eax, eax
jne 0x1400167b9
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov rbx, qword [rsp + 0x30]
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x70], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x1400167b4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dil, 1
jmp 0x1400167be
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400167cc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
movzx eax, dil
add rsp, 0x50
pop rdi
ret

Function at 0x140016e00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
mov ebx, edx
lea r8, str.SOFTWAREIntelDisplayigfxcuiMISC
lea rcx, [rsp + 0x30]
mov r9d, 0x2001f
mov rdx, 0xffffffff80000002
xor dil, dil
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
call fcn.140006000
test eax, eax
jne 0x140016e98
mov dword [rsp + 0x70], ebx
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x70]
mov r9d, 4
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140016e93
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dil, 1
jmp 0x140016e9d
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140016eab
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
movzx eax, dil
add rsp, 0x50
pop rdi
ret
Function at 0x1400170a0
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov edi, r8d
lea rdx, str.Received_Post_Shell_Event__ld_n
lea rcx, [0x14004f170]
call fcn.140005d10
xor esi, esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rsi
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcuiMISC
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.140006000
mov rbx, qword [rsp + 0x38]
test eax, eax
jne 0x140017150
mov dword [rsp + 0x78], 2
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, str.InstallStage
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14001714c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, esi
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
call fcn.1400110f0
xor edx, edx
mov ecx, edi
call fcn.140011100
mov byte [0x140054010], 1
test rbx, rbx
je 0x140017173
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140017f60
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
lea rbx, [rcx + 0x10]
xor edx, edx
mov rdi, rcx
lea r9, [0x140038ca0]
lea rcx, [0x1400411d0]
lea r8d, [rdx + 0x17]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140017ffc
mov rcx, qword [rbx]
test rcx, rcx
je 0x140017ffc
mov rax, qword [rcx]
xor ebx, ebx
add rdi, 0x18
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rdx, str.ROOTCIMV2
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
test eax, eax
js 0x140017ffc
mov rcx, qword [rdi]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
lea edx, [rbx + 0xa]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x14001bc90
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001bca6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001bca8
xor eax, eax
test eax, eax
je 0x14001bcb8
mov ecx, eax
call fcn.14001e7a0
or eax, 0xffffffff
jmp 0x14001bcba
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001e30
Capabilities:
Create thread
Execute command
Initialize winsock library

Disassembly:
sub rsp, 0x208
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rdx, qword [0x140007798]
lea rax, str._frog
cmp rdx, qword [0x1400077a0]
mov qword [rsp + 0x30], rax
lea rax, [0x140002540]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x40], 0
je 0x140001ead
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
mov rdx, qword [0x140007798]
add rdx, 0x18
mov qword [0x140007798], rdx
jmp 0x140001ec5
lea r8, [rsp + 0x30]
lea rcx, [0x140007790]
call fcn.1400035f0
mov rdx, qword [0x140007798]
cmp rdx, qword [0x1400077a0]
lea rax, str._sigma
mov qword [rsp + 0x30], rax
lea rax, [0x140002b40]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x40], 0
je 0x140001f08
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [0x140007798], 0x18
jmp 0x140001f19
lea r8, [rsp + 0x30]
lea rcx, [0x140007790]
call fcn.1400035f0
xor eax, eax
lea r8, [0x140001c70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140003a20
add rsp, 0x208
ret
Function at 0x140003450
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140003485
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140002d10
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400035b5
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
movzx edx, byte [rax + 0x11]
xor r9, rbp
mov r11, qword [rsi + 0x30]
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x14000352a
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400035a4
mov rdx, qword [r11 + 8]
movzx r9d, word [rax + 0x10]
cmp r9w, word [rdx + 0x10]
jne 0x140003569
mov r10, qword [rdx]
cmp r10, rax
je 0x140003563
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400035a4
cmp r8, rdx
je 0x140003580
nop
mov rdx, qword [rdx + 8]
cmp r9w, word [rdx + 0x10]
je 0x1400035c6
cmp r8, rdx
jne 0x140003570
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400034f0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400035a4

Function at 0x14000455c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400045a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400045a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400045a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400045a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400045a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400045a8
xor al, al
add rsp, 0x28
ret
Function at 0x140003bd0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
mov ebx, edx
mov ecx, edx
mov rbp, r8
call fcn.140004798
mov r8d, ebx
mov edx, 0x90
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov r9d, 0x40
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, rdi
call fcn.140004764
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400042d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret