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

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x490
mov rax, qword [0x140053080]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rsi, rcx
xor edx, edx
mov ecx, 2
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000a56a
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000a58f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rdx, [0x140049528]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
xor r8d, r8d
mov rcx, rsi
mov qword [rsi + 0x18], r15
call fcn.1400070b0
jmp 0x14000a67e
mov qword [rsp + 0x4b8], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x4c0], rdi
nop word [rax + rax]
lea rcx, [rsp + 0x5c]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a5c0
cmp qword [r14 + 0x18], 7
mov r9, r14
mov rcx, qword [r14 + 0x10]
jbe 0x14000a5db
mov r9, qword [r14]
cmp rcx, rax
jne 0x14000a62f
test rcx, rcx
je 0x14000a611
lea rdx, [rsp + 0x5c]
sub r9, rdx
lea rax, [rsp + 0x5c]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14000a6a6
add rax, 2
sub rcx, 1
jne 0x14000a5f2
mov eax, r15d
test eax, eax
jne 0x14000a62f
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14000a6b3
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000a5b0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rdx, [0x140049528]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
xor r8d, r8d
mov qword [rsi + 0x18], r15
mov rcx, rsi
call fcn.1400070b0
mov rdi, qword [rsp + 0x4c0]
mov rbx, qword [rsp + 0x4b8]
mov rax, rsi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001beb0
mov rbp, qword [rsp + 0x4c8]
add rsp, 0x490
pop r15
pop r14
pop rsi
ret
mov eax, 1
cmovb eax, ebx
jmp 0x14000a60d
mov r9d, 0x104
lea r8, [rsp + 0x270]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rax, [rsp + 0x270]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000a6f4
mov r8, rbx
lea rdx, [rsp + 0x270]
jmp 0x14000a666
Function at 0x14001a394
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 0x14001a3ce
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001a3d3
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 0x14001a41c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14003c500]
cmp byte [rcx + rax], 0
je 0x14001a41c
dec r8
sub rdx, 1
jne 0x14001a402
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001cd34
Capabilities:
Parse pe header

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

Function at 0x140021d90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140021dc7
call fcn.140025d40
mov dword [rax], 0x16
call fcn.140024fbc
xor eax, eax
jmp 0x140021e55
mov rdx, r9
mov rcx, r8
call fcn.140021d2c
mov rbx, rax
test rax, rax
je 0x140021e52
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140021c58]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140021e3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140025cb4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140021e26
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140021e35
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14002a558
jmp 0x140021e52
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140021e4f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140026a78
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140026ae7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140026ae7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140026ae7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140026ae7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140026ae7
cmp dword [rcx + 0x84], 0xe
jbe 0x140026ae7
cmp dword [rcx + 0xf8], 0
je 0x140026ae7
mov ecx, ebx
call fcn.140026b98
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140026974
nop
cmp dword [rbp + 0x20], 0
je 0x140026b35
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140026b40
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140026a78

Function at 0x140026c7c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140026a78
Function at 0x14002fd24
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002fdab
mov rsi, rbx
cmp word [rax], bp
je 0x14002fd6a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002fd54
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002fd50
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002b004
mov rdi, rax
test rax, rax
je 0x14002fd98
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140037c20
mov rbp, rdi
xor ecx, ecx
call fcn.14002a558
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400328d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002a120
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140032971
cmp ebx, dword [rsp + 0x30]
je 0x14003296a
test esi, esi
je 0x14003296a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140032945
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140032952
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003292f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140032956
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140032973
mov eax, 1
jmp 0x140032973
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140037880
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400378a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400378a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18001d660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x18001d7f4
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x18001d7f4
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x18001d6fb
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x18001d81b
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x18001d712
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x18001d712
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x18001d725
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x18001d772
mov r8d, eax
cmp eax, 0x800
jae 0x18001d73f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x18001d772
cmp eax, 0x10000
jae 0x18001d759
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x18001d772
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x18001d7f4
add qword [r14], 2
test sil, sil
jne 0x18001d793
cmp r10d, 3
jae 0x18001d79f
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x18001d7d1
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x18001d7b0
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x18001d6af
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x18001d802
Function at 0x18001f8d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x18001f901
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x18001f97b
mov rdi, r14
mov rcx, rbx
call fcn.18001bf50
test rax, rax
jle 0x18001f953
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1801a4560
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18001f96b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18001f973
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18001f915
sub r14, rdi
jmp 0x18001fa68
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18001f992
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18001f994
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18001f9c9
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1801a4560
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18001fa65
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x18001fa04
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x18001fa40
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1801a9a98
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x18001fa86
cmp rbp, rax
ja 0x18001fa10
mov r8, rdi
test rdi, rdi
je 0x18001fa65
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1801a9a98
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub r14, rbp
jmp 0x18001fa68
Function at 0x1800230e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov rsi, r9
shl rsi, 4
mov rbp, r9
mov rbx, rdx
mov r14, rcx
mov r8, rsi
mov r10, rdi
cmp rsi, 0x10
jb 0x180023151
mov r9, rsi
mov r11, rdi
shr r9, 4
sub r11, rdx
imul rax, r9, 0xfffffffffffffff0
add r8, rax
nop dword [rax]
mov rcx, qword [r11 + rdx + 8]
xor rcx, qword [rdx + 8]
mov rax, qword [r10]
add r10, 0x10
xor qword [rdx], rax
mov qword [rdx + 8], rcx
add rdx, 0x10
sub r9, 1
jne 0x180023130
test r8, r8
je 0x180023171
sub r10, rdx
nop dword [rax]
movzx eax, byte [r10 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x180023160
mov rax, qword [r14]
mov r9, rbp
mov r8, rbx
mov rdx, rbx
mov rcx, r14
call qword [rax + 0x48]
cmp rsi, 0x10
jb 0x1800231c1
mov rdx, rsi
mov r8, rdi
shr rdx, 4
sub r8, rbx
imul rax, rdx, 0xfffffffffffffff0
add rsi, rax
nop dword [rax]
mov rcx, qword [r8 + rbx + 8]
xor rcx, qword [rbx + 8]
mov rax, qword [rdi]
add rdi, 0x10
xor qword [rbx], rax
mov qword [rbx + 8], rcx
add rbx, 0x10
sub rdx, 1
jne 0x1800231a0
test rsi, rsi
je 0x1800231e0
sub rdi, rbx
nop dword [rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x1800231d0
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 0x180023200
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rbp, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
call qword [rax + 0x28]
mov r8, rdi
mov rdx, rbx
mov rsi, rax
imul rsi, rbp
mov r10, rsi
cmp rsi, 0x10
jb 0x180023281
mov r9, rsi
mov r11, rdi
shr r9, 4
sub r11, rbx
imul rax, r9, 0xfffffffffffffff0
add r10, rax
nop word [rax + rax]
mov rcx, qword [r11 + rdx + 8]
xor rcx, qword [rdx + 8]
mov rax, qword [r8]
add r8, 0x10
xor qword [rdx], rax
mov qword [rdx + 8], rcx
add rdx, 0x10
sub r9, 1
jne 0x180023260
test r10, r10
je 0x1800232a1
sub r8, rdx
nop dword [rax]
movzx eax, byte [r8 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r10, 1
jne 0x180023290
mov rax, qword [r14]
mov r9, rbp
mov r8, rbx
mov rdx, rbx
mov rcx, r14
call qword [rax + 0x48]
cmp rsi, 0x10
jb 0x1800232f1
mov rdx, rsi
mov r8, rdi
shr rdx, 4
sub r8, rbx
imul rax, rdx, 0xfffffffffffffff0
add rsi, rax
nop dword [rax]
mov rcx, qword [r8 + rbx + 8]
xor rcx, qword [rbx + 8]
mov rax, qword [rdi]
add rdi, 0x10
xor qword [rbx], rax
mov qword [rbx + 8], rcx
add rbx, 0x10
sub rdx, 1
jne 0x1800232d0
test rsi, rsi
je 0x180023310
sub rdi, rbx
nop dword [rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x180023300
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 0x180023330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov rsi, r9
shl rsi, 4
mov rbp, r9
mov rbx, rdx
mov r14, rcx
mov r8, rsi
mov r10, rdi
cmp rsi, 0x10
jb 0x1800233a1
mov r9, rsi
mov r11, rdi
shr r9, 4
sub r11, rdx
imul rax, r9, 0xfffffffffffffff0
add r8, rax
nop dword [rax]
mov rcx, qword [r11 + rdx + 8]
xor rcx, qword [rdx + 8]
mov rax, qword [r10]
add r10, 0x10
xor qword [rdx], rax
mov qword [rdx + 8], rcx
add rdx, 0x10
sub r9, 1
jne 0x180023380
test r8, r8
je 0x1800233c1
sub r10, rdx
nop dword [rax]
movzx eax, byte [r10 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1800233b0
mov rax, qword [r14]
mov r9, rbp
mov r8, rbx
mov rdx, rbx
mov rcx, r14
call qword [rax + 0x40]
cmp rsi, 0x10
jb 0x180023411
mov rdx, rsi
mov r8, rdi
shr rdx, 4
sub r8, rbx
imul rax, rdx, 0xfffffffffffffff0
add rsi, rax
nop dword [rax]
mov rcx, qword [r8 + rbx + 8]
xor rcx, qword [rbx + 8]
mov rax, qword [rdi]
add rdi, 0x10
xor qword [rbx], rax
mov qword [rbx + 8], rcx
add rbx, 0x10
sub rdx, 1
jne 0x1800233f0
test rsi, rsi
je 0x180023430
sub rdi, rbx
nop dword [rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x180023420
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 0x180023450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rbp, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
call qword [rax + 0x28]
mov r8, rdi
mov rdx, rbx
mov rsi, rax
imul rsi, rbp
mov r10, rsi
cmp rsi, 0x10
jb 0x1800234d1
mov r9, rsi
mov r11, rdi
shr r9, 4
sub r11, rbx
imul rax, r9, 0xfffffffffffffff0
add r10, rax
nop word [rax + rax]
mov rcx, qword [r11 + rdx + 8]
xor rcx, qword [rdx + 8]
mov rax, qword [r8]
add r8, 0x10
xor qword [rdx], rax
mov qword [rdx + 8], rcx
add rdx, 0x10
sub r9, 1
jne 0x1800234b0
test r10, r10
je 0x1800234f1
sub r8, rdx
nop dword [rax]
movzx eax, byte [r8 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r10, 1
jne 0x1800234e0
mov rax, qword [r14]
mov r9, rbp
mov r8, rbx
mov rdx, rbx
mov rcx, r14
call qword [rax + 0x40]
cmp rsi, 0x10
jb 0x180023541
mov rdx, rsi
mov r8, rdi
shr rdx, 4
sub r8, rbx
imul rax, rdx, 0xfffffffffffffff0
add rsi, rax
nop dword [rax]
mov rcx, qword [r8 + rbx + 8]
xor rcx, qword [rbx + 8]
mov rax, qword [rdi]
add rdi, 0x10
xor qword [rbx], rax
mov qword [rbx + 8], rcx
add rbx, 0x10
sub rdx, 1
jne 0x180023520
test rsi, rsi
je 0x180023560
sub rdi, rbx
nop dword [rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x180023550
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 0x180023950
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
cmp r8, 0x10
jb 0x180023990
mov r10, r8
shr r10, 4
imul rax, r10, 0xfffffffffffffff0
add r8, rax
nop word [rax + rax]
mov rdx, qword [r9 + 8]
xor rdx, qword [rcx + 8]
mov rax, qword [r9]
add r9, 0x10
xor qword [rcx], rax
mov qword [rcx + 8], rdx
add rcx, 0x10
sub r10, 1
jne 0x180023970
test r8, r8
je 0x1800239b1
sub r9, rcx
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x1800239a0
ret
Function at 0x1800255b0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x18028f9a8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
jne 0x1800255e3
lea ecx, [rdx + 0x57]
jmp 0x18002568b
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
mov r9d, 0x30
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x180025691
mov r9d, 0x40
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180025691
mov eax, 0x5a4d
cmp word [rsp + 0x60], ax
jne 0x180025686
movsxd rdx, dword [rsp + 0x9c]
mov eax, edx
cmp rax, qword [rsp + 0x48]
ja 0x180025686
cmp edx, 0x40
jb 0x180025686
add rdx, rbx
mov qword [rsp + 0x20], 0
mov r9d, 0xf8
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180025691
cmp dword [rdi], 0x4550
jne 0x180025686
mov eax, 1
jmp 0x180025693
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180186840
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
Function at 0x180026af0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180299398], 0
jne 0x180026b97
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180299398], ecx
jne 0x180026b97
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180299380]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x1802993b0], rdi
mov qword [0x1802993a8], rdi
mov qword [0x1802993a0], rdi
test rbx, rbx
je 0x180026b80
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180026b78
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180026b50
jmp 0x180026b80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x18029939c], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x180027330
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x18029939c]
mov rdi, rcx
test eax, eax
jne 0x1800273d3
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x18002735a
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.1801860bc
mov rbx, rax
test rax, rax
jne 0x180027376
lea edi, [rax + 8]
jmp 0x180027399
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1800273b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.180186100
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x18029939c], edi
mov qword [0x1802993a0], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1802993a8]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x1802993a8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret