joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400441b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400441dd
xor eax, eax
jmp 0x140044349
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140044217
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140044217
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140044349
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14004433c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004425a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140044285
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140044341
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400442f4
sub eax, 1
je 0x1400442f4
cmp eax, 2
jne 0x14004433c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140044341
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140044322
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14004433c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140044341
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140044cc0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400447a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140044873
cmp byte [rcx + 0x71], 0
je 0x140044873
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14004486f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140044834
sub eax, 1
je 0x140044838
cmp eax, 2
jne 0x14004486f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140044cc0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140044866
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14004486f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14004481c
xor al, al
jmp 0x14004481c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140044cc0
add rsp, 0x60
pop rbx
ret

Function at 0x1400458fc
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140009495
cmp rax, rcx
je 0x14000949b
cmp rdx, 4
jae 0x1400094a2
xor eax, eax
xor r8d, r8d
jmp 0x140009540
pop rbp
jmp fcn.140002b50
xor eax, eax
jmp 0x140009557
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400263d0]
movdqa xmm3, xmmword [0x1400263e0]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400094d0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140009557
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140009540
pop rbp
ret
Function at 0x1400104f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
cmp byte [rcx - 0x80], al
stc
add dword [rsi + 7], esi
movzx r8d, byte [rdx + 0x3a]
test r8b, 1
jne 0x14001055e
movzx eax, byte [rdx + 0x10]
lea r10d, [rax - 5]
Function at 0x140015414
Capabilities:
Parse pe header

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

Function at 0x140019b9c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140019998
Function at 0x14001cc5c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001cc8c
xor eax, eax
jmp 0x14001cd4f
mov rbp, rbx
cmp word [rax], si
je 0x14001ccb1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001cc98
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001cc94
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001cb7c
movsxd r14, eax
test eax, eax
jne 0x14001ccef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001cc85
mov rcx, r14
call fcn.14001db38
mov rdi, rax
test rax, rax
jne 0x14001cd08
xor ecx, ecx
call fcn.14001b1dc
jmp 0x14001cce4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001cb7c
test eax, eax
jne 0x14001cd39
mov rcx, rdi
call fcn.14001b1dc
jmp 0x14001cd43
xor ecx, ecx
call fcn.14001b1dc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140020240
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001bc4c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400202ca
cmp byte [rbp - 0x21], r15b
je 0x1400202c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140020300
call fcn.14001e348
test eax, eax
jne 0x1400202ec
cmp byte [rbp - 0x21], r15b
je 0x1400202e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140020300
cmp byte [rbp - 0x21], r15b
je 0x1400202fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001b22c
test eax, eax
jne 0x1400203a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001bc4c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002033f
cmp byte [rbp - 0x21], r15b
je 0x140020374
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140020374
call fcn.14001e348
test eax, eax
jne 0x140020360
cmp byte [rbp - 0x21], r15b
je 0x140020359
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140020374
cmp byte [rbp - 0x21], r15b
je 0x140020371
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001b22c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400203a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400203a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400203b1
mov rcx, rdi
call fcn.14001b1dc
cmp byte [rbp + 0x3f], r15b
je 0x1400203c0
mov rcx, qword [rbp + 0x27]
call fcn.14001b1dc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400232a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400232c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400232c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001530
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400015b1
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400015a8
nop dword [rax + rax]
lea rdx, str.RobloxPlayerBeta.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x1400015cc
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001580
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002a10
add rsp, 0x270
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400015b3

Function at 0x140001720
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rcx, qword [rcx]
mov rcx, qword [rcx]
mov rdx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400017fd
mov qword [rsp + 0x58], rsi
xor esi, esi
mov qword [rsp + 0x60], rdi
nop dword [rax]
mov rax, qword [rbx + 0x10]
mov r8, qword [rbx + 8]
mov ecx, dword [rax]
cmp dword [r8 + 0xc], ecx
jne 0x1400017db
mov r8d, dword [r8 + 8]
xor edx, edx
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1400017db
mov r10, qword [rbx + 0x18]
lea r8, [rsp + 0x30]
mov r9d, 8
mov qword [rsp + 0x30], rsi
mov edx, 9
mov qword [rsp + 0x20], rsi
mov rcx, rax
call qword [r10]
mov rax, qword [rbx + 0x20]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax]
cmp rdx, rcx
jb 0x1400017d2
mov eax, dword [rax + 8]
add rax, rcx
cmp rdx, rax
jae 0x1400017d2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140001760
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140002a10
add rsp, 0x40
pop rbx
ret
Function at 0x140003550
Capabilities:
Parse pe header

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

Disassembly:
call fcn.142a311df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142a31089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142a3106f
add dl, dl
jne 0x142a31096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142a310f6
xor eax, eax
add dl, dl
jne 0x142a310a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142a311ad
add dl, dl
jne 0x142a310b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142a310c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142a310d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142a310dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x142a310ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x142a3107e
mov eax, 1
add dl, dl
jne 0x142a31106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142a31113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142a310fb
sub eax, ebx
mov ebx, 1
jne 0x142a3114c
mov ecx, 1
add dl, dl
jne 0x142a3112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142a3113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142a31123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142a3107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142a31168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142a31175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142a3115d
cmp eax, 0x7d00
jae 0x142a3119b
cmp eax, 0x500
jb 0x142a31196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142a3107e
cmp eax, 0x7f
ja 0x142a3119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142a3107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x142a311d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x142a3107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400011d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400012b2
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400012a9
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x140001240
cmp qword [rbx + 0x18], 7
mov r9, rbx
jbe 0x140001256
mov r9, qword [rbx]
mov r10, qword [rbx + 0x10]
lea rdx, [rsp + 0x4c]
cmp rax, r10
mov r8, r10
cmovb r8, rax
test r8, r8
je 0x14000128a
lea rcx, [rsp + 0x4c]
sub r9, rcx
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x140001291
add rdx, 2
sub r8, 1
jne 0x140001276
cmp r10, rax
jb 0x140001291
jbe 0x1400012a5
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001231
jmp 0x1400012a9
mov esi, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140003b60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140004718
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004762
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004762
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004762
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004762
cmp dword [rcx + 0x84], 0xe
jbe 0x140004762
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004764
xor al, al
add rsp, 0x28
ret
Function at 0x140011050
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x140011bf0
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400230a2]
call fcn.14001139d
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14001131b]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x14001d928], rax
cmp qword [0x14001d928], 0
je 0x140011c44
lea rcx, str.___Succesfully_Set_Hook_
call fcn.1400111b3
nop
jmp 0x140011c53
lea rcx, str.____Failed_To_Set_Hook...
call fcn.1400111b3
nop
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013120
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014470
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014490
xor al, al
jmp 0x140014511
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400144a3
xor al, al
jmp 0x140014511
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400144cd
xor al, al
jmp 0x140014511
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144e1
xor al, al
jmp 0x140014511
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144f3
xor al, al
jmp 0x140014511
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001450f
xor al, al
jmp 0x140014511
mov al, 1
add rsp, 0x38
ret
Function at 0x140012360
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113c5
movzx eax, al
test eax, eax
jne 0x140012380
mov ecx, 7
call fcn.14001133e
nop
mov byte [rsp + 0x20], 0
call fcn.140011352
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x1400123a4
mov ecx, 7
call fcn.14001133e
nop
jmp 0x1400123fc
cmp dword [0x14001d868], 0
jne 0x1400123f7
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b8
test eax, eax
je 0x1400123d8
mov eax, 0xff
jmp 0x140012501
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011348
mov dword [0x14001d868], 2
jmp 0x1400123fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132a
call fcn.1400112c1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012459
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012459
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112f3
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001248d
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x14001248d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011384
nop
call fcn.1400125b0
mov dword [rsp + 0x28], eax
call fcn.14001129e
movzx eax, al
test eax, eax
jne 0x1400124ac
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400124bb
call fcn.14001138e
nop
xor edx, edx
mov cl, 1
call fcn.14001114f
mov eax, dword [rsp + 0x28]
jmp 0x140012501
add rsp, 0x68
ret
Function at 0x14000b4a0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x14000b540
jmp 0x14000b52f
jae 0x14000b5ff
cmp r8, 0x201
jae 0x14000b540
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x14000b597
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14000b56f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14002d3e0
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x14000b5c0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000b66b
mov r8d, r13d
cmp r12, r8
jne 0x14000b520
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000b69f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000b52f
jmp 0x14000b540
cmp r14, r8
jb 0x14000b6b9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.14000cfa0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x14000b654
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140003b40
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x14000b63f
jmp 0x14000b654
lea rcx, str.internal_error:_entered_unreachable_code_a_
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14002e240
jmp 0x14000b6ce
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14002e5f0
ud2