joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140034304]
mov r12, rcx
test ebx, ebx
jle 0x1400170c0
mov rax, qword [0x140034308]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140016fdb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140017065
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140016fc0
mov rcx, r12
call fcn.140017a10
mov rsi, rax
test rax, rax
je 0x1400170e2
mov rax, qword [0x140034308]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140017b40
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140034308]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400170c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001705e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140017070
add dword [0x140034304], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x140034308]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001705e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140016f20
nop dword [rax]
xor ebx, ebx
jmp 0x140016fe8
mov rax, qword [0x140034308]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140016f20
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140016f20
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140017660
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x140034360]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140034340]
test rbx, rbx
je 0x1400176bc
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1400176b3
test r12, r12
je 0x1400176b3
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140017698
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140017a10
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14002d8e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140017a30
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140017a38
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140017a30
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140017a85
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140017a7c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140017a30
add rax, 0x28
cmp rax, r9
jne 0x140017a68
xor eax, eax
ret

Function at 0x140017a90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14002d8e0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140017ab0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140017ab8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140017ab0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140017b40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14002d8e0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140017b60
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140017b68
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140023d60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140023e72
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x140023e4a
add rax, 1
cmp rax, 0x6b
je 0x140023e67
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140023e40
cmp edx, 0x6a
je 0x140023e67
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x140023e5b
Function at 0x140024210
Capabilities:
Allocate thread local storage

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
lea rsi, [0x140034f40]
mov rcx, rsi
call fcn.140023ad0
lea r13, [rax + 8]
mov r12, rax
mov rcx, r13
call fcn.1400233d0
mov ebx, dword [0x140034f40]
test ebx, ebx
jne 0x140024280
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400291b8], eax
cmp eax, 0xffffffff
je 0x140028d36
mov dword [0x140034f40], 1
mov rcx, r13
call fcn.1400236f0
test r12, r12
je 0x1400242b2
mov rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.140023e90
cmp ebx, 1
je 0x140024261
mov ecx, 2
call qword [fcn.140022ad0]
mov r9d, ebx
mov r8, rsi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov rcx, r13
call fcn.1400236f0
test r12, r12
jne 0x14002426e
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [0x28]
ud2
Function at 0x14000b4c0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140019060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14000b500
mov eax, 0xff
jmp 0x14000b6ab
mov r8d, dword [rsp + 0x3c]
and r8d, 0x7fff
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
je 0x14000b51c
bts r8d, 0xf
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [0x14001acc8], r9d
mov dword [0x14001acd0], ecx
mov dword [0x14001acd4], edx
mov dword [0x14001acd8], eax
mov dword [0x14001accc], r8d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000b593
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000b593
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x14000b593
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x14000b595
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x14000b595
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.14000d244
test eax, eax
jne 0x14000b5cb
cmp dword [0x14001a71c], 2
je 0x14000b5b7
call fcn.14000d028
mov ecx, 0x1c
call fcn.14000d074
mov ecx, 0xff
call fcn.14000cc40
call fcn.14000cb0c
test eax, eax
jne 0x14000b5f7
cmp dword [0x14001a71c], 2
je 0x14000b5e2
call fcn.14000d028
mov ecx, 0x10
call fcn.14000d074
mov ecx, 0xff
call fcn.14000cc40
nop
call fcn.14000d2b8
test eax, eax
jns 0x14000b60a
mov ecx, 0x1b
call fcn.14000cc5c
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001c8d0], rax
call fcn.14000da58
mov qword [0x14001a720], rax
call fcn.14000d554
test eax, eax
jns 0x14000b635
mov ecx, 8
call fcn.14000cc5c
call fcn.14000d834
test eax, eax
jns 0x14000b648
mov ecx, 9
call fcn.14000cc5c
mov ecx, edi
call fcn.14000cccc
test eax, eax
je 0x14000b65a
mov ecx, eax
call fcn.14000cc5c
mov r8, qword [0x14001acb8]
mov qword [0x14001ace8], r8
mov rdx, qword [0x14001acb0]
mov ecx, dword [0x14001acac]
call fcn.1400070f4
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x14000b68b
mov ecx, eax
call fcn.14000d018
call fcn.14000ccb8
jmp 0x14000b6a9
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000b710
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
sub rsp, 0x28
call fcn.14016f000
add rsp, 0x28
jmp 0x14000b4c0

Function at 0x14000c1ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140011ed4
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140170000
add rsp, 0x28
jmp 0x140011ed4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x14001f0e0], rbx
je 0x140011f1e
cmp rax, rbx
jne 0x140011f33
mov edi, 1
mov eax, dword [0x14001f0e8]
cmp eax, 1
jne 0x140011f40
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x140011fad
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140011f07
mov eax, dword [0x14001f0e8]
test eax, eax
jne 0x140011fa3
mov dword [0x14001f0e8], 1
lea r14, [0x140014e28]
lea rbx, [0x140014e10]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x140011f95
test eax, eax
jne 0x140011f99
cmp qword [rbx], 0
je 0x140011f8a
mov rax, qword [rbx]
mov rcx, qword [0x140014db0]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x140011f6b
test eax, eax
je 0x140011fad
mov eax, 0xff
jmp 0x140012102
mov dword [0x14001e5f4], 1
mov eax, dword [0x14001f0e8]
cmp eax, 1
jne 0x140011fd5
lea rdx, [0x140014e08]
lea rcx, [0x140014db8]
call sub.msvcrt.dll__initterm
mov dword [0x14001f0e8], 2
test edi, edi
jne 0x140011fe2
xor eax, eax
xchg qword [0x14001f0e0], rax
cmp qword [0x14001f100], 0
je 0x140012016
lea rcx, [0x14001f100]
call fcn.1400126e0
test eax, eax
je 0x140012016
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14001f100]
mov r9, qword [0x140014db0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
mov cl, byte [rbx]
cmp cl, 0x20
ja 0x1400120a1
test cl, cl
je 0x140012038
test edi, edi
jne 0x1400120a1
dec cl
cmp cl, 0x1f
ja 0x14001204b
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x140012038
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400015d4
mov dword [0x14001e5f0], eax
cmp dword [0x14001e610], 0
jne 0x14001208a
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001e5f4], 0
jne 0x14001209f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001e5f0]
jmp 0x140012102
cmp cl, 0x22
jne 0x1400120b3
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x1400120c8
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140012029
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x180003b80
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800a2038]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
call fcn.180006ff0
mov rdi, rax
test rax, rax
je 0x180003cc4
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
test al, al
je 0x180003cc4
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
test al, al
je 0x180003cc4
movsd xmm0, qword [rdi + 0x220]
xor ecx, ecx
mov eax, dword [rdi + 0x228]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor ecx, ecx
mov rbx, qword [rax + 0x21dc270]
lea rax, [0x18000100c]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
lea r8, [rsp + 0x68]
add rax, 0xe36ba0
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
xor eax, eax
lea rcx, [rbx + 0x270]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.180062110
cvttss2si ecx, dword [rsp + 0x6c]
xor edx, edx
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
cvttss2si eax, dword [rsp + 0x68]
mov dword [0x1800a2044], ecx
lea ecx, [rdi + 0x51]
mov dword [0x1800a2048], eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rdi + 0x28]
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x40]
mov word [rsp + 0x4a], ax
lea ecx, [rdi + 1]
mov word [rsp + 0x48], di
mov dword [rsp + 0x4c], 8
call qword [sym.imp.USER32.dll_SendInput]
lea r8d, [rdi + 0x28]
mov dword [rsp + 0x4c], 0xa
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 1]
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x180003ccd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180066640
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x180003e40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800a2058]
lea rcx, [rsp + 0x20]
xor edi, edi
movups xmm0, xmmword [rax + 0x3878]
movups xmm1, xmmword [rax + 0x3868]
mov qword [rsp + 0x30], rdi
movq r8, xmm0
mov qword [rsp + 0x38], rdi
movq rdx, xmm1
movups xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x40], xmm1
cmp r8, 0x10
jge 0x180003e97
lea rdx, [rsp + 0x40]
call fcn.180004f80
mov r9, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov r8, qword [rsp + 0x20]
cmp r9, 0x10
mov rdx, qword [rsp + 0x30]
movabs rbx, 0xcbf29ce484222325
cmovae rcx, r8
setae r10b
add rdx, rcx
cmp rcx, rdx
je 0x180003ef3
movabs r11, 0x100000001b3
nop dword [rax + rax]
movsx rax, byte [rcx]
inc rcx
xor rbx, rax
imul rbx, r11
cmp rcx, rdx
jne 0x180003ee0
test r10b, r10b
je 0x180003f2c
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x180003f24
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003f24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180066ab0
movabs rax, 0x77ee2ddfa384bea0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], dil
cmp rbx, rax
ja 0x180004018
je 0x180004005
movabs rax, 0x3499a750dc731ff
cmp rbx, rax
je 0x180003fef
movabs rax, 0x4950ef6d35ec4595
cmp rbx, rax
je 0x180003fd9
movabs rax, 0x57c2e824d58ed1b5
cmp rbx, rax
jne 0x180004045
mov ecx, 0x48
call fcn.180066ac0
lea rcx, vtable.Sett.0
xorps xmm0, xmm0
mov dword [rax + 0x14], edi
mov qword [rax + 0x20], rdi
mov dword [rax + 8], edi
mov dword [rax + 0xc], 0xff7fffff
mov dword [rax + 0x10], 0xff7fffff
mov qword [rax + 0x18], rdi
mov qword [rax], rcx
movups xmmword [rax + 0x28], xmm0
mov qword [rax + 0x38], rdi
mov qword [rax + 0x40], 0xf
mov byte [rax + 0x28], dil
jmp 0x1800040ae
mov ecx, 0x28
call fcn.180066ac0
lea rcx, vtable.Zeri.0
jmp 0x18000408f
mov ecx, 0x28
call fcn.180066ac0
lea rcx, vtable.Caitlyn.0
jmp 0x18000408f
mov ecx, 0x28
call fcn.180066ac0
lea rcx, vtable.Kaisa.0
jmp 0x18000408f
movabs rax, 0x8eb05785b7b9dc73
cmp rbx, rax
je 0x18000407e
movabs rax, 0xc1bee28b2e1cd9d9
cmp rbx, rax
je 0x18000406b
movabs rax, 0xf23f0222655a9ace
cmp rbx, rax
je 0x180004058
mov ecx, 0x28
call fcn.180066ac0
lea rcx, vtable.script.0
jmp 0x18000408f
mov ecx, 0x28
call fcn.180066ac0
lea rcx, vtable.Aphelios.0
jmp 0x18000408f
mov ecx, 0x28
call fcn.180066ac0
lea rcx, vtable.Azir.0
jmp 0x18000408f
mov ecx, 0x28
call fcn.180066ac0
lea rcx, vtable.Graves.0
mov dword [rax + 0x14], edi
mov qword [rax], rcx
mov qword [rax + 0x18], rdi
mov dword [rax + 0x10], 0xff7fffff
mov dword [rax + 0xc], 0xff7fffff
mov dword [rax + 8], edi
mov qword [rax + 0x20], rdi
mov rcx, qword [0x1800a2050]
mov qword [0x1800a2050], rax
test rcx, rcx
je 0x1800040cb
mov edx, 0x28
call fcn.180066ab0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1800040e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
cmp byte [rdx + 0x112], 0
mov rdi, rcx
jne 0x18000410a
cmp byte [rdx + 0x113], 0
jne 0x18000410a
cmp byte [rdx + 0x114], 0
je 0x180004110
mov eax, dword [rcx + 8]
mov dword [rcx + 0xc], eax
mov rax, qword [rdx]
lea rcx, [rsp + 0x20]
xorps xmm1, xmm1
movups xmm0, xmmword [rax + 0x38]
movups xmm2, xmmword [rax + 0x28]
movq r8, xmm0
movq rdx, xmm2
movups xmmword [rsp + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x48], xmm2
movdqu xmmword [rsp + 0x30], xmm1
cmp r8, 0x10
jge 0x180004150
lea rdx, [rsp + 0x48]
call fcn.180004f80
mov rbp, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rbp, 0x10
mov rdx, qword [rsp + 0x30]
movabs r8, 0xcbf29ce484222325
cmovae rcx, rbx
add rdx, rcx
cmp rcx, rdx
je 0x1800041a3
movabs r9, 0x100000001b3
nop dword [rax]
movsx rax, byte [rcx]
inc rcx
xor r8, rax
imul r8, r9
cmp rcx, rdx
jne 0x180004190
lea rdx, [0x180091938]
lea rcx, [0x180091900]
call fcn.1800664b0
mov rsi, rax
cmp rbp, 0x10
jb 0x1800041f3
lea rdx, [rbp + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800041eb
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800041eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180066ab0
test rsi, rsi
je 0x1800041ff
mov dword [rdi + 0xc], 0xff7fffff
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x180007790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800a2038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword gs:[0x58]
mov edi, r8d
mov r8d, dword [0x1800a33a4]
mov rbx, rcx
mov ecx, 4
mov rsi, rdx
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x1800a3610], r8d
jle 0x180007805
lea rcx, [0x1800a3610]
call fcn.180066bd0
cmp dword [0x1800a3610], 0xffffffff
jne 0x180007805
lea rcx, [0x1800a3610]
mov qword [0x1800a3618], rbx
call fcn.180066b64
mov rcx, qword [0x1800a2058]
call fcn.180019600
mov r8, qword [0x1800a2058]
mov r10, rax
add r8, 0x1244
mov r9d, 2
cmp byte [r8], 0
jne 0x180007870
mov word [r8 + 1], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov edx, r9d
mov byte [r8 + 4], al
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x31]
movzx ecx, byte [rsp + rdx + 0x30]
inc edx
mov byte [r8 + 5], al
mov byte [r8 + 6], cl
movzx eax, byte [rsp + rdx + 0x30]
mov byte [r8 + 7], al
mov byte [r8 + 8], 0
mov byte [r8], 1
mov eax, dword [r8 + 4]
mov rcx, r8
movzx edx, byte [r8 + 1]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], edi
lea rax, [r9 + rcx]
test dl, dl
je 0x1800078a8
xor ecx, ecx
nop
mov eax, dword [rsp + rcx + 0x30]
lea rcx, [rcx + 4]
not eax
xor dword [rsp + rcx + 0x1c], eax
sub rdx, 1
jne 0x180007890
lea rax, [r8 + 2]
movzx ecx, byte [rax]
mov eax, 4
sub rax, rcx
cmp rax, 4
jae 0x1800078d4
nop dword [rax]
movzx ecx, byte [rsp + rax + 0x30]
not cl
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 4
jb 0x1800078c0
movzx eax, byte [r8 + 8]
lea rdx, [rsp + 0x30]
movups xmm0, xmmword [rsi]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x20]
movaps xmmword [rsp + 0x30], xmm0
mov dword [r8 + rcx*4 + 0xc], eax
mov byte [r8 + 8], cl
mov r8d, edi
mov dword [r10 + 0x38], edi
call fcn.180007930
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180066640
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180007930
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1800a2038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [0x1800a2058]
mov r14, rdx
mov dword [rsp + 0x50], r8d
xor edi, edi
call fcn.180019600
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xorps xmm1, xmm1
mov rsi, rax
movups xmmword [rsp + 0x30], xmm0
movsxd r8, dword [rax + 0x20]
mov rdx, qword [rax + 0x18]
movdqu xmmword [rsp + 0x40], xmm1
call fcn.180004f80
mov r10, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
cmp r10, 0x10
mov r9, qword [rsp + 0x40]
movabs rbx, 0xcbf29ce484222325
cmovae rcx, r8
mov rdx, rbx
add r9, rcx
movabs rbp, 0x100000001b3
cmp rcx, r9
je 0x1800079e3
nop dword [rax + rax]
movsx rax, byte [rcx]
inc rcx
xor rdx, rax
imul rdx, rbp
cmp rcx, r9
jne 0x1800079d0
mov qword [rsp + 0x58], rdx
cmp r10, 0x10
jb 0x180007a27
lea rdx, [r10 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x180007a1a
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007a1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180066ab0
mov rdx, qword [rsp + 0x58]
mov rax, qword [0x1800a3618]
mov r9d, dword [rsp + 0x50]
mov r10, qword [rax + 0x20]
mov rax, qword [rax + 0x18]
cmp rax, r10
je 0x180007a81
cmp qword [rax], rdx
jne 0x180007a56
cmp r9d, dword [rax + 8]
jl 0x180007a56
cmp r9d, dword [rax + 0xc]
jg 0x180007a56
mov r8b, 1
jmp 0x180007a59
xor r8b, r8b
test r8b, r8b
lea rcx, [rdi + 1]
cmove rcx, rdi
add rax, 0x28
mov rdi, rcx
cmp rax, r10
jne 0x180007a40
test rcx, rcx
je 0x180007a81
mov byte [rsi + 0x9c], 0
jmp 0x180007b5f
mov rcx, rbx
lea r8, [0x18008cc34]
lea r10, [0x18008cc37]
movsx rax, byte [r8]
inc r8
xor rcx, rax
imul rcx, rbp
cmp r8, r10
jne 0x180007a92
cmp rdx, rcx
jne 0x180007ab0
cmp r9d, 7
je 0x180007adf
mov rcx, rbx
lea r8, str.Sona
lea r10, [0x18008cc3c]
movsx rax, byte [r8]
inc r8
xor rcx, rax
imul rcx, rbp
cmp r8, r10
jne 0x180007ac1
cmp rdx, rcx
jne 0x180007b2b
cmp r9d, 6
jne 0x180007b2b
mov rax, qword [rsi]
cmp rax, qword [rsi + 8]
je 0x180007af1
mov qword [rsi + 8], rax
mov r9d, dword [rsp + 0x50]
mov rcx, qword [r14]
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
inc rax
cmp byte [rcx + rax], 0
jne 0x180007b00
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
mov r8d, r9d
mov rcx, rsi
movdqa xmmword [rsp + 0x20], xmm0
call fcn.180019510
jmp 0x180007b67
lea rcx, str.Kayn
lea r8, [0x18008cc44]
nop dword [rax]
movsx rax, byte [rcx]
inc rcx
xor rbx, rax
imul rbx, rbp
cmp rcx, r8
jne 0x180007b40
cmp rdx, rbx
je 0x180007b67
mov byte [rsi + 0x9c], 0xff
mov rcx, rsi
call fcn.1800194a0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180066640
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret