joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180029990
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18003c010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180029abb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180029ab2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180029a94
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180029a94
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180029a94
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180029a52
mov rcx, qword [0x18003c9d8]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180029ab2
jmp 0x180029a87
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180029a87
mov rcx, qword [0x18003c9d8]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180029ab2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180029a00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180029b13
cmp dword [rbx + 0xc], esi
jbe 0x180029b13
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180029b0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800297e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180029ad0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18002bcc0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180029b40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18003c010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18003cb10]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180029bb3
mov eax, 0xa
jmp 0x180029c46
test esi, esi
je 0x180029bd5
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180029bf8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180029bf8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180029bf1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180029bf8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18002bcc0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180029c70
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18003cb1c]
mov ebx, edi
test ecx, ecx
je 0x180029dab
mov rax, qword [0x18003cb10]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180029cc8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180029ca0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180029dab
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180029990
mov r8d, dword [0x18003cb1c]
cmp ebx, r8d
jae 0x180029d38
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18003cb10]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180029d31
mov edx, esi
mov ecx, ebx
call fcn.180029b40
mov edi, eax
test eax, eax
jne 0x180029d38
mov r8d, dword [0x18003cb1c]
inc ebx
cmp ebx, r8d
jb 0x180029d00
cmp qword [rsp + 0x20], 0
je 0x180029dab
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180029d97
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180029d88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180029d60
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18003c9d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18002a120
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18003c9d0], ebp
je 0x18002a177
cmp rbx, 0x20
jae 0x18002a160
xor ecx, ecx
jmp 0x18002a162
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18003c9d0], ebp
jne 0x18002a156
cmp qword [0x18003c9d8], r15
je 0x18002a271
test rdi, rdi
jne 0x18002a197
mov ecx, esi
call fcn.180029c70
mov ebp, eax
jmp 0x18002a276
mov ecx, dword [0x18003cb1c]
mov ebx, r15d
test ecx, ecx
je 0x18002a1bf
mov r8, qword [0x18003cb10]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x18002a1c9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18002a1b0
mov ebp, 4
jmp 0x18002a276
cmp ebx, 0xffffffff
je 0x18002a1bf
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18002a268
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180029990
mov edx, esi
mov ecx, ebx
call fcn.180029b40
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x18002a276
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18002a252
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18002a248
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x18002a220
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18003c9d8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18002a276
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x18002a276
mov ebp, 2
xchg dword [0x18003c9d0], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x18002bc30
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test edx, edx
je 0x18002bc72
cmp edx, 1
jne 0x18002bc9c
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x18002bb90]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
cmp dword [0x18003ca58], 0
je 0x18002bc9c
call fcn.18002a2a0
mov rcx, qword [0x18003ca50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x18003ca50], rax
mov dword [0x18003ca58], eax
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140017fec
Capabilities:
Parse pe header

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, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140017dc0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017dc0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140017dc0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140017dc0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140017dc0
cmp dword [rcx + 0x84], 0xe
jbe 0x140017dc0
cmp dword [rcx + 0xf8], esi
je 0x140017dc0
mov ecx, r14d
call fcn.140017f08
mov ecx, 2
call fcn.140014220
nop
cmp byte [0x1400460d0], 0
jne 0x140017e8a
mov r15d, 1
mov eax, r15d
xchg dword [0x1400460c0], eax
test ebx, ebx
jne 0x140017e33
mov rdi, qword [0x140044088]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400460c8]
cmp rcx, rax
je 0x140017e2a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400051b0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140046310]
jmp 0x140017e3f
cmp ebx, r15d
jne 0x140017e45
lea rcx, [0x140046328]
call fcn.140018be4
nop
test ebx, ebx
jne 0x140017e5c
lea rdx, [0x14002d4e8]
lea rcx, [0x14002d4c8]
call fcn.140018f00
lea rdx, [0x14002d4f8]
lea rcx, [0x14002d4f0]
call fcn.140018f00
movzx eax, byte [0x1400460d0]
test esi, esi
cmove eax, r15d
mov byte [0x1400460d0], al
jmp 0x140017e8a
mov ecx, 2
call fcn.140014274
test esi, esi
jne 0x140017ea1
mov ecx, r14d
call fcn.140017ebc
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140017d50
Function at 0x1400128a2
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [0x1400d8da8]
movabs rcx, 0x85ed4e82319148ac
movabs r10, 0xfa217d8ce23fe590
add r10, qword [rax + rcx]
mov rcx, rsi
mov r8d, 0xffffffff
mov r9d, 0x6c078965
call r10
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x140048e84
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400570ec
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14005711e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140057101
mov rax, r8
ret

Function at 0x140068020
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
movsxd rax, edx
mov r9, rcx
lea rdx, [rcx + rax*4]
mov r11, rdx
sub r11, rcx
add r11, 3
shr r11, 2
cmp rcx, rdx
cmova r11, r10
test r11, r11
je 0x140068095
nop word [rax + rax]
mov edx, dword [r9]
inc r10
lea r8, [r8 + 2]
mov ecx, edx
mov eax, edx
lea r9, [r9 + 4]
shr ecx, 0x10
shr eax, 0xd
xor cl, al
mov eax, edx
and cl, 7
shr eax, 0x10
xor cl, al
mov eax, edx
mov byte [r8 - 2], cl
mov ecx, edx
shr eax, 3
shr ecx, 5
shr edx, 5
xor cl, al
and cl, 0x1f
xor cl, dl
mov byte [r8 - 1], cl
cmp r10, r11
jb 0x140068050
ret

Function at 0x14006b2b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400e15b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, 4
mov r15, rdx
xor r14d, r14d
lea rax, [rcx + 1]
lea rdi, [rsp]
lea rbx, [rsp + 8]
mov esi, ebp
movzx ecx, byte [rax + 2]
movzx r8d, byte [rax + 1]
movzx r10d, byte [rax - 1]
movzx edx, byte [rax]
lea r11d, [r10 + r8]
sub r10d, r8d
lea r9d, [rcx + rdx]
sub edx, ecx
lea rbx, [rbx + 0x10]
lea ecx, [r9 + r11]
sub r11d, r9d
lea rdi, [rdi + 0x10]
mov dword [rdi - 0x10], ecx
lea ecx, [r10 + rdx]
sub r10d, edx
mov dword [rbx - 0xc], r11d
mov dword [rbx - 0x14], ecx
mov dword [rbx - 0x10], r10d
lea rax, [rax + 0x20]
dec rsi
jne 0x14006b2f1
lea rdi, [r15 + 8]
lea rsi, [rsp + 0x30]
nop word [rax + rax]
mov ecx, dword [rsi - 0x10]
mov eax, dword [rsi]
mov ebx, dword [rsi - 0x30]
mov r11d, dword [rsi - 0x20]
lea r9d, [rbx + rcx]
sub ebx, ecx
movzx ecx, word [rdi + 0x10]
lea r8d, [r11 + rax]
sub r11d, eax
mov eax, ebx
lea rsi, [rsi + 4]
lea rdi, [rdi + 2]
sub eax, r11d
cdq
mov r10d, eax
movzx eax, word [rdi + 6]
xor r10d, edx
sub r10d, edx
imul r10d, eax
mov eax, r9d
sub eax, r8d
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
movzx ecx, word [rdi - 0xa]
add r10d, eax
lea eax, [r8 + r9]
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
movzx ecx, word [rdi - 2]
add r10d, eax
lea eax, [rbx + r11]
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
add r14d, eax
add r14d, r10d
dec rbp
jne 0x14006b350
mov eax, r14d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140037dc0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x14006fee0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x48
mov rax, qword [0x1400e15b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, dword [rcx + 0x34]
movsxd rbp, dword [rcx + 0x30]
mov rsi, rcx
mov eax, ebx
mov edx, 1
imul eax, ebp
movsxd rcx, eax
call fcn.1400377e0
mov r15, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400700dd
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], r13
lea r13d, [rbx - 1]
mov qword [rsp + 0x40], r14
cmp r13d, 1
jle 0x1400700c3
lea ecx, [rbp - 1]
mov qword [rsp + 0x80], r12
lea r11, [rax + rbp]
lea r15d, [rbp + 1]
lea r12d, [r13 - 1]
movsxd rbx, ecx
mov r8d, 1
cmp r8, rbx
jge 0x14007004a
lea rdi, [rbp*8]
mov r10d, r15d
nop word [rax + rax]
mov rax, qword [rsi + 0x5c60]
movsxd rcx, r10d
xorps xmm0, xmm0
lea rdx, [rax + rcx*8]
mov rcx, rdx
mov r9d, dword [rdx]
movdqu xmmword [rsp + 0x28], xmm0
sub rcx, rdi
mov eax, dword [rcx - 8]
shr r9d, 5
shr rax, 5
and r9d, 3
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rcx]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rcx + 8]
xor ecx, ecx
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdx - 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdx + 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx - 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx + 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
xor eax, eax
nop dword [rax]
cmp dword [rsp + rax*4 + 0x28], 5
jge 0x140070034
inc rax
inc ecx
cmp rax, 4
jl 0x140070020
jmp 0x140070037
mov r9d, ecx
mov byte [r8 + r11], r9b
inc r8
inc r10d
cmp r8, rbx
jl 0x14006ff80
add r15d, ebp
add r11, rbp
dec r12
jne 0x14006ff60
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x80]
cmp r13d, 1
jle 0x1400700c3
lea eax, [rbp - 1]
lea r10, [r15 + rbp]
lea ebx, [rbp + 1]
movsxd r11, eax
lea edi, [r13 - 1]
nop dword [rax]
mov r8d, 1
cmp r8, r11
jge 0x1400700b9
mov r9d, ebx
nop
mov rax, qword [rsi + 0x5c60]
movsxd rcx, r9d
inc r8
lea rdx, [rax + rcx*8]
movzx eax, byte [r8 + r10 - 1]
inc r9d
shl eax, 5
xor eax, dword [rdx]
and eax, 0x60
xor dword [rdx], eax
cmp r8, r11
jl 0x140070090
add ebx, ebp
add r10, rbp
dec rdi
jne 0x140070080
mov rcx, r15
call fcn.1400377d0
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140037dc0
add rsp, 0x48
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x140074910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400e15b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, dx
shr edx, 0x10
mov r9, rcx
mov byte [rsp + 0x24], al
sar eax, 8
mov byte [rsp + 0x26], dl
mov byte [rsp + 0x25], al
movzx eax, r8w
shr r8d, 0x10
mov byte [rsp + 0x32], r8b
sar r8d, 8
sar edx, 8
mov byte [rsp + 0x33], r8b
mov r8, rcx
mov byte [rsp + 0x30], al
mov byte [rsp + 0x27], dl
sar eax, 8
lea rcx, [rsp + 0x20]
mov edx, 0x15
mov dword [rsp + 0x20], 0x46464952
mov dword [rsp + 0x28], 0x50424557
mov dword [rsp + 0x2c], 0x4c385056
mov byte [rsp + 0x34], 0x2f
mov byte [rsp + 0x31], al
call qword [r9 + 0x60]
xor ecx, ecx
mov edx, 8
test eax, eax
cmove ecx, edx
mov eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140037dc0
add rsp, 0x48
ret

Function at 0x140075270
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x460
mov rax, qword [0x1400e15b8]
xor rax, rsp
mov qword [rsp + 0x450], rax
cmp dword [rcx + 8], 0x20
mov ebp, dword [r8 + 0x60]
mov rdi, r8
mov r12d, edx
mov rbx, rcx
lea r15, [r8 + 0x64]
jl 0x1400752b1
call fcn.1400895e0
mov ecx, dword [rbx + 8]
mov eax, 1
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 1]
mov dword [rbx + 8], eax
cmp eax, 0x20
jl 0x1400752d2
mov rcx, rbx
call fcn.1400895e0
mov ecx, dword [rbx + 8]
mov eax, 3
lea esi, [rbp - 1]
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 2]
mov dword [rbx + 8], eax
cmp eax, 0x20
jl 0x1400752f6
mov rcx, rbx
call fcn.1400895e0
mov ecx, dword [rbx + 8]
mov eax, esi
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 8]
mov dword [rbx + 8], eax
lea eax, [rbp - 1]
movsxd r11, eax
cmp r11, 1
jl 0x1400753a4
lea rsi, [rsp + 0x50]
mov qword [rsp + 0x498], r14
lea r14, [r15 + r11*4]
sub rsi, r15
nop dword [rax + rax]
mov edx, dword [r14 - 4]
mov r8d, dword [r14]
lea r14, [r14 - 4]
mov r9d, r8d
mov ecx, r8d
and r8d, 0xff00ff00
and r9d, 0xff00
and ecx, 0xffff00ff
mov eax, edx
and eax, 0xff00ff00
sub r9d, eax
mov eax, edx
and edx, 0xff00ff00
sub r9d, 0xff01
and eax, 0xff00ff
sub r8d, edx
sub ecx, eax
add r8d, 0xff00ff
add ecx, 0xff00
xor r9d, ecx
and r9d, 0xff00ff
xor r9d, r8d
mov dword [rsi + r14 + 4], r9d
dec r11
jne 0x140075330
mov r14, qword [rsp + 0x498]
mov eax, dword [r15]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 0x14
mov dword [rsp + 0x50], eax
lea rax, [rdi + 0x490]
mov dword [rsp + 0x30], 1
lea r9, [rdi + 0x468]
lea r8, [rdi + 0x4e0]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call fcn.140073b20
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140037dc0
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x460
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140075a70
Capabilities:
Parse pe header

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

Disassembly:
push rbx
movsxd r11, dword [rdx]
movsxd rax, ecx
mov rbx, rdx
lea r8, [r11 + r11*2]
mov r9, r11
add r8, rax
mov eax, dword [rdx + 4]
imul rcx, r8, 0x2c
add rcx, qword [rdx + 0x20]
test eax, eax
jns 0x14008dee1
mov eax, dword [rcx]
cmp eax, 0xfffe0000
jb 0x14008ded6
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [rcx], eax
xor eax, eax
pop rbx
ret
cmp r11d, eax
jg 0x14008e085
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x140000000]
mov ebp, 0x43
mov eax, dword [rcx]
cmp eax, 0xfffe0000
jb 0x14008df17
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10001
mov dword [rcx], eax
mov rax, qword [rbx + 8]
movsx edx, word [rax + r9*2]
test edx, edx
jne 0x14008df72
nop dword [rax + rax]
mov eax, dword [rcx + 4]
inc r11d
inc r9
cmp eax, 0xfffe0000
jb 0x14008df49
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [rcx + 4], eax
movzx eax, byte [r9 + rsi + 0xb9670]
imul rcx, rax, 0x84
mov rax, qword [rbx + 8]
add rcx, qword [rbx + 0x20]
movsx edx, word [rax + r9*2]
test edx, edx
je 0x14008df30
mov eax, dword [rcx + 4]
inc r11d
inc r9
cmp eax, 0xfffe0000
jb 0x14008df8b
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10001
xor r8d, r8d
mov dword [rcx + 4], eax
lea eax, [rdx + 1]
cmp eax, 2
mov eax, dword [rcx + 8]
seta r8b
cmp eax, 0xfffe0000
jb 0x14008dfb3
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
add eax, r8d
mov dword [rcx + 8], eax
test r8d, r8d
jne 0x14008dfe0
movzx eax, byte [r9 + rsi + 0xb9670]
imul rcx, rax, 0x84
mov rax, qword [rbx + 0x20]
add rax, 0x2c
jmp 0x14008e069
mov eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ebp
cmovg eax, ebp
xor r10d, r10d
cdqe
movzx r8d, word [rsi + rax*4 + 0xbaedc]
movzx edi, word [rsi + rax*4 + 0xbaede]
shr r8d, 1
je 0x14008e051
lea rdx, [rcx + 0xc]
nop dword [rax + rax]
test r8b, 1
je 0x14008e045
mov ecx, r10d
mov eax, 2
shl eax, cl
mov ecx, 0
test edi, eax
mov eax, dword [rdx]
setne cl
cmp eax, 0xfffe0000
jb 0x14008e03c
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
add eax, ecx
mov dword [rdx], eax
inc r10d
add rdx, 4
sar r8d, 1
jne 0x14008e010
movzx eax, byte [r9 + rsi + 0xb9670]
imul rcx, rax, 0x84
mov rax, qword [rbx + 0x20]
add rax, 0x58
add rcx, rax
cmp r11d, dword [rbx + 4]
jle 0x14008df05
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x10]
cmp r11d, 0x10
jge 0x14008e0a4
mov eax, dword [rcx]
cmp eax, 0xfffe0000
jb 0x14008e09d
inc eax
shr eax, 1
and eax, 0x7fff7fff
add eax, 0x10000
mov dword [rcx], eax
mov eax, 1
pop rbx
ret