joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002bb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140003c40
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140003c40
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400080a4]
mov rbx, rcx
test esi, esi
jle 0x140002d50
mov rax, qword [0x1400080a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002c6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002cf5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002c50
mov rcx, rbx
call fcn.140003670
mov rdi, rax
test rax, rax
je 0x140002d72
mov rax, qword [0x1400080a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400037b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400080a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002d57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002cee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002d00
add dword [0x1400080a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400080a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002cee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002bb0
nop dword [rax]
xor esi, esi
jmp 0x140002c78
mov rax, qword [0x1400080a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002bb0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002bb0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400032e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x14000333c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003333
test rsi, rsi
je 0x140003333
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003318
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003670
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005a00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003690
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003698
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003690
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400036ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400036e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003690
add rax, 0x28
cmp rax, r9
jne 0x1400036d0
xor eax, eax
ret

Function at 0x1400036f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005a00]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000370f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003718
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000370f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400037b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005a00]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400037cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400037d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1400898b4], 0
lea rdi, [0x1400898b0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x1400027d8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002730
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000280e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400027f0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000284f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002833
cmp byte [r8], r9b
jne 0x140002833
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140002820
not eax
pop rdi
ret
Function at 0x140002a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140002a49
mov qword [r8], 0
lea rdx, [0x14003b950]
call fcn.140002860
mov rbx, rax
test rax, rax
jne 0x140002a68
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002b28
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002b28
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002b28
mov rax, qword [0x1400893a0]
mov rbp, rsi
test rax, rax
je 0x140002ac5
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002b28
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140002b15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400893a0]
test rax, rax
je 0x140002b0a
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002b31
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002b23
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002b33
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140011dd0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400893a0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x140011eea
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x140011e2a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140012eb0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140011e3e
mov edx, 8
mov rcx, rbx
call fcn.140012eb0
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x140011e8a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140011e60
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140011e99
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14003b954]
test rax, rax
movsxd rsi, esi
lea rdi, [0x140089398]
mov rcx, r15
cmovne rdi, rax
call fcn.140002860
mov rbx, rax
test rax, rax
je 0x140011ee5
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x140039740
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003978a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003978a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003978a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003978a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003978a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003978c
xor al, al
add rsp, 0x28
ret
Function at 0x140001340
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 [0x140165020]
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 0x14000146d
xor ebp, ebp
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x150]
mov r8d, 0x104
call fcn.14000a990
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.14000a990
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 [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r8, rsi
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.14000ee88
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.14000ee88
lea r8, [rsp + 0x150]
mov edx, 0x104
lea rcx, [rsp + 0x370]
call fcn.14000ee88
lea rcx, [rsp + 0x260]
call fcn.14000f10c
lea rcx, [rsp + 0x370]
call fcn.14000f10c
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x370]
call fcn.140009fdc
test rax, rax
jne 0x140001498
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140001390
xor eax, eax
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140008230
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 0x14000146f

Function at 0x1400014a0
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 0x140001523
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 0x140001523
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 0x140001513
inc rax
test ecx, ecx
jne 0x140001500
test edx, edx
je 0x14000153a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x1400014f0
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 0x140001525
Function at 0x140001550
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [0x14015ff78]
xor ecx, ecx
cmp dword [0x140165030], 2
mov rbx, rdx
movsd xmm0, qword [0x14015ff70]
mov dword [rbp - 0x18], eax
movzx eax, byte [0x14015ff7c]
mov byte [rbp - 0x14], al
movsd qword [rbp - 0x20], xmm0
jl 0x1400016a7
movdqa xmm2, xmmword [0x1401600e0]
mov eax, 5
movdqa xmm3, xmmword [0x1401600f0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140160150]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x40], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14015ff70]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x40]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160110]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x1c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rbp - 0x1c], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x20]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x1400016c0
cmp byte [0x14015ff89], 0
movsd xmm0, qword [str.__QZ_]
movzx eax, word [0x14015ff88]
movsd qword [rbp - 0x30], xmm0
mov word [rbp - 0x28], ax
je 0x140001738
xor byte [rbp - 0x2f], 0x34
xor byte [rbp - 0x2e], 0x35
xor byte [rbp - 0x2d], 0x36
xor byte [rbp - 0x2c], 0x37
xor byte [rbp - 0x2b], 0x38
xor byte [rbp - 0x2a], 0x39
xor byte [rbp - 0x29], 0x3a
xor byte [rbp - 0x28], 0x3b
xor byte [rbp - 0x27], 0x3c
mov byte [rbp - 0x30], 0x6e
lea rdx, [rbp - 0x30]
call fcn.140001340
lea r8, [rbp - 0x20]
mov rdx, rax
call fcn.1400014a0
test rax, rax
je 0x140001757
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x140001a30
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movups xmm0, xmmword [str._vCEJTOlOQ_21C]
movzx eax, byte [0x14015ffd0]
xor ecx, ecx
cmp dword [0x140165030], 2
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x40], al
jl 0x140001bca
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1401600e0]
mov eax, 5
movdqa xmm4, xmmword [0x140160150]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x140160110]
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
paddd xmm1, xmm2
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 [0x140160120]
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
paddd xmm1, xmm3
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 [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140001ab0
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x11
jge 0x140001c0f
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140001be0
cmp byte [0x14015ff89], 0
movsd xmm0, qword [str.__QZ_]
movzx eax, word [0x14015ff88]
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x140001c58
xor byte [rbp - 0x5f], 0x34
xor byte [rbp - 0x5e], 0x35
xor byte [rbp - 0x5d], 0x36
xor byte [rbp - 0x5c], 0x37
xor byte [rbp - 0x5b], 0x38
xor byte [rbp - 0x5a], 0x39
xor byte [rbp - 0x59], 0x3a
xor byte [rbp - 0x58], 0x3b
xor byte [rbp - 0x57], 0x3c
mov byte [rbp - 0x60], 0x6e
lea rdx, [rbp - 0x60]
call fcn.140001340
lea r8, [rbp - 0x50]
mov rdx, rax
call fcn.1400014a0
test rax, rax
je 0x140001c7d
call rax
add rsp, 0x80
pop rbp
ret
add rsp, 0x80
pop rbp
ret
Function at 0x140002020
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [r11 - 0x4f]
sub rsp, 0xa0
mov rax, qword [0x140165020]
xor rax, rsp
mov qword [rbp + 7], rax
cmp byte [0x14015ffa3], 0
mov r14d, r9d
movsd xmm0, qword [0x14015ff98]
mov rsi, r8
mov eax, dword [0x14015ffa0]
mov rdi, rdx
mov rbx, qword [rbp + 0x77]
movsd qword [rbp - 0x19], xmm0
mov dword [rbp - 0x11], eax
je 0x1400021df
xor ecx, ecx
cmp dword [0x140165030], 2
jl 0x140002199
movdqa xmm2, xmmword [0x1401600e0]
mov eax, 5
movdqa xmm3, xmmword [0x1401600f0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140160150]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [r11 - 0x38], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14015ff98]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x19], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [r11 - 0x38]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160110]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x15]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0xc
jl 0x1400021b0
cmp byte [0x14015ff89], 0
movsd xmm0, qword [str.__QZ_]
movzx eax, word [0x14015ff88]
movsd qword [rbp - 0x29], xmm0
mov word [rbp - 0x21], ax
je 0x140002228
xor byte [rbp - 0x28], 0x34
xor byte [rbp - 0x27], 0x35
xor byte [rbp - 0x26], 0x36
xor byte [rbp - 0x25], 0x37
xor byte [rbp - 0x24], 0x38
xor byte [rbp - 0x23], 0x39
xor byte [rbp - 0x22], 0x3a
xor byte [rbp - 0x21], 0x3b
xor byte [rbp - 0x20], 0x3c
mov byte [rbp - 0x29], 0x6e
lea rdx, [rbp - 0x29]
call fcn.140001340
lea r8, [rbp - 0x19]
mov rdx, rax
call fcn.1400014a0
test rax, rax
je 0x140002284
mov qword [rsp + 0x40], 0
lea rcx, [rbp - 9]
mov qword [rsp + 0x38], 0
xor r9d, r9d
mov dword [rsp + 0x30], r14d
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call rax
test eax, eax
js 0x140002284
mov eax, dword [rbp - 1]
mov dword [rbx], eax
mov eax, 1
jmp 0x140002286
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140008230
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400022a0
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 [0x14002e357], 0
mov rbx, rdx
mov rax, qword [str._vZXK:]
mov qword [rbp + 0x10], rax
je 0x14000242f
xor ecx, ecx
cmp dword [0x140165030], 2
jl 0x1400023ee
movdqa xmm2, xmmword [0x1401600e0]
mov eax, 5
movdqa xmm3, xmmword [0x1401600f0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140160150]
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
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160110]
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 [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160110]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x14]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rbp + 0x14], xmm2
jmp 0x14000242f
lea r8, [rbp + 0x10]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x140002400
cmp byte [0x14015ff89], 0
movsd xmm0, qword [str.__QZ_]
movzx eax, word [0x14015ff88]
movsd qword [rbp - 0x20], xmm0
mov word [rbp - 0x18], ax
je 0x140002478
xor byte [rbp - 0x1f], 0x34
xor byte [rbp - 0x1e], 0x35
xor byte [rbp - 0x1d], 0x36
xor byte [rbp - 0x1c], 0x37
xor byte [rbp - 0x1b], 0x38
xor byte [rbp - 0x1a], 0x39
xor byte [rbp - 0x19], 0x3a
xor byte [rbp - 0x18], 0x3b
xor byte [rbp - 0x17], 0x3c
mov byte [rbp - 0x20], 0x6e
lea rdx, [rbp - 0x20]
call fcn.140001340
lea r8, [rbp + 0x10]
mov rdx, rax
call fcn.1400014a0
test rax, rax
je 0x140002497
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret