joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007b9b0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
movsd xmm0, qword [rdx]
mov rbx, rcx
mov rcx, qword [rcx + 0x28]
mov r9, qword [rbx + 0x40]
movsd qword [r9], xmm0
mov eax, dword [rdx + 8]
mov dword [r9 + 8], eax
cmp byte [rbx + 0x30], 0
je 0x18007b9dd
mov r8, qword [rbx + 0x38]
jmp 0x18007b9e3
mov r8d, 0xc
mov rdx, rcx
call fcn.18008a1d0
cmp rax, 0xffffffffffffffff
je 0x18007baa8
mov qword [rsp + 0x38], rsi
xor esi, esi
mov byte [rbx + 0x30], 0
mov rcx, qword [rbx + 0x48]
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x18007ba2f
mov qword [rbx + 0x48], rsi
lea edx, [rsi + 1]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rbx + 0x48]
mov qword [rbx + 0x48], rsi
test rcx, rcx
je 0x18007ba2f
mov rax, qword [rcx]
lea edx, [rsi + 1]
call qword [rax]
mov rdi, qword [rbx + 0x28]
lea r9, [rsp + 0x58]
mov rcx, rdi
mov qword [rsp + 0x20], rsi
mov r8d, 4
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18007ba90
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x18007bacf
mov r8, qword [rbx + 0x38]
xor edx, edx
mov rcx, qword [rbx + 0x40]
call fcn.1801099b0
mov r8d, dword [rbx + 0x38]
lea r9, [rsp + 0x58]
mov rdx, qword [rbx + 0x40]
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18007bab3
mov eax, dword [rsp + 0x68]
mov rdi, qword [rsp + 0x30]
mov byte [rbx + 0x30], sil
mov rsi, qword [rsp + 0x38]
add rsp, 0x40
pop rbx
ret
mov eax, 0xfffffffd
add rsp, 0x40
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1801bc3a8]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x60]
call fcn.180109448
int3
lea rdx, [0x1801bc3a8]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x50]
call fcn.180109448
int3
Function at 0x18008a030
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x28], 0xffffffffffffffff
jne 0x18008a162
cmp byte [rcx], 0
je 0x18008a0c2
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x18008a06d
mov rcx, qword [rcx]
mov edx, dword [rdi + 0x38]
mov rax, qword [rdi + 0x50]
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
lea edx, [r15 + 3]
mov r9d, 0xff
lea r8d, [r15 + 6]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18008a17e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x18008a17e
jmp 0x18008a155
lea r14, [rcx + 8]
cmp qword [rcx + 0x20], 8
jb 0x18008a0d1
mov r14, qword [rcx + 8]
xor r15d, r15d
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 8
jb 0x18008a0e3
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18008a12c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x18008a199
mov edx, 0x1f4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
jmp 0x18008a0d4
mov dword [rsp + 0x80], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x18008a1ae
mov rbx, rsi
mov qword [rdi + 0x28], rbx
cmp rbx, 0xffffffffffffffff
setne al
jmp 0x18008a168
mov al, 1
jmp 0x18008a168
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rdx, [0x1801bc3a8]
lea rcx, [rsp + 0x40]
call fcn.180109448
mov dword [rsp + 0x44], eax
lea rdx, [0x1801bc3a8]
lea rcx, [rsp + 0x44]
call fcn.180109448
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rdx, [0x1801bc3a8]
lea rcx, [rsp + 0x48]
call fcn.180109448
int3

Function at 0x18008a1d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
xor ecx, ecx
mov rax, r9
mov dword [rsp + 0x40], ecx
mov rbx, rdx
cmp rdx, 0xffffffffffffffff
jne 0x18008a1f5
mov rax, rdx
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18008a22d
cmp dword [rsp + 0x40], 0
jbe 0x18008a22d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x18008a22d
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rbx
ret
Function at 0x1800a4500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov ebp, r8d
mov rsi, rdx
mov r14, rcx
mov ecx, 0x48
call fcn.18010280c
mov qword [rsp + 0x78], rax
mov rcx, rax
call fcn.1800a4420
mov rbx, rax
test rax, rax
je 0x1800a4651
mov rcx, qword [rax + 8]
xor r12d, r12d
test rcx, rcx
je 0x1800a4566
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbx + 8], r12
mov rcx, rbx
call fcn.1800a4c90
xor eax, eax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
movzx edx, bp
lea r8, [0x18017cf68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x1800a45f3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r15d, eax
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1800a45ea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1800a45ea
mov edx, r15d
mov rcx, rax
call fcn.1800a8da0
mov rsi, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x1800a45f6
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rsi, r12
mov qword [rbx + 8], rsi
xor eax, eax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x1800a462b
lea r8, [rbx + 0x20]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov rax, qword [rbx + 8]
mov edi, 0x80004005
test rax, rax
cmovne edi, r12d
jne 0x1800a464a
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov eax, edi
jmp 0x1800a4656
mov qword [r14], rbx
mov eax, edi
jmp 0x1800a4656
mov eax, 0x80004005
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1800a6e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x20], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1800a6e87
mov eax, 0x80004005
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rcx + 0x28]
mov qword [rsp + 0x30], rsi
cmp dword [rdx], eax
jne 0x1800a6ec2
mov eax, dword [rcx + 0x38]
cmp dword [rdx + 0x10], eax
jne 0x1800a6ec2
movzx eax, byte [rcx + 0x3c]
cmp byte [rdx + 0x14], al
jne 0x1800a6ec2
movzx eax, byte [rcx + 0x3d]
cmp byte [rdx + 0x15], al
jne 0x1800a6ec2
lea rdx, [rcx + 0x44]
lea rcx, [rdi + 0x1c]
call fcn.1801164dc
test eax, eax
je 0x1800a6f5f
mov rdx, qword [rbx + 0x90]
test rdx, rdx
je 0x1800a6ee3
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbx + 0x90], 0
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x1800a6f00
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbx + 0x88], 0
movups xmm0, xmmword [rdi]
lea rcx, [rbx + 0x28]
movups xmmword [rbx + 0x28], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x38], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x48], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x58], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x68], xmm0
movsd xmm1, qword [rdi + 0x50]
movsd qword [rbx + 0x78], xmm1
mov eax, dword [rdi + 0x58]
mov dword [rbx + 0x80], eax
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rcx, qword [rbx + 0x20]
mov rdx, rax
mov qword [rbx + 0x88], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbx + 0x90], rax
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800b93b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rdi, rdx
mov rbx, rcx
lea rax, vtable.CSmartObjectImpl_class_IDBFile_.0
mov qword [rcx], rax
xor esi, esi
mov dword [rcx + 8], esi
lea rax, vtable.CDBFile.0
mov qword [rcx], rax
mov qword [rcx + 0x10], rsi
mov dword [rcx + 0x18], esi
mov qword [rcx + 0x228], rsi
add rcx, 0x230
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov qword [rbx + 0x260], rsi
lea rax, vtable.CSmartPtr_class_IDBParser_.0
mov qword [rbx + 0x258], rax
lea rcx, [rbx + 0x1c]
mov word [rcx], si
cmp qword [rdi + 0x18], 8
jb 0x1800b942e
mov rdi, qword [rdi]
mov r8d, 0x104
mov rdx, rcx
sub rdi, rcx
nop word [rax + rax]
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x1800b9462
movzx eax, word [rdi + rdx]
test ax, ax
je 0x1800b9462
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x1800b9440
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], si
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800b94ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800b955d
mov qword [rsp + 0x68], rdi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbx + 0x18], eax
call fcn.180052320
mov rdx, rsi
cmp dword [rax + 0x134], 1
jne 0x1800b94d7
cmp qword [rax + 8], rdx
cmovne rdx, rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8d, [r9 + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x228], rax
test rax, rax
jne 0x1800b9504
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800b9553
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1800b9540
mov rcx, qword [rbx + 0x228]
test rcx, rcx
je 0x1800b9553
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x228], rsi
jmp 0x1800b9553
lea r8, [rbx + 0x260]
mov edx, dword [rbx + 0x18]
mov rcx, rax
call fcn.1800bafa0
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1800be0d0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rdi
sub rsp, 0x498
mov rax, qword [0x1801c1080]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbp, rdx
mov rdi, rcx
call fcn.1800be360
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x208
call fcn.1801099b0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1801099b0
test rbp, rbp
je 0x1800be34d
cmp word [rbp], 0
je 0x1800be34d
mov r9, rbp
mov qword [rsp + 0x490], rsi
lea r8, str._s_accessmutex
mov edx, 0x104
lea rcx, [rsp + 0x270]
call fcn.180055230
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.180052320
xor esi, esi
mov ecx, esi
cmp dword [rax + 0x134], 1
jne 0x1800be178
cmp qword [rax + 8], rcx
cmovne rcx, rax
lea r8, [rsp + 0x270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x1800be342
lea rax, [rsp + 0x60]
mov qword [rsp + 0x4c0], rbx
mov r8, rbp
lea rcx, [rsp + 0x60]
sub r8, rax
mov edx, 0x104
nop
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1800be1d3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800be1d3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1800be1b0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
lea rcx, [rsp + 0x60]
mov word [rax], si
call fcn.1800be4e0
call fcn.180052320
mov rcx, rsi
cmp dword [rax + 0x134], 1
jne 0x1800be205
cmp qword [rax + 8], 0
cmovne rcx, rax
xor r8d, r8d
lea r9, [rsp + 0x60]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r8, rbp
lea rcx, [rdi + 8]
mov edx, 0x104
mov qword [rdi + 0x228], rax
call fcn.18005a370
xor ecx, ecx
mov dword [rdi + 0x220], esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
lea r8, [rdi + 8]
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rbx, qword [rsp + 0x4c0]
mov qword [rdi + 0x210], rax
test rax, rax
je 0x1800be342
xor ecx, ecx
mov dword [rdi + 0x220], 1
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rdi + 0x210]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x218], rax
test rax, rax
jne 0x1800be2de
mov rcx, qword [rdi + 0x210]
test rcx, rcx
je 0x1800be2b7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x210], rsi
mov eax, 0x80004005
mov rsi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1801027e0
add rsp, 0x498
pop rdi
pop rbp
ret
xor ecx, ecx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
lea r8d, [rcx + 0x30]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rax, qword [rdi + 0x218]
mov ecx, dword [rax]
cmp dword [rsp + 0x48], ecx
jb 0x1800be335
cmp ecx, 0x50
jbe 0x1800be335
mov rcx, qword [rdi + 0x228]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
jmp 0x1800be2bc
mov rcx, rdi
call fcn.1800be360
jmp 0x1800be2b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800be2b7
mov eax, 0x80070057
jmp 0x1800be2c4
Function at 0x1800c4670
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
lea rbp, [rcx + 0x10]
mov r10, r8
lea rdi, [rcx + 0x90]
mov r8d, r9d
lea rbx, [rcx + 0x70]
xor r14d, r14d
mov dword [rcx + 0x94], r14d
mov rsi, rcx
movups xmm0, xmmword [rdx]
mov rcx, rbx
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [rdx + 0x50]
movsd qword [rbp + 0x50], xmm1
mov eax, dword [rdx + 0x58]
mov rdx, r10
mov dword [rbp + 0x58], eax
mov eax, dword [rsp + 0x50]
mov dword [rdi], eax
call fcn.18004f440
lea rcx, [rbp + 0x5c]
mov dword [rsi + 0x94], r14d
cmp rbp, rcx
lea r10, [0x180173640]
mov r9d, 0x5c
mov r8, rbp
cmova r9d, r14d
mov eax, r14d
test r9, r9
je 0x1800c4743
nop
movzx ecx, byte [r8]
inc r8
movzx edx, al
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [r10 + rdx*4]
xor eax, ecx
mov rcx, r8
sub rcx, rbp
cmp rcx, r9
jb 0x1800c4720
mov dword [rsi + 0x94], eax
cmp qword [rbx + 0x18], 8
mov rcx, qword [rsi + 0x80]
jb 0x1800c475a
mov rbx, qword [rbx]
add ecx, ecx
mov r8, rbx
mov r9d, ecx
add rcx, rbx
cmp rbx, rcx
cmova r9, r14
test r9, r9
je 0x1800c4794
movzx ecx, byte [r8]
inc r8
movzx edx, al
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [r10 + rdx*4]
xor eax, ecx
mov rcx, r8
sub rcx, rbx
cmp rcx, r9
jb 0x1800c4771
lea rcx, [rdi + 4]
mov dword [rsi + 0x94], eax
cmp rdi, rcx
mov r9d, 4
mov r8, rdi
cmova r9, r14
test r9, r9
je 0x1800c47e3
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
movzx edx, al
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [r10 + rdx*4]
xor eax, ecx
mov rcx, r8
sub rcx, rdi
cmp rcx, r9
jb 0x1800c47c0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
mov dword [rsi + 0x94], eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800d17f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbx, [rcx + 4]
mov dword [rcx], edi
mov rsi, rcx
mov word [rbx], di
mov r8d, 0x20
mov rax, rbx
sub rdx, rbx
nop
lea rcx, [r8 + 0x7fffffde]
test rcx, rcx
je 0x1800d1842
movzx ecx, word [rdx + rax]
test cx, cx
je 0x1800d1842
mov word [rax], cx
add rax, 2
sub r8, 1
jne 0x1800d1820
test r8, r8
lea rcx, [rax - 2]
lea rbp, [rsi + 0x44]
cmovne rcx, rax
mov word [rcx], di
movzx eax, word [rbx]
test ax, ax
je 0x1800d188b
nop dword [rax]
cmp rbx, rbp
jae 0x1800d188b
movzx ecx, ax
call fcn.18011218c
movzx ecx, ax
add rbx, 2
lea eax, [rdi*8]
xor ecx, eax
mov edi, ecx
movzx eax, word [rbx]
test ax, ax
jne 0x1800d1860
mov dword [rsi], ecx
jmp 0x1800d188d
mov dword [rsi], edi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rbp, qword [r8 + 0x18]
mov r10, r8
mov rdi, qword [r8 + 0x10]
mov r15, rdx
mov rbx, rcx
cmp rbp, 8
jb 0x1800d1a5f
mov r8, qword [r8]
lea r11, [rdi + rdi]
xor edx, edx
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1800d1a94
movabs rcx, 0x100000001b3
nop
movzx eax, byte [rdx + r8]
inc rdx
xor r9, rax
imul r9, rcx
cmp rdx, r11
jb 0x1800d1a80
mov rdx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x30]
mov rbx, qword [rbx + 8]
and rax, r9
mov rcx, rax
mov qword [rsp + 0x20], rsi
add rcx, rcx
add rax, rax
mov rcx, qword [rdx + rcx*8]
mov r14, qword [rdx + rax*8]
lea r12, [rdx + rax*8]
nop dword [rax]
cmp r14, rbx
jne 0x1800d1aca
mov rax, rbx
jmp 0x1800d1ad2
mov rax, qword [r12 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x1800d1b79
mov rax, r10
cmp rbp, 8
jb 0x1800d1ae7
mov rax, qword [r10]
mov rsi, qword [rcx + 0x28]
lea r9, [rcx + 0x10]
cmp rsi, 8
jb 0x1800d1af9
mov r9, qword [rcx + 0x10]
mov r11, qword [rcx + 0x20]
cmp r11, rdi
jne 0x1800d1b69
mov r8, r11
test r11, r11
je 0x1800d1b24
sub r9, rax
nop dword [rax]
movzx edx, word [rax]
cmp word [rax + r9], dx
jne 0x1800d1b69
add rax, 2
sub r8, 1
jne 0x1800d1b10
lea rdx, [rcx + 0x10]
cmp rsi, 8
jb 0x1800d1b31
mov rdx, qword [rdx]
cmp rbp, 8
jb 0x1800d1b3a
mov r10, qword [r10]
cmp rdi, r11
jne 0x1800d1b71
test rdi, rdi
je 0x1800d1b74
sub r10, rdx
nop word [rax + rax]
movzx eax, word [rdx]
cmp word [rdx + r10], ax
jne 0x1800d1b71
add rdx, 2
sub rdi, 1
jne 0x1800d1b50
mov qword [r15], rcx
jmp 0x1800d1b7c
mov rcx, qword [rcx]
jmp 0x1800d1ac0
mov rcx, rbx
mov qword [r15], rcx
jmp 0x1800d1b7c
mov qword [r15], rbx
mov rsi, qword [rsp + 0x20]
mov rax, r15
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x1800d6800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rdi, r9
mov r10, r8
mov r15, rdx
mov r14, rcx
mov r11, qword [r8 + 0x10]
mov r9, r8
mov r12, qword [r8 + 0x18]
cmp r12, 8
jb 0x1800d683f
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r8, [r11 + r11]
xor ecx, ecx
test r8, r8
je 0x1800d6874
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, r8
jb 0x1800d6860
mov r9, qword [r14 + 0x30]
and r9, rdx
mov rbx, qword [r14 + 8]
mov rax, r9
add rax, rax
mov rcx, qword [r14 + 0x18]
mov rsi, qword [rcx + rax*8]
cmp rbx, rsi
je 0x1800d6904
mov rbx, qword [rcx + rax*8 + 8]
mov rbx, qword [rbx]
nop word [rax + rax]
cmp rbx, rsi
je 0x1800d6904
mov rbx, qword [rbx + 8]
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 8
jb 0x1800d68b8
mov rcx, qword [rbx + 0x10]
mov r8, r10
cmp r12, 8
jb 0x1800d68c4
mov r8, qword [r10]
cmp r11, qword [rbx + 0x20]
jne 0x1800d68a0
mov rdx, r11
test r11, r11
je 0x1800d68e9
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1800d68a0
add rcx, 2
sub rdx, 1
jne 0x1800d68d5
mov rdx, rdi
mov rcx, r14
call fcn.1800d76b0
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x1800d6a3b
mov qword [rsp + 0x80], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1800d6941
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
add r9, r9
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r9*8]
cmp rax, qword [r14 + 8]
jne 0x1800d6961
mov qword [rdx + r9*8], rdi
mov rax, qword [r14 + 0x18]
mov qword [rax + r9*8 + 8], rdi
jmp 0x1800d6990
cmp rax, rbx
jne 0x1800d696c
mov qword [rdx + r9*8], rdi
jmp 0x1800d6990
mov rax, qword [rdx + r9*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r9*8 + 8], rcx
cmp rcx, rdi
je 0x1800d6990
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r9*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r9*8 + 8], rcx
mov rax, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1801833d0]
test rax, rax
jns 0x1800d69b1
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1800d69c2
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [r14]
jbe 0x1800d6a30
cmp rdx, 0x200
jae 0x1800d69df
lea rdx, [rdx*8]
jmp 0x1800d69f1
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1800d69f1
add rdx, rdx
mov rcx, r14
call fcn.1800d1cb0
mov rax, qword [r14 + 8]
cmp qword [rax], rax
je 0x1800d6a30
mov rsi, qword [rax + 8]
nop word [rax + rax]
mov rbx, qword [r14 + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.1800d6800
cmp rbx, rsi
jne 0x1800d6a10
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1800d7e60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 8
lea r10, [r8 + 0x10]
mov r9, qword [r8 + 0x20]
mov rdi, r8
mov r14, rdx
mov r11, rcx
jb 0x1800d7e91
mov r10, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
add r9, r9
je 0x1800d7ec4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r9
jb 0x1800d7eb0
mov rdx, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], rdi
jne 0x1800d7f04
cmp rax, rdi
jne 0x1800d7efa
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x1800d7f0f
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x1800d7f0f
cmp rax, rdi
jne 0x1800d7f0f
mov rax, qword [rdi]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x30]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r11 + 0x10]
call fcn.18004f5d0
lea rcx, [rdi + 0x10]
call fcn.18004f5d0
mov edx, 0x50
mov rcx, rdi
call fcn.180102804
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret