joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400738fc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp + 0x38], 0
lea rax, [rbp + 0x38]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rsi, rdx
mov r14, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400739b0
mov rcx, qword [rbp + 0x38]
lea r9, [rbp + 0x30]
and qword [rbp - 0x10], 0
lea r8, [rbp - 0x10]
and dword [rbp + 0x30], 0
call fcn.140010fb4
mov ebx, eax
test eax, eax
jne 0x1400739b0
and qword [rsp + 0x38], 0
lea r9, [rbp + 0x30]
and qword [rsp + 0x30], 0
xor edx, edx
and qword [rsp + 0x28], 0
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp + 0x38]
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400739a3
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp + 0x38]
call fcn.1400738fc
movzx ebx, ax
mov rcx, qword [rbp - 0x10]
call fcn.14001460c
test ebx, ebx
je 0x14007393b
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400739c5
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
xor eax, eax
cmp ebx, 0x103
cmovne eax, ebx
test eax, eax
jne 0x1400739ee
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
test eax, eax
jle 0x1400739f8
movzx eax, ax
or eax, 0x80070000
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret

Function at 0x140073c88
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 0x18]
lea rax, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov ebx, r8d
mov rax, qword [rsp + 0x60]
xor r8d, r8d
mov dword [r11 + 0x20], r9d
lea r9, [r11 + 0x18]
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x50], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
jne 0x140073cd3
cmp dword [rsp + 0x50], ebx
lea eax, [rcx + 0x57]
cmovne ecx, eax
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140073ce3
mov eax, dword [rsp + 0x58]
mov dword [rdx], eax
test ecx, ecx
jle 0x140073cf0
movzx ecx, cx
or ecx, 0x80070000
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x140073d00
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x30
mov eax, dword [r9]
lea rdx, str.Order
mov rcx, qword [rcx + 0x18]
mov rbx, r9
mov dword [rsp + 0x48], eax
lea r9, [r11 + 0x18]
lea rax, [r11 + 0x10]
mov dword [rsp + 0x50], 7
mov qword [r11 - 0x10], rax
xor r8d, r8d
and qword [r11 - 0x18], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140073d64
cmp dword [rsp + 0x50], 7
lea ecx, [rax + 0x57]
cmovne eax, ecx
mov ecx, dword [rsp + 0x48]
mov dword [rbx], ecx
test eax, eax
jle 0x140073d6e
movzx eax, ax
or eax, 0x80070000
add rsp, 0x30
pop rbx
ret
Function at 0x140073ed0
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov eax, dword [rcx + 0x14]
lea r9, [r11 + 8]
inc dword [rcx + 0x10]
mov rbx, rcx
mov r8, qword [rcx + 8]
mov edx, dword [rcx + 0x10]
mov rcx, qword [rcx]
mov dword [rsp + 0x50], eax
xor eax, eax
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ecx, eax
call fcn.14001ab3c
mov dword [rbx + 0x18], eax
add rsp, 0x40
pop rbx
ret

Function at 0x140073f80
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1400b99b8]
test rdx, rdx
jne 0x140073f9b
mov eax, 0x80070057
add rsp, 0x28
ret
mov eax, dword [rcx + 8]
test eax, eax
js 0x140073fca
mov rcx, qword [rcx]
mov r8, rdx
mov edx, 4
call qword [sym.imp.CRYPTSP.dll_CryptGenRandom]
nop dword [rax + rax]
test eax, eax
je 0x140073fc5
xor eax, eax
add rsp, 0x28
ret
call fcn.140040fd8
add rsp, 0x28
ret

Function at 0x140074168
Capabilities:
Encode data using xor

Disassembly:
mov r11, rcx
test r9d, r9d
je 0x140074195
mov r10d, r9d
movzx r9d, byte [r8]
mov eax, edx
mov ecx, edx
xor r9, rax
shr ecx, 8
inc r8
movzx eax, r9b
mov edx, dword [r11 + rax*4 + 4]
xor edx, ecx
sub r10, 1
jne 0x140074173
mov rax, qword [rsp + 0x28]
mov dword [rax], edx
xor eax, eax
ret

Function at 0x14007434c
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rax + 0x10], 0
lea r8, [rax + 0x10]
mov rsi, rcx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.SspiCli.dll_GetUserNameExW]
nop dword [rax + rax]
test al, al
je 0x140074382
xor ebx, ebx
jmp 0x1400743fe
call fcn.14000dcc4
mov ebx, eax
test eax, eax
jns 0x1400743fe
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400743fe
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
lea rdx, [0x1400b94cc]
cmovo rax, rcx
mov rcx, rax
call fcn.140013f38
mov rdi, rax
test rax, rax
jne 0x1400743c9
mov ebx, 0x8007000e
jmp 0x1400743fe
lea r8, [rsp + 0x38]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.SspiCli.dll_GetUserNameExW]
nop dword [rax + rax]
test al, al
jne 0x1400743f1
call fcn.14000dcc4
mov ebx, eax
test eax, eax
js 0x1400743fe
mov rdx, rdi
mov rcx, rsi
call fcn.140010be8
mov ebx, eax
mov rcx, rdi
call fcn.1400130c4
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140076ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x1400b7c44], 0xffffffff
jne 0x140076f91
xor ebx, ebx
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov dword [0x1400b7c44], ebx
lea rdx, [0x1400acb20]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140076f91
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.PrintIsolationDefault
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140076f80
cmp dword [rsp + 0x40], ebx
setne bl
mov dword [0x1400b7c44], ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, dword [0x1400b7c44]
add rsp, 0x30
pop rbx
ret

Function at 0x1400775a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwarePoliciesMicrosoftWindows_NTPrinters
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x140077647
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x58], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PrintDriverIsolationOverrideCompat
mov dword [rsp + 0x60], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140077636
cmp dword [rsp + 0x58], 4
jne 0x140077636
cmp dword [rsp + 0x68], 1
sete bl
mov dword [rdi + 0x50], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [0x1400b72f8]
lea rax, [0x1400b72f8]
cmp rcx, rax
je 0x14007768b
test byte [rcx + 0x1c], 2
je 0x14007768b
cmp dword [rdi + 0x50], 1
lea rax, str.kOverrideCompatOFF
mov rcx, qword [rcx + 0x10]
lea r9, str.kOverrideCompatON
cmovne r9, rax
lea r8, [0x1400acba0]
mov edx, 0xe
call fcn.1400411f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14007777c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwarePoliciesMicrosoftWindows_NTPrinters
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x14007781d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PrintDriverIsolationExecutionPolicy
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140077802
cmp dword [rsp + 0x60], ebx
je 0x140077807
mov ebx, 1
mov dword [rdi + 0x4c], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140077824
mov dword [rdi + 0x4c], 1
mov rcx, qword [0x1400b72f8]
lea rax, [0x1400b72f8]
cmp rcx, rax
je 0x140077868
test byte [rcx + 0x1c], 2
je 0x140077868
cmp dword [rdi + 0x4c], 1
lea rax, str.kExecuteInProc
mov rcx, qword [rcx + 0x10]
lea r9, str.kExecuteInSandbox
cmovne r9, rax
lea r8, [0x1400acba0]
mov edx, 0xd
call fcn.1400411f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14007aaa4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x68], 0
lea rax, [r11 + 0x20]
and dword [rsp + 0x30], 0
lea r9, [r11 - 0x18]
mov rdi, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
xor r8d, r8d
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007abbc
cmp dword [rsp + 0x30], 3
jne 0x14007abbc
cmp dword [rsp + 0x68], 0x48
jbe 0x14007abbc
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x14007abb5
lea rcx, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14007aba0
mov rcx, qword [rdi]
mov eax, dword [rsp + 0x68]
movzx edx, word [rcx + 0x44]
cmp edx, eax
ja 0x14007ab6f
movzx r8d, word [rcx + 0x46]
cmp r8d, eax
jae 0x14007ab6f
lea ecx, [r8 + rdx]
cmp eax, ecx
je 0x14007abed
mov ebx, 0xd
mov rcx, qword [0x1400b72f8]
lea rax, [0x1400b72f8]
cmp rcx, rax
je 0x14007aba0
test byte [rcx + 0x1c], 4
je 0x14007aba0
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 3]
lea r8, [0x14009ce00]
call fcn.140030acc
mov rcx, qword [rdi]
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
and qword [rdi], 0
jmp 0x14007abed
mov ebx, 8
jmp 0x14007abed
mov ebx, 0xd
mov rcx, qword [0x1400b72f8]
lea rax, [0x1400b72f8]
cmp rcx, rax
je 0x14007abed
test byte [rcx + 0x1c], 4
je 0x14007abed
mov rcx, qword [rcx + 0x10]
lea edx, [rbx - 2]
lea r8, [0x14009ce00]
call fcn.140030acc
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400063c0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14008d080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
mov edi, ebp
test eax, eax
je 0x1400064d7
nop dword [rax]
mov eax, edi
lea rdx, [rsp + 0x50]
lea rdx, [rdx + rax*2]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140006454
lea rcx, [rsp + 0x30]
call fcn.14000cc50
nop
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x30]
cmp rdx, qword [rbx + 0x10]
je 0x140006485
call fcn.14000e420
add qword [rbx + 8], 0x20
jmp 0x14000648e
mov rcx, rbx
call fcn.14000dbf0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400064cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006503
call fcn.14006de7c
add edi, 4
cmp edi, esi
jb 0x140006430
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14006de20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140009420
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14008d080]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
mov eax, dword [str.ZVH_3]
mov dword [rsp + 0x20], eax
je 0x14000952d
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400094ed
movdqa xmm3, xmmword [0x140081a10]
mov ecx, 4
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140081a80]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140081a80]
shufps xmm2, xmm0, 0xdd
movd xmm0, ecx
mov ecx, Ordinal_32
psrad xmm2, xmm0
movdqa xmm1, xmm2
movd xmm0, ecx
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140081a40]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140081a50]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140081a70]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x14000952d
lea r8, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 4
jl 0x140009500
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x28]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx ebx, word [rsp + 0x30]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 1
call fcn.14006de40
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.140002720
movzx edx, bx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.1400069c0
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14006de20
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14000e260
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 0x14000e2c1
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 0x14000e280
mov ecx, dword [r9]
jmp 0x14000e3a8
cmp ecx, 0x4e0
jb 0x14000e3a8
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 0x14000e2e0
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 0x14000e330
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 0x14000ea60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x14000ea94
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x58]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14000ea80
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14000eac4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14000eade
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000eaec
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000da80
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000eb66
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eb61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eb61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006de7c
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14000eb80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 9], r9b
je 0x14000ebc4
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x14000ebb0
mov byte [r8 + 9], r9b
lea rax, [r8 + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14000ebee
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x14000ebfd
mov qword [rbp - 0x28], 8
mov rax, qword [r8]
mov qword [rbp - 0x38], rax
cmp byte [rdx + 9], 0
je 0x14000ec23
mov rcx, r9
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 8
jb 0x14000ec10
mov byte [rdx + 9], 0
lea rax, [rdx + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x14000ec4d
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x14000ec5c
mov qword [rbp - 0x48], 8
mov rax, qword [rdx]
mov qword [rbp - 0x58], rax
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.14000d870
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14000ecb0
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ecaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ecaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006de7c
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000ecee
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ece9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ece9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006de7c
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14000ed10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 9], dil
je 0x14000ed44
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x58]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14000ed30
mov byte [r8 + 9], dil
lea rax, [r8 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14000ed74
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14000ed85
mov qword [rsp + 0x30], 8
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000ed93
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000da80
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000ee0d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ee08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006de7c
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret