joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005810
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov qword [r11 - 0x58], 0x10
lea r9, str._ApoController:
mov edx, 0x10
lea rcx, [rbp - 0x30]
call fcn.140010450
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140005882
mov r9, qword [rdi]
mov rsi, qword [rdi + 0x10]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400058c5
lea rax, [rcx + rsi]
mov qword [rbp - 0x20], rax
lea rbx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x30]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400058d6
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140010450
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
cmp rcx, rdx
jae 0x140005900
lea rax, [rcx + 1]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x30]
mov word [rax + rcx], 0xa
jmp 0x14000590c
mov r9b, 0xa
lea rcx, [rbp - 0x30]
call fcn.1400102e0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14000595f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000595a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000595a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400059a9
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400059a4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400059de
mov rcx, r8
call fcn.14001d9e0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001d660
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000e7c0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, rcx
cmp byte [rcx + 0x140], 0
je 0x14000e8d6
xor edi, edi
mov qword [rax - 0x40], rdi
mov dword [rax - 0x38], edi
mov qword [rax - 0x30], rdi
mov dword [rax - 0x60], 0x6011f
lea r8, str.SoftwareDTSAPO4x
lea rcx, [rax - 0x40]
call fcn.140001d10
test eax, eax
jne 0x14000e8b1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x90]
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.DTSProductType
mov qword [rsp + 0x20], rax
cmp byte [rbx + 0x188], r8b
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
je 0x14000e891
mov dword [rsp + 0x90], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r8d, [rdi + 0x47]
lea rdx, str.ApoControllerSystem::SetDTSProductType:_DAP_Product_Type_is_registered_
mov word [rsp + 0x60], di
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x60]
call fcn.14000f500
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140005660
jmp 0x14000e8b6
mov dword [rsp + 0x90], 2
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r8d, 0x4f
lea rdx, str.ApoControllerSystem::SetDTSProductType:_DTS:X_Ultra_Product_Type_is_registered_
jmp 0x14000e863
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14000e8c7
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
test rbx, rbx
je 0x14000e8d6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140016b70
Capabilities:
Create pipe

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rsi
mov rsi, rcx
mov ecx, 0x38
call fcn.14001d684
mov rbx, rax
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_DeviceWatcherUtility::EventListener_struct_DeviceWatcherUtility::DeviceEventPayload__.0
mov qword [rbx], rax
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x70], rdi
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x10]
mov qword [rcx], rax
lea rdx, [rdi + 0x18]
mov qword [rdx], rax
mov byte [rdi + 0x20], al
mov dword [rdi + 0x24], 2
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140016cbb
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
test rdi, rdi
je 0x140016ca8
mov rax, qword [rdi + 8]
test rax, rax
je 0x140016c1d
cmp dword [rax + 8], 0
jne 0x140016ca8
lock inc dword [rbx + 8]
mov rbx, qword [rsi + 8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
test rbx, rbx
je 0x140016c41
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rbx
lock inc dword [rbx + 0xc]
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], rax
mov edi, 0xffffffff
test rcx, rcx
je 0x140016c7c
mov eax, edi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140016c7c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 8]
test rbx, rbx
je 0x140016ca8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140016ca8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140016ca8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rax, str.DtsService::EventMechanism::Error_creating_pipe_for_event_mechanism:
add rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001f50
lea rdx, [0x14002e910]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140017740
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
sub rsp, 0x2a8
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r8d, 0x104
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14001779f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.140012880
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14001d660
add rsp, 0x2a8
ret
xor edx, edx
mov qword [rsp + 0x2b0], rbx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400177d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.140012880
jmp 0x14001796f
xor ecx, ecx
mov qword [rsp + 0x2b8], rbp
mov qword [rsp + 0x60], rcx
lea rax, [0x1400218b0]
mov qword [rsp + 0x58], rcx
lea r8, [0x140025df8]
mov qword [rsp + 0x50], rax
lea rdx, [0x140025e20]
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
lea r9d, [rcx + 4]
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbp, rax
test rax, rax
jne 0x14001786a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService_failed_w_err_0x_08lx_n
call fcn.140012880
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140017967
lea rdx, [0x140025e20]
mov qword [rsp + 0x2a0], rdi
lea rcx, str._s_is_installed._n
call fcn.140012880
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x1400178bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed___d__n
call fcn.1400176e0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140017956
mov r8d, 2
mov qword [rsp + 0x2c0], rsi
lea rdx, [0x140025e20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x1400178fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed___d__n
call fcn.1400176e0
jmp 0x14001793c
lea rax, [0x140025da0]
mov edx, 1
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
lea rdx, str.Service_description_updated_successfully._n
lea rcx, str.ChangeServiceConfig2_failed_n
cmovne rcx, rdx
call fcn.1400176e0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x2c0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14001d660
add rsp, 0x2a8
ret
Function at 0x14001ac30
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
lea rcx, [rbp - 0x38]
call fcn.14001aa90
nop
xor edi, edi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], di
lea r8d, [rdi + 0x3a]
lea rdx, str.DtsService::DeviceWatcher::GUID_from_endpoint_GUID_string
lea rcx, [rbp - 0x58]
call fcn.14000f6a0
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x58]
call fcn.14000f6a0
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [rbp - 0x28], rdi
je 0x14001ad07
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
lea rdx, [rbp - 0x18]
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jns 0x14001ad07
lea rcx, str.Failed_to_obtain_GUID_from_endpoint_GUID_string
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, 0x33c
lea rdx, str.D:_sjc2_jnkns11workspace_apo_4x_serviceDeviceWatcherUtilityDeviceWatcher.cpp
lea rcx, str.SUCCEEDED_hr_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbx], xmm0
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14001ad51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ad4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ad4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], di
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x14001ada4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ad9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ad9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001d660
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140011c50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.14007c710
sub rsp, rax
mov rax, qword [0x1400a0080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
lea ecx, [rdi + 1]
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x140011cb0
mov dword [rsp + 0x30], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], rdi
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
lea rsi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.14001c4f0
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x140011d2a
lea rcx, [rsp + 0x30]
call fcn.14001c4f0
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x140011d15
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + rsi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140011d62
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140011d57
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140011d6a
mov rcx, rbx
call fcn.14001b530
sub rdi, 1
jne 0x140011d00
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14007bfe0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001b0f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a0080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 8
call fcn.14007c000
lea rcx, [0x140011da0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14001c680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14001b16d
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007bfe0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

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

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14001c551
lea r8, [r9 + 8]
nop dword [rax + 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 0x14001c510
mov ecx, dword [r9]
jmp 0x14001c638
cmp ecx, 0x4e0
jb 0x14001c638
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, r11d
lea r10, [r10 + 4]
xor edx, eax
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 0x14001c570
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, r11d
lea r10, [r10 + 4]
xor edx, eax
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 0x14001c5c0
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 0x14001d280
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14001d2b4
mov eax, esi
lea ecx, [rax + 0x76]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14001d2a0
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001d2e9
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1400256d0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001d2f7
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001bc90
mov qword [rdi], rsi
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 + 0x38]
cmp rdx, 0x10
jb 0x14001d36e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d369
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d369
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c03c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001d380
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x14001d3b4
mov ecx, esi
lea eax, [rcx + 0x76]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x14001d3a0
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x14001d3e9
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.1400256d0
nop
cmp byte [rbx + 9], 0
je 0x14001d413
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x76]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 8
jb 0x14001d400
mov byte [rbx + 9], 0
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x14001d448
mov r8d, 8
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400256d0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140023080
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14001d4a1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d49b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d49b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c03c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14001d4e1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d4dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d4dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c03c
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001d4f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x14001d524
mov eax, esi
lea ecx, [rax + 0x76]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14001d510
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001d559
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1400256d0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001d567
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001bc90
mov qword [rdi], rsi
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 + 0x38]
cmp rdx, 0x10
jb 0x14001d5de
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d5d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d5d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c03c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001d5f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x14001d624
mov ecx, esi
lea eax, [rcx + 0x76]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14001d610
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x14001d659
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.1400256d0
nop
cmp byte [rbx + 0xa], 0
je 0x14001d683
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x76]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x14001d670
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x14001d6b8
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400256d0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140023080
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14001d711
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d70b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d70b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c03c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14001d751
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d74c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d74c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c03c
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret