joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400016b0
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x260
lea rbp, [rsp + 0x80]
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x1d8], rax
cmp qword [rbp + 0x1d8], 0xffffffffffffffff
je 0x14000177e
mov dword [rbp - 0x60], 0x238
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x1d8]
mov rdx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000176b
lea rax, [rbp - 0x60]
add rax, 0x2c
lea rdx, str.processhacker.exe
mov rcx, rax
call sub.msvcrt.dll_wcsstr
test rax, rax
jne 0x14000173a
lea rax, [rbp - 0x60]
add rax, 0x2c
lea rdx, str.cheatengine
mov rcx, rax
call sub.msvcrt.dll_wcsstr
test rax, rax
je 0x140001754
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x140001783
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x1d8]
mov rdx, rax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140001702
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x260
pop rbp
ret
Function at 0x14000178c
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
lea rax, [rbp - 0x10]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
call rax
test eax, eax
jne 0x1400017e1
mov eax, 0
jmp 0x140001984
mov rax, qword [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
je 0x140001921
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, 0x20
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
test eax, eax
je 0x140001924
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
test eax, eax
je 0x140001927
mov dword [rbp - 0x24], 1
mov rax, qword [rbp - 0x18]
lea rdx, [rbp - 0x24]
mov r9d, 0
mov r8, rdx
mov edx, 4
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
call rax
test eax, eax
je 0x14000192a
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x28]
mov r9d, 0
mov r8, rdx
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
call rax
test eax, eax
je 0x14000192d
mov ecx, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x30]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov eax, dword [rbp + 0x18]
mov dword [rbp - 0x28], eax
mov rax, qword [rbp - 0x18]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 1
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
test eax, eax
je 0x140001930
mov dword [rbp - 4], 1
jmp 0x140001931
nop
jmp 0x140001931
nop
jmp 0x140001931
nop
jmp 0x140001931
nop
jmp 0x140001931
nop
jmp 0x140001931
nop
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x14000194a
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x140001963
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x140001981
mov rax, qword [rbp - 0x10]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov eax, dword [rbp - 4]
add rsp, 0x60
pop rbp
ret
Function at 0x14000198a
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x3c]
cdqe
mov rdx, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x1c]
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x2c]
mov edx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x54], 0x14
lea rax, [rbp - 0x30]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
call rax
test eax, eax
jne 0x140001a1f
mov eax, 0
jmp 0x140001b44
mov rax, qword [rbp - 0x30]
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x8004
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
jne 0x140001a6c
mov rax, qword [rbp - 0x30]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov eax, 0
jmp 0x140001b44
mov rax, qword [rbp - 0x38]
mov ecx, dword [rbp - 0x1c]
mov rdx, qword [rbp - 0x28]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
test eax, eax
jne 0x140001abf
mov rax, qword [rbp - 0x38]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x30]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov eax, 0
jmp 0x140001b44
mov rax, qword [rbp - 0x38]
lea rcx, [rbp - 0x54]
lea rdx, [rbp - 0x50]
mov dword [rsp + 0x20], 0
mov r9, rcx
mov r8, rdx
mov edx, 2
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
call rax
test eax, eax
jne 0x140001b1a
mov rax, qword [rbp - 0x38]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x30]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov eax, 0
jmp 0x140001b44
mov rax, qword [rbp - 0x38]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x30]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov eax, 1
add rsp, 0x90
pop rbp
ret
Function at 0x140001b4d
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
call fcn.140001de0
call fcn.14000198a
test eax, eax
jne 0x140001b6d
mov eax, 1
jmp 0x140001d1d
call fcn.1400014c0
test eax, eax
jne 0x140001b88
call fcn.140001614
test eax, eax
jne 0x140001b88
call fcn.1400016b0
test eax, eax
je 0x140001b92
mov eax, 1
jmp 0x140001d1d
mov dword [rbp - 0x1c], 0
mov eax, dword [0x1400043b0]
mov eax, eax
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140001bd3
mov eax, 1
jmp 0x140001d1d
mov edx, dword [0x1400043b0]
mov eax, dword [0x1400043b4]
mov dword [rsp + 0x28], edx
mov rdx, qword [rbp - 8]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400043a0]
lea r8, [0x140004380]
mov edx, eax
lea rax, section..data
mov rcx, rax
call fcn.14000178c
test eax, eax
jne 0x140001c34
mov rax, qword [rbp - 8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov eax, 1
jmp 0x140001d1d
mov eax, dword [0x1400043b0]
mov ecx, eax
lea rdx, [rbp - 0x1c]
mov rax, qword [rbp - 8]
mov r9, rdx
mov r8d, 0x20
mov rdx, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jne 0x140001c8a
mov rax, qword [rbp - 8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov eax, 1
jmp 0x140001d1d
mov rax, qword [rbp - 8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x140001ce8
mov rax, qword [rbp - 8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov eax, 1
jmp 0x140001d1d
mov rax, qword [rbp - 0x18]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov eax, 0
add rsp, 0x50
pop rbp
ret

Function at 0x140001ff0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002e30
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002e30
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140002060
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400081a4]
test esi, esi
mov rbx, rcx
jle 0x140002190
mov rax, qword [0x1400081a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400020ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002135
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002090
mov rcx, rbx
call fcn.140002ad0
test rax, rax
mov rdi, rax
je 0x1400021b2
mov rax, qword [0x1400081a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002c10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400081a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002197
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000212e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002140
add dword [0x1400081a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1400081a8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000212e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001ff0
nop dword [rax]
xor esi, esi
jmp 0x1400020b8
mov rax, qword [0x1400081a8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.140001ff0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.140001ff0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002720
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400081e0]
test rbx, rbx
je 0x14000277c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002773
test rsi, rsi
je 0x140002773
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002758
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002990
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400029c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400029d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400029a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400029c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400029d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400029b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400029c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400029d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002ad0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005400]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002af0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002af8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002af0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002b4d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140002b44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002af0
add rax, 0x28
cmp rax, r9
jne 0x140002b30
xor eax, eax
ret

Function at 0x140002b50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005400]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002b6f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002b78
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002b6f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002c10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005400]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002c2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002c38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
add rsi, rcx
mov r10d, dword [r8 + 0x20]
add rbp, rcx
mov ebx, dword [r8 + 0x18]
add r10, rcx
test ebx, ebx
je 0x1400012b3
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400012a3
inc rax
test ecx, ecx
jne 0x140001290
test edx, edx
je 0x1400012ca
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140001280
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x1400012b5

Function at 0x1400012e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rax, qword gs:[0x60]
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp rbx, rdi
je 0x1400013e8
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx + 0x40]
lea rcx, [rsp + 0x230]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rsi
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0x104
lea rcx, [rsp + 0x230]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x230]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x14000141e
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001350
mov rdx, rsi
lea rcx, str._te_0_31m_____e_0me_1mfailed_to_get_a_handle_to__ls_n_ne_0m
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140003960
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x1400013f9
Function at 0x1400042d8
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x38
lea rcx, str.Launching_Pixel_Gun_3D_via_Steam...
call fcn.1400014b4
mov dword [rsp + 0x28], 1
lea r8, str.steam:__rungameid_2524890
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x1400013b4
Capabilities:
Get common file path
Set console window title

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, str.BoolPG_Injector
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [0x1400033c8]
lea rcx, [rsp + 0x20]
call fcn.1400014ec
lea rdx, str.BoolPG.dll
lea rcx, [rsp + 0x20]
call fcn.1400014ec
lea rcx, [rsp + 0x20]
call fcn.1400010b4
xor ebx, ebx
test al, al
jne 0x140001436
call fcn.1400014fc
lea rcx, str.Ensure_that_the_DLL_is_in_the_same_folder_as_the_injector.
call fcn.1400014b4
mov ebx, 1
jmp 0x140001494
lea rcx, str.Checking_if_Pixel_Gun_3D_is_running...
call fcn.1400014b4
lea rdx, [rsp + 0x20]
call fcn.140001108
test al, al
jne 0x140001488
lea rcx, str.Pixel_Gun_3D_not_found._Launching_the_game...
call fcn.140001534
call fcn.1400010cc
jmp 0x14000147a
lea rcx, str.Waiting_for_Pixel_Gun_3D_to_start...
call fcn.140001534
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
call fcn.140001108
test al, al
je 0x140001463
lea rcx, str.DLL_injected_successfully.
call fcn.1400014b4
call fcn.140001364
mov eax, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001580
add rsp, 0x140
pop rbx
ret

Function at 0x140001e40
Capabilities:
Parse pe header

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

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
movdqa xmm3, xmmword [0x1800e2810]
xor r8d, r8d
movdqa xmm4, xmmword [0x1800e2860]
mov eax, r8d
mov dword [rbp + 7], 0x4f8f4f8e
mov edx, 0x4fd9
mov dword [rbp + 0xb], 0x4f894ffa
mov dword [rbp + 0xf], 0x4fad4f95
mov dword [rbp + 0x13], 0x4fbc4fb4
mov dword [rbp + 0x17], 0x4fab4fb5
mov dword [rbp + 0x1b], 0x4faa4fad
mov dword [rbp + 0x1f], 0x4fb34fa6
mov dword [rbp + 0x23], 0x4f984f99
mov dword [rbp + 0x27], 0x4fb14fb0
mov dword [rbp + 0x2b], 0x4f904f90
mov dword [rbp + 0x2f], 0x4f854fb0
mov dword [rbp + 0x33], 0x4fa64f91
mov dword [rbp + 0x37], 0x4f914f9a
mov dword [rbp + 0x3b], 0x4f9d4f80
mov dword [rbp + 0x3f], 0x4f9d4f99
mov dword [rbp + 0x43], 0x4fa44f8a
mov dword [rbp + 0x47], 0x4fa94f87
mov dword [rbp + 0x4b], 0x4f95
mov byte [rbp + 0x4f], 1
nop dword [rax + rax]
movd xmm1, dword [rbp + rax*2 + 7]
lea rcx, [rdx - 5]
xorps xmm0, xmm0
movq xmm2, rax
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
lea rcx, [rdx - 3]
movd dword [rbp + rax*2 + 7], xmm1
xorps xmm0, xmm0
movd xmm1, dword [rbp + rax*2 + 0xb]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
lea rcx, [rdx - 1]
movd dword [rbp + rax*2 + 0xb], xmm1
xorps xmm0, xmm0
movd xmm1, dword [rbp + rax*2 + 0xf]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
movq xmm0, rdx
movd dword [rbp + rax*2 + 0xf], xmm1
add rdx, 8
movd xmm1, dword [rbp + rax*2 + 0x13]
punpcklqdq xmm2, xmm0
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rbp + rax*2 + 0x13], xmm1
add rax, 8
cmp rdx, 0x4ff9
jb 0x1800016d0
cmp rax, 0x23
jae 0x1800017d2
mov edx, 0x4fd2
lea ecx, [rdx + rax]
xor word [rbp + rax*2 + 7], cx
inc rax
cmp rax, 0x23
jb 0x1800017c1
mov qword [rsp + 0x30], r8
lea rcx, [rbp + 7]
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov byte [rbp + 0x4f], r8b
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x180148a90], rax
test rax, rax
je 0x18000181c
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x90
pop rbp
ret
add rsp, 0x90
pop rbp
ret
Function at 0x180001890
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800018f4
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x180001910
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800018d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
mov dword [0x180148a98], eax
add rsp, 0x260
pop rdi
ret