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

Disassembly:
jmp 0x180160f30
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, [0x1808e8fd0]
call sym.ProcessMonitor.dll_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, [0x18000acc0]
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 0x180161009
lea rax, [0x180c392c0]
lock inc dword [rax]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
jmp 0x180161024
lea rax, [0x180c392c4]
lock inc dword [rax]
mov rdx, qword [rsp + 0x78]
lea rcx, [0x1808e8fd0]
call sym.ProcessMonitor.dll_PhFreeToFreeList
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804ac3e0]
call fcn.180014e20
mov eax, edi
add rsp, 0x80
pop rdi
ret

Function at 0x180161050
Capabilities:
Create thread

Disassembly:
jmp 0x180161050
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rcx, [0x1808e8fd0]
call sym.ProcessMonitor.dll_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, [0x18000acc0]
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 0x1801610f1
lea rax, [0x180c392c0]
lock inc dword [rax]
jmp 0x18016110c
lea rax, [0x180c392c4]
lock inc dword [rax]
mov rdx, qword [rsp + 0x58]
lea rcx, [0x1808e8fd0]
call sym.ProcessMonitor.dll_PhFreeToFreeList
mov eax, dword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret

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

Disassembly:
jmp 0x180167690
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 0x1801676b3
mov eax, dword [rsp]
jmp 0x1801676f4
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 0x1801676b3
mov eax, dword [rsp]
add rsp, 0x10
pop rdi
ret
Function at 0x180167700
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
jmp 0x180167700
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 0x180167728
xor eax, eax
jmp 0x1801677ca
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 0x180167770
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call sym.ProcessMonitor.dll_PhHashBytes
jmp 0x1801677ca
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 0x180167770
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x1801709e0
Capabilities:
Get geographical location

Disassembly:
jmp 0x1801709e0
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, [0x18059fc30]
call fcn.180012d60
movzx eax, al
test eax, eax
je 0x180170b03
mov r9d, 4
lea r8, [0x1808e9010]
mov edx, 0xe
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x180170a8a
mov eax, 2
imul rax, rax, 0
lea rcx, [0x1808e9010]
mov edx, 0x2e
mov word [rcx + rax], dx
mov qword [rsp + 0x78], 2
cmp qword [rsp + 0x78], 8
jae 0x180170a73
jmp 0x180170a78
call fcn.180012780
lea rax, [0x1808e9010]
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rax + rdx], cx
mov r9d, 4
lea r8, [0x1808e9018]
mov edx, 0xf
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x180170af7
mov eax, 2
imul rax, rax, 0
lea rcx, [0x1808e9018]
mov edx, 0x2c
mov word [rcx + rax], dx
mov qword [rsp + 0x80], 2
cmp qword [rsp + 0x80], 8
jae 0x180170add
jmp 0x180170ae2
call fcn.180012780
lea rax, [0x1808e9018]
xor ecx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rax + rdx], cx
lea rcx, [0x18059fc30]
call sym.ProcessMonitor.dll_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 0x180170b2f
mov dword [rsp + 0x88], 3
jmp 0x180170b3a
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
lea rax, [0x1808e9010]
mov qword [rsp + 0x58], rax
lea rax, [0x1808e9018]
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.ProcessMonitor.dll_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 0x180170bec
mov rcx, qword [rsp + 0x30]
call sym.ProcessMonitor.dll_PhDereferenceObject
xor eax, eax
jmp 0x180170bfb
mov rcx, qword [rsp + 0x30]
call fcn.1800160a0
mov rax, qword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804aec10]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x180174420
Capabilities:
Create process on windows

Disassembly:
jmp 0x180174420
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 0x1801744cf
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.ProcessMonitor.dll_PhShowStatus
mov rcx, rsp
lea rdx, [0x1804b0800]
call fcn.180014e20
add rsp, 0xb0
pop rdi
ret

Function at 0x1801744f0
Capabilities:
Create process on windows

Disassembly:
jmp 0x1801744f0
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 0x180174592
lea rax, str.runas
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x100]
and eax, 4
test eax, eax
je 0x1801745ac
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 0x180174666
cmp dword [rsp + 0x108], 0
je 0x180174627
mov eax, dword [rsp + 0x100]
and eax, 2
test eax, eax
jne 0x18017460b
cmp qword [rsp + 0x98], 0
je 0x180174609
mov edx, dword [rsp + 0x108]
lea rcx, [rsp + 0xb8]
call fcn.18000b560
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
jmp 0x180174627
mov r9d, dword [rsp + 0x108]
lea r8, [rsp + 0x98]
mov edx, 1
xor ecx, ecx
call fcn.18000a0f0
cmp qword [rsp + 0x110], 0
je 0x180174647
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
jmp 0x180174660
cmp qword [rsp + 0x98], 0
je 0x180174660
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
jmp 0x180174668
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804b08a0]
call fcn.180014e20
mov rax, rdi
add rsp, 0xd0
pop rdi
ret
Function at 0x1801747b0
Capabilities:
Create process on windows

Disassembly:
jmp 0x1801747b0
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 0x180174859
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.ProcessMonitor.dll_PhShowStatus
mov rcx, rsp
lea rdx, [0x1804b09b0]
call fcn.180014e20
add rsp, 0xb0
pop rdi
ret

Function at 0x180175da0
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x180175da0
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 0x180175e17
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, [0x1805a1760]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x180175dbe
mov eax, dword [rsp + 0x20]
xor eax, 0xffffffff
add rsp, 0x10
pop rdi
ret
Function at 0x180177570
Capabilities:
Create directory

Disassembly:
jmp 0x180177570
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x20]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xd8], rax
lea rcx, [0x18059fdc0]
call fcn.180012d60
movzx eax, al
test eax, eax
je 0x1801777bb
lea rax, [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov r8b, 2
lea rdx, [0x18059fde0]
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, [0x1805a0f28]
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, [0x1805a0f88]
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.ProcessMonitor.dll_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, [0x1805a0f28]
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, [0x1805a0f88]
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 [0x18059ff7c], 0x64
jae 0x180177755
mov dword [rsp + 0xd0], 0
jmp 0x180177760
mov dword [rsp + 0xd0], 0x1000
mov eax, dword [rsp + 0xd0]
bts eax, 7
mov dword [rsp + 0x40], eax
lea rax, [0x18059fdd0]
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, [0x1808e9058]
call qword [sym.imp.ntdll.dll_NtCreateDirectoryObject]
mov rcx, qword [rsp + 0x68]
call sym.ProcessMonitor.dll_PhFree
lea rcx, [0x18059fdc0]
call sym.ProcessMonitor.dll_PhfEndInitOnce
mov rax, qword [0x1808e9058]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804b1a80]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xe0
pop rdi
ret
Function at 0x180177800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x180177800
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 [0x1805a6200]
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 0x180177890
xor al, al
jmp 0x1801778f1
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 0x1801778b8
xor al, al
jmp 0x1801778f1
cmp qword [rsp + 0xe8], 0
je 0x1801778d1
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x74]
mov dword [rax], ecx
cmp qword [rsp + 0xf0], 0
je 0x1801778ef
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, [0x1804b1bd0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xc0
pop rdi
ret

Function at 0x1801785e0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1801785e0
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 0x18017860d
mov eax, 0xc000012f
jmp 0x180178667
mov rax, qword [rsp]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0x10], 0
je 0x180178629
cmp dword [rsp + 0x10], 0x7fffffff
jb 0x180178630
mov eax, 0xc000007b
jmp 0x180178667
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 0x180178658
mov eax, 0xc000007b
jmp 0x180178667
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 0x180178720
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180178720
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 0x18017875e
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 0x1801787fe
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 0x1801787f9
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 0x1801787f9
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 0x1801787fe
jmp 0x180178754
cmp qword [rsp + 0x10], 0
je 0x18017882a
cmp qword [rsp], 0
je 0x18017882a
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 0x18017882f
mov eax, 0xc0000049
add rsp, 0x20
pop rdi
ret

Function at 0x180178840
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180178840
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 0x18017887d
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 0x1801788f9
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 0x1801788f4
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 0x1801788f4
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 0x1801788f9
jmp 0x180178873
cmp qword [rsp + 0x10], 0
je 0x180178925
cmp qword [rsp], 0
je 0x180178925
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 0x18017892a
mov eax, 0xc0000049
add rsp, 0x20
pop rdi
ret
Function at 0x1801793e0
Capabilities:
Read file on windows

Disassembly:
jmp 0x1801793e0
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10d0
call fcn.180005520
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 [0x1805a6200]
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.ProcessMonitor.dll_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 0x180179513
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1801794aa
jmp 0x180179513
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x60], eax
jae 0x1801794db
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.ProcessMonitor.dll_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.18000cf00
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
jmp 0x18017944b
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
inc rcx
cmp rax, rcx
jae 0x180179542
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.ProcessMonitor.dll_PhReAllocate
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x64], 0
jbe 0x18017958e
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0
movzx eax, byte [rsp + 0x10e8]
test eax, eax
je 0x180179579
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhConvertUtf8ToUtf16Ex
mov qword [rsp + 0x50], rax
jmp 0x18017958e
mov eax, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhCreateBytesEx
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhFree
mov rax, qword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804b2a00]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x10c0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x10d0
pop rdi
ret