joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180018410
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 [0x180065440]
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 sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18001853a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180018531
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180018514
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180018514
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180018514
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800184d2
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x180066550]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180018531
jmp 0x180018507
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180018507
mov rcx, qword [0x180066550]
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 0x180018531
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 sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180018480
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180018593
cmp dword [rbx + 0xc], esi
jbe 0x180018593
nop dword [rax]
nop dword [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 0x18001858c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180018cd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180018550
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18001b6e0
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 0x180018910
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov r14d, r15d
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180066548], esi
je 0x180018961
cmp rbx, 0x20
jae 0x18001894a
xor ecx, ecx
jmp 0x18001894c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180066548], esi
jne 0x180018940
cmp qword [0x180066550], r14
mov qword [rsp + 0x58], r13
je 0x180018afd
mov ecx, dword [0x180067d9c]
mov ebx, r15d
test ecx, ecx
je 0x18001899f
mov rdx, qword [0x180067d90]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x1800189aa
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180018990
mov r14d, 4
jmp 0x180018b03
cmp ebx, 0xffffffff
je 0x18001899f
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x180018a5b
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180018410
xor edx, edx
mov ecx, ebx
call fcn.180018300
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x180018a4b
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x180018a37
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, ecx
nop word [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180018a28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180018a00
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180066550]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x180018b03
mov rdx, qword [0x180067d90]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180018f30
mov ecx, dword [0x180067d9c]
lea eax, [rcx - 1]
cmp ebx, eax
jae 0x180018aaf
imul rcx, rax, 0x38
mov rax, qword [0x180067d90]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x180067d9c]
mov edx, dword [0x180067d98]
dec ecx
mov eax, edx
mov dword [0x180067d9c], ecx
shr eax, 1
cmp eax, 0x20
jb 0x180018b03
cmp eax, ecx
jb 0x180018b03
mov r8, qword [0x180067d90]
mov eax, edx
mov rcx, qword [0x180066550]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180018b03
shr dword [0x180067d98], 1
mov qword [0x180067d90], rax
jmp 0x180018b03
mov r14d, 2
xchg dword [0x180066548], r15d
mov r13, qword [rsp + 0x58]
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180018e80
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x180018eef
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180018ed8
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180018ecc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180018ea0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x180066550]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180018fb0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180018ff0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180067d88]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18001902e
cmp rsi, r14
jb 0x180019026
cmp rsi, r15
jae 0x180019026
cmp qword [rsi + 8], 0
jne 0x1800191f7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180019011
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800190c2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800190b9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800190b9
cmp dword [rsp + 0x70], 0x10000
je 0x18001913b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800190b9
sub rbx, rbp
cmp rbx, r14
jae 0x180019080
test rsi, rsi
jne 0x1800191a0
cmp rdi, r15
ja 0x1800191df
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800191df
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800191df
cmp dword [rsp + 0x70], 0x10000
je 0x180019171
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800190f2
jmp 0x1800191df
test rbx, rbx
je 0x1800190b9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800191a0
cmp rbx, r14
jae 0x180019060
jmp 0x1800190c2
test rdi, rdi
je 0x1800191df
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800191a0
cmp rdi, r15
jbe 0x1800190d0
jmp 0x1800191df
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800191b0
mov rax, qword [0x180067d88]
mov qword [rsi], rax
mov qword [0x180067d88], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18002c098
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 0x18002c0c8
xor eax, eax
jmp 0x18002c18b
mov rbp, rbx
cmp word [rax], si
je 0x18002c0ed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18002c0d4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18002c0d0
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.18002a93c
movsxd r14, eax
test eax, eax
jne 0x18002c12b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18002c0c1
mov rcx, r14
call fcn.180028c44
mov rdi, rax
test rax, rax
jne 0x18002c144
xor ecx, ecx
call fcn.1800272a0
jmp 0x18002c120
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.18002a93c
test eax, eax
jne 0x18002c175
mov rcx, rdi
call fcn.1800272a0
jmp 0x18002c17f
xor ecx, ecx
call fcn.1800272a0
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 0x18002e8cc
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.180025648
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 0x18002e96d
cmp ebx, dword [rsp + 0x30]
je 0x18002e966
test esi, esi
je 0x18002e966
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18002e941
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18002e94e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18002e92b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18002e952
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18002e96f
mov eax, 1
jmp 0x18002e96f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180031e30
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rbx, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
je 0x1400671d4
lea edi, [rsi + 0xd]
jmp 0x14006728f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xea
jne 0x14006728f
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
mov r8, qword [rbp - 0x18]
mov rcx, r8
mov rdi, qword [rbp - 0x20]
sub rcx, rdi
sar rcx, 1
cmp rdx, rcx
jae 0x140067214
lea rax, [rdi + rdx*2]
mov qword [rbp - 0x18], rax
jmp 0x140067255
jbe 0x140067255
mov rax, qword [rbp - 0x10]
sub rax, rdi
sar rax, 1
cmp rdx, rax
jbe 0x140067238
lea r8, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140043124
mov rdi, qword [rbp - 0x20]
jmp 0x140067255
sub rdx, rcx
je 0x140067251
movzx eax, si
mov rdi, r8
mov rcx, rdx
rep stosw word [rdi], ax
lea r8, [r8 + rdx*2]
mov rdi, qword [rbp - 0x20]
mov qword [rbp - 0x18], r8
lea r8, [rbp + 0x30]
mov rdx, rdi
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x140067281
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14006728f
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.140004374
mov edi, esi
lea rcx, [rbp - 0x20]
call fcn.140020b54
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140067cf0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400b4480], eax
call fcn.140068190
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400b4480], 0
jne case.default.0x140067d46
mov ecx, 1
call fcn.140068190
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
in eax, 0xb
invalid
Function at 0x140004eb0
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2b0
mov rax, qword [0x14018d030]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
cmp rbx, 0xffffffffffffffff
jne 0x140004e39
lea r9, str.class_std::optional_struct_PID____cdecl_GetExplorerId_void_
lea r8d, [rbx + 0x3b]
lea rdx, str.E:workplaceAndrowsp_4ff796941325489e9c426b6fb216f108_src_androws_service_srcuac_start.cc
lea rcx, [rsp + 0x40]
call qword [0x1401378d8]
lea r8, [0x14004a300]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [0x1401378e0]
nop
lea rdx, str.CreateToolhelp32Snapshot_failed.
mov rcx, rax
call qword [0x1401378c8]
nop
lea rcx, [rsp + 0x20]
call qword [0x1401378b8]
mov byte [rdi + 8], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140004f82
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call fcn.140130762
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140004ec0
lea r9, str.class_std::optional_struct_PID____cdecl_GetExplorerId_void_
lea r8d, [rax + 0x41]
lea rdx, str.E:workplaceAndrowsp_4ff796941325489e9c426b6fb216f108_src_androws_service_srcuac_start.cc
lea rcx, [rsp + 0x40]
call qword [0x1401378d8]
lea r8, [0x14004a300]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [0x1401378e0]
nop
lea rdx, str.Process32FirstW_failed.
mov rcx, rax
call qword [0x1401378c8]
nop
lea rcx, [rsp + 0x20]
call qword [0x18dd37801]
sub r11, r10
xor r10, r10
xchg rdi, rbx
mov r13, qword [rsp + r10]
test rbx, rsi
mov rdi, 0xa66c2bb
addps xmm5, xmm14
mov r10, 0xa743f33
inc rax
xor rdi, r10
rol rbx, 0x2c
sub r13, rdi
sub r12, rax
mov rdi, 0x2a8278a4
and r14, r12
mov r15, 0x2a910c7c
add rsi, 0x1b
xor rdi, r15
dec r10
add rdi, r13
rol r11, 0x14
mov rsi, qword [rdi]
sub r12, 0x7a
mov rax, 0x57128ff4
nop
mov r12, 0x57096c14
addps xmm8, xmm13
xor rax, r12
cmp r11, r10
add rax, r13
sub r12, r15
mov r14, 0x3ed3a299
and r12, r15
mov r11, 0x3ed30ade
and rbx, 0xc0
xor r14, r11
ror r10, 0x21
mov rdi, 0xc3
xchg r13, r10
mov rbx, 0xc7
lea r10, [r10 + 0xaf]
xor rdi, rbx
inc r12
push rax
add r13, r10
push r14
subps xmm9, xmm7
push rsi
or r11, r12
sub rsp, 0x20
sub r13, 0x1a
mov rcx, rax
sub r15, r12
mov rdx, r14
out 0x4c, eax
mov edx, esi
test r10, r13
mov r8, rdi
rol rbx, 7
lea r9, [rsp]
add rax, 0x4c
call rsi
and r11, 0xf1
add rsp, 0x20
cmp rdi, r13
pop rax
push rdi
pop rbx
pop r14
add r11, 0xa0
movabs al, byte [0xe683485a41000000]
xor r11, r11
Function at 0x140004fb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movabs al, byte [0xe683485a41000000]
xor r11, r11
or r13, r12
lea rbx, [r10 + r11]
nop
mov dil, byte [rbx]
and r12, r15
xor dil, 0xdc
sub r13, r12
add dil, 0xc1
cmp r15, r13
mov byte [rbx], dil
ror r15, 0x27
inc r11
xor r12, r15
cmp r11, r14
pop r15
mov r12, r15
push r12
jne 0x140004fc0
test rsi, r13
mov rbx, 0x26
shl rsi, 5
mov r12, 6
nop
xor rbx, r12
sub r13, rsi
push r10
subps xmm4, xmm15
sub rsp, 0x20
push r15
pop rdi
mov rcx, r10
mov r10, 0xae
mov rdx, r14
rol r15, 0x20
mov r8, rbx
ror rsi, 0x11
lea r9, [rsp]
xor r10, 0x9b
call rax
dec rax
add rsp, 0x20
dec rdi
ret
Function at 0x140009750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movss dword [rsp + 0x20], xmm3
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14018d030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa0]
mov rdi, rdx
mov edx, dword [rsp + 0x98]
test eax, eax
mov r11d, 6
mov rbp, r8
mov r10d, r11d
mov r14, rcx
cmovns r10d, eax
mov eax, edx
and eax, 0x7fffff
shr edx, 0x17
lea r9d, [rax + rax]
test edx, edx
jne 0x1400097b1
neg eax
sbb ecx, ecx
and ecx, 0xffffff82
jmp 0x1400097b4
lea ecx, [rdx - 0x7f]
mov eax, r9d
mov r15d, 0x2d
bts eax, 0x18
test edx, edx
cmovne r9d, eax
mov eax, ecx
cdq
mov esi, eax
mov eax, 0x2b
xor esi, edx
sub esi, edx
test ecx, ecx
cmovns r15d, eax
cmp esi, 0xa
jae 0x1400097e5
lea edx, [rax - 0x27]
jmp 0x1400097ee
cmp esi, 0x64
sbb rdx, rdx
add rdx, r11
mov rcx, rbp
movsxd r8, r10d
sub rcx, rdi
cmp rcx, r8
jge 0x14000980c
mov qword [r14], rbp
mov dword [r14 + 8], 0x84
jmp 0x14000995a
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x1400097fc
mov qword [rsp + 0x80], rbx
cmp r10d, r11d
jge 0x140009851
lea r8d, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea eax, [r8 - 1]
or eax, r9d
movzx ecx, r11b
mov edx, 1
shl edx, cl
and edx, eax
and edx, r8d
add r9d, edx
mov eax, r9d
and r9d, 0xffffff
shr eax, 0x18
add al, 0x30
mov byte [rdi], al
inc rdi
test r10d, r10d
jle 0x1400098de
mov byte [rdi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyz
mov eax, r9d
lea r8d, [r10 - 1]
shr rax, 0x14
mov ecx, 0x14
movzx eax, byte [rax + r11]
mov byte [rdi + 1], al
add rdi, 2
test r8d, r8d
je 0x1400098de
mov edx, 0x100000
nop word [rax + rax]
test ecx, ecx
je 0x1400098c8
lea eax, [rdx - 1]
sub ecx, 4
and r9d, eax
ror edx, 4
mov eax, r9d
shr rax, cl
movzx eax, byte [rax + r11]
mov byte [rdi], al
inc rdi
sub r8d, 1
jne 0x1400098a0
jmp 0x1400098de
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rdi
call fcn.140130762
add rdi, rbx
mov byte [rdi], 0x70
lea r9, [rsp + 0x40]
mov byte [rdi + 1], r15b
add rdi, 2
nop
dec r9
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub sil, cl
add sil, 0x30
mov byte [r9], sil
mov esi, edx
test edx, edx
jne 0x1400098f0
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rdi
cmp rax, rbx
jge 0x140009935
mov dword [r14 + 8], 0x84
jmp 0x14000994f
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.140130756
mov dword [r14 + 8], 0
lea rbp, [rbx + rdi]
mov qword [r14], rbp
mov rbx, qword [rsp + 0x80]
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012f1f0
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
movsd qword [rsp + 0x20], xmm3
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14018d030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa0]
mov rsi, rdx
mov rdx, qword [rsp + 0x98]
test eax, eax
mov r9, rdx
mov r11d, 0xd
mov r10d, r11d
movabs rbx, 0xfffffffffffff
cmovns r10d, eax
mov rbp, r8
and r9, rbx
shr rdx, 0x34
mov r14, rcx
test edx, edx
jne 0x140009de4
mov rax, r9
neg rax
sbb ecx, ecx
and ecx, 0xfffffc02
jmp 0x140009dea
lea ecx, [rdx - 0x3ff]
mov rax, r9
movabs r8, 0x10000000000000
or rax, r8
mov r15d, 0x2d
test edx, edx
cmovne r9, rax
mov eax, ecx
cdq
mov edi, eax
mov eax, 0x2b
xor edi, edx
sub edi, edx
test ecx, ecx
cmovns r15d, eax
cmp edi, 0xa
jae 0x140009e24
lea edx, [rax - 0x27]
jmp 0x140009e3d
cmp edi, 0x64
jae 0x140009e30
mov edx, 5
jmp 0x140009e3d
cmp edi, 0x3e8
sbb rdx, rdx
add rdx, 7
mov rcx, rbp
movsxd r8, r10d
sub rcx, rsi
cmp rcx, r8
jl 0x140009f7b
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x140009f7b
cmp r10d, r11d
jge 0x140009e92
lea r8, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea rax, [r8 - 1]
or rax, r9
movzx ecx, r11b
mov edx, 1
shl rdx, cl
and rdx, rax
and rdx, r8
add r9, rdx
mov rax, r9
and r9, rbx
shr rax, 0x34
add al, 0x30
mov byte [rsi], al
inc rsi
test r10d, r10d
jle 0x140009f22
mov byte [rsi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyz
mov rax, r9
lea r8d, [r10 - 1]
shr rax, 0x30
mov ecx, 0x30
movzx eax, byte [rax + r11]
mov byte [rsi + 1], al
add rsi, 2
test r8d, r8d
je 0x140009f22
movabs rdx, 0x1000000000000
nop dword [rax]
test ecx, ecx
je 0x140009f0c
lea rax, [rdx - 1]
sub ecx, 4
and r9, rax
ror rdx, 4
mov rax, r9
shr rax, cl
mov eax, eax
movzx eax, byte [rax + r11]
mov byte [rsi], al
inc rsi
sub r8d, 1
jne 0x140009ee0
jmp 0x140009f22
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rsi
call fcn.140130762
add rsi, rbx
mov byte [rsi], 0x70
lea r9, [rsp + 0x40]
mov byte [rsi + 1], r15b
add rsi, 2
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x140009f40
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rsi
cmp rax, rbx
jge 0x140009f85
mov dword [r14 + 8], 0x84
jmp 0x140009f9f
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.140130756
mov dword [r14 + 8], 0
lea rbp, [rbx + rsi]
mov qword [r14], rbp
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012f1f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret