joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012360
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, 0x1d0
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x1400970a0]
or edx, 0xffffffff
call fcn.140012290
lea rcx, [rsp + 0xc0]
mov rdx, rax
mov rbx, rax
call fcn.140015b90
mov rcx, rbx
call fcn.140014860
lea rcx, [rsp + 0x30]
call fcn.140012450
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.1400124e0
xor ebp, ebp
mov dword [rdi + 0xc], ebp
mov edx, ebp
mov ecx, ebp
movzx eax, byte [rsp + rdx + 0x30]
add rdx, 4
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2d]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2e]
add ecx, eax
movzx eax, byte [rsp + rdx + 0x2f]
add ecx, eax
cmp rdx, 0x10
jl 0x1400123cc
mov dword [rdi + 0xc], ecx
lea rdx, [0x14009a700]
mov rcx, rsi
call fcn.140017184
mov qword [rdi], rax
test rax, rax
je 0x14002e470
mov rcx, rdi
call fcn.140012160
test eax, eax
je 0x14002e47a
mov rcx, qword [rdi]
mov ebx, eax
call fcn.14001720c
mov eax, ebx
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, 1
jmp 0x14001242c
mov r9, qword [rdi]
mov edx, 1
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0xf]
call fcn.140017554
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov r8d, 0x99f2
call fcn.140055d10
mov dword [rdi + 0xc], ebp
mov ecx, ebp
movzx eax, byte [rsp + rbp + 0x20]
inc rbp
imul ecx, eax
cmp rbp, 0x10
jl 0x14002e4aa
mov dword [rdi + 0xc], ecx
mov rcx, qword [rdi]
call fcn.1400178a4
mov dword [rdi + 8], eax
xor eax, eax
jmp 0x14001242c

Function at 0x140012450
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
add rcx, 0x44
lea r8d, [rdx + 8]
call fcn.1400152d0
mov dword [rbx + 0x34], 0x67452301
mov dword [rbx + 0x38], 0xefcdab89
mov dword [rbx + 0x3c], 0x98badcfe
mov dword [rbx + 0x40], 0x10325476
add rsp, 0x20
pop rbx
ret
Function at 0x1400060b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov r9, rdx
mov dword [rsp], 0x310030
xor edx, edx
mov dword [rsp + 4], 0x330032
mov dword [rsp + 8], 0x350034
mov dword [rsp + 0xc], 0x370036
mov dword [rsp + 0x10], 0x390038
mov dword [rsp + 0x14], 0x420041
mov dword [rsp + 0x18], 0x440043
mov dword [rsp + 0x1c], 0x460045
test r9, r9
je 0x140006141
nop dword [rax]
movzx eax, byte [rcx]
lea rdx, [rdx + 2]
shr rax, 4
lea rcx, [rcx + 1]
movzx eax, word [rsp + rax*2]
mov word [r8 + rdx*2 - 4], ax
movsx rax, byte [rcx - 1]
and eax, 0xf
movzx eax, word [rsp + rax*2]
mov word [r8 + rdx*2 - 2], ax
sub r9, 1
jne 0x140006110
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.14010a310
add rsp, 0x38
ret
Function at 0x140007aa0
Capabilities:
Check for time delay via gettickcount
Get system information on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x58
mov eax, dword [rcx + 0xc]
xor edi, edi
mov rbx, rcx
test eax, eax
jne 0x140007ada
mov ecx, dword [0x14047e868]
test ecx, ecx
jne 0x140007acc
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
cmp ecx, 1
mov eax, 0x20
cmova eax, edi
mov dword [rbx + 0xc], eax
cmp eax, 8
jb 0x140007bcc
cmp eax, 0x20
jae 0x140007af4
pause
inc dword [rbx + 0xc]
add rsp, 0x58
pop rdi
pop rbx
ret
jne 0x140007bb1
mov ecx, 7
call fcn.14000bd50
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x80]
call rax
mov ecx, 9
call fcn.14000bd50
lea rcx, [rsp + 0x88]
call rax
test eax, eax
jne 0x140007b44
mov ecx, dword [rsp + 0x70]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x140007b70
mov eax, dword [rsp + 0x70]
imul r8, rax, 0x5f5e100
movabs rax, 0x38d7ea4c67fff
cqo
idiv qword [rsp + 0x88]
lea rcx, [rax + 1]
lea rax, [r8 - 1]
cqo
idiv rcx
inc eax
mov ecx, 8
mov dword [rbx + 8], eax
call fcn.14000bd50
lea rcx, [rsp + 0x70]
call rax
test eax, eax
jne 0x140007b9f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [rbx + 0xc]
mov eax, eax
mov qword [rbx], rax
add rsp, 0x58
pop rdi
pop rbx
ret
mov rax, qword [rsp + 0x70]
inc dword [rbx + 0xc]
mov qword [rbx], rax
add rsp, 0x58
pop rdi
pop rbx
ret
cmp dword [rbx + 8], edi
jne 0x140007bd6
and al, 1
je 0x140007c08
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x140007bcc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc dword [rbx + 0xc]
add rsp, 0x58
pop rdi
pop rbx
ret
mov ecx, 8
call fcn.14000bd50
lea rcx, [rsp + 0x70]
call rax
test eax, eax
jne 0x140007bf5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
jmp 0x140007bfa
mov rcx, qword [rsp + 0x70]
sub rcx, qword [rbx]
mov eax, dword [rbx + 8]
cmp rcx, rax
jb 0x140007bba
mov dword [rbx + 8], edi
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc dword [rbx + 0xc]
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x140008aa0
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r15, rcx
mov qword [rsp + 0x58], rcx
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], SafeArrayGetDim
mov byte [rcx], r12b
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x40], r12d
lea rdx, str.System
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov r14, rax
test rax, rax
je 0x140008c46
mov qword [rsp + 0x60], rax
mov ebp, 0x10000
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140008c2d
nop word [rax + rax]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
xor r8d, r8d
lea edx, [r8 + 9]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_ReadEventLogA]
test eax, eax
jne 0x140008ba5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140008c75
mov ebp, dword [rsp + 0x40]
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x140008b40
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x48], r12
jmp 0x140008c7f
mov rdi, rbx
mov esi, dword [rsp + 0x44]
add rsi, rbx
cmp rbx, rsi
jae 0x140008b40
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rdi + 0x38]
lea rcx, str.EventLog
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140008bdc
cmp word [rdi + 0x14], 0x1775
je 0x140008beb
mov eax, dword [rdi]
add rdi, rax
cmp rdi, rsi
jb 0x140008bc0
jmp 0x140008b40
mov r8d, dword [rdi + 0xc]
lea rdx, [0x14038e93c]
lea rcx, [rsp + 0xb0]
call fcn.140005a90
lea rax, [rsp + 0xb0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140008c12
lea rdx, [rsp + 0xb0]
mov rcx, r15
call fcn.140004960
nop
test rbx, rbx
je 0x140008c3c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
nop
mov rax, r15
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseEventLog]
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140006a00
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140006ad0
lea rdx, [0x140456738]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140008cc0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa0
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140008cfd
mov rax, qword [rcx]
mov qword [rcx + 0x10], 0
mov byte [rax], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov esi, 1
mov r9d, esi
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140008e40
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.Common_AppData
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rsp + 0x34]
dec ecx
cmp ecx, esi
ja 0x140008e37
test eax, eax
jne 0x140008e37
mov edx, dword [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call fcn.14000be90
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140008da2
mov rax, qword [rdi]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.Common_AppData
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140008e37
mov rax, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 0x10
jb 0x140008ddf
mov rax, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rdx, [r8 - 1]
add rdx, rax
mov rax, rdi
cmp rcx, 0x10
jb 0x140008df6
mov rax, qword [rdi]
sub rdx, rax
cmp r8, rdx
jb 0x140008f06
mov rax, r8
sub rax, rdx
cmp rax, 1
cmovb rsi, rax
mov rax, rdi
cmp rcx, 0x10
jb 0x140008e1c
mov rax, qword [rdi]
lea rcx, [rax + rdx]
sub r8, rsi
mov qword [rdi + 0x10], r8
sub r8, rdx
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
nop
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140008ed1
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x140008e8d
lea rax, [rcx + 0x13]
mov qword [rdi + 0x10], rax
cmp rdx, 0x10
jb 0x140008e6e
mov rdi, qword [rdi]
lea rbx, [rdi + rcx]
mov r8d, reloc.WS2_32.dll_send
lea rdx, str._boost_interprocess
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x13], 0
jmp 0x140008eac
mov qword [rsp + 0x20], reloc.WS2_32.dll_send
lea r9, str._boost_interprocess
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, rdi
call fcn.140005410
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140006a00
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140006ad0
lea rdx, [0x140456738]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140005150
nop
int3
Function at 0x1400094f0
Capabilities:
Clear file content
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, qword [rcx]
mov rbx, rdx
mov rcx, rsi
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140009607
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140009552
mov ecx, 0xdf
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140009607
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
cmp rbx, rdx
jle 0x1400095ed
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140009607
sub rbx, qword [rsp + 0x30]
je 0x1400095c5
mov ebp, 0x200
xor r14d, r14d
nop word [rax + rax]
cmp rbx, rbp
mov qword [rsp + 0x20], r14
mov rdi, rbx
lea r9, [rsp + 0x38]
cmova rdi, rbp
lea rdx, [0x14047cdb0]
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x38]
cmp rax, rdi
jne 0x140009607
sub rbx, rdi
jne 0x140009590
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140009607
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400095c5
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140006a00
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140006ad0
lea rdx, [0x140456738]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14000cfb0
Capabilities:
Check for time delay via gettickcount
Get system information on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x38], 0xfffffffffffffffe
xor r14d, r14d
mov edi, r14d
mov esi, r14d
mov ebx, r14d
mov r15d, 1
movabs r12, 0x38d7ea4c67fff
mov dword [rsp + 0x4c], ebx
nop word [rax + rax]
xor eax, eax
lock cmpxchg dword [0x14047cfe4], r15d
lea ecx, [rax - 2]
cmp ecx, r15d
jbe 0x14000d198
cmp eax, 4
jne 0x14000d017
lock cmpxchg dword [0x14047cfe4], r14d
jmp 0x14000cff0
cmp eax, r15d
jne 0x14000d181
test ebx, ebx
jne 0x14000d04d
mov eax, dword [0x14047e868]
test eax, eax
jne 0x14000d03d
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x70]
mov ebx, 0x20
cmp eax, r15d
cmova ebx, r14d
mov dword [rsp + 0x4c], ebx
cmp ebx, 8
jb 0x14000d134
cmp ebx, 0x20
jae 0x14000d061
pause
inc ebx
jmp 0x14000cfe6
jne 0x14000d114
mov ecx, 7
call fcn.14000bd50
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call rax
mov ecx, 9
call fcn.14000bd50
lea rcx, [rsp + 0x30]
call rax
test eax, eax
jne 0x14000d0b7
mov ecx, dword [rsp + 0xc8]
dec ecx
mov eax, 0xd1b71759
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x14000d0dc
mov eax, dword [rsp + 0xc8]
imul r8, rax, 0x5f5e100
mov rax, r12
cqo
idiv qword [rsp + 0x30]
lea rcx, [rax + 1]
lea rax, [r8 - 1]
cqo
idiv rcx
lea esi, [rax + 1]
mov ecx, 8
call fcn.14000bd50
lea rcx, [rsp + 0x20]
call rax
test eax, eax
jne 0x14000d108
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov qword [rsp + 0x20], rdi
inc ebx
jmp 0x14000cfe6
mov rdi, qword [rsp + 0x20]
inc ebx
jmp 0x14000cfe6
test esi, esi
jne 0x14000d13b
movzx eax, byte [rsp + 0x4c]
and al, r15b
je 0x14000d171
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x14000d134
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x14000cfe6
mov ecx, 8
call fcn.14000bd50
lea rcx, [rsp + 0x28]
call rax
test eax, eax
jne 0x14000d15f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov qword [rsp + 0x28], rcx
jmp 0x14000d164
mov rcx, qword [rsp + 0x28]
sub rcx, rdi
mov eax, esi
cmp rcx, rax
jb 0x14000d122
mov esi, r14d
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x14000cfe6
lea rcx, [0x14047cfb0]
call fcn.140008380
mov eax, 2
xchg dword [0x14047cfe4], eax
add rsp, 0x88
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002cde0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
movabs rbx, 0xcbf29ce484222325
mov dword [rax + 0x18], r8d
mov esi, 4
lea r10, [rax + 0x18]
mov r9, rbx
mov r11d, esi
mov edi, r8d
mov rbp, rdx
mov r14, rcx
movabs r15, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor r9, rax
imul r9, r15
sub r11, 1
jne 0x14002ce30
and r9, qword [rdx + 0x30]
mov rcx, qword [rdx + 0x18]
mov rdx, qword [rdx + 8]
shl r9, 4
lea r10, [rcx + 8]
add r10, r9
mov r8, qword [r9 + rcx]
mov rax, r8
cmp r8, rdx
jne 0x14002ce6d
mov rcx, rdx
jmp 0x14002ce73
mov rcx, qword [r10]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14002ce82
cmp dword [rax + 0x10], edi
je 0x14002ce85
mov rax, qword [rax]
jmp 0x14002ce63
mov rax, rdx
cmp rax, rdx
je 0x14002ce9e
mov eax, dword [rax + 0x14]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
mov word [rsp + 0x78], di
lea r9, [rsp + 0x80]
mov word [rsp + 0x7a], ax
lea rdx, [rsp + 0x78]
mov word [rsp + 0x80], ax
mov rcx, r14
mov dword [rsp + 0x20], 1
lea r8d, [rax + 1]
call qword [sym.imp.GDI32.dll_GetGlyphIndicesW]
cmp eax, 0xffffffff
je 0x14002d011
movzx r10d, word [rsp + 0x80]
mov eax, 0xffff
cmp r10w, ax
je 0x14002d011
mov dword [rsp + 0x88], edi
lea rcx, [rsp + 0x88]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor rbx, rax
imul rbx, r15
sub rsi, 1
jne 0x14002cf10
mov rcx, qword [rbp + 0x18]
and rbx, qword [rbp + 0x30]
mov rdx, qword [rbp + 8]
add rbx, rbx
mov r8, qword [rcx + rbx*8]
lea r9, [rcx + rbx*8]
mov rax, r8
nop
cmp r8, rdx
jne 0x14002cf4a
mov rcx, rdx
jmp 0x14002cf51
mov rcx, qword [r9 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14002cf60
cmp dword [rax + 0x10], edi
je 0x14002cf63
mov rax, qword [rax]
jmp 0x14002cf40
mov rax, rdx
cmp rax, rdx
jne 0x14002cff1
mov rbx, qword [rdx]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdi, qword [rbx + 8]
mov r8, rdi
call fcn.1400562a0
mov rdx, rax
movabs rcx, 0xaaaaaaaaaaaaaa9
mov rax, qword [rbp + 0x10]
sub rcx, rax
cmp rcx, 1
jae 0x14002cfbd
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
mov rcx, rbp
mov qword [rbp + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rdi], rdx
lea rdx, [rsp + 0x30]
mov r9, qword [rbp + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.140054a70
movzx r10d, word [rsp + 0x80]
mov rax, qword [rsp + 0x30]
movzx ecx, r10w
mov dword [rax + 0x14], ecx
movzx eax, word [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xffffffff
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d410
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
sub rsp, 0x40
mov r9, rdx
lea r8, [rdx + 8]
mov r10, rdx
mov rsi, rcx
xor ecx, ecx
mov edx, 8
cmp r9, r8
movabs rax, 0xcbf29ce484222325
cmova edx, ecx
ja 0x14002d469
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9]
inc r9
xor rax, rcx
mov rcx, r9
sub rcx, r10
imul rax, r8
cmp rcx, rdx
jne 0x14002d450
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x30]
mov r8, qword [rsi + 8]
and rdx, rax
add rdx, rdx
mov r9, qword [rcx + rdx*8]
lea r11, [rcx + rdx*8]
mov rax, r9
cmp r9, r8
jne 0x14002d490
mov rcx, r8
jmp 0x14002d497
mov rcx, qword [r11 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14002d4aa
mov rcx, qword [r10]
cmp qword [rax + 0x10], rcx
je 0x14002d4ad
mov rax, qword [rax]
jmp 0x14002d486
mov rax, r8
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
cmp rax, r8
jne 0x14002d530
mov rbx, qword [r8]
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x20], rax
mov rdi, qword [rbx + 8]
mov r8, rdi
call fcn.1400563d0
mov rdx, rax
movabs rcx, 0x7fffffffffffffe
mov rax, qword [rsi + 0x10]
sub rcx, rax
cmp rcx, 1
jae 0x14002d505
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
mov rcx, rsi
mov qword [rsi + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rdi], rdx
lea rdx, [rsp + 0x30]
mov r9, qword [rsi + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.140054d20
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
add rax, 0x18
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x14004c400
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r12
sub rsp, 0x38
mov r12, qword [rcx + 0x10]
mov rdi, rdx
movsxd rax, dword [rcx + 0x1c]
shl rax, 4
add rax, r12
mov qword [rsp], r12
mov qword [rsp + 8], rax
cmp r12, rax
je 0x14004c67f
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x18], r14
mov qword [rsp + 0x10], r15
nop word [rax + rax]
mov r14d, dword [r12 + 4]
mov eax, dword [r12 + 0xc]
mov r10d, dword [r12 + 8]
add eax, r14d
mov r13d, dword [r12]
mov dword [rsp + 0x68], r10d
cmp r14d, eax
jge 0x14004c64e
mov r12d, eax
nop word [rax + rax]
mov rcx, qword [rdi + 8]
mov esi, r13d
mov r9, qword [rdi]
mov ebp, r10d
sub esi, dword [rdi + 0x14]
mov eax, dword [r9 + 0xc]
imul eax, r14d
movsxd r8, eax
mov eax, r14d
sub eax, dword [rdi + 0x18]
add r8, qword [r9]
cdq
mov qword [rdi + 0x20], r8
idiv dword [rcx + 0x18]
imul edx, dword [rcx + 0xc]
movsxd rax, edx
add rax, qword [rcx]
mov qword [rdi + 0x28], rax
movsxd rdx, dword [r9 + 0x10]
mov eax, edx
imul eax, r13d
movsxd rcx, eax
add rcx, r8
cmp dword [rdi + 0x10], 0xfe
jge 0x14004c5e7
mov r15, rdx
nop word [rax + rax]
mov r8, qword [rdi + 8]
mov eax, esi
mov r10d, dword [rcx]
cdq
mov r9d, 0x100
inc esi
dec ebp
idiv dword [r8 + 0x14]
mov eax, dword [r8 + 0x10]
mov r8d, 0x100
imul eax, edx
movsxd rdx, eax
add rdx, qword [rdi + 0x28]
movzx ebx, byte [rdx + 1]
movzx r11d, byte [rdx + 2]
or ebx, 0xff0000
imul ebx, dword [rdi + 0x10]
shl r11d, 0x10
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub r9d, eax
movzx eax, byte [rdx]
or r11d, eax
mov edx, 0x100
imul r11d, dword [rdi + 0x10]
mov eax, r10d
and eax, 0xff00ff
shr r10d, 8
imul eax, r9d
and r10d, 0xff00ff
imul r10d, r9d
shr r11d, 8
and r11d, 0xff00ff
shr eax, 8
and eax, 0xff00ff
shr r10d, 8
add r11d, eax
and r10d, 0xff00ff
add ebx, r10d
mov eax, ebx
shr eax, 8
and eax, 0xff00ff
sub r8d, eax
mov eax, ebx
shl eax, 8
shl r8d, 8
or r8d, eax
mov eax, r11d
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, ebx
or edx, r11d
shr eax, 8
xor r8d, edx
shl ebx, 8
and eax, 0xff00ff
and r8d, 0xff00ff
mov edx, 0x100
sub edx, eax
shl edx, 8
or edx, ebx
xor r8d, edx
mov dword [rcx], r8d
add rcx, r15
test ebp, ebp
jg 0x14004c4e0
mov r10d, dword [rsp + 0x68]
jmp 0x14004c63e
mov r9, rdx
nop word [rax + rax]
mov r8, qword [rdi + 8]
mov eax, esi
cdq
inc esi
dec ebp
idiv dword [r8 + 0x14]
mov eax, dword [r8 + 0x10]
imul eax, edx
movsxd r8, eax
add r8, qword [rdi + 0x28]
movzx eax, word [r8]
movzx edx, byte [r8 + 2]
shl edx, 8
mov word [rsp + 0x50], ax
movzx eax, byte [rsp + 0x51]
or edx, eax
movzx eax, byte [rsp + 0x50]
shl edx, 8
or edx, eax
or edx, 0xff000000
mov dword [rcx], edx
add rcx, r9
test ebp, ebp
jg 0x14004c5f0
inc r14d
cmp r14d, r12d
jl 0x14004c480
mov r12, qword [rsp]
add r12, 0x10
mov qword [rsp], r12
cmp r12, qword [rsp + 8]
jne 0x14004c450
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
add rsp, 0x38
pop r12
pop rdi
ret