joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140170b20
Capabilities:
Create thread

Disassembly:
jmp 0x140170b20
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x50]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
lea rcx, [0x1405e3f60]
call sym.ProcessHacker.exe_PhAllocateFromFreeList
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [0x14000b160]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x140170bf9
lea rax, [0x1405e86a0]
lock inc dword [rax]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
jmp 0x140170c14
lea rax, [0x1405e86a4]
lock inc dword [rax]
mov rdx, qword [rsp + 0x78]
lea rcx, [0x1405e3f60]
call sym.ProcessHacker.exe_PhFreeToFreeList
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404dc200]
call fcn.140015750
mov eax, edi
add rsp, 0x80
pop rdi
ret

Function at 0x140170c40
Capabilities:
Create thread

Disassembly:
jmp 0x140170c40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rcx, [0x1405e3f60]
call sym.ProcessHacker.exe_PhAllocateFromFreeList
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [0x14000b160]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x140170ce1
lea rax, [0x1405e86a0]
lock inc dword [rax]
jmp 0x140170cfc
lea rax, [0x1405e86a4]
lock inc dword [rax]
mov rdx, qword [rsp + 0x58]
lea rcx, [0x1405e3f60]
call sym.ProcessHacker.exe_PhFreeToFreeList
mov eax, dword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret

Function at 0x140177280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x140177280
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov dword [rsp], 0
cmp qword [rsp + 0x28], 0
jne 0x1401772a3
mov eax, dword [rsp]
jmp 0x1401772e4
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1401772a3
mov eax, dword [rsp]
add rsp, 0x10
pop rdi
ret
Function at 0x1401772f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
jmp 0x1401772f0
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x140177318
xor eax, eax
jmp 0x1401773ba
xor edx, edx
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov ecx, 2
div rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x58]
test eax, eax
jne 0x140177360
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhHashBytes
jmp 0x1401773ba
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
movzx ecx, word [rsp + 0x38]
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx eax, ax
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x20], 0x1000193
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140177360
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x1401805e0
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401805e0
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
lea rcx, [0x1405d5f60]
call fcn.1400135b0
movzx eax, al
test eax, eax
je 0x140180703
mov r9d, 4
lea r8, [0x1405e3fa0]
mov edx, 0xe
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x14018068a
mov eax, 2
imul rax, rax, 0
lea rcx, [0x1405e3fa0]
mov edx, 0x2e
mov word [rcx + rax], dx
mov qword [rsp + 0x78], 2
cmp qword [rsp + 0x78], 8
jae 0x140180673
jmp 0x140180678
call fcn.140012fb0
lea rax, [0x1405e3fa0]
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rax + rdx], cx
mov r9d, 4
lea r8, [0x1405e3fa8]
mov edx, 0xf
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401806f7
mov eax, 2
imul rax, rax, 0
lea rcx, [0x1405e3fa8]
mov edx, 0x2c
mov word [rcx + rax], dx
mov qword [rsp + 0x80], 2
cmp qword [rsp + 0x80], 8
jae 0x1401806dd
jmp 0x1401806e2
call fcn.140012fb0
lea rax, [0x1405e3fa8]
xor ecx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rax + rdx], cx
lea rcx, [0x1405d5f60]
call sym.ProcessHacker.exe_PhfEndInitOnce
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0xb0]
test eax, eax
je 0x14018072f
mov dword [rsp + 0x88], 3
jmp 0x14018073a
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
lea rax, [0x1405e3fa0]
mov qword [rsp + 0x58], rax
lea rax, [0x1405e3fa8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
shl rax, 1
mov rdx, rax
xor ecx, ecx
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x1401807ec
mov rcx, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhDereferenceObject
xor eax, eax
jmp 0x1401807fb
mov rcx, qword [rsp + 0x30]
call fcn.140016ad0
mov rax, qword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404dea80]
call fcn.140015750
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x140184020
Capabilities:
Create process on windows

Disassembly:
jmp 0x140184020
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x20]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov dword [rsp + 0x30], 0x70
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], 0x400
mov dword [rsp + 0x60], 5
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1401840cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
xor r8d, r8d
lea rdx, str.Unable_to_execute_the_program.
mov rcx, qword [rsp + 0xc0]
call sym.ProcessHacker.exe_PhShowStatus
mov rcx, rsp
lea rdx, [0x1404e0670]
call fcn.140015750
add rsp, 0xb0
pop rdi
ret

Function at 0x1401840f0
Capabilities:
Create process on windows

Disassembly:
jmp 0x1401840f0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov dword [rsp + 0x30], 0x70
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], 0x440
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x100]
and eax, 1
test eax, eax
je 0x140184192
lea rax, str.runas
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x100]
and eax, 4
test eax, eax
je 0x1401841ac
mov eax, dword [rsp + 0x34]
bts eax, 0x17
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140184266
cmp dword [rsp + 0x108], 0
je 0x140184227
mov eax, dword [rsp + 0x100]
and eax, 2
test eax, eax
jne 0x14018420b
cmp qword [rsp + 0x98], 0
je 0x140184209
mov edx, dword [rsp + 0x108]
lea rcx, [rsp + 0xb8]
call fcn.14000ba20
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
jmp 0x140184227
mov r9d, dword [rsp + 0x108]
lea r8, [rsp + 0x98]
mov edx, 1
xor ecx, ecx
call fcn.14000a540
cmp qword [rsp + 0x110], 0
je 0x140184247
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
jmp 0x140184260
cmp qword [rsp + 0x98], 0
je 0x140184260
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
jmp 0x140184268
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404e0710]
call fcn.140015750
mov rax, rdi
add rsp, 0xd0
pop rdi
ret
Function at 0x1401843b0
Capabilities:
Create process on windows

Disassembly:
jmp 0x1401843b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x20]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov dword [rsp + 0x30], 0x70
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], 5
mov dword [rsp + 0x34], 0x40c
lea rax, str.properties
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140184459
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
xor r8d, r8d
lea rdx, str.Unable_to_execute_the_program.
mov rcx, qword [rsp + 0xc0]
call sym.ProcessHacker.exe_PhShowStatus
mov rcx, rsp
lea rdx, [0x1404e0820]
call fcn.140015750
add rsp, 0xb0
pop rdi
ret

Function at 0x1401859a0
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401859a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x10
mov eax, dword [rsp + 0x20]
xor eax, 0xffffffff
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp], 0
je 0x140185a17
mov eax, dword [rsp + 0x20]
shr eax, 8
mov rcx, qword [rsp + 0x28]
movsx ecx, byte [rcx]
mov edx, dword [rsp + 0x20]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1405d7ad0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1401859be
mov eax, dword [rsp + 0x20]
xor eax, 0xffffffff
add rsp, 0x10
pop rdi
ret
Function at 0x140187170
Capabilities:
Create directory

Disassembly:
jmp 0x140187170
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x20]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xd8], rax
lea rcx, [0x1405d60f0]
call fcn.1400135b0
movzx eax, al
test eax, eax
je 0x1401873bb
lea rax, [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov r8b, 2
lea rdx, [0x1405d6110]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_RtlInitializeSid]
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov dword [rax], 0x20
mov edx, 1
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov dword [rax], 0x220
lea rcx, [0x1405d7298]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov rcx, qword [rsp + 0xc0]
lea rax, [rcx + rax + 0x48]
mov qword [rsp + 0xc8], rax
lea rcx, [0x1405d72f8]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov rcx, qword [rsp + 0xc8]
lea rax, [rcx + rax + 0xc]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0xb0], rax
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
mov eax, dword [rsp + 0x70]
sub rax, 0x28
mov r8d, 2
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
lea r9, [0x1405d7298]
mov r8d, 0xf000f
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
mov r9, qword [rsp + 0xa8]
mov r8d, 0xf000f
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
lea r9, [0x1405d72f8]
mov r8d, 7
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
xor r9d, r9d
mov r8, qword [rsp + 0xb0]
mov dl, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
mov dword [rsp + 0x28], 0x30
mov qword [rsp + 0x30], 0
cmp dword [0x1405d62d4], 0x64
jae 0x140187355
mov dword [rsp + 0xd0], 0
jmp 0x140187360
mov dword [rsp + 0xd0], 0x1000
mov eax, dword [rsp + 0xd0]
bts eax, 7
mov dword [rsp + 0x40], eax
lea rax, [0x1405d6100]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
lea r8, [rsp + 0x28]
mov edx, 0x2000000
lea rcx, [0x1405e3fe8]
call qword [sym.imp.ntdll.dll_NtCreateDirectoryObject]
mov rcx, qword [rsp + 0x68]
call sym.ProcessHacker.exe_PhFree
lea rcx, [0x1405d60f0]
call sym.ProcessHacker.exe_PhfEndInitOnce
mov rax, qword [0x1405e3fe8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404e18f0]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xe0
pop rdi
ret
Function at 0x140187400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140187400
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x20]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x58]
mov r8d, 3
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
jge 0x140187490
xor al, al
jmp 0x1401874f1
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
jge 0x1401874b8
xor al, al
jmp 0x1401874f1
cmp qword [rsp + 0xe8], 0
je 0x1401874d1
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x74]
mov dword [rax], ecx
cmp qword [rsp + 0xf0], 0
je 0x1401874ef
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404e1a40]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xc0
pop rdi
ret

Function at 0x1401881e0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401881e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14018820d
mov eax, 0xc000012f
jmp 0x140188267
mov rax, qword [rsp]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0x10], 0
je 0x140188229
cmp dword [rsp + 0x10], 0x7fffffff
jb 0x140188230
mov eax, 0xc000007b
jmp 0x140188267
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x140188258
mov eax, 0xc000007b
jmp 0x140188267
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 8]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140188320
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140188320
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov qword [rsp], 0
mov qword [rsp + 0x10], 0
mov dword [rsp + 0x18], 0
jmp 0x14018835e
mov eax, dword [rsp + 0x18]
inc eax
mov dword [rsp + 0x18], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x18], eax
jae 0x1401883fe
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp + 0x18]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x40], rax
jb 0x1401883f9
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx + 0x10]
add rax, rcx
cmp qword [rsp + 0x40], rax
jae 0x1401883f9
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
mov qword [rsp], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
jmp 0x1401883fe
jmp 0x140188354
cmp qword [rsp + 0x10], 0
je 0x14018842a
cmp qword [rsp], 0
je 0x14018842a
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov qword [rax], rcx
xor eax, eax
jmp 0x14018842f
mov eax, 0xc0000049
add rsp, 0x20
pop rdi
ret

Function at 0x140188440
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140188440
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov qword [rsp], 0
mov qword [rsp + 0x10], 0
mov dword [rsp + 0x18], 0
jmp 0x14018847d
mov eax, dword [rsp + 0x18]
inc eax
mov dword [rsp + 0x18], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x18], eax
jae 0x1401884f9
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp + 0x18]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx + 0xc]
cmp rax, rcx
jb 0x1401884f4
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 8]
mov edx, dword [rdx + 0x10]
add rcx, rdx
cmp rax, rcx
jae 0x1401884f4
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
mov qword [rsp], rax
mov rax, qword [rsp + 8]
mov qword [rsp + 0x10], rax
jmp 0x1401884f9
jmp 0x140188473
cmp qword [rsp + 0x10], 0
je 0x140188525
cmp qword [rsp], 0
je 0x140188525
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp]
mov qword [rax], rcx
xor eax, eax
jmp 0x14018852a
mov eax, 0xc0000049
add rsp, 0x20
pop rdi
ret
Function at 0x140188fe0
Capabilities:
Read file on windows

Disassembly:
jmp 0x140188fe0
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10d0
call fcn.1400056d0
sub rsp, rax
lea rdi, [rsp + 0x50]
mov ecx, 0x420
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x10e0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x10c0], rax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x60], 0x1000
mov eax, dword [rsp + 0x60]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x1000
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x10e0]
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
jl 0x140189113
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1401890aa
jmp 0x140189113
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x60], eax
jae 0x1401890db
mov eax, dword [rsp + 0x60]
shl eax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhReAllocate
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [rsp + 0xb0]
call fcn.14000d4b0
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
jmp 0x14018904b
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
inc rcx
cmp rax, rcx
jae 0x140189142
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhReAllocate
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x64], 0
jbe 0x14018918e
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
movzx eax, byte [rsp + 0x10e8]
test eax, eax
je 0x140189179
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
mov qword [rsp + 0x50], rax
jmp 0x14018918e
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhCreateBytesEx
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhFree
mov rax, qword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404e2870]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x10c0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x10d0
pop rdi
ret