joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f1fe0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140150080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rdx
xor edi, edi
mov dword [rbp - 0x50], 0x2a2b3235
mov dword [rbp - 0x4c], 0x3f382f
mov byte [rbp - 0x48], 1
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x46]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 7
jb 0x1400f2020
mov byte [rbp - 0x48], 0
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.14005a890
nop
cmp byte [rbx], 0
jne 0x1400f205b
mov byte [rbx], 1
call fcn.1400e7070
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400f2072
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 8]
call fcn.1400ebd90
mov rcx, rax
jmp 0x1400f2076
mov rcx, qword [rbp - 0x18]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rdi
movzx eax, byte [rax]
mov byte [rsi + 0x210], al
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400f20c8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f20c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f20c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f8d10
mov dword [rbp - 0x50], 0x3a3b222b
mov dword [rbp - 0x4c], 0x292c2b
mov byte [rbp - 0x48], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x46]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 7
jb 0x1400f20e0
mov byte [rbp - 0x48], 0
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.14005a890
nop
cmp byte [rbx], 0
jne 0x1400f211b
mov byte [rbx], 1
call fcn.1400e7070
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x1400f212f
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 8]
call fcn.1400ebd90
jmp 0x1400f2133
mov rax, qword [rbp - 0x18]
cmp byte [rax], 3
jne 0x1400f213c
mov rdi, qword [rax + 8]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400f2149
mov rdx, qword [rdi]
lea rcx, [rsi + 0x218]
mov r8, qword [rdi + 0x10]
call fcn.14005bc70
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400f2199
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f2193
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f2193
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f8d10
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.1400ed930
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f9350
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f6960
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x40
jae 0x1400f6b18
lea ecx, [r8*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], rcx
mov byte [r8 + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x1400f69d8
cmp eax, 0x40
jae 0x1400f69c2
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x1400f69b0
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.1400f6c40
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x1400f69e0
lea rsi, [rbx + 0x2c]
jae 0x1400f69f2
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x1400f69e0
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.1400f6c40
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f6b30
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov qword [rcx + 0x24], 0x5be0cd19
mov qword [rcx], rax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
ret
Function at 0x1400f82f4
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 0x1400f832e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f8333
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 0x1400f837c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14011d3b0]
cmp byte [rcx + rax], 0
je 0x1400f837c
dec r8
sub rdx, 1
jne 0x1400f8362
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400f9864
Capabilities:
Parse pe header

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

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18008e122
xor eax, eax
jmp 0x18008e208
cmp qword [rcx + 0x68], 0
je 0x18008e133
call fcn.18008d7f8
jmp 0x18008e208
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18008e14a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18008e14c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18008e17e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180091550
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18008e202
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18008e1b5
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18008e1de
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180094b80
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18008e202
cmp rsi, rbx
ja 0x18008e1bc
test rsi, rsi
je 0x18008e202
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180094b80
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18008e224
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18008e253
call fcn.18008d8bc
jmp 0x18008e2ca
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x18008e26a
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18008e26c
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18008e2c4
test ecx, ecx
jle 0x18008e2a5
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.180091550
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18008e2c4
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18008e2c4
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.180094e4c
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x180098100
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016cf0], rbx
je 0x14000c357
cmp rax, rbx
jne 0x14000c34a
mov ebx, 1
mov esi, ebx
jmp 0x14000c35c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c32f
mov ebx, 1
mov eax, dword [0x140016cf8]
cmp eax, ebx
jne 0x14000c374
mov edi, 0x1f
mov ecx, edi
call fcn.1400a8000
jmp 0x14000c3e0
mov eax, dword [0x140016cf8]
test eax, eax
jne 0x14000c3d5
mov dword [0x140016cf8], ebx
lea r15, [0x14000f0a8]
lea rdi, [0x14000f090]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c3c7
test eax, eax
jne 0x14000c3cb
cmp qword [rdi], r14
je 0x14000c3bc
mov rax, qword [rdi]
mov rcx, qword [0x14000f008]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c39e
test eax, eax
je 0x14000c3db
mov eax, 0xff
jmp 0x14000c536
mov dword [0x140016400], ebx
mov edi, 0x1f
mov eax, dword [0x140016cf8]
cmp eax, ebx
jne 0x14000c407
lea rdx, [0x14000f088]
lea rcx, [0x14000f010]
call sub.msvcrt.dll__initterm
mov dword [0x140016cf8], 2
test esi, esi
jne 0x14000c415
mov rax, r14
xchg qword [0x140016cf0], rax
cmp qword [0x140016d10], r14
je 0x14000c448
lea rcx, [0x140016d10]
call fcn.14000ca80
test eax, eax
je 0x14000c448
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016d10]
mov r9, qword [0x14000f008]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c461
mov eax, 0xff
jmp 0x14000c536
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c4e7
test ax, ax
je 0x14000c47c
test edx, edx
jne 0x14000c4e7
sub ax, bx
cmp ax, di
ja 0x14000c492
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c47c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400044cc
mov dword [0x1400163fc], eax
cmp dword [0x140016420], r14d
jne 0x14000c4d0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140016400], r14d
jne 0x14000c4e5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163fc]
jmp 0x14000c536
cmp ax, 0x22
jne 0x14000c4fb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c46a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000cb14
add rsp, 0x28
jmp 0x14000c2f0
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f90
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]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Create thread

Disassembly:
jmp 0x140011890
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1400230a2]
call fcn.140011389
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400110b4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400118ea
mov edx, 0x2710
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [0x14001d180], 0
je 0x140011920
mov rcx, qword [0x14001d180]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
jne 0x140011920
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.UnhookWindowsHookEx_failed_with_error:__d
call fcn.1400111a9
mov eax, 0xffffffff
jmp 0x140011922
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014300
xor al, al
jmp 0x140014381
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014313
xor al, al
jmp 0x140014381
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 0x14001433d
xor al, al
jmp 0x140014381
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014351
xor al, al
jmp 0x140014381
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014363
xor al, al
jmp 0x140014381
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001437f
xor al, al
jmp 0x140014381
mov al, 1
add rsp, 0x38
ret
Function at 0x1400036e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14009f060]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r9
mov rbp, r8
mov r14d, edx
mov r15, rcx
mov dword [rsp + 0x34], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x1400038ea
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x30], sil
mov edx, esi
mov eax, 2
cmp r8, 0x7e
cmovae edx, eax
mov ecx, 8
cmp r8, 0x10000
cmovae eax, ecx
add rdx, rax
movzx eax, byte [r15 + 0x5c]
neg al
sbb rcx, rcx
and ecx, 4
add rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140003bb0
or r14b, 0x80
mov rdi, qword [rsp + 0x38]
mov byte [rdi], r14b
movzx edx, byte [r15 + 0x5c]
cmp rbp, 0x7e
jae 0x1400037aa
neg dl
sbb al, al
and al, 0x80
or al, bpl
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x14000384a
mov dword [rdi + 2], 0x78563412
jmp 0x14000384a
mov rcx, rbp
shr rcx, 8
cmp rbp, 0x10000
jae 0x1400037e5
mov eax, 0x7e
mov r8d, 0xfe
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], bpl
cmp byte [r15 + 0x5c], 0
je 0x14000384a
mov dword [rdi + 4], 0x78563412
jmp 0x14000384a
mov eax, 0x7f
mov r8d, 0xff
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov rax, rbp
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rbp
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rbp
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rbp
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rbp
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], bpl
cmp byte [r15 + 0x5c], 0
je 0x14000384a
mov dword [rdi + 0xa], 0x78563412
mov rdx, qword [r15 + 0x28]
mov r9, qword [rsp + 0x40]
mov r8, rdi
lea rcx, [r15 + 0x20]
call fcn.140003d60
mov rdx, qword [r15 + 0x28]
mov r9, qword [rsp + 0xb0]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.140003d60
cmp byte [r15 + 0x5c], 0
je 0x1400038b2
mov r8, qword [r15 + 0x28]
sub r8, qword [r15 + 0x20]
sub r8, rbp
test rbp, rbp
je 0x1400038b2
nop
mov rdx, qword [r15 + 0x20]
add rdx, rsi
movzx ecx, byte [rdx + r8]
mov rax, rsi
and eax, 3
xor cl, byte [rsp + rax + 0x34]
mov byte [rdx + r8], cl
inc rsi
cmp rsi, rbp
jne 0x140003890
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400038e2
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14007c5fc
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14007c5a0
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003910
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14009f060]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r9
mov rbp, r8
mov r15, rcx
mov dword [rsp + 0x34], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x140003b1a
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x30], sil
mov edx, esi
mov eax, 2
cmp r8, 0x7e
cmovae edx, eax
mov ecx, 8
cmp r8, 0x10000
cmovae eax, ecx
add rdx, rax
movzx eax, byte [r15 + 0x5c]
neg al
sbb rcx, rcx
and ecx, 4
add rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140003bb0
mov rdi, qword [rsp + 0x38]
mov byte [rdi], 0x82
movzx edx, byte [r15 + 0x5c]
cmp rbp, 0x7e
jae 0x1400039d3
neg dl
sbb al, al
and al, 0x80
or al, bpl
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x140003a73
mov dword [rdi + 2], 0x78563412
jmp 0x140003a73
mov rcx, rbp
shr rcx, 8
cmp rbp, 0x10000
jae 0x140003a0e
mov eax, 0x7e
mov r8d, 0xfe
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], bpl
cmp byte [r15 + 0x5c], 0
je 0x140003a73
mov dword [rdi + 4], 0x78563412
jmp 0x140003a73
mov eax, 0x7f
mov r8d, 0xff
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov rax, rbp
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rbp
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rbp
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rbp
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rbp
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], bpl
cmp byte [r15 + 0x5c], 0
je 0x140003a73
mov dword [rdi + 0xa], 0x78563412
mov rdx, qword [r15 + 0x28]
mov r9, qword [rsp + 0x40]
mov r8, rdi
lea rcx, [r15 + 0x20]
call fcn.140003d60
mov rdx, qword [r15 + 0x28]
mov r9, qword [rsp + 0xb0]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.140003d60
cmp byte [r15 + 0x5c], 0
je 0x140003ae2
mov r8, qword [r15 + 0x28]
sub r8, qword [r15 + 0x20]
sub r8, rbp
test rbp, rbp
je 0x140003ae2
nop word [rax + rax]
mov rdx, qword [r15 + 0x20]
add rdx, rsi
movzx ecx, byte [rdx + r8]
mov rax, rsi
and eax, 3
xor cl, byte [rsp + rax + 0x34]
mov byte [rdx + r8], cl
inc rsi
cmp rsi, rbp
jne 0x140003ac0
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140003b12
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14007c5fc
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14007c5a0
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009db0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14009f060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
xor esi, esi
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140009e30
cmp dword [rsp + 0x28], edi
je 0x140009e2c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140009e12
jmp 0x140009e30
mov esi, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14007c5a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000adb0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14009f060]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov esi, edx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov dword [rsp + 0x30], 0x130
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000ae1d
xor ecx, ecx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx], rcx
mov r8, rax
mov qword [rbx + 0x10], rcx
mov byte [rbx], cl
inc r8
cmp byte [rcx + r8], cl
jne 0x14000ae10
xor edx, edx
jmp 0x14000ae6e
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000ae48
nop
mov rcx, rdi
cmp esi, dword [rsp + 0x38]
je 0x14000ae9e
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000ae30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx], rcx
lea rdx, [0x14008f011]
mov qword [rbx + 0x10], rcx
xor r8d, r8d
mov byte [rbx], cl
mov rcx, rbx
call fcn.140001840
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14007c5a0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx], rcx
lea rax, [rsp + 0x5c]
mov qword [rbx + 0x10], rcx
mov r8, 0xffffffffffffffff
mov byte [rbx], cl
inc r8
cmp byte [rax + r8], cl
jne 0x14000aec3
lea rdx, [rsp + 0x5c]
jmp 0x14000ae6e