joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002a60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140002b4f
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002b4f
lea rbx, [rsi + 0x28]
and qword [rbx], 0
mov qword [rsp + 0x20], rbx
call fcn.1400200d8
test eax, eax
js 0x140002b54
mov rcx, qword [rbx]
lea r8, [rsi + 0x20]
lea rdx, [0x140063148]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x140015ba5.0]
test eax, eax
js 0x140002b54
mov rcx, qword [rbx]
mov edx, 1
mov rax, qword [rcx]
mov rax, qword [rax + 0x328]
call qword [case.0x140015ba5.0]
cmp eax, 1
jne 0x140002af0
mov eax, 0x80004005
jmp 0x140002b54
test eax, eax
js 0x140002b54
mov rcx, qword [rbx]
mov rdx, rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x170]
call qword [case.0x140015ba5.0]
cmp eax, 1
jne 0x140002b22
lea rcx, [rsi - 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x140015ba5.0]
jmp 0x140002ae9
test eax, eax
js 0x140002b54
mov rcx, qword [0x140084d38]
test rcx, rcx
je 0x140002b4b
mov rcx, qword [rcx]
mov rdx, rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140015ba5.0]
mov dword [rsi + 0x80], eax
xor eax, eax
jmp 0x140002b54
mov eax, 0x80070057
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140009c00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x10]
mov r15, qword [rax + 0x10]
add rcx, 0x78
mov qword [rbp - 0x18], rcx
and dword [rbp - 0x10], 0
and dword [rbp - 0xc], 0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x10], eax
test eax, eax
jne 0x140009c62
nop
cmp dword [rbp - 0xc], eax
jne 0x140009d7d
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0xc], eax
mov ecx, dword [rsi + 0xa0]
lea eax, [rcx + 1]
mov dword [rsi + 0xa0], eax
mov dword [r15 + 8], ecx
lea r14, [rsi + 0x68]
mov dword [rbp + 0x30], ecx
mov rbx, qword [r14]
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140009caa
cmp dword [rax + 0x20], ecx
jae 0x140009c94
mov rax, qword [rax + 0x10]
jmp 0x140009c9a
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140009c89
cmp rbx, qword [r14]
je 0x140009caa
cmp ecx, dword [rbx + 0x20]
jae 0x140009cda
lea rax, [rbp + 0x30]
mov qword [rbp + 0x38], rax
lea r8, [rbp + 0x38]
mov rcx, r14
call fcn.14000ab90
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.14000abb8
mov rbx, qword [rbp + 0x40]
cmp qword [rbx + 0x28], rdi
je 0x140009d0f
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140015ba5.0]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140009d0b
and qword [rbx + 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140015ba5.0]
nop
mov qword [rbx + 0x28], rdi
lea rcx, [rbp - 0x18]
call fcn.1400063e4
lea r9, [rdi + 0x18]
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov r8d, dword [r15 + 0xc]
mov rdx, r15
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140009d3d
mov al, 1
jmp 0x140009d69
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140009d39
mov rax, qword [0x140083518]
mov edx, 0x31463c2
lea rcx, [0x140083518]
mov rax, qword [rax + 8]
call qword [case.0x140015ba5.0]
xor al, al
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x131f4c4
call fcn.140007ee0
nop
jmp 0x140009d8c
nop
nop
nop
nop
Function at 0x140009d90
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x50
xor edx, edx
mov word [rcx + 0x3c], 1
mov rbx, rcx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x20]
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [rsp + 0x30]
mov rcx, qword [rbx + 0x28]
lea rax, [rbx + 0x48]
movups xmm1, xmmword [rsp + 0x40]
lea rdx, [rbx + 0xa4]
mov r8d, 0x10
movups xmmword [rax], xmm0
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
movups xmmword [rax + 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140009e1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140009e1b
mov rax, qword [0x140083518]
lea rcx, [0x140083518]
mov edx, 0x31463c4
mov rax, qword [rax + 8]
call qword [case.0x140015ba5.0]
xor al, al
mov byte [rbx + 0x3c], 0
jmp 0x140009e1d
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x14000f8c0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x140083010]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edi, edi
mov rsi, rcx
cmp qword [rcx], rdi
jne 0x14000f9e4
movsxd rax, r8d
lea rcx, [0x140067ed8]
mov r8, rdx
mov qword [rsp + 0x30], rdi
mov qword [rsi], rdi
mov dword [rsp + 0x20], 1
mov r14d, dword [rcx + rax*4]
mov r9d, r14d
lea rcx, [rsp + 0x40]
call fcn.1400574bc
mov ebp, r14d
mov r15, rax
shr ebp, 0x1a
mov r12b, dil
not bpl
and bpl, 1
test r15, r15
je 0x14000f952
mov edx, r14d
mov r8, r15
shr edx, 0x17
mov ecx, 0x120001
and edx, 1
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsi], rax
cmp qword [rsi], rdi
jne 0x14000f9b1
test bpl, bpl
je 0x14000f9b1
mov r8d, 1
lea rdx, [rsp + 0x30]
mov ecx, r14d
call fcn.140057104
test eax, eax
je 0x14000f9b1
mov rcx, qword [rsp + 0x30]
mov edx, r14d
shr edx, 0x19
mov r8, r15
and edx, 1
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsi], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x30]
mov ecx, r14d
mov ebx, eax
call fcn.140057404
cmp ebx, 5
jne 0x14000f9b1
test r12b, r12b
jne 0x14000f9b1
mov r12b, 1
jmp 0x14000f933
mov rax, qword [rsi]
inc rax
test rax, 0xfffffffffffffffe
jne 0x14000f9e9
test bpl, bpl
je 0x14000f9e1
mov rax, qword [0x140083518]
lea rcx, [0x140083518]
mov edx, 0x1631e1
mov rax, qword [rax + 8]
call qword [case.0x140015ba5.0]
mov qword [rsi], rdi
mov edi, 0x80004005
mov eax, edi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14005ccf0
add rsp, 0x450
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140016ad0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x20
test byte [0x140085900], 0x20
mov rbx, rcx
je 0x140016af8
mov r9d, r8d
mov r8d, edx
lea rdx, [0x140067c48]
call fcn.14001979c
mov rax, qword [0x140083518]
lea rcx, [0x140083518]
mov edx, 0x1c135e
mov rax, qword [rax + 8]
call qword [case.0x140015ba5.0]
prefetchw byte [rbx + 0x10]
mov rax, qword [rbx + 0x10]
mov r8d, 0x7f000
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x48]
mov ecx, edx
shr ecx, 0xc
dec ecx
shl ecx, 0xc
xor ecx, edx
and ecx, r8d
xor edx, ecx
mov dword [rsp + 0x48], edx
mov rcx, qword [rsp + 0x48]
lock cmpxchg qword [rbx + 0x10], rcx
je 0x140016b7b
mov ecx, eax
mov qword [rsp + 0x48], rax
shr ecx, 0xc
mov rdx, rax
dec ecx
shl ecx, 0xc
xor ecx, eax
and ecx, r8d
xor ecx, eax
mov dword [rsp + 0x48], ecx
mov rcx, qword [rsp + 0x48]
lock cmpxchg qword [rbx + 0x10], rcx
cmp rax, rdx
jne 0x140016b4e
add rsp, 0x20
pop rbx
ret
Function at 0x14001fb08
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
lea rdx, str.CLSID
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001fbd5
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
and qword [rbp + 0x28], 0
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001fbc6
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.InsecureQI
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001fbc6
cmp dword [rbp + 0x18], 4
jne 0x14001fbc6
mov ebx, dword [rbp + 0x20]
cmp ebx, 3
ja 0x14001fbc6
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14001fbd7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001fbd7
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14001fbd5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001fbe6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x14001ff9c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
sub rsp, 0x30
cmp byte [0x140085914], 0
je 0x14001ffc2
mov eax, dword [0x140085918]
jmp 0x1400200c6
and qword [rbp + 0x18], 0
lea rax, [rbp + 0x18]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftSecurity
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 4
lea rsi, [0x140085918]
test eax, eax
jne 0x14002002e
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, str.CLSIDInterfaceTest
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002002e
cmp dword [rbp + 0x10], ebx
je 0x14002009d
mov rcx, qword [rbp + 0x18]
and qword [rbp + 0x18], 0
test rcx, rcx
je 0x140020042
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftSecurity
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400200a5
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, str.CLSIDInterfaceTest
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400200a5
cmp dword [rbp + 0x10], ebx
jne 0x1400200a5
mov ebx, dword [0x140085918]
jmp 0x1400200ae
and dword [0x140085918], 0
xor ebx, ebx
mov rcx, qword [rbp + 0x18]
mov byte [0x140085914], 1
test rcx, rcx
je 0x1400200c4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret

Function at 0x1400219a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x140021a01
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140021a01
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140021a01
cmp word [rax + 2], si
je 0x140021a01
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x140021a01
add rax, 0x30
jmp 0x140021a08
lea rax, [0x140068300]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002d1cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x14002d1e4
mov r8, qword [rbx + 0x30]
mov r10, qword [rbx + 0x18]
and r8, r9
add r8, r8
mov r9, qword [r10 + r8*8]
mov rcx, r9
cmp r9, qword [rbx + 8]
jne 0x14002d224
mov rax, qword [rbx + 8]
jmp 0x14002d22c
mov rax, qword [r10 + r8*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14002d23f
mov rax, qword [r11]
cmp qword [rcx + 0x10], rax
je 0x14002d243
mov rcx, qword [rcx]
jmp 0x14002d218
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret

Function at 0x14002d258
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
movzx eax, byte [r9 + rdi + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, rdx
cmp r9, 8
jb 0x14002d27d
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14002d2d5
cmp qword [rcx + rdx*8], rdi
jne 0x14002d2ca
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x14002d2ce
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14002d2e2
cmp qword [rcx + rdx*8], rdi
jne 0x14002d2e2
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x18]
dec qword [r8 + 0x10]
call fcn.14002d040
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002d594
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x14002d5cc
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x14002d611
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x14002d664
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x14002d614
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x18]
call fcn.14002d040
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14002d789
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x14002d69e
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14002d6be
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14002d6ed
cmp rax, rdx
jne 0x14002d6c9
mov qword [r9 + r8*8], rbx
jmp 0x14002d6ed
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14002d6ed
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14006c670]
test rax, rax
jns 0x14002d70e
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14002d71f
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14002d77e
cmp rdx, 0x200
jae 0x14002d737
shl rdx, 3
jmp 0x14002d749
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14002d749
add rdx, rdx
mov rcx, rsi
call fcn.14002d85c
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14002d77e
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002d594
cmp rdi, r15
jne 0x14002d75e
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140030110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r9, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + r9]
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
inc r8
cmp r8, 8
jb 0x14003013f
mov r8, qword [rsi + 0x30]
and r8, rcx
add r8, r8
mov r11, qword [rsi + 0x18]
mov rbx, qword [r11 + r8*8]
mov rdx, qword [rsi + 8]
mov r10, rbx
cmp qword [r11 + r8*8], rdx
jne 0x140030182
mov rax, rdx
jmp 0x14003018a
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400301c8
mov rcx, qword [r9]
cmp qword [rbx + 0x10], rcx
je 0x14003019d
mov rbx, qword [rbx]
jmp 0x140030174
mov rdi, rbx
cmp qword [r11 + r8*8], rdx
jne 0x1400301ab
mov rax, rdx
jmp 0x1400301b3
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400301c3
cmp rcx, qword [rbx + 0x10]
jne 0x1400301c3
mov rbx, qword [rbx]
jmp 0x1400301a0
cmp r10, rbx
jne 0x1400301ce
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor ebp, ebp
cmp rdi, rbx
je 0x1400301e6
inc rbp
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, rbx
jne 0x1400301d8
mov rcx, qword [rdx]
cmp rdi, rcx
jne 0x14003023d
cmp rbx, rdx
jne 0x14003023d
mov qword [rdx], rdx
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
and qword [rsi + 0x10], 0
cmp rcx, qword [rsi + 8]
je 0x14003021b
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
cmp rbx, qword [rsi + 8]
jne 0x140030209
mov edx, 8
mov rcx, rsi
call fcn.14002d85c
jmp 0x140030242
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14003025c
cmp rdi, rbx
jne 0x14003022a
mov rax, rbp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14003025c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x140030279
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x1400302d1
cmp qword [rcx + rdx*8], r8
jne 0x1400302c6
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400302ca
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400302de
cmp qword [rcx + rdx*8], r8
jne 0x1400302de
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140030598
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x1400305d0
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x140030615
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x14003065f
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x140030618
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140030784
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x140030699
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1400306b9
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1400306e8
cmp rax, rdx
jne 0x1400306c4
mov qword [r9 + r8*8], rbx
jmp 0x1400306e8
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1400306e8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14006c670]
test rax, rax
jns 0x140030709
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14003071a
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140030779
cmp rdx, 0x200
jae 0x140030732
shl rdx, 3
jmp 0x140030744
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140030744
add rdx, rdx
mov rcx, rsi
call fcn.14002d85c
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140030779
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140030598
cmp rdi, r15
jne 0x140030759
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret