joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140137e10
Capabilities:
Create process on windows
Encode data using base64
Encrypt data using speck
Get common file path
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x718
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x680], xmm6
mov qword [rbp + 0x678], 0xfffffffffffffffe
mov qword [rbp + 0x600], r8
mov qword [rbp + 0x5e8], rcx
movzx eax, byte [rdx + 0xa0]
mov qword [rbp + 0x550], rdx
mov r14, qword [rdx + 0x98]
test al, al
jne 0x140137e7d
test r14, r14
jne 0x140137e7d
mov qword [rbp + 0x460], 0
xor r12d, r12d
jmp 0x140138a8d
mov qword [rbp + 0x560], 0
mov qword [rbp + 0x570], 0
test al, al
jne 0x1401380b5
mov qword [rbp + 0x608], r14
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14013ae29
lea r14, [rbp + 0x40]
lea rsi, [rbp + 0x580]
lea rdi, [rbp + 0x20]
mov qword [rbp + 0x648], rax
add byte [rax], al
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4c0], rax
lea rax, [rbp + 0x4c0]
mov qword [rbp + 0x580], rax
lea rax, [fcn.140132490]
mov qword [rbp + 0x588], rax
lea rax, str._7__
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
mov qword [rbp + 0x40], 0
lea rax, [rbp + 0x580]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp + 0x20]
call fcn.140158310
jmp 0x14013af01

Function at 0x14013e200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.14012c580
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
movabs rbx, 0x8000000000000000
cmp rcx, rbx
jne 0x14013e23d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
jmp 0x14013e26a
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.14013e130
mov r14, qword [rsp + 0x28]
cmp r14, rbx
jne 0x14013e283
lea rcx, [rsp + 0x30]
call fcn.14012b780
mov qword [rsi], rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14013e2a8
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x14013e277
mov qword [rsi], rbx
test r14, r14
je 0x14013e277
mov edx, 2
mov rcx, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140028f50
Function at 0x140140070
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x68], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
xor edi, edi
mov r13d, 8
mov sil, 1
xorps xmm6, xmm6
lea r12, [rbp + 0x20]
mov rbx, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]

Function at 0x140140da0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14025a380]
mov edx, 0x10
xor ecx, ecx
call fcn.1401437f0
test rax, rax
je 0x140140e74
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140140f60]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140140e66
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x140140e43
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140028f50
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140028f50
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140157f40
ud2
Function at 0x14014c0dd
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14014c0e4
test al, 1
je 0x14014c103
test al, 2
jne 0x14014c11b
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140227368]
mov edx, 0x23
call fcn.1401583f0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402273a8]
mov edx, 0x25
call fcn.1401583f0
int3

Function at 0x14014cb7a
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.14014b9fe
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14014cbb6
xor eax, eax
jmp 0x14014cbc4
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x14014ce2b
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r15, [rsp + 0x3a]
lea r13, [rsp + 0x52]
mov rbp, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], rbp
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.14014cb72
cld
invalid
dec dword [rdx + 0x3c392444]
add ecx, dword [rdi]
test dh, bh
add byte [rax], al
invalid
mov rcx, qword [rsp + 0x30]
cmp al, 2
je 0x14014cfad
mov dl, byte [rsp + 0x38]
movzx r8d, word [r15 + 4]
mov word [r13 + 4], r8w
mov r8d, dword [r15]
mov eax, dword [rdi]
mov dword [r13], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
cmp r12, 0xffffffffffffffff
je 0x14014cff1
mov rcx, r12
mov rdx, rdi
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
dec dword [rdi]
test eax, ecx
add byte [rax], al
invalid
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.14005e2ea
invalid
cmp al, 0xd
jne 0x14014cf6f
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14014cf6f
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14014cffd
add byte [rax], al
mov rbp, r12
mov r12, r14
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.14007e280
mov r14, rax
xor ecx, ecx
call fcn.14012a286
test r14, r14
je 0x14014cf64
mov ecx, 1
mov rdx, rsi
call fcn.14007e442
dec dword [rcx + rcx*4 - 0xa]
mov r14, r12
mov r12, rbp
mov rbp, qword [rsp + 0x40]
mov rcx, rsi
call fcn.1401473a7
movsb byte [rdi], byte [rsi]
invalid
invalid
cmp al, 0xd
jne 0x14014cfd0
mov qword [rsp + 0x30], rsi
mov rcx, r14
lea rdx, [rsp + 0x48]
call fcn.14014c957
lea rsi, [rsp + 0x30]
mov rcx, rsi
call case.0x1401349f3.202
jmp 0x14014ce87
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x14014cfe0
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x14014cfe0
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x14014cfe0
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srciopoll_evented.rs
call fcn.140158770
ud2
Function at 0x14014cfff
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push rbp
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x68], r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0xf0]
add byte [rax], al
add byte [rbx + rcx*4 + 0x62], cl
adc byte [rcx - 0x43], al
invalid
invalid
invalid
dec dword [rcx + rdi - 0x18]
cmovb r13, rax
mov rbp, qword [rdx + 0x18]
mov rdi, qword [rdx + 0x20]
xorps xmm6, xmm6
lea rcx, [rsp + 0x38]
mov rdx, r12
mov r8, rbx
mov eax, ebx
mov r9b, 1
call fcn.14014c9ba
dec dword [rdx + 0x3c412444]
add ecx, dword [rdi]
test byte [rcx], bl
add dword [rax], eax
invalid
mov rcx, qword [rsp + 0x38]
cmp al, 2
je 0x14014d191
mov dl, byte [rsp + 0x40]
lea r9, [rsp + 0x42]
movzx r8d, word [r9 + 4]
lea r10, [rsp + 0x62]
mov word [r10 + 4], r8w
mov r8d, dword [r9]
mov dword [r10], r8d
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x60], dl
mov byte [rsp + 0x61], al
cmp rbp, 0xffffffffffffffff
je 0x14014d1ea
add byte [rax], al
and dword [rsp + 0x4c], 0
movups xmmword [rsp + 0x28], xmm6
and dword [rsp + 0x20], 0
mov rcx, rbp
mov rdx, qword [rsp + 0x68]
mov r8d, r13d
call 0x164615e16
call qword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
clc
dec dword [rdi]
test ecx, ecx
add byte [rax], al
invalid
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, r15
call fcn.14005e2ea
cmp al, 0xd
jne 0x14014d14d
test rdi, rdi
je 0x14014d14d
push rcx
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
lock inc qword [rdx]
jle case.0x1400fc9c1.1268
add rcx, 0x10
mov r8, qword [rdi + 0x10]
mov r9b, byte [rdi + 0x18]
call fcn.14007e280
adc ebx, esi
dec dword [rax - 0x77]
invalid
xor ecx, ecx
call fcn.14012a286
test rsi, rsi
je 0x14014d14d
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], 1
mov ecx, 1
mov rdx, r15
call fcn.14007e442
mov r15, rsi
jmp 0x14014d15b
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], r15
mov rcx, r15
call fcn.1401473a7
cmp al, 0xd
jne 0x14014d1c1
mov rcx, r14
lea rdx, [rsp + 0x58]
call fcn.14014c957
lea rcx, [rsp + 0x40]
call case.0x1401349f3.202
jmp 0x14014d04b
mov rax, qword [rsp + 0x50]
mov qword [rax], 2
jmp 0x14014d1d1
mov rax, qword [rsp + 0x50]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x14014d1d1
mov eax, dword [rsp + 0x4c]
and qword [rsp + 0x38], 0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x50]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x14014d1d1
mov rax, qword [rsp + 0x50]
mov qword [rax], 1
mov qword [rax + 8], r15
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.0U__
call fcn.140158770
Function at 0x14015708c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1401570d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401570d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401570d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401570d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1401570d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401570d8
xor al, al
add rsp, 0x28
ret

Function at 0x14015d540
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, r9
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400490a0
mov rax, qword [rsp + 0x30]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x14015d5cb
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14015d5fd
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14015d612
lea rcx, str._t__
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x14015d62e
mov rcx, qword [rsp + 0x38]
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140028f50
mov rcx, qword [rbx]
mov rax, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x14015d62e
mov edx, 1
mov rcx, rdi
call fcn.140028f50
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400077a8
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x140003d92
jmp 0x14000a26f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x1400042d8
jmp 0x14000ab3a
mov ecx, 0xc1
call qword [0x14009a9c1]
xor eax, eax
jmp 0x140007534
xor eax, eax
jmp 0x140007534
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x30], rax
mov edx, 0x40
mov rcx, qword [rsp + 0x108]
call fcn.14000a9cf
jmp 0x140008656
mov ecx, 0xc1
call qword [0x14009af6c]
xor eax, eax
jmp 0x140007534
test eax, eax
jne 0x14000280f
jmp 0x14000a3bb
mov ecx, 0xc1
call qword [0x14009df96]
xor eax, eax
jmp 0x140007534
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x58], 0
jmp 0x140003f07
test eax, eax
je 0x140003dd3
jmp 0x14000310f
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x38]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x48], 0
jmp 0x14000b82f
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x14000b639
jmp 0x14000a55c
xor eax, eax
jmp 0x140007534
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x38]
and eax, 1
test eax, eax
jne 0x1400073aa
jmp 0x140008aab
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
add rax, 0x108
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.14000a9cf
jmp 0x140005e70
mov ecx, 0xc1
call qword [0x1400a2246]
xor eax, eax
jmp 0x140007534
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jb 0x14000258d
jmp 0x14000837c
Function at 0x14000a213
Capabilities:
Inspect section memory permissions

Disassembly:
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x1c], 0
je 0x14000890f
jmp 0x140005dfa
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x20000000
test eax, eax
jne 0x140006e9f
jmp 0x1400073f3
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
je 0x140002041
jmp 0x14000b12f
mov dword [rsp + 0x28], 0
jmp 0x140009cf6
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x40000000
test eax, eax
jne 0x140006f6e
jmp 0x140004457
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x70], rax
xor edx, edx
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x24], 1
jmp 0x140004f2a
mov dword [rsp + 0x28], 1
jmp 0x140009cf6
mov dword [rsp + 0x24], 0
jmp 0x140004f2a
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x38], ecx
je 0x140005dfa
jmp 0x14000648a
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x2000000
test eax, eax
je 0x140003b70
jmp 0x1400040b9
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x18]
and eax, 0x80000000
test eax, eax
jne 0x14000b5ef
jmp 0x140006137
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax + 0x10], 0
je 0x14000b3dd
jmp 0x1400090ca
mov eax, 1
jmp 0x140005e0b
mov eax, 1
jmp 0x140005e0b
mov dword [rsp + 0x2c], 1
jmp 0x140009ea4
Function at 0x14000b28a
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.1400082af
jmp 0x140003453
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x14000b688
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140005509
test eax, eax
jne 0x1400057a2
jmp 0x140002877
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
jne 0x14000b6e8
jmp 0x140005de1
mov rcx, qword [rsp + 0x70]
call fcn.140003abe
jmp 0x1400025ec
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x14000389f
jmp 0x140004695
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
jne 0x14000adef
jmp 0x14000b688
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x14000a999
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x14000adef
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x14000389f
jmp 0x140004695
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400030f8
jmp 0x1400057a2
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x140008830
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret
jmp 0x14000a999
Function at 0x1400016c0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
movsxd rdx, ecx
lea rcx, [0x140001560]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x140051738]
add rsp, 0x28
ret

Function at 0x1400016f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rdi, rcx
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32FirstW
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov r8, rdi
sub r8, rdx
nop dword [rax + rax]
movzx ecx, word [rdx]
movzx eax, word [rdx + r8]
sub ecx, eax
jne 0x140001754
add rdx, 2
test eax, eax
jne 0x140001740
test ecx, ecx
je 0x14000177a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140001730
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140006bf0
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x30], 0
je 0x140006c46
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Bro_Tried_To_Filegrab___Crack
call fcn.140005e30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Dont_try_to_crack_my_loader__cunt.
call fcn.140005e30
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x140006c50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
lea rcx, str.Qt5QWindowIcon
call qword [sym.imp.USER32.dll_FindWindowW]
xor ebx, ebx
lea rcx, str.ProcessHacker
test rax, rax
setne bl
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov edi, 1
lea rcx, str.MainWindowClassName
test rax, rax
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, str.discord
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, str.WindowsForms10.Window.8.app.0.33c0d9d
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, str.Qt5153QTQWindowIcon
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
lea rcx, str.Window
cmovne ebx, edi
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140006cf7
test ebx, ebx
je 0x140006d26
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Bro_Tried_To_Filegrab___Crack
call fcn.140005e30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Dont_try_to_crack_my_loader__cunt.
call fcn.140005e30
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006d40
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140006d5e
test ebx, ebx
je 0x140006e16
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140006df6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140006df6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0xef2b9a1d
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140006de8
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140006dd0
cmp r8d, 0x74a1473d
je 0x140006dfb
test r9d, r9d
jne 0x140006db0
mov rax, qword [rax]
jmp 0x140006d80
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140006e50
Capabilities:
Access peb ldr_data
Check for outputdebugstring error
Encode data using xor
Hash data using fnv
Print debug messages
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.Protection
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140006f41
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140006f17
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140006f17
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x4af2f2e4
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140006f12
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140006ef0
cmp r8d, 0x1e6cd9f4
je 0x140006f1c
test r9d, r9d
jne 0x140006ed0
mov rax, qword [rax]
jmp 0x140006ea0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret