joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x1400556fe
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x1400556fe
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400556fe
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x140055640
cmp rax, 2
jbe 0x1400556fe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jae 0x140055672
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.14004baa0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test rbx, rbx
je 0x1400556f1
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x1400556e9
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400556e9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x1400556b2
cmp rax, 2
jbe 0x1400556e9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x1400556e4
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x140055694
mov edi, 1
mov rcx, rbx
call fcn.140125e14
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140055900
Capabilities:
Check if file exists
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
mov ebx, ebp
mov dword [rsp + 0x40], ebp
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140055a46
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], Ordinal_133
mov edx, 0x80000000
mov rcx, rdi
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14005596f
xor eax, eax
jmp 0x140055a41
mov ecx, 0xa00000
call fcn.140125a94
xor edx, edx
mov r8d, 0xa00000
mov rcx, rax
mov rdi, rax
call fcn.1402767a0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, 0xa00000
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140055a29
mov qword [rsp + 0x80], r14
lea r14, [0x14031ddd0]
nop dword [rax + rax]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140055a21
not ebx
jle 0x1400559ff
mov r8, rdi
mov r9d, eax
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8]
lea r8, [r8 + 1]
mov eax, ebx
xor rcx, rax
shr eax, 8
movzx edx, cl
mov ebx, dword [r14 + rdx*4]
xor ebx, eax
sub r9, 1
jne 0x1400559e0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, 0xa00000
mov rdx, rdi
mov rcx, rsi
not ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400559c0
mov r14, qword [rsp + 0x80]
test rdi, rdi
je 0x140055a36
mov rcx, rdi
call fcn.140125e14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x140055a60
Capabilities:
Get common file path
Query environment variable
Set current directory

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x4a0
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov qword [r11 + 0x10], rbx
xor edi, edi
mov rbx, rcx
mov qword [r11 + 0x20], rsi
lea rcx, [r11 - 0x228]
mov qword [rsp + 0x20], rdi
xor edx, edx
mov r8d, 0x208
call fcn.1402767a0
lea rdx, [rsp + 0x280]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x50], 3
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov rsi, rax
test rax, rax
je 0x140055b81
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140055b78
xor r8d, r8d
mov qword [rsp + 0x4c0], rbp
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x140055b70
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rbp
cmovo rax, rcx
mov rcx, rax
call fcn.140125a94
lea r8, [rbp*2]
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1402767a0
mov r8d, ebp
lea rcx, [rsp + 0x70]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rbp, qword [rsp + 0x4c0]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
mov rsi, qword [rsp + 0x4c8]
mov rbx, qword [rsp + 0x4b8]
test eax, eax
js 0x140055bb0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140055bb0
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, rdi
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x4a0
pop rdi
ret

Function at 0x14005c5e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [0x140455498]
test rax, rax
jne 0x14005c644
lea ecx, [rax + 1]
mov qword [rsp + 0x60], rbx
call fcn.140125dd0
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov ecx, 0x40
add eax, eax
mov qword [0x140455498], rbx
cmp eax, ecx
cmovae eax, ecx
mov dword [0x140455464], eax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x68
ret
Function at 0x14005c6d0
Capabilities:
Delete file
Get file size

Disassembly:
push rbx
push rsi
sub rsp, 0x68
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, r8
mov rbx, rdx
test rdx, rdx
je 0x14005c893
test r8, r8
je 0x14005c893
mov qword [rsp + 0x60], rdi
call fcn.14012a530
mov rdi, rax
test rax, rax
je 0x14005c86d
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], Ordinal_133
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 4
mov rcx, rsi
mov qword [rsp + 0x80], rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14005c88f
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 1
jbe 0x14005c79e
mov r8d, dword [rsp + 0x40]
mov edx, 0x75a4
shl r8, 0x20
mov rcx, rdi
mov eax, eax
add r8, rax
mov qword [rsp + 0x48], r8
call fcn.14012e970
mov edx, dword [rsp + 0x48]
lea r8, [rsp + 0x4c]
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x40]
call fcn.14012e970
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x51]
call fcn.14012e970
mov edx, 0x63
mov rcx, rdi
lea r8d, [rdx - 0x62]
call fcn.14012e970
mov r8, rbx
mov edx, 0x2712
mov rcx, rdi
call fcn.14012e970
lea r8, [0x14005c660]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.14012e970
mov r8, rbp
mov edx, 0x2711
mov rcx, rdi
call fcn.14012e970
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x2b]
call fcn.14012e970
mov edx, reloc.WS2_32.dll_gethostbyname
mov rcx, rdi
lea r8d, [rdx - 0x33]
call fcn.14012e970
mov edx, reloc.WS2_32.dll_sendto
mov rcx, rdi
lea r8d, [rdx + 0x28]
call fcn.14012e970
mov edx, reloc.WS2_32.dll_send
mov rcx, rdi
lea r8d, [rdx + 0xb]
call fcn.14012e970
mov rcx, rdi
call fcn.14012a580
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14012a510
test ebx, ebx
jne 0x14005c886
lea eax, [rbx + 1]
mov rbp, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x68
pop rsi
pop rbx
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x14005c865
xor eax, eax
jmp 0x14005c872
Function at 0x14005d650
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
mov r11, rsp
push rbx
push rbp
push r12
push r14
sub rsp, 0x58
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov qword [r11 + 8], rsi
mov esi, r14d
mov qword [r11 - 0x48], r14
mov ebp, r14d
mov dword [r11 - 0x38], r14d
mov qword [r11 - 0x28], r15
mov r12, rdx
call fcn.14005d5b0
mov r15d, eax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x14005d75b
mov qword [rsp + 0x90], rdi
mov edi, r14d
cmp dword [rsp + 0x40], r14d
jbe 0x14005d748
nop dword [rax + rax]
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x30]
cmp qword [rax + rcx*8 + 8], r14
lea rbx, [rax + rcx*8]
je 0x14005d740
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005d740
mov edx, reloc.WS2_32.dll_shutdown
call qword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
test eax, eax
je 0x14005d740
test esi, esi
jne 0x14005d720
cmp dword [rbx], r14d
jne 0x14005d720
mov rdx, qword [rbx + 8]
lea rcx, str.lsass.exe
call fcn.1402779b8
test eax, eax
jne 0x14005d720
mov esi, dword [rbx + 4]
jmp 0x14005d740
test ebp, ebp
jne 0x14005d740
cmp r15d, dword [rbx]
jne 0x14005d740
mov rdx, qword [rbx + 8]
lea rcx, [0x14031e6d8]
call fcn.1402779b8
test eax, eax
jne 0x14005d740
mov ebp, dword [rbx + 4]
inc edi
cmp edi, dword [rsp + 0x40]
jb 0x14005d6d0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov rdi, qword [rsp + 0x90]
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, qword [rsp + 0x50]
mov rbx, rax
mov rsi, qword [rsp + 0x80]
test rax, rax
jne 0x14005d798
mov r8d, ebp
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14005d7f1
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], r14
mov edx, 2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14005d7e8
mov rcx, qword [rsp + 0x38]
mov r9d, 1
mov qword [rsp + 0x28], r12
xor r8d, r8d
mov edx, 0x2000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, qword [rsp + 0x38]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x58
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x14005d9a0
Capabilities:
Query service status
Start service

Disassembly:
push rbx
push rdi
sub rsp, 0x58
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x14005db4d
test rcx, rcx
je 0x14005db4d
mov qword [rsp + 0x88], rsi
xor eax, eax
mov qword [rdx], rax
xor esi, esi
xor edx, edx
mov qword [rsp + 0x50], r12
xor ecx, ecx
lea r8d, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r12, rax
test rax, rax
je 0x14005db46
lea r8d, [rsi + 0x14]
mov qword [rsp + 0x48], r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
je 0x14005db10
mov qword [rsp + 0x80], rbp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], r15
lea r9d, [rsi + 0x24]
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x30], esi
mov rcx, r14
mov r15d, esi
mov edi, esi
xor bpl, bpl
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14005daf8
nop word [rax + rax]
mov eax, dword [rbx + 4]
cmp eax, 1
jne 0x14005da84
test bpl, bpl
jne 0x14005daec
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x14005daf8
mov bpl, 1
jmp 0x14005dac4
add eax, 0xfffffffe
cmp eax, 1
ja 0x14005daf8
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
test rdi, rdi
jne 0x14005dab0
mov r15d, dword [rbx + 0x14]
xor edx, edx
mov ecx, 0xfa
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x14005dac4
cmp dword [rbx + 0x14], r15d
ja 0x14005dac1
mov eax, dword [rbx + 0x18]
sub rcx, rdi
cmp rcx, rax
ja 0x14005daf3
mov rdi, rsi
lea rax, [rsp + 0x30]
mov r9d, Ordinal_41
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14005da60
jmp 0x14005daf8
mov esi, 1
jmp 0x14005daf8
mov esi, 0x5b4
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r15, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x80]
jmp 0x14005db15
mov esi, 1
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r14, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x88]
mov r12, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x58
pop rdi
pop rbx
ret
mov eax, 1
jmp 0x14005db25
mov eax, 0x80070057
jmp 0x14005db32
Function at 0x14005e600
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, ecx
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x410
call fcn.1402767a0
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x410
call fcn.1402767a0
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, 0x410
mov rdi, rax
call fcn.140125a94
xor edx, edx
mov r8d, 0x410
mov rcx, rax
mov rbx, rax
call fcn.1402767a0
mov r9d, 0x104
mov r8, rbx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
jne 0x14005e6ac
test rbx, rbx
je 0x14005e6ac
mov rcx, rbx
call fcn.140125e14
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
jne 0x14005e843
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14005e843
mov ecx, 0x420
call fcn.140125a94
xor edx, edx
mov r8d, 0x420
mov rcx, rax
mov rdi, rax
call fcn.1402767a0
mov rcx, qword gs:[0x58]
mov eax, Ordinal_27
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x140458c68], ecx
jle 0x14005e758
lea rcx, [0x140458c68]
call fcn.140125c74
cmp dword [0x140458c68], 0xffffffff
jne 0x14005e758
lea rcx, [0x14031eb48]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x14031eb20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140458c68]
mov qword [0x140458c60], rax
call fcn.140125c14
mov rax, qword [0x140458c60]
test rax, rax
je 0x14005e799
lea rcx, [rsp + 0x30]
mov r9d, 0x420
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_27
call rax
test eax, eax
js 0x14005e799
movzx r8d, word [rdi]
lea rcx, [rsp + 0x40]
mov rdx, qword [rdi + 8]
call fcn.1402743b0
jmp 0x14005e7b5
mov r8d, 0x208
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x14005e843
test rdi, rdi
je 0x14005e7c2
mov rcx, rdi
call fcn.140125e14
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x40]
call fcn.140055470
test eax, eax
je 0x14005e83a
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x450]
mov rax, rdx
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005e7f0
add eax, eax
mov ecx, eax
add rcx, 2
mov dword [rsp + 0x30], eax
cmovb rcx, rdx
call fcn.14027bdf8
mov r8d, dword [rsp + 0x30]
xor edx, edx
add r8, 2
mov rcx, rax
mov rbx, rax
call fcn.1402767a0
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x450]
mov rcx, rbx
call fcn.1402743b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140125a70
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14005e960
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor r14d, r14d
mov edi, r8d
mov rbp, rdx
mov dword [rsp + 0x68], r14d
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov ebx, r9d
lea r8d, [r14 + 0x68]
call fcn.1402767a0
xor eax, eax
mov dword [rsp + 0x70], WSAGetLastError
mov qword [rsp + 0x50], rax
lea r15d, [r14 + 1]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
test ebx, ebx
jne 0x14005e9db
mov word [rsp + 0xb0], r14w
mov dword [rsp + 0xac], r15d
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x14005ea4b
cmp edi, r15d
jb 0x14005ea33
mov rcx, qword [rsp + 0x50]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
cmove ebx, r15d
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
cmovne ebx, r15d
mov eax, ebx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005eb40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor edi, edi
lea rcx, [rsp + 0x70]
mov rbx, rdx
mov dword [rsp + 0x68], edi
xor edx, edx
lea r8d, [rdi + 0x68]
call fcn.1402767a0
xor eax, eax
mov dword [rsp + 0x70], WSAGetLastError
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14005ec12
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
mov edi, 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14005ec12
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [rsp + 0x60]
call fcn.14005ea80
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
cmovne ebx, edi
mov eax, ebx
jmp 0x14005ec14
mov eax, edi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x100]
add rsp, 0xf0
pop rdi
ret
Function at 0x14005efb0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
xor ebx, ebx
call fcn.1402767a0
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14005f087
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x28], eax
je 0x14005f075
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x4c]
call fcn.1402779b8
test eax, eax
jne 0x14005f075
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14005f070
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005f020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x14005f0c0
Capabilities:
Check if file exists
Enumerate processes
Terminate process

Disassembly:
push rsi
sub rsp, 0x270
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
call fcn.1402767a0
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14005f21f
mov qword [rsp + 0x288], rbp
mov ebp, 1
mov qword [rsp + 0x280], rbx
mov qword [rsp + 0x290], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x28], eax
je 0x14005f1f1
lea rdx, str.explorer.exe
xor edi, edi
lea rcx, [rsp + 0x4c]
call fcn.1402779b8
test eax, eax
je 0x14005f1c6
mov ecx, dword [rsp + 0x28]
call fcn.14005eee0
test eax, eax
jne 0x14005f1c6
mov ecx, dword [rsp + 0x28]
call fcn.14005e600
mov rbx, rax
test rax, rax
je 0x14005f1f1
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005f1f1
xor r8d, r8d
lea rdx, [0x14031edb0]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x14005f1ba
mov rcx, rbx
call fcn.14004d2b0
test eax, eax
cmove edi, ebp
mov rcx, rbx
call fcn.140125e14
test edi, edi
je 0x14005f1f1
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14005f1f1
mov edx, ebp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005f144
mov rdi, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x280]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x270
pop rsi
ret
Function at 0x14005f250
Capabilities:
Check if file exists
Enumerate processes
Terminate process

Disassembly:
test rcx, rcx
je 0x14005f3be
push rbx
sub rsp, 0x480
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005f3a6
mov r9, rbx
mov qword [rsp + 0x498], rsi
lea r8, [0x14031edd0]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.14004e9f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
call fcn.1402767a0
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14005f395
mov qword [rsp + 0x4a0], rdi
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rsp + 0x28]
cmp ecx, eax
je 0x14005f377
call fcn.14005e600
mov rbx, rax
test rax, rax
je 0x14005f377
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005f377
xor r8d, r8d
lea rdx, [rsp + 0x260]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
jne 0x14005f36f
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14005f36f
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140125e14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005f300
mov rdi, qword [rsp + 0x4a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x480
pop rbx
ret