joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017b40
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov esi, 1
cmp r8d, 0x10
jb 0x140017d60
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0x54
lea rcx, [rsp + 0x24]
mov byte [rsp + 0x24], 0x64
mov byte [rsp + 0x25], 0x64
mov byte [rsp + 0x26], 0x64
mov byte [rsp + 0x27], 0x64
mov byte [rsp + 0x28], 0x64
mov byte [rsp + 0x29], 0x64
mov byte [rsp + 0x2a], 0x64
mov byte [rsp + 0x2b], 0x64
mov byte [rsp + 0x2c], 0x79
mov byte [rsp + 0x2d], 0x64
mov byte [rsp + 0x2e], 0x64
mov byte [rsp + 0x2f], 0x64
mov byte [rsp + 0x30], 0x64
mov byte [rsp + 0x31], 0x79
mov byte [rsp + 0x32], 0x64
mov byte [rsp + 0x33], 0x64
mov byte [rsp + 0x34], 0x64
mov byte [rsp + 0x35], 0x64
mov byte [rsp + 0x36], 0x79
mov byte [rsp + 0x37], 0x64
mov byte [rsp + 0x38], 0x64
mov byte [rsp + 0x39], 0x64
mov byte [rsp + 0x3a], 0x64
mov byte [rsp + 0x3b], 0x79
mov byte [rsp + 0x3c], 0x64
mov byte [rsp + 0x3d], 0x64
mov byte [rsp + 0x3e], 0x64
mov byte [rsp + 0x3f], 0x64
mov byte [rsp + 0x40], 0x64
mov byte [rsp + 0x41], 0x64
mov byte [rsp + 0x42], 0x64
mov byte [rsp + 0x43], 0x64
mov byte [rsp + 0x44], 0x64
mov byte [rsp + 0x45], 0x64
mov byte [rsp + 0x46], 0x64
mov byte [rsp + 0x47], 0x64
mov byte [rsp + 0x48], 0
mov eax, 7
nop dword [rax]
movzx edx, byte [rsp + rax + 0x1d]
mov r8d, dword [rsp + 0x20]
xor r8b, dl
mov byte [rsp + rax + 0x1d], r8b
movzx edx, byte [rsp + rax + 0x1e]
mov r8d, dword [rsp + 0x20]
xor r8b, dl
mov byte [rsp + rax + 0x1e], r8b
movzx edx, byte [rsp + rax + 0x1f]
mov r8d, dword [rsp + 0x20]
xor r8b, dl
mov byte [rsp + rax + 0x1f], r8b
movzx edx, byte [rsp + rax + 0x20]
mov r8d, dword [rsp + 0x20]
xor r8b, dl
mov byte [rsp + rax + 0x20], r8b
add rax, 4
cmp rax, 0x2b
jne 0x140017c30
mov byte [rsp + 0x48], 0
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r14, rax
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov ecx, r14d
cmp rax, rcx
jne 0x140017d60
test r14d, r14d
je 0x140017d35
mov eax, r14d
xor ecx, ecx
mov edx, 0x842100
xor r9d, r9d
xor r8d, r8d
jmp 0x140017ce8
add r10b, r9b
lea r9d, [r8 - 1]
shr r9d, 1
mov byte [rsp + r9 + 0x20], r10b
mov r9d, r10d
inc r8d
nop word cs:[rax + rax]
inc rcx
cmp rax, rcx
je 0x140017d35
movzx r10d, byte [rbx + rcx]
cmp ecx, 0x17
ja 0x140017cff
bt edx, ecx
jae 0x140017cff
cmp r10b, 0x2d
je 0x140017ce0
jmp 0x140017d60
lea r11d, [r10 - 0x61]
cmp r11b, 5
ja 0x140017d0f
add r10b, 0xa9
jmp 0x140017d29
lea r11d, [r10 - 0x41]
cmp r11b, 5
ja 0x140017d1f
add r10b, 0xc9
jmp 0x140017d29
add r10b, 0xd0
cmp r10b, 9
ja 0x140017d60
test r8b, 1
jne 0x140017cbe
shl r10b, 4
jmp 0x140017ccd
mov rax, qword [rsp + 0x28]
movq xmm0, qword [rsp + 0x20]
pxor xmm1, xmm1
punpcklbw xmm0, xmm1
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0xb1
packuswb xmm0, xmm0
movq qword [rdi], xmm0
mov qword [rdi + 8], rax
xor esi, esi
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140018260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1268
call fcn.140024610
sub rsp, rax
mov rsi, r9
mov edi, r8d
mov rbx, rdx
mov r15, rcx
lea r14, [rsp + 0x1060]
mov r8d, 0x200
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + 0x40], 0x61
mov byte [rsp + 0x41], 0x61
mov byte [rsp + 0x42], 0x33
mov byte [rsp + 0x43], 0x61
mov byte [rsp + 0x44], 0x75
mov byte [rsp + 0x45], 0x6e
mov byte [rsp + 0x46], 0x75
mov byte [rsp + 0x47], 0x6a
mov byte [rsp + 0x48], 0x61
mov byte [rsp + 0x49], 0x2a
mov byte [rsp + 0x4a], pe_nt_image_headers64
mov byte [rsp + 0x4b], 0
add byte [rsp + 0x40], 0xfb
add byte [rsp + 0x41], 0xfb
add byte [rsp + 0x42], 0xfb
add byte [rsp + 0x43], 0xfb
add byte [rsp + 0x44], 0xfb
add byte [rsp + 0x45], 0xfb
add byte [rsp + 0x46], 0xfb
add byte [rsp + 0x47], 0xfb
add byte [rsp + 0x48], 0xfb
add byte [rsp + 0x49], 0xfb
add byte [rsp + 0x4a], 0xfb
lea r8, [rsp + 0x40]
mov edx, 0x1ff
mov rcx, r14
mov r9, r15
call fcn.1400183c0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, r14
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call qword [0x140042690]
mov ebp, 1
cmp rax, 0xffffffffffffffff
je 0x1400183a4
mov r14, rax
lea rcx, [rsp + 0x48]
mov r8d, 0x1018
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x40]
mov rdx, rbx
mov r8d, edi
call fcn.140017d70
test eax, eax
jne 0x1400183a4
lea rdx, [rsp + 0x40]
mov r8d, 0x1020
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov eax, ebp
add rsp, 0x1268
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140020a90
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
cmp edx, 0xffffffff
je 0x140020bab
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140020adb
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x140020adb
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x140020bf0
cmp qword [rdi + 0x80], 0
je 0x140020baf
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x140020b15
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140020bb6
mov byte [rsp + 0x4f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x50]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x4f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x140020bcf
mov r15, qword [rsp + 0x50]
sub r15, r14
je 0x140020b9b
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140020bee
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x58], rbx
mov eax, 0xffffffff
jmp 0x140020be9
xor esi, esi
jmp 0x140020bf0
mov esi, 0xffffffff
jmp 0x140020bf0
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x140020bf0
cmp eax, 3
jne 0x140020bee
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x4f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140021050
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x14002108b
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140021092
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
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]
xor esi, esi
jmp 0x140021189
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400210e5
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x1400210e5
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x1400210f6
jmp 0x140021186
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x140021186
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140021122
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [rax]
cmp r14, 0x1000
jb 0x140021161
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r15
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x140021130
jmp 0x140021186
test r14, r14
je 0x140021183
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
jmp 0x140021186
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400211a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x1400211d6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
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 [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140021223
test rsi, rsi
jle 0x140021223
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jle 0x140021223
cmp r15, rsi
cmovae r15, rsi
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jg 0x14002122b
jmp 0x14002124b
mov r14, rsi
test r14, r14
jle 0x14002124b
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x14002124b
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400215e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov al, 1
cmp qword [rcx + 0x68], 0
je 0x140021679
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x140021679
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140021677
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x140021681
cmp eax, 1
je 0x140021647
test eax, eax
jne 0x140021677
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x14002166e
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140021677
cmp byte [rsi + 0x71], 0
sete al
jmp 0x140021679
xor eax, eax
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov al, 1
jmp 0x140021679

Function at 0x140021b20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x14002a528
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002a572
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002a572
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002a572
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002a572
cmp dword [rcx + 0x84], 0xe
jbe 0x14002a572
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002a574
xor al, al
add rsp, 0x28
ret
Function at 0x180001e90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1800980c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x180001eca
mov r8, qword [rdx]
mov rdx, r8
add r8, qword [rbx + 0x10]
jmp 0x180001ed1
mov r8, qword [rdx + 0x10]
add r8, rbx
cmp rdx, r8
je 0x180001ee6
cmp byte [rdx], 0x2f
jne 0x180001ede
mov byte [rdx], 0x2e
inc rdx
cmp rdx, r8
jne 0x180001ed6
lea r14, [rcx + 0x10]
mov rbp, qword [rbx + 0x10]
mov rdx, rbx
mov rsi, qword [rbx + 0x18]
cmp rsi, 0xf
jbe 0x180001efe
mov rdx, qword [rbx]
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
xor ecx, ecx
movabs r15, 0x100000001b3
test rbp, rbp
je 0x180001f33
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, rbp
jb 0x180001f20
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1800028b0
cmp qword [rax + 8], 0
je 0x180001fd5
mov rcx, rbx
cmp rsi, 0xf
jbe 0x180001f5a
mov rcx, qword [rbx]
xor edx, edx
test rbp, rbp
je 0x180001f74
movzx eax, byte [rdx + rcx]
xor rdi, rax
imul rdi, r15
inc rdx
cmp rdx, rbp
jb 0x180001f61
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1800028b0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x18000203e
mov rdi, qword [rax + 0x30]
cmp rsi, 0xf
jbe 0x180001fd0
lea rdx, [rsi + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180001fcb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000204b
mov rcx, r8
call fcn.18004004c
mov rax, rdi
jmp 0x18000200a
cmp rsi, 0xf
jbe 0x180002008
lea rdx, [rsi + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180002003
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000204b
mov rcx, r8
call fcn.18004004c
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18003fc80
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.18003f070
nop
call fcn.180045ed4
int3
Function at 0x180009480
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
mov qword [rsp + 0x40], r13
mov rbp, rcx
lea rcx, [r8 - 1]
mov qword [rsp + 0x38], r14
mov r13, rcx
mov qword [rsp + 0x20], r8
sar r13, 1
mov r15, r9
mov qword [rsp + 0x28], rcx
mov r14, rdx
mov r12, rdx
mov r10, rdx
cmp rdx, r13
jge 0x180009518
nop
lea rbx, [r10 + r10]
lea rdi, [rbx + 2]
shl rdi, 4
add rdi, rbp
mov rdx, rdi
lea rsi, [rdi - 0x10]
mov r8, rsi
call fcn.180009360
movzx r10d, al
xor r10, 1
inc r10
add r10, rbx
test al, al
cmove rsi, rdi
add r14, r14
mov rax, qword [rsi]
mov qword [rbp + r14*8], rax
mov rax, qword [rsi + 8]
mov qword [rbp + r14*8 + 8], rax
mov r14, r10
cmp r10, r13
jl 0x1800094c0
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r14, qword [rsp + 0x38]
cmp r10, r13
mov r13, qword [rsp + 0x40]
mov rbx, r10
jne 0x18000954d
test r8b, 1
jne 0x18000954d
add r8, r8
mov rbx, rcx
add r10, r10
mov rax, qword [rbp + r8*8 - 0x10]
mov qword [rbp + r10*8], rax
mov rax, qword [rbp + r8*8 - 8]
mov qword [rbp + r10*8 + 8], rax
cmp r12, rbx
jge 0x18000958e
lea rdi, [rbx - 1]
mov r8, r15
sar rdi, 1
mov rsi, rdi
shl rsi, 4
add rsi, rbp
mov rdx, rsi
call fcn.180009360
test al, al
je 0x18000958e
mov rax, qword [rsi]
add rbx, rbx
mov qword [rbp + rbx*8], rax
mov rax, qword [rsi + 8]
mov qword [rbp + rbx*8 + 8], rax
mov rbx, rdi
cmp r12, rdi
jl 0x180009552
mov rax, qword [r15]
add rbx, rbx
mov qword [rbp + rbx*8], rax
mov rax, qword [r15 + 8]
mov qword [rbp + rbx*8 + 8], rax
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180009990
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800099c6
xor eax, eax
lea r8, [0x180009650]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800099c6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180015ef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov r14, rdx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x30], xmm0
movabs rdi, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
mov r8, qword [r8 + 8]
test r8, r8
je 0x180015f53
movabs r9, 0x100000001b3
mov rdx, qword [rsp + 0x30]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x180015f40
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180016470
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x180015f79
mov qword [r14], rax
mov byte [r14 + 8], r13b
jmp 0x18001612b
movabs rax, 0x555555555555555
cmp qword [0x18009a8a0], rax
je 0x180016146
lea rax, [0x18009a898]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r13
mov ecx, 0x30
call fcn.18003fca0
mov rsi, rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rbx]
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov r8, qword [0x18009a8a0]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x180015fdc
cvtsi2ss xmm0, rcx
jmp 0x180015ff1
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x18009a8c8]
xorps xmm1, xmm1
test rcx, rcx
js 0x180016007
cvtsi2ss xmm1, rcx
jmp 0x18001601c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x18009a890]
jbe 0x1800160c4
call fcn.180016180
mov rax, qword [0x18009a8c0]
and rax, rdi
add rax, rax
mov r15, qword [0x18009a8a8]
mov rbx, qword [r15 + rax*8 + 8]
mov rcx, qword [0x18009a898]
cmp rbx, rcx
jne 0x18001605e
mov qword [rsp + 0x20], rcx
jmp 0x1800160ad
mov r15, qword [r15 + rax*8]
movups xmm0, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov rbp, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
cmp rbp, qword [rbx + 0x18]
jne 0x18001608e
mov r8, rbp
mov rdx, qword [rbx + 0x10]
mov rcx, r12
call fcn.180062a10
test eax, eax
je 0x180016099
cmp rbx, r15
je 0x1800160a8
mov rbx, qword [rbx + 8]
jmp 0x180016075
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
jmp 0x1800160b2
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r13
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [0x18009a8a0]
mov rdx, qword [rsp + 0x20]
mov r9, qword [rdx + 8]
inc r8
mov qword [0x18009a8a0], r8
mov qword [rsi], rdx
mov qword [rsi + 8], r9
mov qword [r9], rsi
mov qword [rdx + 8], rsi
mov rax, qword [0x18009a8c0]
and rax, rdi
add rax, rax
mov rcx, qword [0x18009a8a8]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x18009a898]
jne 0x18001610c
mov qword [rcx + rax*8], rsi
jmp 0x18001611e
cmp r8, rdx
jne 0x180016117
mov qword [rcx + rax*8], rsi
jmp 0x180016123
cmp qword [rcx + rax*8 + 8], r9
jne 0x180016123
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.18003f04c
int3
Function at 0x180016540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov r14, rdx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x30], xmm0
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
mov r8, qword [r8 + 8]
test r8, r8
je 0x1800165a3
movabs r9, 0x100000001b3
mov rdx, qword [rsp + 0x30]
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x180016590
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180016470
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1800165ca
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x18001678a
movabs rax, 0x555555555555555
cmp qword [0x18009a8a0], rax
je 0x1800167a7
lea rax, [0x18009a898]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x30
call fcn.18003fca0
mov rsi, rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rbx]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x20], xmm1
mov r8, qword [0x18009a8a0]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x180016631
cvtsi2ss xmm0, rcx
jmp 0x180016646
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x18009a8c8]
xorps xmm1, xmm1
test rcx, rcx
js 0x18001665c
cvtsi2ss xmm1, rcx
jmp 0x180016671
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x18009a890]
jbe 0x180016723
call fcn.180016180
mov rax, qword [0x18009a8c0]
and rax, rdi
add rax, rax
mov r15, qword [0x18009a8a8]
mov rbx, qword [r15 + rax*8 + 8]
mov rcx, qword [0x18009a898]
cmp rbx, rcx
jne 0x1800166b3
mov qword [rsp + 0x20], rcx
jmp 0x180016708
mov r15, qword [r15 + rax*8]
movups xmm0, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov rbp, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
nop word [rax + rax]
cmp rbp, qword [rbx + 0x18]
jne 0x1800166e9
mov r8, rbp
mov rdx, qword [rbx + 0x10]
mov rcx, r12
call fcn.180062a10
test eax, eax
je 0x1800166f4
cmp rbx, r15
je 0x180016703
mov rbx, qword [rbx + 8]
jmp 0x1800166d0
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
jmp 0x180016711
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [0x18009a8a0]
mov rdx, qword [rsp + 0x20]
mov r9, qword [rdx + 8]
inc r8
mov qword [0x18009a8a0], r8
mov qword [rsi], rdx
mov qword [rsi + 8], r9
mov qword [r9], rsi
mov qword [rdx + 8], rsi
mov rax, qword [0x18009a8c0]
and rax, rdi
add rax, rax
mov rcx, qword [0x18009a8a8]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x18009a898]
jne 0x18001676b
mov qword [rcx + rax*8], rsi
jmp 0x18001677d
cmp r8, rdx
jne 0x180016776
mov qword [rcx + rax*8], rsi
jmp 0x180016782
cmp qword [rcx + rax*8 + 8], r9
jne 0x180016782
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, str.unordered_map_set_too_long
call fcn.18003f04c
int3