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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1406e0940]
cmp byte [rbx + 0x3000], 0
je 0x1405d0bc1
cmp qword [rbx + 0x3008], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3010]
je 0x1405d0bb3
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x1405d0b6b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1405da1d8
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.1405c05ac
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3008]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1406e0938]
movsxd r8, eax
mov rax, qword [rbx + 0x3018]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1405d0bc1
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.1405c05ac
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x1405d1208
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1406e0940]
mov rbx, rcx
and dword [rax + 0x2fbc], 0
test rcx, rcx
je 0x1405d1271
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1405d127c
lea rdx, [0x1406cd96c]
mov rcx, rbx
mov rdi, rax
call fcn.1405bfd48
mov rbx, rax
test rax, rax
je 0x1405d1271
mov r8, qword [rsp + 0x30]
mov r9, rax
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 + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1405f7678
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
xor r9d, r9d
mov dword [rax - 0x20], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rax - 0x28], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1405f76b9
xor eax, eax
jmp 0x1405f771e
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov edx, eax
mov r8d, 0x3000
mov ebx, eax
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1405f7701
cmp dword [rdi], 0x905a4d
je 0x1405f7712
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1405f77c4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movabs rax, 0x80c97356f74cecf3
mov r15, rcx
mov qword [rsp + 0x30], rax
lea rcx, [r11 - 0x48]
movabs rax, 0x897d23432f76e860
mov rdi, r9
mov qword [rsp + 0x38], rax
mov rsi, r8
movabs rax, 0xecad5d3a9b28989d
mov ebp, edx
mov qword [r11 - 0x58], rax
movabs rax, 0x897d23432f76e80c
mov qword [r11 - 0x50], rax
movups xmm0, xmmword [rsp + 0x20]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, 0x1000
mov rcx, r15
mov rbx, rax
call fcn.1405b38d8
mov edx, reloc.WS2_32.dll_WSACleanup
xor ecx, ecx
mov r8d, 0x3000
mov r12, rax
lea r9d, [rdx - 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movups xmm0, xmmword [0x1406df0f0]
mov r9d, reloc.WS2_32.dll_WSACleanup
mov r13, rax
mov rdx, r12
mov r8, r13
mov rcx, r15
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1406df100]
lea r14, [r13 + 0x5c]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1406df110]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x1406df120]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [0x1406df130]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x1406df140]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x1406df148]
mov dword [r13 + 0x58], eax
lea rax, [r12 + 0x5c]
mov qword [r13 + 6], rax
mov qword [r14 + 0x10], rsi
mov eax, dword [rdi + 0x28]
add rax, rsi
mov qword [r14 + 8], rax
call fcn.1405b37dc
mov r9d, ebp
mov r8, rbx
mov rdx, r12
mov ecx, 7
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov rdi, rax
jmp 0x1405f791d
mov r9d, Ordinal_26
lea rdx, [r12 + 0x5c]
mov r8, r14
mov rcx, r15
call fcn.1405b36e0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [r14], 2
jne 0x1405f78fc
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rdx, r12
mov rcx, r15
call fcn.1405b39c4
xor edx, edx
mov r8d, 0x8000
mov rcx, r13
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_VirtualFree]

Function at 0x1405f7960
Capabilities:
Enumerate pe sections

Disassembly:
movzx r9d, word [rdx + 0x14]
movzx eax, word [rdx + 6]
add r9, 0x18
add r9, rdx
lea rdx, [rax + rax*4]
lea r10, [r9 + rdx*8]
cmp r9, r10
jae 0x1405f79a5
mov edx, dword [r9 + 0xc]
cmp rcx, rdx
jb 0x1405f7991
mov eax, dword [r9 + 8]
add eax, edx
cmp rcx, rax
jb 0x1405f7997
add r9, 0x28
jmp 0x1405f7978
mov eax, dword [r9 + 0x14]
sub rax, rdx
add rax, rcx
add rax, r8
ret
xor eax, eax
ret
Function at 0x1405fbcd4
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1406df080]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r9d, r9d
mov qword [rsp + 0x38], rcx
mov rbx, rcx
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 5]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x18], 0
test eax, eax
je 0x1405fbd33
xor r8d, r8d
lea rdx, [0x14067ba0b]
jmp 0x1405fbd4b
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1405fbd3c
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1405bbfdc
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140668060
add rsp, 0x160
pop rbx
ret
Function at 0x140601220
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
mov r10, rcx
cmp rdx, r8
je 0x1406013c1
mov r14, qword [rcx + 0x18]
lea rax, [rcx + 8]
mov r12, qword [rdx + 8]
lea rcx, [rdx + 0x10]
cmp qword [rcx + 0x18], 0x10
mov r13, qword [rax]
mov r9, qword [rcx + 0x10]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], rdx
jb 0x14060127b
mov rcx, qword [rcx]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x1406012ab
movzx eax, byte [r8 + rcx]
inc r8
xor rdx, rax
imul rdx, r11
cmp r8, r9
jb 0x140601297
mov r15, qword [r10 + 0x30]
lea rcx, [rbp - 0x20]
and r15, rdx
add r15, r15
mov rbx, qword [r14 + r15*8]
mov rax, qword [r14 + r15*8 + 8]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x48], rax
call fcn.1406013dc
mov rax, qword [rbp + 0x48]
cmp rsi, rax
je 0x140601300
mov rcx, qword [rbp - 0x10]
cmp rcx, rdi
je 0x140601377
cmp rcx, rax
lea rcx, [rbp - 0x20]
sete bl
call fcn.1406013dc
mov rax, qword [rbp + 0x48]
test bl, bl
je 0x1406012d8
mov rbx, qword [rbp + 0x50]
cmp rbx, rsi
jne 0x14060130c
mov qword [r14 + r15*8], r13
mov r12, r13
mov qword [r14 + r15*8 + 8], r12
mov rcx, qword [rbp - 0x10]
cmp rcx, rdi
je 0x1406013b6
mov r12, qword [rbp + 0x40]
lea rdx, [rcx + 0x10]
cmp qword [rdx + 0x18], 0x10
mov r9, qword [rdx + 0x10]
jb 0x140601334
mov rdx, qword [rdx]
xor r8d, r8d
movabs rsi, 0xcbf29ce484222325
test r9, r9
je 0x140601368
movabs rcx, 0x100000001b3
movzx eax, byte [r8 + rdx]
inc r8
xor rsi, rax
imul rsi, rcx
cmp r8, r9
jb 0x140601350
mov rcx, qword [rbp - 0x10]
and rsi, qword [r12 + 0x30]
add rsi, rsi
mov r15, qword [r14 + rsi*8 + 8]
jmp 0x140601388
cmp qword [rbp + 0x50], rsi
jne 0x1406013b6
mov qword [r14 + r15*8], rcx
jmp 0x1406013b6
cmp rcx, rdi
je 0x1406013b2
cmp rcx, r15
lea rcx, [rbp - 0x20]
sete bl
call fcn.1406013dc
mov rcx, qword [rbp - 0x10]
test bl, bl
je 0x140601383
mov qword [r14 + rsi*8], r13
mov qword [r14 + rsi*8 + 8], r13
cmp rcx, rdi
je 0x1406013b6
jmp 0x140601322
mov qword [r14 + rsi*8], rcx
mov rax, qword [rbp - 0x18]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rbx, qword [rsp + 0x98]
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1406016cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r15, r8
mov r14, rdx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1406016f2
mov rdx, qword [r8]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
cmp qword [r8 + 0x10], rcx
jbe 0x140601722
movzx eax, byte [rcx + rdx]
xor rdi, rax
movabs r8, 0x100000001b3
imul rdi, r8
inc rcx
cmp rcx, qword [r15 + 0x10]
jb 0x140601704
mov r9, rdi
mov r8, r15
lea rdx, [rsp + 0x30]
call fcn.1406031f0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140601749
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x140601912
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x1406e0d90], rax
jne 0x14060176a
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x1406e0d88]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x60
call fcn.140668318
mov rsi, rax
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rcx, [rax + 0x10]
call fcn.1405baf98
nop
and dword [rsi + 0x58], 0
mov r8, qword [0x1406e0d90]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1406017b9
cvtsi2ss xmm0, rcx
jmp 0x1406017ce
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [0x1406e0db8]
xorps xmm2, xmm2
test rbx, rbx
js 0x1406017e4
cvtsi2ss xmm2, rbx
jmp 0x1406017fc
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
movss xmm3, dword [0x1406e0d80]
comiss xmm1, xmm3
seta al
test al, al
je 0x14060189e
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1406cf464]
comiss xmm0, xmm1
jb 0x140601847
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140601847
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140601875
cmp rbx, 0x200
jae 0x140601872
shl rbx, 3
cmp rbx, rcx
jae 0x140601875
mov rbx, rcx
mov rdx, rbx
call fcn.140601d4c
lea r8, [rsi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
call fcn.1406031f0
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
mov r8, qword [0x1406e0d90]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + 8]
inc r8
mov qword [0x1406e0d90], r8
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
mov qword [rdx], rsi
mov qword [rcx + 8], rsi
mov rax, qword [0x1406e0d98]
and rdi, qword [0x1406e0db0]
add rdi, rdi
mov r8, qword [rax + rdi*8]
cmp r8, qword [0x1406e0d88]
jne 0x1406018e9
mov qword [rax + rdi*8], rsi
jmp 0x1406018fb
cmp r8, rcx
jne 0x1406018f4
mov qword [rax + rdi*8], rsi
jmp 0x140601900
cmp qword [rax + rdi*8 + 8], rdx
jne 0x140601900
mov qword [rax + rdi*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x20]
call fcn.1406019c8
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140601d4c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x140601d8b
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbp, qword [0x1406e0d88]
lea rax, [rdx - 1]
or rax, 1
mov ebx, 1
bsr rcx, rax
mov r8, rbp
inc ecx
shl rbx, cl
lea rcx, [0x1406e0d98]
lea rdx, [rbx + rbx]
call fcn.140601510
lea rdx, [rbx - 1]
mov qword [0x1406e0db8], rbx
mov rbx, qword [0x1406e0d88]
mov qword [0x1406e0db0], rdx
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x140601f46
mov rdi, qword [rdi]
lea r15, [rbx + 0x10]
cmp qword [r15 + 0x18], 0x10
mov r8, r15
jb 0x140601df7
mov r8, qword [r15]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
cmp qword [r15 + 0x10], rcx
jbe 0x140601e28
movzx eax, byte [rcx + r8]
movabs r9, 0x100000001b3
xor r14, rax
inc rcx
imul r14, r9
cmp rcx, qword [r15 + 0x10]
jb 0x140601e09
mov r12, qword [0x1406e0d98]
and r14, rdx
add r14, r14
cmp qword [r12 + r14*8], rbp
jne 0x140601e49
mov qword [r12 + r14*8], rbx
mov qword [r12 + r14*8 + 8], rbx
jmp 0x140601f32
mov rsi, qword [r12 + r14*8 + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0x10
mov rax, qword [rdx + 0x10]
jb 0x140601e60
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x140601e6d
mov rcx, qword [r15]
cmp qword [r15 + 0x10], rax
jne 0x140601eab
mov r8, qword [r15 + 0x10]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140601eab
mov r8, qword [rsi]
cmp r8, rbx
je 0x140601e3f
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x140601e3f
cmp qword [r12 + r14*8], rsi
je 0x140601f0d
mov rsi, qword [rsi + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0x10
mov rax, qword [rdx + 0x10]
jb 0x140601ec7
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x140601ed4
mov rcx, qword [r15]
cmp qword [r15 + 0x10], rax
jne 0x140601eab
mov r8, qword [r15 + 0x10]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140601eab
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x140601f32
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8], rbx
mov rbx, rdi
cmp rdi, rbp
je 0x140601f46
mov rdx, qword [0x1406e0db0]
jmp 0x140601de3
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140607fc0
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 0x140607ff4
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140607fe0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14060235c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140608019
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1405bc6a8
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 0x140608093
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14060808e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14060808e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1406080a0
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 0x1406080d4
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x1406080c0
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14060235c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1406080f9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1405bc6a8
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 0x140608173
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14060816e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14060816e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140608180
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 0x1406081b4
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x1406081a0
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14060235c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1406081d9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1405bc6a8
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 0x140608253
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14060824e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14060824e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140608260
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 + 0xc], sil
je 0x140608294
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x140608280
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14060235c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1406082b9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1405bc6a8
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 0x140608333
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14060832e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14060832e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140668354
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14060e640
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 9], al
je 0x14060e663
lea edx, [rax - 0x65]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x14060e650
mov byte [rcx + 9], 0
lea r8, [rcx + 8]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14060235c
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14060e680
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x10], al
je 0x14060e6a3
lea edx, [rax - 0x65]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x14060e690
mov byte [rcx + 0x10], 0
lea r8, [rcx + 0xf]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14060235c
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14060f430
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x14060f453
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x65]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x14060f440
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x14060f460
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x14060f488
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x65]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x14060f470
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x14060f490
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x14060f4b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x65]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x14060f4a0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x14060f4c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x14060f4e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x65]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x14060f4d0
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x14060fbf0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
mov r10, rcx
mov ecx, r9d
test r8, r8
je 0x14060fcd7
sub r10, rdx
cmp r8, 8
jb 0x14060fcb3
mov rax, r8
lea r9, [rdx + 4]
and rax, 0xfffffffffffffff8
xorps xmm3, xmm3
xorps xmm2, xmm2
movd xmm1, dword [r10 + r9 - 4]
add rcx, 8
movd xmm0, dword [r9 - 4]
lea r9, [r9 + 8]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
punpcklbw xmm0, xmm0
psrad xmm1, 0x18
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor xmm1, xmm0
movd xmm0, dword [r9 - 8]
punpcklbw xmm0, xmm0
por xmm3, xmm1
movd xmm1, dword [r10 + r9 - 8]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
punpcklwd xmm0, xmm0
psrad xmm1, 0x18
psrad xmm0, 0x18
pxor xmm1, xmm0
por xmm2, xmm1
cmp rcx, rax
jb 0x14060fc20
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd r9d, xmm2
cmp rcx, r8
jae 0x14060fcd7
lea rax, [rcx + rdx]
sub r8, rcx
nop word [rax + rax]
movsx edx, byte [r10 + rax]
movsx ecx, byte [rax]
lea rax, [rax + 1]
xor edx, ecx
or r9d, edx
sub r8, 1
jne 0x14060fcc0
test r9d, r9d
sete al
ret