joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140093730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400937ba
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400937b0
cmp r10, r11
jb 0x140093836
cmp r10, rdx
ja 0x140093848
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400937b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140093790
jmp 0x140093817
ja 0x1400937ba
mov r11, r10
cmp rax, r8
jne 0x140093757
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14009381b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400937f0
mov r8, r10
sub ecx, r9d
jns 0x14009380e
jmp 0x14009381d
cmp r10, rdx
je 0x14009382a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14009381d
xor al, 1
cmp r8, rdx
jne 0x1400937d0
jmp 0x14009381d
xor eax, eax
jmp 0x14009381d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x1400bf118]
call sym.core::option::unwrap_failed::h38ae581b954ce070
lea r8, [0x1400bf130]
mov rcx, r11
mov rdx, r10
call dbg.slice_index_order_fail
lea r8, [0x1400bf130]
mov rcx, r10
call dbg.slice_end_index_len_fail
int3
Function at 0x14009a090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movzx eax, byte [rcx]
mov ecx, dword [rdx + 0x34]
test cl, 0x10
jne 0x14009a0f2
test cl, 0x20
jne 0x14009a134
mov r8d, eax
sar r8b, 7
mov ecx, eax
xor cl, r8b
sub cl, r8b
cmp cl, 0x64
jb 0x14009a1a5
add cl, cl
add cl, 0x38
movzx ecx, cl
lea r8, [0x1400be4e6]
movzx ecx, word [rcx + r8]
mov word [rbp - 0x23], cx
mov r8d, 0x24
mov cl, 1
jmp 0x14009a1b0
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax + rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x57]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x14009a100
jmp 0x14009a172
lea r9, [rbp + 0x38]
xor r8d, r8d
mov ecx, eax
nop dword [rax]
mov r10d, eax
and r10b, 0xf
shr cl, 4
lea r11d, [r10 + 0x30]
lea esi, [r10 + 0x37]
cmp r10b, 0xa
movzx r10d, r11b
movzx r11d, sil
cmovb r11d, r10d
mov byte [r9 - 1], r11b
dec r9
inc r8
cmp al, 0x10
mov eax, ecx
jae 0x14009a140
mov ecx, pe_nt_image_headers64
sub rcx, r8
cmp rcx, 0x81
jae 0x14009a211
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
lea r8, [0x1400be4e2]
mov r9d, 2
mov rcx, rdx
mov dl, 1
jmp 0x14009a201
mov r8d, 0x26
cmp cl, 0xa
jae 0x14009a1ba
or cl, 0x30
mov byte [rbp + r8 - 0x48], cl
jmp 0x14009a1d3
movzx ecx, cl
lea r8, [0x1400be4e6]
movzx ecx, word [r8 + rcx*2]
mov word [rbp - 0x23], cx
mov r8d, 0x25
lea rcx, [r8 + rbp]
add rcx, 0xffffffffffffffb8
mov r9d, 0x27
sub r9, r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rcx
not al
shr al, 7
mov r8d, 1
mov rcx, rdx
mov edx, eax
xor r9d, r9d
call dbg.pad_integral
nop
add rsp, 0xb8
pop rsi
pop rbp
ret
lea r8, str.librarycore_src_fmt_num.rs
mov edx, pe_nt_image_headers64
call dbg.slice_start_index_len_fail
int3
Function at 0x1400a0e00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400a0e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400dd1d4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x1400a1000
mov rax, qword [0x1400dd1d8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1400a0ebc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400a0f45
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400a0ea0
mov rcx, rdi
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x1400a1052
mov rax, qword [0x1400dd1d8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400dd1d8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400a1035
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400a0f3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400a0fb0
add dword [0x1400dd1d4], 1
cmp ebx, 8
jae 0x1400a0f71
test bl, 4
jne 0x1400a1010
test ebx, ebx
je 0x1400a0f66
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400a1024
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400a0f66
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400a0f8a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1400dd1d8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400a0f3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
xor esi, esi
jmp 0x1400a0ec7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400a0f66
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400a0f66
mov rax, qword [0x1400dd1d8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call sym.__report_error
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x1400a1620
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1400dd240]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400dd220]
test rbx, rbx
je 0x1400a1674
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400a166b
test rsi, rsi
je 0x1400a166b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400a1650
lea rcx, [0x1400dd240]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400a18c0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x1400a18d0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x1400a18e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400a1921
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x1400a1918
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400a1923
add rax, 0x28
cmp rax, r9
jne 0x1400a1904
xor eax, eax
ret

Function at 0x1400a19d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1400ca220]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400a1a3f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400a1a3f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400a1a3d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400a1a34
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400a1a3f
add rdx, 0x28
cmp rdx, r9
jne 0x1400a1a20
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x1400a1b40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x1400ca220]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x1400a1baf
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400a1baf
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x1400a1bad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400a1ba4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400a1bb4
add rax, 0x28
cmp rax, r9
jne 0x1400a1b90
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x1400a1bd0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x1400ca220]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x1400a1c43
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400a1c43
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400a1c43
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400a1c43
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov rcx, r9
jb 0x1400a1c37
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1400a1c50
add rdx, 0x28
cmp rdx, r10
jne 0x1400a1c23
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jne 0x1400a1c68
jmp 0x1400a1c40
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1400a1c76
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400a1c40
test r8d, r8d
jg 0x1400a1c60
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140007f10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
mov rbp, rsp
sub r8, rdx
je 0x140007f46
movabs rax, 0xcbf29ce484222325
xor r10d, r10d
movabs r9, 0x100000001b3
movzx ecx, byte [rdx + r10]
xor rax, rcx
imul rax, r9
inc r10
cmp r8, r10
jne 0x140007f30
jmp 0x140007f4b
mov eax, 0x84222325
pop rbp
ret

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

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov rcx, r8
jb 0x14000950a
mov rcx, qword [r12]
test rax, rax
je 0x14000953d
movabs rsi, 0xcbf29ce484222325
xor edx, edx
movabs rdi, 0x100000001b3
movzx ebx, byte [rcx + rdx]
xor rbx, rsi
imul rbx, rdi
inc rdx
mov rsi, rbx
cmp rax, rdx
jne 0x140009525
jmp 0x140009547
movabs rbx, 0xcbf29ce484222325
lea rdi, [rbp - 0x30]
mov rcx, r15
mov rdx, rdi
mov r8, r12
mov r9, rbx
call fcn.140009690
mov rax, qword [rdi + 8]
test rax, rax
je 0x140009572
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x140009640
movabs rax, 0x333333333333333
cmp qword [r15 + 0x10], rax
je 0x140009652
lea rdx, [r15 + 8]
lea rcx, [rbp - 0x18]
mov r8, r12
call fcn.140009728
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x38]
inc rcx
js 0x1400095aa
cvtsi2ss xmm0, rcx
jmp 0x1400095bf
mov rdx, rcx
shr rdx, 1
and ecx, 1
or rcx, rdx
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
test rax, rax
js 0x1400095cb
cvtsi2ss xmm1, rax
jmp 0x1400095e0
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [r15]
jbe 0x140009611
mov rcx, r15
call fcn.1400097a8
mov r8, qword [rbp - 0x10]
add r8, 0x10
lea rdx, [rbp - 0x40]
mov rcx, r15
mov r9, rbx
call fcn.140009690
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x30], xmm0
lea rsi, [rbp - 0x18]
mov r9, qword [rsi + 8]
mov qword [rsi + 8], 0
mov r8, qword [rbp - 0x30]
mov rcx, r15
mov rdx, rbx
call fcn.14000984c
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rcx, rsi
call fcn.1400098a4
mov rax, r14
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400e8940
int3
Function at 0x140009a48
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x140009c43
mov rdi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov esi, 1
shl rsi, cl
lea rax, [rdi + 0x18]
mov r13, qword [rdi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, r13
call fcn.1400092e6
lea rax, [rsi - 1]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rsi
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
cmp rcx, r13
je 0x140009c32
movabs r9, 0xcbf29ce484222325
movabs r10, 0x100000001b3
mov qword [rbp - 8], r13
mov r8, rdi
mov rbx, rcx
lea r12, [rcx + 0x10]
cmp qword [rcx + 0x28], 0x10
mov rax, r12
jb 0x140009af2
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x20]
mov rdx, r9
test rcx, rcx
je 0x140009b19
xor esi, esi
mov rdi, r9
movzx edx, byte [rax + rsi]
xor rdx, rdi
imul rdx, r10
inc rsi
mov rdi, rdx
cmp rcx, rsi
jne 0x140009b03
mov rdi, r8
and rdx, qword [r8 + 0x30]
mov rax, qword [rbx]
mov qword [rbp], rax
mov r14, qword [r8 + 0x18]
lea r15, [rdx + rdx]
mov rax, rdx
shl rax, 4
lea rsi, [rdx + rdx]
inc rsi
cmp qword [r14 + rax], r13
je 0x140009bda
mov r13, qword [r14 + rsi*8]
lea r8, [r13 + 0x10]
mov rcx, rdi
mov rdx, r12
call fcn.1400040c8
test al, al
je 0x140009b92
mov rax, qword [r13]
cmp rax, rbx
mov rcx, qword [rbp]
je 0x140009b8c
mov r8, qword [rbx + 8]
mov qword [r8], rcx
mov rdx, qword [rcx + 8]
mov qword [rdx], rax
mov r9, qword [rax + 8]
mov qword [r9], rbx
mov qword [rax + 8], rdx
mov qword [rcx + 8], r8
mov qword [rbx + 8], r9
mov qword [r14 + rsi*8], rbx
jmp 0x140009c11
cmp qword [r14 + r15*8], r13
je 0x140009be8
mov r13, qword [r13 + 8]
lea r8, [r13 + 0x10]
mov rcx, rdi
mov rdx, r12
call fcn.1400040c8
test al, al
je 0x140009b92
mov rax, qword [r13]
mov r8, qword [rbx + 8]
mov rcx, qword [rbp]
mov qword [r8], rcx
mov rdx, qword [rcx + 8]
mov qword [rdx], rax
mov rsi, qword [rax + 8]
mov qword [rsi], rbx
mov qword [rax + 8], rdx
mov qword [rcx + 8], r8
mov qword [rbx + 8], rsi
jmp 0x140009c11
mov qword [r14 + r15*8], rbx
mov qword [r14 + rsi*8], rbx
mov rcx, qword [rbp]
jmp 0x140009c29
mov rax, qword [rbx + 8]
mov rcx, qword [rbp]
mov qword [rax], rcx
mov rsi, qword [rcx + 8]
mov qword [rsi], r13
mov rdx, qword [r13 + 8]
mov qword [rdx], rbx
mov qword [r13 + 8], rsi
mov qword [rcx + 8], rax
mov qword [rbx + 8], rdx
mov qword [r14 + r15*8], rbx
mov r13, qword [rbp - 8]
movabs r9, 0xcbf29ce484222325
movabs r10, 0x100000001b3
cmp rcx, r13
jne 0x140009ada
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400e8940
int3
Function at 0x140009c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov rcx, r8
jb 0x140009c86
mov rcx, qword [r12]
test rax, rax
je 0x140009cb9
movabs rsi, 0xcbf29ce484222325
xor edx, edx
movabs rdi, 0x100000001b3
movzx ebx, byte [rcx + rdx]
xor rbx, rsi
imul rbx, rdi
inc rdx
mov rsi, rbx
cmp rax, rdx
jne 0x140009ca1
jmp 0x140009cc3
movabs rbx, 0xcbf29ce484222325
lea rdi, [rbp - 0x30]
mov rcx, r15
mov rdx, rdi
mov r8, r12
mov r9, rbx
call fcn.140009690
mov rax, qword [rdi + 8]
test rax, rax
je 0x140009cee
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x140009dd0
movabs rax, 0x333333333333333
cmp qword [r15 + 0x10], rax
je 0x140009de2
lea r9, [rbp - 0x40]
mov qword [r9], r12
lea rdx, [r15 + 8]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r8, [0x140114e98]
lea rcx, [rbp - 0x20]
call fcn.140009e20
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x38]
inc rcx
js 0x140009d3a
cvtsi2ss xmm0, rcx
jmp 0x140009d4f
mov rdx, rcx
shr rdx, 1
and ecx, 1
or rcx, rdx
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
test rax, rax
js 0x140009d5b
cvtsi2ss xmm1, rax
jmp 0x140009d70
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [r15]
jbe 0x140009da1
mov rcx, r15
call fcn.1400097a8
mov r8, qword [rbp - 0x18]
add r8, 0x10
lea rdx, [rbp - 0x40]
mov rcx, r15
mov r9, rbx
call fcn.140009690
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x30], xmm0
lea rsi, [rbp - 0x20]
mov r9, qword [rsi + 8]
mov qword [rsi + 8], 0
mov r8, qword [rbp - 0x30]
mov rcx, r15
mov rdx, rbx
call fcn.14000984c
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rcx, rsi
call fcn.1400098a4
mov rax, r14
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400e8940
int3
Function at 0x14000de40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov rcx, r8
jb 0x14000de76
mov rcx, qword [r12]
test rax, rax
je 0x14000dea9
movabs rsi, 0xcbf29ce484222325
xor edx, edx
movabs rdi, 0x100000001b3
movzx ebx, byte [rcx + rdx]
xor rbx, rsi
imul rbx, rdi
inc rdx
mov rsi, rbx
cmp rax, rdx
jne 0x14000de91
jmp 0x14000deb3
movabs rbx, 0xcbf29ce484222325
lea rdi, [rbp - 0x30]
mov rcx, r15
mov rdx, rdi
mov r8, r12
mov r9, rbx
call fcn.140009690
mov rax, qword [rdi + 8]
test rax, rax
je 0x14000dede
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14000dfac
movabs rax, 0x222222222222222
cmp qword [r15 + 0x10], rax
je 0x14000dfbe
lea rdx, [r15 + 8]
lea rcx, [rbp - 0x18]
mov r8, r12
call fcn.14000dffc
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x38]
inc rcx
js 0x14000df16
cvtsi2ss xmm0, rcx
jmp 0x14000df2b
mov rdx, rcx
shr rdx, 1
and ecx, 1
or rcx, rdx
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
test rax, rax
js 0x14000df37
cvtsi2ss xmm1, rax
jmp 0x14000df4c
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [r15]
jbe 0x14000df7d
mov rcx, r15
call fcn.1400097a8
mov r8, qword [rbp - 0x10]
add r8, 0x10
lea rdx, [rbp - 0x40]
mov rcx, r15
mov r9, rbx
call fcn.140009690
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x30], xmm0
lea rsi, [rbp - 0x18]
mov r9, qword [rsi + 8]
mov qword [rsi + 8], 0
mov r8, qword [rbp - 0x30]
mov rcx, r15
mov rdx, rbx
call fcn.14000984c
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rcx, rsi
call fcn.14000e07c
mov rax, r14
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400e8940
int3
Function at 0x14000e2ca
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov rcx, r8
jb 0x14000e300
mov rcx, qword [r12]
test rax, rax
je 0x14000e333
movabs rsi, 0xcbf29ce484222325
xor edx, edx
movabs rdi, 0x100000001b3
movzx ebx, byte [rcx + rdx]
xor rbx, rsi
imul rbx, rdi
inc rdx
mov rsi, rbx
cmp rax, rdx
jne 0x14000e31b
jmp 0x14000e33d
movabs rbx, 0xcbf29ce484222325
lea rdi, [rbp - 0x30]
mov rcx, r15
mov rdx, rdi
mov r8, r12
mov r9, rbx
call fcn.140009690
mov rax, qword [rdi + 8]
test rax, rax
je 0x14000e368
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x14000e436
movabs rax, 0x555555555555555
cmp qword [r15 + 0x10], rax
je 0x14000e448
lea rdx, [r15 + 8]
lea rcx, [rbp - 0x18]
mov r8, r12
call fcn.14000e486
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x38]
inc rcx
js 0x14000e3a0
cvtsi2ss xmm0, rcx
jmp 0x14000e3b5
mov rdx, rcx
shr rdx, 1
and ecx, 1
or rcx, rdx
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
test rax, rax
js 0x14000e3c1
cvtsi2ss xmm1, rax
jmp 0x14000e3d6
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
ucomiss xmm0, dword [r15]
jbe 0x14000e407
mov rcx, r15
call fcn.1400097a8
mov r8, qword [rbp - 0x10]
add r8, 0x10
lea rdx, [rbp - 0x40]
mov rcx, r15
mov r9, rbx
call fcn.140009690
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x30], xmm0
lea rsi, [rbp - 0x18]
mov r9, qword [rsi + 8]
mov qword [rsi + 8], 0
mov r8, qword [rbp - 0x30]
mov rcx, r15
mov rdx, rbx
call fcn.14000984c
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rcx, rsi
call fcn.14000e594
mov rax, r14
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400e8940
int3
Function at 0x140017490
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov r14, rcx
test r8, r8
je 0x1400174ce
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], 0
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x1400174db
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140017511
mov esi, eax
mov rcx, rbx
mov edx, eax
call fcn.140018085
mov r15d, eax
bt esi, 0xa
jb 0x140017524
test sil, 0x10
jne 0x1400175f2
mov dword [r14], 2
jmp 0x140017602
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.140017f53
jmp 0x140017606
mov rcx, rbx
call fcn.1400182f1
test al, al
je 0x1400175fb
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x140017541
mov rdx, qword [rbx]
lea r12, [rbp - 0x40]
mov rcx, r12
call fcn.1400179c2
cmp qword [r12 + 0x18], 8
jb 0x140017559
mov r12, qword [rbp - 0x40]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
mov rcx, r12
xor edx, edx
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x28]
cmp rax, 8
jb 0x1400175d3
mov rcx, qword [rbp - 0x40]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400175ce
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14001764f
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.1400e7768
cmp r12, 0xffffffffffffffff
je 0x14001761d
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov r13d, eax
test eax, eax
je 0x14001762d
mov esi, dword [rbp - 0x40]
jmp 0x14001763b
mov dword [r14], 3
jmp 0x140017602
mov dword [r14], 9
mov dword [r14 + 4], r15d
mov rax, r14
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.140017f53
jmp 0x140017606
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.140017f53
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
jne 0x1400174fb
jmp 0x140017606
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3