joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045fc0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1400fd1a0]
mov qword [rcx], rax
add rcx, 8
call fcn.140071a80
lea rcx, [rsi + 0x10]
call fcn.140071a80
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.140071a80
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
movups xmmword [rsi + 0xd0], xmm6
mov qword [rsi + 0xe0], rbx
mov ebp, 0x3f800000
mov dword [rsi + 0xe8], ebp
mov dword [rsi + 0xf0], ebx
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], ebp
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], ebp
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], ebp
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebp
mov qword [rsi + 0x1b0], rbx
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], ebx
mov eax, dword [0x140106ebc]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.140053190
lea rcx, [rsi + 0x310]
movups xmmword [rsi + 0x2f8], xmm6
mov qword [rsi + 0x308], rbx
xor edx, edx
call fcn.140050660
lea rcx, [rsi + 0x318]
xor edx, edx
call fcn.140050660
lea rcx, [rsi + 0x320]
xor edx, edx
call fcn.140050660
movups xmmword [rsi + 0x328], xmm6
movups xmmword [rsi + 0x338], xmm6
mov dword [rsi + 0x348], ebp
movups xmmword [rsi + 0x350], xmm6
movups xmmword [rsi + 0x360], xmm6
movups xmmword [rsi + 0x370], xmm6
mov byte [rsi + 0x380], bl
mov dword [rsi + 0x384], edi
mov byte [rsi + 0x388], bl
movups xmmword [rsi + 0x390], xmm6
movups xmmword [rsi + 0x3a0], xmm6
call fcn.140019e90
call fcn.140044af0
mov dword [rsi + 0x1a8], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.1400461f0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400461db
call fcn.1400528d0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140052980
mov qword [0x1401279a8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x140133008]
jmp 0x1400461a9
Function at 0x140078180
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x140117038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14006ed80
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [0x14010bc80]
movsd xmm0, qword [0x140127568]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400781dd
jnp 0x140078242
ucomisd xmm0, xmm6
jne 0x1400781e9
jnp 0x14007836c
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400fde60]
subpd xmm1, xmmword [0x1400fde70]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140101eb8]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400896c0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rbx, qword [0x14010ba50]
call rbx
mov rcx, rax
call qword [0x14010bb68]
mov r12d, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [0x14010bd48]
mov eax, dword [0x140127578]
mov ecx, dword [0x140120788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140078373
mov eax, dword [0x140127588]
mov ecx, dword [0x140120788]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400783ad
rdtsc
mov r14, rax
mov r15, rdx
xor edi, edi
lea rbx, [rsp + 0x30]
mov qword [rbx], rdi
mov rcx, rbx
call qword [0x14010bc70]
mov rbp, qword [rbx]
call qword [0x14010ba50]
mov rcx, rax
mov edx, r12d
call qword [0x14010bd48]
mov qword [rbx], rdi
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [0x14010bc78]
sub rbp, qword [0x140127580]
movq xmm1, rbp
punpckldq xmm1, xmmword [0x1400fde60]
subpd xmm1, xmmword [0x1400fde70]
haddpd xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140101eb0]
ucomisd xmm2, xmm1
ja 0x1400781dd
shl r15, 0x20
or r14, r15
sub r14, qword [0x140127570]
movq xmm0, r14
punpckldq xmm0, xmmword [0x1400fde60]
subpd xmm0, xmmword [0x1400fde70]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x140127568], xmm0
jmp 0x1400781dd
xor eax, eax
jmp 0x14007821b
lea rcx, [0x140127578]
call fcn.1400882f0
cmp dword [0x140127578], 0xffffffff
jne 0x14007828c
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140127570], rdx
lea rcx, [0x140127578]
call fcn.140088388
jmp 0x14007828c
lea rcx, [0x140127588]
call fcn.1400882f0
cmp dword [0x140127588], 0xffffffff
jne 0x1400782b1
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [0x14010bc70]
mov rax, qword [rbx]
mov qword [0x140127580], rax
lea rcx, [0x140127588]
call fcn.140088388
jmp 0x1400782b1

Function at 0x14007c330
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14007c35b
xor ecx, ecx
lea r9, [0x1401063e0]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x14007c340
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
xchg ebp, eax
invalid
lea esi, [rcx + 0x2fee52cb]
scasb al, byte [rdi]
xor dword [rcx + 0x3d], eax
out dx, eax
je 0x1400209b3
outsd dx, dword fs:[rsi]
invalid
Function at 0x2fc4d3290
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d3c92
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f6108]
test eax, eax
je 0x2fc4d3d2a
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f6110]
mov qword [rbp - 8], rax
jmp 0x2fc4d3d0e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d3d02
cmp qword [rbp - 0x10], 0
je 0x2fc4d3d02
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3cc8
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d3d2b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3e30
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d3e58
mov eax, 0
jmp 0x2fc4d3ea6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d3e81
mov eax, 0
jmp 0x2fc4d3ea6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d3ea1
mov eax, 0
jmp 0x2fc4d3ea6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d3eac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d3f2a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d3f21
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d3f21
mov rax, qword [rbp - 8]
jmp 0x2fc4d3f3f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d3ef4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140047600
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x490
mov rax, qword [0x14017cbd0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rax, qword gs:[0x60]
mov rsi, rdx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14004772d
xor ebp, ebp
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x150]
mov r8d, 0x104
call fcn.140097210
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.140097210
mov r8, qword [rbx + 0x40]
lea rax, [rsp + 0x150]
mov qword [rsp + 0x38], rbp
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], 0x104
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [0x1400e4100]
mov r8, rsi
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.140071910
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.140071910
lea r8, [rsp + 0x150]
mov edx, 0x104
lea rcx, [rsp + 0x370]
call fcn.140071910
lea rcx, [rsp + 0x260]
call fcn.140071c30
lea rcx, [rsp + 0x370]
call fcn.140071c30
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x370]
call fcn.140096dec
test rax, rax
jne 0x140047758
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140047650
xor eax, eax
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140094f40
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x14004772f

Function at 0x140047760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rdx + 0x3c]
mov rdi, r8
mov r11, rdx
cmp dword [rax + rdx + 0x8c], 0
je 0x1400477e3
mov eax, dword [rax + rdx + 0x88]
xor r9d, r9d
add rax, rdx
mov esi, dword [rax + 0x1c]
mov ebp, dword [rax + 0x24]
add rsi, rdx
mov r10d, dword [rax + 0x20]
add rbp, rdx
mov ebx, dword [rax + 0x18]
add r10, rdx
test ebx, ebx
je 0x1400477e3
nop
mov eax, dword [r10]
mov r8, rdi
add rax, r11
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400477d3
inc rax
test ecx, ecx
jne 0x1400477c0
test edx, edx
je 0x1400477fa
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x1400477b0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x1400477e5
Function at 0x140047810
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x14017cbd0]
xor rax, rsp
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [0x1401638f0]
movzx eax, byte [0x140163908]
xor ebx, ebx
cmp dword [0x14017cbe8], 2
mov ecx, ebx
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x38], al
movsd xmm0, qword [0x140163900]
movsd qword [rsp + 0x30], xmm0
jl 0x1400479db
movdqa xmm0, xmmword [0x140165540]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x140165490]
mov eax, 4
movdqa xmm4, xmmword [0x140165560]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x1401654b0]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140165530]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140165530]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400478c0
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
cmp ecx, 0x19
jge 0x140047a1d
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
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, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x1400479f0
lea rdx, [0x1401638e0]
call fcn.140047600
lea r8, [rsp + 0x20]
mov rdx, rax
call fcn.140047760
test rax, rax
je 0x140047a5e
xor r9d, r9d
lea rdx, [rsp + 0x50]
xor ecx, ecx
lea r8d, [r9 + 0x40]
call rax
test eax, eax
jne 0x140047a5e
cmp byte [rsp + 0x88], 2
setle bl
mov eax, ebx
jmp 0x140047a60
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140094f40
add rsp, 0xd0
pop rbx
ret
Function at 0x140047a80
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movups xmm0, xmmword [0x140163960]
movzx eax, byte [0x140163970]
xor ecx, ecx
cmp dword [0x14017cbe8], 2
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x40], al
jl 0x140047c12
movdqa xmm0, xmmword [0x140165540]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x140165490]
mov eax, 4
movdqa xmm4, xmmword [0x140165550]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x1401654c0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x50], xmm8
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
movd xmm8, eax
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140165530]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140165530]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140047b00
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x11
jge 0x140047c4d
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [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, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140047c20
cmp byte [0x140163959], 0
movsd xmm0, qword [0x140163950]
movzx eax, word [0x140163958]
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x140047c96
xor byte [rbp - 0x5f], 0x39
xor byte [rbp - 0x5e], 0x3a
xor byte [rbp - 0x5d], 0x3b
xor byte [rbp - 0x5c], 0x3c
xor byte [rbp - 0x5b], 0x3d
xor byte [rbp - 0x5a], 0x3e
xor byte [rbp - 0x59], 0x3f
xor byte [rbp - 0x58], 0x40
xor byte [rbp - 0x57], 0x41
mov byte [rbp - 0x60], 0x6e
lea rdx, [rbp - 0x60]
call fcn.140047600
lea r8, [rbp - 0x50]
mov rdx, rax
call fcn.140047760
test rax, rax
je 0x140047cbb
call rax
add rsp, 0x80
pop rbp
ret
add rsp, 0x80
pop rbp
ret
Function at 0x140047f90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
cmp byte [0x140163917], 0
mov rbx, rdx
mov rax, qword [0x140163910]
mov qword [rbp + 0x10], rax
je 0x14004810d
xor ecx, ecx
cmp dword [0x14017cbe8], 2
jl 0x1400480d6
movdqa xmm2, xmmword [0x140165490]
mov eax, 4
movdqa xmm4, xmmword [0x140165550]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401654a0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x30], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401654c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x10]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140165530]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140165540]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x10], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401654c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x14]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140165530]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140165540]
xorps xmm2, xmm0
movd dword [rbp + 0x14], xmm2
jmp 0x14004810d
lea r8, [rbp + 0x10]
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, 0x38
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x1400480e0
cmp byte [0x140163959], 0
movsd xmm0, qword [0x140163950]
movzx eax, word [0x140163958]
movsd qword [rbp - 0x20], xmm0
mov word [rbp - 0x18], ax
je 0x140048156
xor byte [rbp - 0x1f], 0x39
xor byte [rbp - 0x1e], 0x3a
xor byte [rbp - 0x1d], 0x3b
xor byte [rbp - 0x1c], 0x3c
xor byte [rbp - 0x1b], 0x3d
xor byte [rbp - 0x1a], 0x3e
xor byte [rbp - 0x19], 0x3f
xor byte [rbp - 0x18], 0x40
xor byte [rbp - 0x17], 0x41
mov byte [rbp - 0x20], 0x6e
lea rdx, [rbp - 0x20]
call fcn.140047600
lea r8, [rbp + 0x10]
mov rdx, rax
call fcn.140047760
test rax, rax
je 0x140048175
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret