joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cd610
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
call fcn.1400d2bd0
test al, al
je 0x1400cd744
lea rcx, [rsi + 0x20]
mov rdx, qword [rsi + 0x18]
call fcn.1400cb210
test al, al
je 0x1400cd744
movzx eax, word [0x14012fb8c]
lea rdi, [rax + rbx]
mov rdx, qword [0x14012f520]
add rax, rbx
add rax, 4
mov qword [rsp + 0x40], rax
mov r14, qword [0x14012f4d8]
mov eax, dword [0x14012f4e0]
mov rcx, qword [0x14012f4f0]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
shl rax, 3
lea rbx, [rax + rax*2]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
lea rcx, [0x14012f448]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r15, rdx
mov r8, rdi
mov rbp, r9
call fcn.14000c5d0
test al, al
je 0x1400cd744
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
cmp r13, r12
cmovb r12, r13
sub r12, rdi
mov rdx, qword [rsp + 0x60]
mov rax, r12
add rax, rdx
jb 0x1400cd744
cmp dword [rsp + 0x58], 0
je 0x1400cd744
xor ecx, ecx
jmp 0x1400cd6f9
add rcx, 0x18
cmp rbx, rcx
je 0x1400cd744
cmp qword [r14 + rcx], rdx
ja 0x1400cd6f0
cmp rax, qword [r14 + rcx + 8]
ja 0x1400cd6f0
add rdx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
mov r8, r12
call fcn.1400224e0
cmp qword [rsp + 0x40], r13
jbe 0x1400cd757
add rdi, r12
mov qword [rsp + 0x38], rdi
mov rdi, r13
mov rdx, r15
lea rax, [rsp + 0x48]
lea rcx, [0x14012f448]
mov r9, rbp
jmp 0x1400cd6a7
xor eax, eax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x34]
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 0x18
movzx r8d, al
movabs r9, 0xcbf29ce484222325
xor r9, r8
movabs r8, 0x100000001b3
imul r9, r8
movzx edi, ah
xor rdi, r9
imul rdi, r8
movzx ecx, cl
xor rcx, rdi
imul rcx, r8
xor rcx, rdx
imul rcx, r8
and rcx, qword [0x140131228]
mov r9, qword [0x140131210]
mov rdx, rcx
shl rdx, 4
mov rdx, qword [r9 + rdx + 8]
mov r8, qword [0x140131200]
cmp rdx, r8
je 0x1400cd819
cmp dword [rdx + 0x10], eax
je 0x1400cd7e1
add rcx, rcx
mov r9, qword [r9 + rcx*8]
xor ecx, ecx
cmp rdx, r9
je 0x1400cd81b
mov rdx, qword [rdx + 8]
cmp dword [rdx + 0x10], eax
jne 0x1400cd7d3
cmp rdx, r8
je 0x1400cd819
mov r8, qword [0x140131538]
test r8, r8
je 0x1400cd819
mov rax, qword [rdx + 0x18]
mov rcx, qword [0x140131530]
imul rdx, r8, 0x298
cmp qword [rcx], rax
je 0x1400cd81b
add rcx, 0x298
add rdx, 0xfffffffffffffd68
jne 0x1400cd804
xor ecx, ecx
mov qword [rsi + 0x58], rcx
mov byte [rsi + 0x80], 0
mov al, 1
jmp 0x1400cd746
Function at 0x1400cddc0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rbx, rdx
mov rsi, rcx
call fcn.1400d2bd0
test al, al
je 0x1400cdf00
lea rcx, [rsi + 0x20]
mov rdx, qword [rsi + 0x18]
call fcn.1400cb210
test al, al
je 0x1400cdf00
mov qword [rsp + 0x30], rsi
movzx eax, word [0x14012fb8c]
lea rsi, [rax + rbx]
mov rdx, qword [0x14012f520]
lea rbp, [rax + rbx]
add rbp, 4
mov rdi, qword [0x14012f4d8]
mov ecx, dword [0x14012f4e0]
mov rax, qword [0x14012f4f0]
ret 0x616
add byte [rax - 0x77], cl
and al, 0x60
mov qword [rsp + 0x68], rcx
push 0x48c88948
shl eax, 3
Function at 0x1400cf070
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
call fcn.1400d2bd0
test al, al
je 0x1400cf1a4
lea rcx, [rsi + 0x20]
mov rdx, qword [rsi + 0x18]
call fcn.1400cb210
test al, al
je 0x1400cf1a4
movzx eax, word [0x14012fb8c]
lea rdi, [rax + rbx]
mov rdx, qword [0x14012f520]
add rax, rbx
add rax, 4
mov qword [rsp + 0x40], rax
mov r14, qword [0x14012f4d8]
mov eax, dword [0x14012f4e0]
mov rcx, qword [0x14012f4f0]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
shl rax, 3
lea rbx, [rax + rax*2]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
lea rcx, [0x14012f448]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r15, rdx
mov r8, rdi
mov rbp, r9
call fcn.14000c5d0
test al, al
je 0x1400cf1a4
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
cmp r13, r12
cmovb r12, r13
sub r12, rdi
mov rdx, qword [rsp + 0x60]
mov rax, r12
add rax, rdx
jb 0x1400cf1a4
cmp dword [rsp + 0x58], 0
je 0x1400cf1a4
xor ecx, ecx
jmp 0x1400cf159
add rcx, 0x18
cmp rbx, rcx
je 0x1400cf1a4
cmp qword [r14 + rcx], rdx
ja 0x1400cf150
cmp rax, qword [r14 + rcx + 8]
ja 0x1400cf150
add rdx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
mov r8, r12
call fcn.1400224e0
cmp qword [rsp + 0x40], r13
jbe 0x1400cf1b7
add rdi, r12
mov qword [rsp + 0x38], rdi
mov rdi, r13
mov rdx, r15
lea rax, [rsp + 0x48]
lea rcx, [0x14012f448]
mov r9, rbp
jmp 0x1400cf107
xor eax, eax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x34]
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 0x18
movzx r8d, al
movabs r9, 0xcbf29ce484222325
xor r9, r8
movabs r8, 0x100000001b3
imul r9, r8
movzx edi, ah
xor rdi, r9
imul rdi, r8
movzx ecx, cl
xor rcx, rdi
imul rcx, r8
xor rcx, rdx
imul rcx, r8
and rcx, qword [0x140131228]
mov r9, qword [0x140131210]
mov rdx, rcx
shl rdx, 4
mov rdx, qword [r9 + rdx + 8]
mov r8, qword [0x140131200]
cmp rdx, r8
je 0x1400cf279
cmp dword [rdx + 0x10], eax
je 0x1400cf241
add rcx, rcx
mov r9, qword [r9 + rcx*8]
xor ecx, ecx
cmp rdx, r9
je 0x1400cf27b
mov rdx, qword [rdx + 8]
cmp dword [rdx + 0x10], eax
jne 0x1400cf233
cmp rdx, r8
je 0x1400cf279
mov r8, qword [0x140131538]
test r8, r8
je 0x1400cf279
mov rax, qword [rdx + 0x18]
mov rcx, qword [0x140131530]
imul rdx, r8, 0x298
cmp qword [rcx], rax
je 0x1400cf27b
add rcx, 0x298
add rdx, 0xfffffffffffffd68
jne 0x1400cf264
xor ecx, ecx
mov qword [rsi + 0x58], rcx
mov byte [rsi + 0x80], 4
mov al, 1
jmp 0x1400cf1a6
Function at 0x1400cf290
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
call fcn.1400d2bd0
test al, al
je 0x1400cf3c4
lea rcx, [rsi + 0x20]
mov rdx, qword [rsi + 0x18]
call fcn.1400cb210
test al, al
je 0x1400cf3c4
movzx eax, word [0x14012fb8c]
lea rdi, [rax + rbx]
mov rdx, qword [0x14012f520]
add rax, rbx
add rax, 4
mov qword [rsp + 0x40], rax
mov r14, qword [0x14012f4d8]
mov eax, dword [0x14012f4e0]
mov rcx, qword [0x14012f4f0]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
shl rax, 3
lea rbx, [rax + rax*2]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
lea rcx, [0x14012f448]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r15, rdx
mov r8, rdi
mov rbp, r9
call fcn.14000c5d0
test al, al
je 0x1400cf3c4
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
cmp r13, r12
cmovb r12, r13
sub r12, rdi
mov rdx, qword [rsp + 0x60]
mov rax, r12
add rax, rdx
jb 0x1400cf3c4
cmp dword [rsp + 0x58], 0
je 0x1400cf3c4
xor ecx, ecx
jmp 0x1400cf379
add rcx, 0x18
cmp rbx, rcx
je 0x1400cf3c4
cmp qword [r14 + rcx], rdx
ja 0x1400cf370
cmp rax, qword [r14 + rcx + 8]
ja 0x1400cf370
add rdx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
mov r8, r12
call fcn.1400224e0
cmp qword [rsp + 0x40], r13
jbe 0x1400cf3d7
add rdi, r12
mov qword [rsp + 0x38], rdi
mov rdi, r13
mov rdx, r15
lea rax, [rsp + 0x48]
lea rcx, [0x14012f448]
mov r9, rbp
jmp 0x1400cf327
xor eax, eax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x34]
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 0x18
movzx r8d, al
movabs r9, 0xcbf29ce484222325
xor r9, r8
movabs r8, 0x100000001b3
imul r9, r8
movzx edi, ah
xor rdi, r9
imul rdi, r8
movzx ecx, cl
xor rcx, rdi
imul rcx, r8
xor rcx, rdx
imul rcx, r8
and rcx, qword [0x140131228]
mov r9, qword [0x140131210]
mov rdx, rcx
shl rdx, 4
mov rdx, qword [r9 + rdx + 8]
mov r8, qword [0x140131200]
cmp rdx, r8
je 0x1400cf499
cmp dword [rdx + 0x10], eax
je 0x1400cf461
add rcx, rcx
mov r9, qword [r9 + rcx*8]
xor ecx, ecx
cmp rdx, r9
je 0x1400cf49b
mov rdx, qword [rdx + 8]
cmp dword [rdx + 0x10], eax
jne 0x1400cf453
cmp rdx, r8
je 0x1400cf499
mov r8, qword [0x140131538]
test r8, r8
je 0x1400cf499
mov rax, qword [rdx + 0x18]
mov rcx, qword [0x140131530]
imul rdx, r8, 0x298
cmp qword [rcx], rax
je 0x1400cf49b
add rcx, 0x298
add rdx, 0xfffffffffffffd68
jne 0x1400cf484
xor ecx, ecx
mov qword [rsi + 0x58], rcx
mov byte [rsi + 0x80], 1
mov al, 1
jmp 0x1400cf3c6
Function at 0x1400d7950
Capabilities:
Hash data using fnv

Disassembly:
push rsi
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 0x18
movzx r8d, cl
movabs r9, 0xcbf29ce484222325
xor r9, r8
movabs r8, 0x100000001b3
imul r9, r8
movzx esi, ch
xor rsi, r9
imul rsi, r8
movzx edx, dl
xor rdx, rsi
imul rdx, r8
xor rax, rdx
imul rax, r8
and rax, qword [0x140131228]
mov r9, qword [0x140131210]
mov rdx, rax
shl rdx, 4
mov rdx, qword [r9 + rdx + 8]
mov r8, qword [0x140131200]
cmp rdx, r8
je 0x1400d7a24
cmp dword [rdx + 0x10], ecx
je 0x1400d79de
add rax, rax
mov r9, qword [r9 + rax*8]
xor eax, eax
nop dword [rax]
cmp rdx, r9
je 0x1400d7a26
mov rdx, qword [rdx + 8]
cmp dword [rdx + 0x10], ecx
jne 0x1400d79d0
cmp rdx, r8
je 0x1400d7a24
mov r8, qword [0x140131538]
test r8, r8
je 0x1400d7a24
mov rcx, qword [rdx + 0x18]
mov rax, qword [0x140131530]
imul rdx, r8, 0x298
nop word cs:[rax + rax]
cmp qword [rax], rcx
je 0x1400d7a26
add rax, 0x298
add rdx, 0xfffffffffffffd68
jne 0x1400d7a10
xor eax, eax
pop rsi
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x180
mov ebx, 2
lea rcx, [rsp + 0x30]
mov edx, ebx
lea rax, [0x140002260]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001020
movups xmm0, xmmword [rax]
mov edx, 0x1000
mov r8d, 0x3000
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movzx eax, byte [rax + 0x40]
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
mov byte [rcx + 0x40], al
xor ecx, ecx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
mov rdx, rax
lea rax, [rsp + 0x30]
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rbx, 1
jne 0x1400010c0
movups xmm0, xmmword [rax]
movzx ecx, byte [rax + 0x40]
movups xmm1, xmmword [rax + 0x10]
movdqa xmm2, xmmword [0x1400023b0]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
lea rax, [r8 + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm1
mov byte [rdx + 0x40], cl
lea ecx, [rbx + 5]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
psubb xmm0, xmm2
movdqu xmmword [rax - 0x60], xmm0
movdqu xmm0, xmmword [rax - 0x50]
psubb xmm0, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
psubb xmm1, xmm2
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
psubb xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
sub rcx, 1
jne 0x140001150
add byte [r8 + 0x140], 0xfb
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
add rsp, 0x180
pop rbx
ret
Function at 0x18000f130
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18000f158
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18000f17e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000f180
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18000f1d9
test ecx, ecx
jle 0x18000f1b9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18000f1d9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18000f1d9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x18000f200
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18000f222
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18000f238
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000f254
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000f256
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000f292
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18000f32e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18000f2cd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18000f30e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18000f32e
cmp rbx, rax
ja 0x18000f2e0
test rbx, rbx
je 0x18000f32e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x18000f760
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800d2028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000f78d
xor eax, eax
jmp 0x18000f8f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18000f7c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18000f7c7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x18000f8f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000f8ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000f80a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18000f835
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000f8f1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18000f8a4
sub eax, 1
je 0x18000f8a4
cmp eax, 2
jne 0x18000f8ec
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000f8f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18000f8d2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18000f8ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18000f8f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180086bf0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18000ffc0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800d2028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180010093
cmp byte [rcx + 0x71], 0
je 0x180010093
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18001008f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180010054
sub eax, 1
je 0x180010058
cmp eax, 2
jne 0x18001008f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180086bf0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180010086
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18001008f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18001003c
xor al, al
jmp 0x18001003c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180086bf0
add rsp, 0x60
pop rbx
ret
Function at 0x18001f550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1800d2028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r12, r9
mov r15, r8
mov rbx, rdx
mov rcx, qword [rcx + 0x10]
add rcx, 0x18
lea rdx, [rsp + 0x30]
call fcn.18001f0d0
nop
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
cmp r14, 0x10
cmovae rdx, rsi
movabs r9, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x18001f5e3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18001f5d0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.180014d70
mov rcx, qword [rax + 8]
mov rdi, qword [0x1800d3618]
test rcx, rcx
cmovne rdi, rcx
cmp rdi, qword [0x1800d3618]
je 0x18001f67a
cmp qword [rdi + 0x40], r13
je 0x18001f67a
lea r9, [rdi + 0x30]
cmp rbx, r9
je 0x18001f664
mov rdx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x18001f62a
mov r9, qword [r9]
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x18001f65c
mov rbp, rbx
cmp rax, 8
jb 0x18001f63f
mov rbp, qword [rbx]
mov qword [rbx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rbp
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rbp], r13w
jmp 0x18001f664
mov rcx, rbx
call fcn.180020bb0
mov rax, qword [rdi + 0x50]
mov qword [r15], rax
mov rax, qword [rdi + 0x58]
movzx ecx, byte [rax]
mov byte [r12], cl
mov bl, 1
jmp 0x18001f67c
xor bl, bl
cmp r14, 0x10
jb 0x18001f6b6
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18001f6ae
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001f6ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180087250
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180086bf0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180030410
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18003046d
lea rbx, [0x1800b94f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180030454
cmp r10, 2
jb 0x180030454
cmp byte [r9], r8b
jne 0x180030454
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180030430
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800304af
lea rbx, [0x1800b94f0]
cmp r8b, 0x23
jne 0x180030493
cmp byte [r9], r8b
jne 0x180030493
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180030480
mov rbx, qword [rsp + 8]
not eax
ret