joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000201d0
Capabilities:
Prompt user for credentials

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x80
mov r13, qword [0x10002a358]
and dword [rax - 0x40], 0
xor edx, edx
mov r12, r8
lea rcx, [rax - 0x38]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
and dword [rsp + 0x50], 0
cmp dword [rsp + 0xd0], 0
mov ebp, 0x140082
lea eax, [rbp + 1]
cmovne ebp, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, 0x208
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
jne 0x10002024b
mov ebx, 0x8007000e
jmp 0x1000203ad
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x100020271
mov ebx, 0x8007000e
jmp 0x100020380
mov rcx, qword [0x10002a370]
mov r9d, 0x104
mov r8, rsi
mov edx, 0x2713
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jg 0x1000202b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000202aa
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1000202af
mov ebx, 0x80004005
test ebx, ebx
js 0x100020380
mov rcx, qword [0x10002a370]
mov r9d, 0x104
mov r8, rdi
mov edx, 0x9cbc
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jg 0x1000202fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000202f0
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1000202f5
mov ebx, 0x80004005
test ebx, ebx
js 0x100020380
mov dword [rsp + 0x48], ebp
lea rax, [rsp + 0x50]
lea rdx, [0x1000069b0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc0]
mov dword [rsp + 0x38], 0x100
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
mov r9d, 0x52e
xor r8d, r8d
mov dword [rsp + 0x28], 0x201
mov dword [rsp + 0x58], 0x28
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
call qword [sym.imp.credui.dll_CredUIPromptForCredentialsW]
xor ebx, ebx
test eax, eax
je 0x100020373
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, 1
cmp bx, 0x4c7
cmove ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rdi, rdi
je 0x1000203ad
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x100021688
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
mov eax, 0x1130
call fcn.1000235f0
sub rsp, rax
mov rax, qword [0x100028110]
xor rax, rsp
mov qword [rsp + 0x1120], rax
mov rdi, rcx
mov rcx, qword [0x10002a370]
mov rsi, rdx
lea r8, [rsp + 0xf10]
mov r9d, 0x104
mov edx, 0x2713
call qword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [rsi]
lea r11, [rsp + 0x50]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x60]
mov r8d, 1
xor ecx, ecx
mov dword [rsp + 0x20], 0xa68
call sub.WINSTA.dll_WinStationQueryInformationW
test al, al
je 0x1000218f1
mov eax, dword [rsp + 0x5c0]
test eax, eax
jne 0x100021775
mov edx, 0x9cbe
mov rcx, qword [0x10002a370]
lea r8, [rsp + 0xaf0]
mov r9d, 0x104
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, dword [rsi]
lea r8, [rsp + 0xaf0]
lea rcx, [rsp + 0xd00]
mov edx, 0x105
call fcn.10000b07c
lea r8, [rsp + 0xf10]
lea rdx, [rsp + 0xd00]
mov r9d, 0x30
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1000218f1
cmp dword [rsi + 0x88], 4
jne 0x10002178f
cmp eax, 1
je 0x100021788
cmp eax, 3
jne 0x10002178f
mov edx, 0x9cbf
jmp 0x100021719
lea rcx, [rsp + 0x38]
call fcn.10001e424
movzx edx, word [rsp + 0x40]
mov rcx, qword [0x10002a370]
lea rax, [rsp + 0x38]
lea r9, [0x10001e368]
mov r8, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, 1
jne 0x1000218e7
mov rcx, qword [0x10002a370]
and qword [rsp + 0x20], 0
lea r9, [0x100021920]
mov r8, rdi
mov edx, 0xd6
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rbx, rax
test rax, rax
je 0x10002180a
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov ecx, 0x384
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xad0]
mov dword [rsp + 0x30], 0x10
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
movzx r11d, word [rsp + 0x4c]
mov r9b, byte [rsp + 0x48]
mov r8d, dword [rsi]
lea rdx, [rsp + 0xad0]
xor ecx, ecx
mov word [rsp + 0x20], r11w
call sub.WINSTA.dll_WinStationShadow
movzx r12d, al
test rbx, rbx
je 0x10002187e
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
test r12d, r12d
jne 0x1000218de
mov rcx, qword [0x10002a370]
lea r8, [rsp + 0xaf0]
mov r9d, 0x104
mov edx, 0x9cbd
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, dword [rsi]
lea r8, [rsp + 0xaf0]
lea rcx, [rsp + 0xd00]
mov edx, 0x105
call fcn.10000b07c
lea r9d, [r12 + 0x30]
lea r8, [rsp + 0xf10]
lea rdx, [rsp + 0xd00]
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetCursor]
lea rcx, [rsp + 0x38]
call fcn.10001e528
mov rcx, qword [rsp + 0x1120]
xor rcx, rsp
call fcn.100022bc0
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x100021d50
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x60
xor r14d, r14d
mov esi, r8d
mov ebp, edx
mov r12d, ecx
mov dword [rax - 0x58], 1
mov dword [rax - 0x48], 1
mov edi, r14d
mov qword [rax - 0x50], r14
mov qword [rax - 0x40], r14
mov qword [rax - 0x30], r14
mov qword [rax - 0x20], r14
mov dword [rax - 0x38], 1
mov dword [rax - 0x28], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x80], 1
mov rbx, rax
jle 0x100021de3
mov rcx, qword [rax + 8]
cmp word [rcx], 0x2f
jne 0x100021de3
add rcx, 2
call qword [sym.imp.msvcrt.dll__wtol]
mov edi, eax
cmp eax, 7
cmovge edi, r14d
xor ecx, ecx
lea r9, [rsp + 0x20]
mov edx, 0xdd7
lea r8d, [rcx + 4]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x58], edi
call sub.ntdll.dll_WinSqmAddToStream
cmp rbx, r14
je 0x100021e17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x60]
xor eax, eax
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret

Function at 0x100022104
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, edx
mov rsi, r9
xor r9d, r9d
lea r12d, [r9 + 1]
shr eax, 4
mov edi, edx
add ax, r12w
lea edx, [r9 + 6]
mov rbp, rcx
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
xor ebx, ebx
cmp rax, rbx
je 0x1000221c8
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rbx
je 0x1000221c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r11, rax
cmp rax, rbx
je 0x1000221c1
and edi, 0xf
jbe 0x100022186
mov eax, edi
movzx ecx, word [r11]
add ecx, r12d
sub rax, r12
movsxd rcx, ecx
lea r11, [r11 + rcx*2]
jne 0x100022173
cmp rsi, rbx
je 0x1000221ae
movzx r8d, word [r11]
lea rdx, [r11 + 2]
movzx eax, r8w
neg ax
mov rax, qword [rsp + 0x50]
sbb rcx, rcx
mov word [rax], r8w
and rcx, rdx
mov qword [rsi], rcx
jmp 0x1000221e3
mov rcx, qword [rsp + 0x50]
cmp rcx, rbx
je 0x1000221e3
movzx eax, word [r11]
mov word [rcx], ax
jmp 0x1000221e3
mov ebx, 0x80004005
jmp 0x1000221e3
call sub.KERNEL32.dll_GetLastError
cmp eax, ebx
cmove eax, r12d
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
mov ebx, ecx
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r12
ret
Function at 0x1800074f0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x180007525
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x18000752a
call fcn.1801044c0
mov ecx, dword [0x1802199d0]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0xa8], 1
mov qword [rcx + 0xb0], rax
mov qword [rcx + 0xb8], rdx
add rsp, 0x38
ret
Function at 0x18000a580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, r8
cmp rcx, 2
jne 0x18000a616
movdqa xmm0, xmmword [rdx]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x18018b810]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18000daa0
test rdi, rdi
je 0x18000a696
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x18000a6af
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x18000a7a7
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x18000a828
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r8, r9
and r8, 7
je 0x18000a7b4
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor rax, r11
imul rax, rdx
inc r10
cmp r8, r10
jne 0x18000a670
add r8, rcx
cmp r9, 8
jae 0x18000a7bd
jmp 0x18000a828
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18000daa0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x18000a828
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x18000a828
mov r8, rcx
cmp r9, 8
jb 0x18000a828
add rcx, r9
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x18000a7c0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x18000daa0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x18000dae2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x18000daea
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x18000dafb
jmp 0x18000db12
xor r10d, r10d
jmp 0x18000db9d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x18000db12
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x18000db29
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x18000db49
add r11, r8
jmp 0x18000dc7a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x18000dc12
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x18000dbc0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x18000dc30
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x18000dc42
jmp 0x18000dc5c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x18000dc5c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x18000dc76
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x18002f400
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x18002f61d
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x18018b990]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x18002f470
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x18018b9a0]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x18002f59a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x18002f570
movdqa xmm1, xmmword [0x18018b9a0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x18018b9b0], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x18002f63b
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.18002ef90
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x18003f340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x18003f3d6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x18018b810]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18000daa0
test rdi, rdi
je 0x18003f465
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x18003f47e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x18003f576
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x18003f5f8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x18003f583
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x18003f440
cmp r9, 8
jae 0x18003f58c
jmp 0x18003f5f8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18000daa0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x18003f5f8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x18003f5f8
mov r8, rcx
cmp r9, 8
jb 0x18003f5f8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x18003f590
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x180074d50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rdx + 0x10]
movzx ebp, byte [rdx + 0x18]
mov rcx, qword [0x180219958]
test rcx, rcx
jne 0x180074d93
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x180074fcf
mov rcx, rax
mov qword [0x180219958], rax
mov r8d, 0x5f0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x180074fcf
mov rbx, rax
mov byte [rsp + 0x27], bpl
mov qword [rsp + 0x30], r14
lea r15, [rsi + 0x20]
movabs r12, 0x800000000000000
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call fcn.180171550
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
mov r14d, 1
lock xadd qword [0x1802198e0], r14
mov r13, r14
xor r13, rcx
lea r11, [rdx + r13]
mov rax, r13
rol rax, 0x10
xor rax, r11
lea rbp, [rax + r8]
rol rax, 0x15
xor rax, rbp
add r13, r9
mov r11, r13
xor r11, r10
rol r13, 0x20
xor r14, rbp
add r14, r11
rol r11, 0xd
mov rbp, rax
xor r11, r14
rol r14, 0x20
xor rbp, r12
add r13, rbp
shrd rbp, rax, 0x30
xor rbp, r13
add r14, rbp
rol rbp, 0x15
add r13, r11
rol r11, 0x11
xor rbp, r14
xor r11, r13
rol r13, 0x20
xor r14, r12
add r14, r11
rol r11, 0xd
xor r11, r14
rol r14, 0x20
xor r13, 0xff
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add r14, rbp
rol rbp, 0x15
add r13, r11
rol r11, 0x11
xor r11, r13
rol r13, 0x20
xor rbp, r14
add r14, r11
rol r11, 0xd
xor r11, r14
rol r14, 0x20
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add r14, rbp
rol rbp, 0x15
add r13, r11
rol r11, 0x11
xor r11, r13
rol r13, 0x20
xor rbp, r14
add r14, r11
rol r11, 0xd
add r13, rbp
rol rbp, 0x10
xor rbp, r13
rol rbp, 0x15
xor r11, r14
add r13, r11
rol r11, 0x11
mov r14, r13
rol r14, 0x20
xor r14, r11
xor r14, rbp
xor r14, r13
je 0x180074e10
mov rax, qword [rsi + 0x40]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rdi + 0x138], rcx
movzx ecx, byte [rsp + 0x27]
mov byte [rdi + 0x140], cl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
mov rcx, qword [rsp + 0x28]
mov qword [rdi + 0x100], rcx
mov qword [rdi + 0x108], r14
mov qword [rdi + 0x110], rax
mov r8, qword [rsi + 0x48]
test r8, r8
je 0x180074fbd
cmp qword [rsi + 0x50], 0
je 0x180074fbd
mov rcx, qword [0x180219958]
xor edx, edx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.18017ea70
ud2