joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c9e60
Capabilities:
Enumerate services

Disassembly:
jmp 0x1401c9e60
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x50]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rsp + 0xc8], 0
jne 0x1401c9ed5
cmp dword [0x1405d62d4], 0x66
jb 0x1401c9eb4
mov dword [rsp + 0xc8], 0x3ff
jmp 0x1401c9ed5
cmp dword [0x1405d62d4], 0x64
jb 0x1401c9eca
mov dword [rsp + 0xc8], 0x1ff
jmp 0x1401c9ed5
mov dword [rsp + 0xc8], 0x3b
cmp dword [rsp + 0xd0], 0
jne 0x1401c9eea
mov dword [rsp + 0xd0], 3
mov eax, dword [0x1405d6998]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x94]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xd0]
mov r8d, dword [rsp + 0xc8]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1401ca01d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1401ca008
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, eax
call sym.ProcessHacker.exe_PhAllocate
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x94]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xd0]
mov r8d, dword [rsp + 0xc8]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1401ca01d
mov rcx, qword [rsp + 0x58]
call sym.ProcessHacker.exe_PhFree
xor eax, eax
jmp 0x1401ca047
cmp dword [rsp + 0x60], 0x20000
ja 0x1401ca031
mov eax, dword [rsp + 0x60]
mov dword [0x1405d6998], eax
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x94]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404fb300]
call fcn.140015750
mov rax, rdi
add rsp, 0xb0
pop rdi
ret
Function at 0x1401ca420
Capabilities:
Modify service

Disassembly:
jmp 0x1401ca420
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rsp + 0x58]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
je 0x1401ca470
mov dword [rsp + 0x34], 1
jmp 0x1401ca478
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404fb4f0]
call fcn.140015750
mov eax, edi
add rsp, 0x40
pop rdi
ret

Function at 0x1401d5c60
Capabilities:
Map section object

Disassembly:
jmp 0x1401d5c60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401d5d05
mov eax, dword [rsp + 0x50]
jmp 0x1401d5d3e
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x88]
mov rcx, 0xffffffffffffffff
call sym.ProcessHacker.exe_PhGetProcessMappedFileName
mov dword [rsp + 0x50], eax
mov rdx, qword [rsp + 0x88]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140501560]
call fcn.140015750
mov rax, rdi
add rsp, 0xa0
pop rdi
ret
Function at 0x1401d71f0
Capabilities:
Create thread

Disassembly:
jmp 0x1401d71f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x50]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x20], 0
jne 0x1401d7270
mov rax, qword [rsp + 0xa0]
add rax, 0x20
mov byte [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
mov edx, 0x1f0003
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtCreateEvent]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401d7270
mov eax, dword [rsp + 0x50]
jmp 0x1401d7460
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x28], 0
jne 0x1401d72bb
mov rax, qword [rsp + 0xa0]
add rax, 0x28
mov byte [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
mov edx, 0x1f0003
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtCreateEvent]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401d72bb
mov eax, dword [rsp + 0x50]
jmp 0x1401d7460
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x30], 0
jne 0x1401d7378
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ntdll.dll_NtClearEvent]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntdll.dll_NtClearEvent]
mov rax, qword [rsp + 0xa0]
add rax, 0x30
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x140013c10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x8000
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
jge 0x1401d7361
mov eax, dword [rsp + 0x50]
jmp 0x1401d7460
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x18], rcx
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov r8, qword [rsp + 0xb8]
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], 0
lock or dword [rsp], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x18], 0
cmp dword [rsp + 0x50], 0
je 0x1401d745c
mov edx, 0xc0000001
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_NtTerminateThread]
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x30], 0
mov dword [rsp + 0x50], 0xc0000001
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140501c00]
call fcn.140015750
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x1401df340
Capabilities:
Get user security identifier

Disassembly:
jmp 0x1401df340
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
call fcn.1400117c0
movzx eax, al
test eax, eax
jne 0x1401df398
mov eax, 0xc0000106
jmp 0x1401df557
call fcn.140019140
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.ADVAPI32.dll_LsaLookupNames2
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1401df529
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax], 7
je 0x1401df521
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax], 8
je 0x1401df521
cmp qword [rsp + 0xc8], 0
je 0x1401df47b
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + rax + 8]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov ecx, 0x18
imul rcx, rcx, 0
mov edx, eax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax + rcx + 8]
call fcn.140013fc0
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], rax
cmp qword [rsp + 0xd0], 0
je 0x1401df4f6
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax + 0x10], 0
jl 0x1401df4e6
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movsxd rax, dword [rcx + rax + 0x10]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x78]
add rax, qword [rcx + 8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.140009060
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
jmp 0x1401df4f6
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
cmp qword [rsp + 0xd8], 0
je 0x1401df51f
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x98]
mov eax, dword [rdx + rax]
mov dword [rcx], eax
jmp 0x1401df529
mov dword [rsp + 0x30], 0xc0000073
cmp qword [rsp + 0x78], 0
je 0x1401df53b
mov rcx, qword [rsp + 0x78]
call sub.ADVAPI32.dll_LsaFreeMemory
cmp qword [rsp + 0x98], 0
je 0x1401df553
mov rcx, qword [rsp + 0x98]
call sub.ADVAPI32.dll_LsaFreeMemory
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140506e40]
call fcn.140015750
mov rax, rdi
add rsp, 0xb0
pop rdi
ret
Function at 0x140227db0
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x140227db0
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x10
mov dword [rsp], 0
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
jne 0x140227de1
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
jne 0x140227de1
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x140227deb
mov eax, dword [rsp]
bts eax, 0x13
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
jne 0x140227e1b
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
jne 0x140227e1b
mov eax, dword [rsp + 0x20]
and eax, 0x80000000
test eax, eax
jne 0x140227e1b
mov eax, dword [rsp + 0x20]
and eax, 0x20000000
test eax, eax
je 0x140227e25
mov eax, dword [rsp]
bts eax, 0x12
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 8
test eax, eax
jne 0x140227e55
mov eax, dword [rsp + 0x20]
and eax, 0x40
test eax, eax
jne 0x140227e55
mov eax, dword [rsp + 0x20]
and eax, 0x40000000
test eax, eax
jne 0x140227e55
mov eax, dword [rsp + 0x20]
and eax, 0x10000000
test eax, eax
je 0x140227e5f
mov eax, dword [rsp]
bts eax, 0x18
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 0x10000
test eax, eax
je 0x140227e77
mov eax, dword [rsp]
or eax, 0x10c0000
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x10
pop rdi
ret
Function at 0x14024d0f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14024d0f0
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.14000b490
test eax, eax
je 0x14024d13d
movzx eax, byte [rsp + 0x70]
mov dword [rsp + 0x44], eax
jmp 0x14024d145
mov dword [rsp + 0x44], 0x2e
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x34], ax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x34]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x78]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_TextOutW]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x3c]
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x24]
cmp dword [rax], ecx
jne 0x14024d1f2
mov rax, qword [rsp + 0x88]
mov dword [rax], 0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x54]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x38]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rcx, rsp
lea rdx, [0x1405149e0]
call fcn.140015750
add rsp, 0x50
pop rdi
ret
Function at 0x140250d40
Capabilities:
Parse pe header

Disassembly:
jmp 0x140250d40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r8d, 0x40
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140009640
jmp 0x140250d9e
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140250db7
mov eax, 0xc000012f
jmp 0x140250efc
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x140250dd4
mov eax, 0xc000007b
jmp 0x140250efc
cmp dword [rsp + 0x28], 0x10000000
jae 0x140250de9
mov eax, dword [rsp + 0x28]
cmp rax, qword [rsp + 0x60]
jb 0x140250df3
mov eax, 0xc000007b
jmp 0x140250efc
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov r8d, 0x18
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.140009640
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
movzx ecx, word [rcx + 6]
imul rcx, rcx, 0x28
lea rax, [rax + rcx + 0x18]
mov r8, rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.140009640
jmp 0x140250e6c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
cmp dword [rax], 0x4550
je 0x140250e84
mov eax, 0xc000007b
jmp 0x140250efc
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
mov word [rcx + 0x30], ax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x30]
cmp eax, 0x10b
je 0x140250ec1
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x30]
cmp eax, 0x20b
je 0x140250ec1
mov eax, 0xc000007b
jmp 0x140250efc
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
movzx eax, word [rax + 6]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x28], rax
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x140251120
Capabilities:
Map section object

Disassembly:
jmp 0x140251120
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov byte [rsp + 0x54], 0
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0xf0], 0
jne 0x140251186
cmp qword [rsp + 0xf8], 0
jne 0x140251186
mov eax, 0xc0000030
jmp 0x140251321
cmp qword [rsp + 0xf8], 0
jne 0x1402511e3
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xf8]
call sym.ProcessHacker.exe_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1402511de
mov eax, dword [rsp + 0x50]
jmp 0x140251321
mov byte [rsp + 0x54], 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
call sym.ProcessHacker.exe_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140251205
jmp 0x1402512ed
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 5
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14025124d
jmp 0x1402512ed
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1402512ca
jmp 0x1402512ed
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
cmp qword [rsp + 0x88], 0
je 0x140251306
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x14025131d
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140515460]
call fcn.140015750
mov rax, rdi
add rsp, 0xe0
pop rdi
ret
Function at 0x140251350
Capabilities:
Map section object

Disassembly:
jmp 0x140251350
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov byte [rsp + 0x54], 0
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0xf0], 0
jne 0x1402513b6
cmp qword [rsp + 0xf8], 0
jne 0x1402513b6
mov eax, 0xc0000030
jmp 0x140251551
cmp qword [rsp + 0xf8], 0
jne 0x140251413
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xf8]
call sym.ProcessHacker.exe_PhCreateFile
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14025140e
mov eax, dword [rsp + 0x50]
jmp 0x140251551
mov byte [rsp + 0x54], 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
call sym.ProcessHacker.exe_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140251435
jmp 0x14025151d
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 5
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14025147d
jmp 0x14025151d
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1402514fa
jmp 0x14025151d
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
cmp qword [rsp + 0x88], 0
je 0x140251536
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x14025154d
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1405155b0]
call fcn.140015750
mov rax, rdi
add rsp, 0xe0
pop rdi
ret
Function at 0x140251a40
Capabilities:
Parse pe header

Disassembly:
jmp 0x140251a40
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1f0
lea rdi, [rsp + 0x30]
mov ecx, 0x70
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x200]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x208]
mov qword [rax], rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140251ad9
mov eax, dword [rsp + 0x30]
jmp 0x140251cd0
movzx eax, word [rsp + 0x50]
cmp eax, 0x5a4d
je 0x140251aef
mov eax, 0xc000012f
jmp 0x140251cd0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x140251b14
cmp dword [rsp + 0x94], 0x10000000
jb 0x140251b1e
mov eax, 0xc000007b
jmp 0x140251cd0
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x108
lea r8, [rsp + 0xb0]
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140251b70
mov eax, dword [rsp + 0x30]
jmp 0x140251cd0
cmp dword [rsp + 0xb0], 0x4550
je 0x140251b87
mov eax, 0xc000007b
jmp 0x140251cd0
mov rax, qword [rsp + 0x218]
movzx ecx, word [rsp + 0xc8]
mov word [rax + 0x20], cx
mov rax, qword [rsp + 0x218]
movzx eax, word [rax + 0x20]
cmp eax, 0x10b
je 0x140251bcb
mov rax, qword [rsp + 0x218]
movzx eax, word [rax + 0x20]
cmp eax, 0x20b
je 0x140251bcb
mov eax, 0xc000007b
jmp 0x140251cd0
movzx eax, word [rsp + 0xb6]
mov rcx, qword [rsp + 0x218]
mov dword [rcx + 0x10], eax
movzx eax, word [rsp + 0xc4]
mov rcx, qword [rsp + 0x218]
mov ecx, dword [rcx + 0x10]
imul rcx, rcx, 0x28
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x1c8], rax
cmp qword [rsp + 0x1c8], 0x100000
jbe 0x140251c1a
mov eax, 0xc000007b
jmp 0x140251cd0
mov rcx, qword [rsp + 0x1c8]
call fcn.14001ab00
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x1c8]
mov r8, qword [rsp + 0x1d0]
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140251c8d
mov rcx, qword [rsp + 0x1d0]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x140251cd0
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x1d0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x218]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x218]
mov rcx, qword [rcx + 8]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x218]
mov qword [rcx + 0x18], rax
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140515720]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x1f0
pop rdi
ret