joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140797350
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14084f1c0]
xor rax, rsp
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, [0x14081bbc0]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r15d, r15d
lea rbx, [0x14084f030]
mov esi, r15d
mov rdi, rax
nop
mov rdx, qword [rbx - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx - 0x18], rax
mov rcx, rdi
mov rdx, qword [rbx - 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
mov rcx, rdi
mov rdx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add esi, 3
mov qword [rbx + 0x18], rax
lea rbx, [rbx + 0x48]
cmp esi, 3
jb 0x1407973b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [reloc.WS2_32.dll_gethostname], r15w
mov rbx, rax
movsd xmm0, qword [str.ZAR_T9]
mov ecx, dword [0x14081bba8]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], ecx
je 0x14079743b
xor word [rbp - 0x1e], 0x35
mov eax, WSASetLastError
xor word [rbp - 0x1c], 0x36
xor word [rbp - 0x1a], 0x37
xor word [rbp - 0x18], 0x38
xor word [rbp - 0x16], 0x39
mov word [rbp - 0x20], ax
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x14079749f
cmp word [reloc.WS2_32.dll_gethostname], r15w
movsd xmm0, qword [str.zart9]
mov eax, dword [0x14081bbb8]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], eax
je 0x14079748e
xor word [rbp - 0x1e], 0x35
mov eax, Ordinal_79
xor word [rbp - 0x1c], 0x36
xor word [rbp - 0x1a], 0x37
xor word [rbp - 0x18], 0x38
xor word [rbp - 0x16], 0x39
mov word [rbp - 0x20], ax
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
je 0x140797511
mov esi, r15d
lea rdi, [0x14084f018]
nop dword [rax]
mov r8, qword [rdi + 8]
lea rax, [rbp - 0x10]
mov rdx, qword [rdi]
mov r9d, 0x40
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rdi]
mov rcx, r14
mov r9, qword [rdi + 8]
mov r8, rdx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rbp - 0x10]
mov rcx, r14
mov r8, qword [rdi + 8]
mov ebx, eax
mov rdx, qword [rdi]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test ebx, ebx
je 0x140797511
inc esi
add rdi, 0x18
cmp esi, 3
jb 0x1407974b0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1408139e0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
Function at 0x140799f80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14084f1c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [0x14081bbc0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
movups xmm0, xmmword [str.nBgB_KChENJZ__b__7____L]
movzx ecx, byte [0x14081c1d8]
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
mov r9, rax
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x38], cl
mov ecx, ebx
movsd xmm0, qword [0x14081c1d0]
movsd qword [rsp + 0x30], xmm0
jl 0x14079a129
movdqa xmm0, xmmword [0x14081db90]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x14081db40]
movdqa xmm4, xmmword [0x14081dba0]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x14081db60]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14081db80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14081db80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x14079a020
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x19
jge 0x14079a16d
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x14079a140
lea rdx, [rsp + 0x20]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rsp + 0x50]
lea r8d, [r9 + 2]
lea ecx, [r9 + 0x23]
call rax
test eax, eax
jne 0x14079a1a0
cmp byte [rsp + 0x50], bl
je 0x14079a1a0
cmp byte [rsp + 0x51], bl
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1408139e0
add rsp, 0x70
pop rbx
ret
Function at 0x14079a1c0
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x14081bbc0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
call rbx
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x14079a610
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x14079a671
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14079a630
mov ecx, dword [r9]
jmp 0x14079a758
cmp ecx, 0x4e0
jb 0x14079a758
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14079a690
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14079a6e0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x14079aac0
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14084f1c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x40], 0
jne 0x14079ab08
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1408139e0
add rsp, 0x58
ret
lea rdx, str.Debugging_Detected
lea rcx, [rsp + 0x20]
call fcn.140785ae0
nop
lea rcx, [rsp + 0x20]
call fcn.1407a05c0
int3

Function at 0x14079ab30
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14079ab4a
test ebx, ebx
je 0x14079ab57
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret

Function at 0x14079ab60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14079ab73
add rsp, 0x28
ret
Function at 0x14079ab80
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x28
lea rcx, [0x14081bbc0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14079abdf
lea rdx, str.NtSetInformationThread
mov qword [rsp + 0x20], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14079abda
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp rax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x14079afa0
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x14081bd70]
xor ebx, ebx
cmp byte [0x14081bd75], bl
movsd xmm0, qword [str.fPpX]
mov dword [rsp + 0x28], eax
movzx eax, word [0x14081bd74]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x14079b12d
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, ebx
jl 0x14079b0ea
movdqa xmm2, xmmword [0x14081db40]
mov ecx, 8
movdqa xmm4, xmmword [0x14081dba0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14081db50]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14081db60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.fPpX]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14081db80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14081db90]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14081db60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14081db80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14081db90]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x14079b100
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1407a0310
Capabilities:
Execute anti-debugging instructions
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14084f1c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, 0x1f4
jbe 0x1407a039e
xor ecx, ecx
mov eax, 1
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
test ecx, ecx
jns 0x1407a039e
mov eax, 0x40000000
lea r8, [0x14084f100]
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
lea rax, [0x14084f080]
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x24], ecx
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rax]
cmp qword [rcx], rbx
jne 0x1407a0395
cmp dword [rcx + 8], edx
jne 0x1407a0395
cmp byte [rcx + 0xc], 0
je 0x1407a03b3
add rax, 8
cmp rax, r8
jne 0x1407a0382
xor al, al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1408139e0
add rsp, 0x40
pop rbx
ret
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Fatal_Error
lea rdx, str.Virtual_Machines_Are_Not_Allowed_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1407a1070
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax + 8], rbx
mov rdi, rdx
mov rbx, rcx
mov qword [rax + 0x10], rsi
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [rbx + 0x18], 7
movups xmm0, xmmword [0x14081c380]
movups xmm1, xmmword [0x14081c390]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x14081c3a0]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x14081c3b0]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
jbe 0x1407a10df
mov rbx, qword [rbx]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1407a1213
movdqa xmm5, xmmword [0x14081db40]
lea rdx, [rsp + 0x20]
movdqa xmm4, xmmword [0x14081dba0]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x14081db60]
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x14081db70]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x1407a1120
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
jmp 0x1407a1253
lea r9, [rsp + 0x20]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x36
movzx eax, cx
inc ecx
sub ax, r8w
add ax, 0x34
xor word [r9 - 2], ax
cmp ecx, 0x20
jl 0x1407a1220
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1407acfb0
mov edx, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [rdi + 0x18], 0xf
mov r8, qword [rdi + 0x10]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
jbe 0x1407a128c
mov rdi, qword [rdi]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rdi
call fcn.140795770
mov rcx, rax
mov dl, reloc.WLDAP32.dll_Ordinal_32
add rsp, 0x80
pop rdi
jmp fcn.140794dd0
Function at 0x1407ad020
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov r10d, dword [0x140852ab4]
mov rbp, rcx
mov rax, qword gs:[0x58]
mov rbx, r9
mov ecx, 4
mov rdi, r8
mov esi, edx
mov rax, qword [rax + r10*8]
mov eax, dword [rcx + rax]
cmp dword [0x1408527c8], eax
jg 0x1407ad0f6
mov r10, qword [0x1408527c0]
test r10, r10
je 0x1407ad0a6
mov rax, qword [rsp + 0xb0]
mov r9, rbx
mov qword [rsp + 0x30], rax
mov r8, rdi
mov eax, dword [rsp + 0xa8]
mov edx, esi
mov dword [rsp + 0x28], eax
mov rcx, rbp
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call r10
jmp 0x1407ad0b6
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, qword [0x1408527b8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1408527c8]
mov qword [0x1408527c0], rax
call fcn.140813784
jmp 0x1407ad067
lea rcx, [0x1408527c8]
call fcn.1408137f0
cmp dword [0x1408527c8], 0xffffffff
jne 0x1407ad067
movups xmm0, xmmword [str._vDRYM_hYJV__B_xWGnP_Ls_mZ5_E]
movups xmmword [rsp + 0x40], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1407ad0cc
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1407ad279
movdqa xmm0, xmmword [0x14082bd10]
lea rdx, [rsp + 0x44]
movdqa xmm5, xmmword [0x14081db40]
movdqa xmm4, xmmword [0x14082bd20]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [str.5555]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14081db80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14081db80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1407ad170
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x1407ad0cc
lea r8, [rsp + 0x40]
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x10
jl 0x1407ad280
jmp 0x1407ad0cc
Function at 0x1407ad5b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov r10d, dword [0x140852ab4]
mov rbp, rcx
mov rax, qword gs:[0x58]
mov ebx, r9d
mov ecx, 4
mov rdi, r8
mov rsi, rdx
mov rax, qword [rax + r10*8]
mov eax, dword [rcx + rax]
cmp dword [0x1408527e8], eax
jg 0x1407ad66b
mov r10, qword [0x1408527e0]
test r10, r10
je 0x1407ad61e
mov rax, qword [rsp + 0xa0]
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call r10
jmp 0x1407ad62e
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, qword [0x1408527b8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1408527e8]
mov qword [0x1408527e0], rax
call fcn.140813784
jmp 0x1407ad5f4
lea rcx, [0x1408527e8]
call fcn.1408137f0
cmp dword [0x1408527e8], 0xffffffff
jne 0x1407ad5f4
mov eax, dword [0x14082bcf8]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str._eDXLYOjTLK5_.]
mov dword [rsp + 0x50], eax
movzx eax, word [0x14082bcfc]
mov word [rsp + 0x54], ax
movzx eax, byte [0x14082bcfe]
mov byte [rsp + 0x56], al
movups xmmword [rsp + 0x40], xmm0
jl 0x1407ad810
movdqa xmm0, xmmword [0x14082bd10]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x14081db40]
movdqa xmm4, xmmword [0x14082bd20]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [str.5555]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14081db80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14081db80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1407ad700
movaps xmm6, xmmword [rsp + 0x60]
cmp r8d, 0x17
jge 0x1407ad644
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x1407ad820
jmp 0x1407ad644