joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400038f0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x14001b648], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x140003969
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000f490
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.1400037b0]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000f490
add rsp, 0x40
pop rbx
ret
Function at 0x140006070
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x50]
lea r9, [rbp - 0x18]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov dword [rbp - 0x18], r15d
lea r8d, [r15 + 1]
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x14001a150]
lea r14, [0x14001a148]
movabs r12, 0x4d54ee85da812030
mov dword [rbp - 0x2c], r15d
add rdx, r12
mov edi, eax
cmp rdx, 1
jbe 0x140006103
mov rcx, qword [0x14001a148]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, r14
call r8
jmp 0x140006108
test edi, edi
setne al
movzx eax, al
movabs r10, 0x4800144005b3
add rax, 2
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x28], r14
movups xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov r9, qword [rbx + 0x10]
cmp r9, 1
je 0x140006146
mov eax, dword [rbx]
mov r8d, eax
jmp 0x140006176
mov rcx, qword [rbx + 8]
mov rax, r10
mov r8d, dword [rbx]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, r8d
cmp eax, 0x40
jne 0x1400061b5
mov rcx, qword [0x14001a150]
add rcx, r12
mov dword [rbp - 0x2c], r15d
cmp rcx, 1
jbe 0x1400061aa
mov rax, qword [0x14001a148]
mov edx, 0x2746
mov rcx, r14
call qword [rax + 0x30]
mov dword [rbp - 0x30], 0x2746
jmp 0x140006222
mov al, 1
mov dword [rbp - 0x30], 0x2746
jmp 0x140006222
cmp r9, 1
jne 0x1400061e8
mov rcx, qword [rbx + 8]
mov rax, r10
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add r8d, eax
cmp r8d, 0x4d2
jne 0x140006242
mov rcx, qword [0x14001a150]
add rcx, r12
mov dword [rbp - 0x2c], r15d
cmp rcx, 1
jbe 0x140006219
mov rax, qword [0x14001a148]
mov edx, 0x274d
mov rcx, r14
call qword [rax + 0x30]
jmp 0x14000621b
mov al, 1
mov dword [rbp - 0x30], 0x274d
movzx eax, al
mov qword [rbp - 0x28], r14
add rax, 2
movups xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
test esi, esi
je 0x14000624d
mov eax, 0xffffffff
jmp 0x140006264
mov eax, dword [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbp - 0x20], r15
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbx + 0x10], xmm0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000f490
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140007100
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0xb8]
mov r10, r8
mov r8, qword [rsp + 0xa0]
mov r11, r9
mov rax, qword [rcx + 8]
mov rsi, rcx
lock inc dword [rax + 0x30]
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x14000715a
mov rcx, qword [rsi + 8]
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rdi
call fcn.140004940
jmp 0x1400071e2
xor eax, eax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov rdx, r10
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xb0]
mov qword [rsp + 0x28], r8
mov r8d, r11d
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASendTo]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
mov rbx, qword [rsp + 0x60]
je 0x1400071d6
cmp eax, 0x3e5
je 0x1400071d6
mov r9d, dword [rsp + 0x50]
mov r8d, eax
mov rcx, qword [rsi + 8]
mov rdx, rdi
call fcn.140004940
jmp 0x1400071e2
mov rcx, qword [rsi + 8]
mov rdx, rdi
call fcn.1400048b0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f490
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140008f70
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
cmp ecx, 2
jne 0x14000907c
lea rcx, [0x1400122b4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbx + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], al
jne 0x140008fc6
lea rcx, [rsp + 0x20]
call fcn.14000a640
nop
lea rcx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
cmp rdi, 0xf
cmova rcx, rbx
mov rsi, qword [rsp + 0x30]
cmp rsi, 6
jne 0x140009016
mov r8, rsi
lea rdx, str.server
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009016
call fcn.140007960
jmp 0x140009042
lea rcx, [rsp + 0x20]
cmp rdi, 0xf
cmova rcx, rbx
cmp rsi, 6
jne 0x140009042
mov r8, rsi
lea rdx, str.client
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009042
call fcn.1400086c0
nop
cmp rdi, 0xf
jbe 0x14000907c
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140009074
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009074
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000f7ac
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000f490
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400093a0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x200
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x14001b650], eax
inc eax
cmp eax, 1
jne 0x1400093ef
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x14001b654], eax
test bl, bl
je 0x140009493
xor ebx, ebx
lock xadd dword [0x14001b654], ebx
test ebx, ebx
je 0x140009493
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0x210], rsi
add rcx, qword [0x14001a150]
lea rsi, [0x14001a148]
mov dword [rsp + 0x3c], 0
cmp rcx, 1
jbe 0x140009448
mov rax, qword [0x14001a148]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14000944a
mov al, 1
lea rcx, str.E:codingc.LINK_stick_agem_stick_agem_boost_asiodetailimplwinsock_init.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], rsi
lea rcx, str.void___cdecl_boost::asio::detail::winsock_init_base::throw_on_error_struct_boost::asio::detail::winsock_init_base::data__
mov rsi, qword [rsp + 0x210]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 0x48
mov dword [rsp + 0x34], 0x1a
test al, 1
jne 0x1400094b7
mov rax, rdi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14000f490
mov rbx, qword [rsp + 0x218]
add rsp, 0x200
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, str.winsock
lea rcx, [rsp + 0x38]
call fcn.1400034a0
int3
Function at 0x14000c920
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
cmp word [rdx], 2
jne 0x14000c968
mov ecx, dword [rdx + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov edx, eax
xor eax, eax
mov ecx, eax
xorps xmm0, xmm0
jmp 0x14000c978
mov ecx, 1
xor eax, eax
mov edx, eax
movups xmm0, xmmword [rbx + 8]
mov eax, dword [rbx + 0x18]
movabs rbp, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
test ecx, ecx
jne 0x14000c9cd
mov ecx, edx
call qword [sym.imp.WS2_32.dll_ntohl]
mov edx, eax
movzx edi, al
xor rdi, rbp
imul rdi, rsi
shr eax, 8
movzx ecx, al
xor rdi, rcx
imul rdi, rsi
mov eax, edx
shr eax, 0x10
movzx ecx, al
xor rdi, rcx
imul rdi, rsi
shr rdx, 0x18
xor rdi, rdx
imul rdi, rsi
jmp 0x14000c9e8
cmp ecx, 1
jne 0x14000ca4f
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x20]
call fcn.140007470
mov rdi, rax
movzx ecx, word [rbx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
shr dx, 8
movzx ecx, al
xor rcx, rbp
imul rcx, rsi
movzx eax, dx
xor rcx, rax
imul rcx, rsi
mov rax, rdi
shl rax, 6
mov rdx, rdi
shr rdx, 2
add rcx, rax
mov eax, 0x9e3779b9
add rax, rdx
add rax, rcx
xor rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000f490
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x38]
call fcn.1400075e0
lea rcx, [rsp + 0x38]
call fcn.14000a130
int3
Function at 0x14000f390
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000f3ca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000f3cf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000f418
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140011640]
cmp byte [rcx + rax], 0
je 0x14000f418
dec r8
sub rdx, 1
jne 0x14000f3fe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000ff08
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ff52
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ff52
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ff52
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ff52
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ff52
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000ff54
xor al, al
add rsp, 0x28
ret
Function at 0x1800080b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x40], rax
jae 0x1800082e1
mov r9d, 0x30
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x1800082ce
cmp dword [rsp + 0x98], 0x1000
jne 0x1800082b4
mov eax, dword [rsp + 0x9c]
and eax, 0x44
test eax, eax
je 0x1800082b4
mov rcx, qword [rsp + 0x90]
call fcn.18000da40
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000827a
mov qword [rsp + 0x30], 0
jmp 0x1800081c9
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd8]
sub rcx, rax
mov rax, rcx
cmp qword [rsp + 0x30], rax
ja 0x18000827a
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov rcx, rax
call fcn.180037ca0
test eax, eax
jne 0x180008275
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x48]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x120]
mov qword [rcx], rax
jmp 0x1800081bc
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.18000da48
cmp qword [rsp + 0x50], 0
jne 0x1800082a1
mov qword [rsp + 0x68], 0
jmp 0x1800082b4
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800082dc
lea rcx, str.VirtualQueryEx_failed_n
call fcn.180003370
jmp 0x1800082e1
jmp 0x180008105
mov rax, qword [rsp + 0x120]
cmp qword [rax], 0
jbe 0x1800082f6
mov eax, 1
jmp 0x1800082f8
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.18000da20
add rsp, 0xf8
ret
Function at 0x180008970
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x1800089a4
xor eax, eax
jmp 0x180008b50
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x1800089cc
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1800095f0
jmp 0x180008b50
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.18000ab10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x180008a68
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.180006ac0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call fcn.18000acd0
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.180005490
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.18000ac30
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x180008b40
mov rcx, qword [rsp + 0x70]
call fcn.18000a570
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x180008b08
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.180021444
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x180008b06
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x180008b50
jmp 0x180008a8e
cmp qword [rsp + 0x40], 0
jbe 0x180008b40
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.180021444
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18000da20
add rsp, 0x68
ret
Function at 0x18000cc30
Capabilities:
Patch process command line

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18000cc76
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x18000cc89
lea rcx, str.LoadLibrary_could_not_load_ntdll
call fcn.180003370
xor eax, eax
jmp 0x18000cd62
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [rsp + 0x38]
test eax, eax
jl 0x18000cd50
mov eax, dword [rsp + 0x70]
cmp rax, 0x30
jne 0x18000cd50
cmp qword [rsp + 0x48], 0
je 0x18000cd50
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x430
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000cd35
cmp qword [rsp + 0x78], 0x430
jae 0x18000cd47
lea rcx, str.Failed_to_read_Chrome_PEB
call fcn.180003370
xor eax, eax
jmp 0x18000cd62
mov eax, 1
jmp 0x18000cd62
lea rcx, str.ProcessBasicInformation_failed
call fcn.180003370
xor eax, eax
jmp 0x18000cd62
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18000da20
add rsp, 0x90
pop rdi
ret
Function at 0x18000ce70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x18000cec6
lea rcx, [0x180045100]
call fcn.180003370
xor eax, eax
jmp 0x18000d074
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x18000cf00
lea rcx, [0x180045140]
call fcn.180003370
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x18000d074
lea rax, [0x180045170]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6c]
mov rcx, qword [rsp + 0x6d0]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x18000cf32
add rax, 2
test dx, dx
jne 0x18000cf1c
xor eax, eax
jmp 0x18000cf37
sbb eax, eax
or eax, 1
test eax, eax
jne 0x18000d04f
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x430
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x28]
call fcn.18000cc30
test eax, eax
je 0x18000d044
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x28]
call fcn.18000cd80
test eax, eax
je 0x18000d044
lea rax, [rsp + 0x38]
test rax, rax
je 0x18000d044
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.18000d660
test rax, rax
je 0x18000d03a
mov edx, dword [rsp + 0x48]
lea rcx, [0x1800451d0]
call fcn.1800012b0
lea rcx, [0x1800451f0]
call fcn.1800012b0
mov rcx, qword [rsp + 0x28]
call fcn.18000d760
lea rcx, [0x180045204]
call fcn.1800012b0
mov rax, qword [rsp + 0x6d8]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov rax, qword [rsp + 0x6e0]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x38]
call fcn.18001fa40
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x18000d074
mov rcx, qword [rsp + 0x38]
call fcn.18001fa40
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18000cf0c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.18000da20
add rsp, 0x6c0
pop rdi
ret
Function at 0x18000d090
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x18000d0da
lea rcx, str.CreateToolhelp32Snapshot_failed
call fcn.180003370
jmp 0x18000d23e
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x18000d112
lea rcx, str.Process32First_failed
call fcn.180003370
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000d23e
lea rax, str.__utility_sub_typenetwork.mojom.NetworkService
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6c]
mov rcx, qword [rsp + 0x6d0]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x18000d144
add rax, 2
test dx, dx
jne 0x18000d12e
xor eax, eax
jmp 0x18000d149
sbb eax, eax
or eax, 1
test eax, eax
jne 0x18000d21b
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x430
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x28]
call fcn.18000cc30
test eax, eax
je 0x18000d210
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x28]
call fcn.18000cd80
test eax, eax
je 0x18000d206
lea rax, [rsp + 0x38]
test rax, rax
je 0x18000d206
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.18000d660
test rax, rax
je 0x18000d206
mov edx, dword [rsp + 0x48]
lea rcx, str.___Found_browser_process:__d_n
call fcn.1800012b0
lea rcx, str.____Process_owner:
call fcn.1800012b0
mov rcx, qword [rsp + 0x28]
call fcn.18000d760
lea rcx, [0x180045314]
call fcn.1800012b0
mov rcx, qword [rsp + 0x38]
call fcn.18001fa40
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18000d11e
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.18000da20
add rsp, 0x6c0
pop rdi
ret