joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400206a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x778]
sub rsp, 0x870
mov rax, qword [0x140059b08]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rdi, rcx
and qword [rsp + 0x38], 0
mov edx, dword [rcx]
sub edx, 1
je 0x14002072e
sub edx, 1
je 0x140020725
sub edx, 1
je 0x14002071c
sub edx, 1
je 0x140020713
cmp edx, 1
je 0x14002070a
mov ebx, 0x80070057
mov edx, 0x6bb
jmp 0x14002081c
mov rcx, 0xffffffff80000003
jmp 0x140020735
mov rcx, 0xffffffff80000002
jmp 0x140020735
mov rcx, 0xffffffff80000001
jmp 0x140020735
mov rcx, 0xffffffff80000005
jmp 0x140020735
mov rcx, 0xffffffff80000000
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x48], 0
mov byte [rsp + 0x50], 1
lea rdx, [rdi + 4]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
nop dword [rax + rax]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.1400208d0
test ebx, ebx
je 0x140020787
mov r9d, ebx
mov edx, 0x6c9
jmp 0x1400207df
mov esi, 0x800
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x30], esi
lea rdx, [rdi + 0x104]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
nop dword [rax + rax]
test eax, eax
je 0x1400207f9
mov r9d, eax
mov edx, 0x6d5
lea r8, str.onecore_amcoreoctagon_broker_sourcelib_assists.cpp
mov rcx, qword [rbp + 0x778]
call fcn.140019768
mov ebx, eax
jmp 0x140020885
mov eax, dword [rsp + 0x34]
mov dword [rdi + 0x204], eax
sub eax, 1
je 0x140020848
sub eax, 3
je 0x14002083b
cmp eax, 7
je 0x140020834
mov ebx, 0x80004005
mov edx, 0x6e7
lea r8, str.onecore_amcoreoctagon_broker_sourcelib_assists.cpp
mov r9d, ebx
mov rcx, qword [rbp + 0x778]
call fcn.140005930
jmp 0x140020885
mov rax, qword [rsp + 0x60]
jmp 0x14002083f
mov eax, dword [rsp + 0x60]
mov qword [rdi + 0x208], rax
jmp 0x140020883
mov eax, dword [rsp + 0x30]
mov ecx, 0x7ff
cmp eax, esi
cmova eax, ecx
mov ebx, eax
lea rcx, [rdi + 0x210]
mov r8d, eax
lea rdx, [rsp + 0x60]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
sub rsi, rbx
lea rcx, [rdi + 0x210]
add rcx, rbx
mov r8, rsi
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002089c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.14003f700
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14002ac08
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov rsi, rdx
mov r8, qword [r8 + 0x10]
mov rdx, rbx
mov ebp, 8
cmp qword [rbx + 0x18], rbp
jb 0x14002ac3f
mov rdx, qword [rbx]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
add r8, r8
je 0x14002ac6d
movzx eax, byte [rcx + rdx]
xor r14, rax
movabs r9, 0x100000001b3
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x14002ac50
mov r9, r14
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.14002b628
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14002ac93
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x14002ae5c
movabs rax, 0x333333333333333
cmp qword [0x14005a8a0], rax
jne 0x14002acba
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
lea rax, [0x14005a898]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x38], 0
mov ecx, 0x50
call fcn.14003f8c0
mov rdi, rax
mov qword [rsp + 0x38], rax
lea r15, [rax + 0x10]
mov qword [rsp + 0x60], r15
mov rdx, rbx
mov rcx, r15
call fcn.14000e22c
nop
lea rcx, [r15 + 0x20]
lea rdx, [rbx + 0x20]
call fcn.14000e22c
nop
mov r9, qword [0x14005a8a0]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14002ad1b
cvtsi2ss xmm0, rcx
jmp 0x14002ad30
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [0x14005a8c8]
xorps xmm2, xmm2
test rbx, rbx
js 0x14002ad46
cvtsi2ss xmm2, rbx
jmp 0x14002ad5e
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
movss xmm3, dword [0x14005a890]
comiss xmm1, xmm3
seta al
test al, al
je 0x14002adf6
divss xmm0, xmm3
call sub.api_ms_win_crt_private_l1_1_0.dll__o_ceilf
xor ecx, ecx
movss xmm1, dword [0x14004bd84]
comiss xmm0, xmm1
jb 0x14002ada5
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14002ada5
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
cmp rax, rbp
cmova rbp, rax
cmp rbx, rbp
jae 0x14002adce
cmp rbx, 0x200
jae 0x14002adcb
shl rbx, 3
cmp rbx, rbp
jae 0x14002adce
mov rbx, rbp
mov rdx, rbx
call fcn.14002b17c
mov r9, r14
mov r8, r15
lea rdx, [rsp + 0x30]
call fcn.14002b628
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov r9, qword [0x14005a8a0]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc r9
mov qword [0x14005a8a0], r9
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [0x14005a8a8]
mov rax, qword [0x14005a8c0]
and rax, r14
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [0x14005a898]
jne 0x14002ae3e
mov qword [rcx + rax*8], rdi
jmp 0x14002ae50
cmp r9, rdx
jne 0x14002ae49
mov qword [rcx + rax*8], rdi
jmp 0x14002ae55
cmp qword [rcx + rax*8 + 8], r8
jne 0x14002ae55
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14002b17c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x14002b1c6
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
mov rsi, qword [0x14005a898]
lea rax, [rdx - 1]
or rax, 1
mov ebx, 1
bsr rcx, rax
mov r8, rsi
inc ecx
shl rbx, cl
lea rcx, [0x14005a8a8]
lea rdx, [rbx + rbx]
call fcn.140017894
mov r11, qword [0x14005a898]
lea r9, [rbx - 1]
mov qword [0x14005a8c8], rbx
mov qword [0x14005a8c0], r9
mov r11, qword [r11]
mov rbx, r11
cmp r11, rsi
je 0x14002b34a
mov rbx, qword [rbx]
lea r15, [r11 + 0x10]
cmp qword [r15 + 0x18], 8
mov rdx, r15
mov r8, qword [r15 + 0x10]
jb 0x14002b236
mov rdx, qword [r15]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
add r8, r8
je 0x14002b264
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r14, rax
inc rcx
imul r14, r10
cmp rcx, r8
jb 0x14002b247
mov rbp, qword [0x14005a8a8]
and r14, r9
add r14, r14
cmp qword [rbp + r14*8], rsi
jne 0x14002b287
mov qword [rbp + r14*8], r11
mov qword [rbp + r14*8 + 8], r11
jmp 0x14002b310
mov rdi, qword [rbp + r14*8 + 8]
mov rcx, r15
lea rdx, [rdi + 0x10]
call fcn.140015e10
test al, al
je 0x14002b2c7
mov r8, qword [rdi]
cmp r8, r11
je 0x14002b27d
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r11
mov qword [r8 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14002b27d
mov r13, rdi
jmp 0x14002b2e3
mov rdi, qword [rdi + 8]
mov rcx, r15
mov r13, rdi
lea rdx, [rdi + 0x10]
call fcn.140015e10
test al, al
jne 0x14002b324
cmp qword [rbp + r14*8], rdi
jne 0x14002b2cc
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r13
mov rax, qword [r13 + 8]
mov qword [rax], r11
mov qword [r13 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
mov qword [rbp + r14*8], r11
mov r11, rbx
cmp rbx, rsi
je 0x14002b34a
mov r9, qword [0x14005a8c0]
jmp 0x14002b21e
mov r8, qword [rdi]
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r11
mov qword [r8 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14002b310
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.14002b378
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x14002b450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rbp, r8
mov r15, rdx
mov r9, rcx
cmp rdx, r8
je 0x14002b5f7
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r12, qword [rcx + 0x18]
lea rcx, [rdx + 0x10]
cmp qword [rcx + 0x18], 8
mov r14, qword [rdx + 8]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x80], rax
jb 0x14002b4a0
mov rcx, qword [rcx]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
add r10, r10
je 0x14002b4d0
movzx eax, byte [r8 + rcx]
inc r8
xor rdx, rax
imul rdx, r11
cmp r8, r10
jb 0x14002b4bc
mov r13, qword [r9 + 0x30]
and r13, rdx
add r13, r13
mov rax, qword [r12 + r13*8]
mov qword [rsp + 0x78], rax
mov rax, qword [r12 + r13*8 + 8]
mov qword [rsp + 0x88], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.140025b50
mov edx, 0x50
mov rcx, rbx
call fcn.140007850
mov r8, qword [rsp + 0x70]
dec qword [r8 + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x14002b53b
cmp rsi, rbp
jne 0x14002b4f0
cmp qword [rsp + 0x78], r15
jne 0x14002b5f0
mov qword [r12 + r13*8], rsi
jmp 0x14002b5f0
cmp qword [rsp + 0x78], r15
jne 0x14002b553
mov rdx, qword [rsp + 0x80]
mov qword [r12 + r13*8], rdx
mov rax, rdx
jmp 0x14002b556
mov rax, r14
mov qword [r12 + r13*8 + 8], rax
cmp rsi, rbp
je 0x14002b5f0
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 8
mov r10, qword [rcx + 0x10]
jb 0x14002b576
mov rcx, qword [rcx]
xor r9d, r9d
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x14002b5ab
movabs r8, 0x100000001b3
movzx eax, byte [r9 + rcx]
inc r9
xor rdx, rax
imul rdx, r8
cmp r9, r10
jb 0x14002b592
mov r8, qword [rsp + 0x70]
mov r15, qword [r8 + 0x30]
and r15, rdx
add r15, r15
mov r13, qword [r12 + r15*8 + 8]
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.140025b50
mov edx, 0x50
mov rcx, rbx
call fcn.140007850
mov r8, qword [rsp + 0x70]
dec qword [r8 + 0x10]
cmp rbx, r13
je 0x14002b60c
cmp rsi, rbp
jne 0x14002b5ba
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
mov rax, rbp
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x80]
mov qword [r12 + r15*8], rax
mov qword [r12 + r15*8 + 8], rax
jmp 0x14002b55b
Function at 0x14002cf74
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rdx
and dword [rsp + 0x70], 0
lea rax, [r11 + 8]
mov qword [r11 - 0x38], rax
and qword [r11 - 0x40], 0
and qword [r11 - 0x48], 0
mov ebx, 2
mov r9d, ebx
lea r8, str.Region
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSgrm
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14002cfe0
mov eax, ecx
jmp 0x14002d09a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
and qword [rsp + 0x50], 0
mov edx, dword [rsp + 0x70]
test rdx, rdx
je 0x14002d002
lea rcx, [rsp + 0x40]
call fcn.14002dcb0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, ebx
lea r8, str.Region
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSgrm
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14002d06d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002d069
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
call fcn.140007850
mov eax, ebx
jmp 0x14002d09a
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400070e8
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002d092
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
call fcn.140007850
mov eax, ebx
jmp 0x14002d09a
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x14002d0ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x50], 4
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x20], rdx
and qword [r11 - 0x28], 0
mov r9d, 0x10
lea r8, str.TelemetryIntervalOverride
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSgrm
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14002d10c
add rsp, 0x48
ret
Function at 0x14002d118
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
and qword [r11 + 8], 0
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rcx]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14002d165
mov edx, 0x2c
jmp 0x14002d197
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14002d1af
mov edx, 0x2d
lea r8, str.onecore_amcoreoctagon_broker_sourcelib_reghelpers.cpp
mov r9d, eax
mov rcx, qword [rsp + 0x38]
call fcn.140019768
mov ebx, eax
jmp 0x14002d1b1
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002d1c8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14002e9f0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rcx
and dword [rsp + 0x20], 0
mov edx, 0xc
call fcn.140015d8c
mov dword [rsp + 0x20], 1
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
je 0x14002ea45
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x14002ea5d
mov r9d, 2
mov r8d, eax
mov rdx, qword [rbx]
xor ecx, ecx
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
nop dword [rax + rax]
test eax, eax
js 0x14002ea4f
mov rax, rbx
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x38]
mov r9d, eax
call fcn.1400368e8
int3
call fcn.14002de18
int3
Function at 0x14002ea6c
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
xor r9d, r9d
mov dword [rax - 0x48], r9d
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x18], 7
mov word [rcx], r9w
mov dword [rax - 0x48], 1
mov rbx, qword [rdx]
mov rbp, qword [rdx + 8]
sub rbp, rbx
cmp rbp, 0x7fffffff
ja 0x14002ecd8
test ebp, ebp
jle 0x14002ecb3
lea r11, [0x14004a690]
movabs r10, 0x7ffffffffffffffe
movabs r15, 0x7fffffffffffffff
mov r8b, r9b
mov dl, r9b
movzx ecx, byte [rbx]
inc rbx
cmp ebp, 1
jbe 0x14002eb06
mov r8b, byte [rbx]
inc rbx
cmp ebp, 2
jbe 0x14002eb06
mov dl, byte [rbx]
inc rbx
mov rax, rcx
shr rax, 2
mov al, byte [rax + r11]
mov byte [rsp + 0x80], al
movzx eax, r8b
shr rax, 4
shl rcx, 4
or rax, rcx
and eax, 0x3f
mov al, byte [rax + r11]
mov byte [rsp + 0x81], al
movzx edx, dl
cmp ebp, 1
jbe 0x14002eb57
mov ecx, edx
shr rcx, 6
movzx eax, r8b
shl rax, 2
or rcx, rax
and ecx, 0x3f
mov al, byte [rcx + r11]
jmp 0x14002eb59
mov al, 0x3d
mov byte [rsp + 0x82], al
cmp ebp, 2
jbe 0x14002eb6e
and edx, 0x3f
mov al, byte [rdx + r11]
jmp 0x14002eb70
mov al, 0x3d
mov byte [rsp + 0x83], al
mov r13, r9
movsx ecx, byte [rsp + r13 + 0x80]
mov r14, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
cmp r14, r12
jae 0x14002ebb4
lea rax, [r14 + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp r12, 8
jb 0x14002eba4
mov rax, qword [rsi]
mov word [rax + r14*2], cx
mov word [rax + r14*2 + 2], r9w
jmp 0x14002ec94
mov rax, r10
sub rax, r14
cmp rax, 1
jb 0x14002ecd2
lea rdi, [r14 + 1]
or rdi, 7
cmp rdi, r10
jbe 0x14002ebd9
mov rdi, r10
mov rcx, r15
jmp 0x14002ec02
mov rcx, r12
shr rcx, 1
mov rax, r10
sub rax, rcx
cmp r12, rax
ja 0x14002ebd1
lea rax, [rcx + r12]
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, r15
ja 0x14002eccc
add rcx, rcx
call fcn.140007894
mov r15, rax
lea rax, [r14 + 1]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdi
add r14, r14
mov r8, r14
mov rcx, r15
cmp r12, 8
jb 0x14002ec5e
mov rdi, qword [rsi]
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movsx eax, byte [rsp + r13 + 0x80]
mov word [r14 + r15], ax
xor eax, eax
mov word [r14 + r15 + 2], ax
lea rdx, [r12*2 + 2]
mov rcx, rdi
call fcn.140007850
xor r9d, r9d
jmp 0x14002ec7d
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movsx eax, byte [rsp + r13 + 0x80]
mov word [r14 + r15], ax
xor r9d, r9d
mov word [r14 + r15 + 2], r9w
mov qword [rsi], r15
movabs r15, 0x7fffffffffffffff
movabs r10, 0x7ffffffffffffffe
inc r13
cmp r13, 4
jb 0x14002eb7a
sub ebp, 3
test ebp, ebp
lea r11, [0x14004a690]
jg 0x14002eae5
mov rax, rsi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140003ca4
int3
call fcn.140005c80
int3
call fcn.14002de18
int3
Function at 0x140034570
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, 0x30
mov rdi, r8
mov r15, rdx
mov r13, rcx
cmp rdx, r8
je 0x140034666
mov rsi, qword [rdx + 8]
movabs r14, 0xcbf29ce484222325
mov r12, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov rbp, qword [rcx + 0x18]
xor ecx, ecx
mov qword [rsp + 0x20], rsi
movzx eax, byte [r15 + rcx + 0x10]
inc rcx
xor r14, rax
imul r14, rdx
cmp rcx, 4
jb 0x1400345bd
and r14, qword [r13 + 0x30]
mov edx, 0x20
mov rbx, qword [r15]
add r14, r14
mov rcx, r15
mov rax, qword [rbp + r14*8]
mov qword [rsp + 0x80], rax
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x78], rax
call fcn.140007850
dec qword [r13 + 0x10]
cmp r15, qword [rsp + 0x78]
je 0x14003463c
mov qword [rsp + 0x88], rbx
cmp rbx, rdi
je 0x140034650
mov rcx, rbx
mov edx, 0x20
mov rbx, qword [rbx]
call fcn.140007850
mov rax, qword [rsp + 0x78]
dec qword [r13 + 0x10]
cmp qword [rsp + 0x88], rax
jne 0x14003460c
cmp qword [rsp + 0x80], r15
jne 0x14003467f
mov qword [rbp + r14*8], r12
mov rax, r12
jmp 0x140034682
cmp qword [rsp + 0x80], r15
jne 0x14003465f
mov qword [rbp + r14*8], rbx
mov qword [rsi], rbx
mov qword [rbx + 8], rsi
mov rbx, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, rsi
mov qword [rbp + r14*8 + 8], rax
cmp rbx, rdi
je 0x14003465f
mov qword [rsp + 0x78], rbx
xor ecx, ecx
movabs rsi, 0x100000001b3
movabs r14, 0xcbf29ce484222325
movzx eax, byte [rbx + rcx + 0x10]
inc rcx
xor r14, rax
imul r14, rsi
cmp rcx, 4
jb 0x1400346a7
and r14, qword [r13 + 0x30]
mov rcx, rbx
mov rsi, qword [rsp + 0x20]
add r14, r14
mov rbx, qword [rbx]
mov edx, 0x20
mov r15, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x80], r15
call fcn.140007850
dec qword [r13 + 0x10]
cmp qword [rsp + 0x78], r15
je 0x14003471a
mov r15, rbx
cmp rbx, rdi
je 0x14003465a
mov rcx, rbx
mov edx, 0x20
mov rbx, qword [rbx]
call fcn.140007850
dec qword [r13 + 0x10]
cmp r15, qword [rsp + 0x80]
jne 0x1400346f0
mov qword [rbp + r14*8], r12
mov qword [rbp + r14*8 + 8], r12
jmp 0x140034687
Function at 0x140034970
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 0x1400349a0
cvtsi2ss xmm0, rdx
jmp 0x1400349b5
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_ceilf
movss xmm1, dword [0x14004bd84]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400349e3
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400349e3
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 0x140034a11
cmp rbx, 0x200
jae 0x140034a0e
shl rbx, 3
cmp rbx, rcx
jae 0x140034a11
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
jbe 0x140034a40
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
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.140017894
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 0x140034b5b
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x140034a99
mov r10, qword [rsi + 0x30]
mov r11, qword [rsi + 0x18]
and r10, r8
add r10, r10
cmp qword [r11 + r10*8], rbx
jne 0x140034ad8
mov qword [r11 + r10*8], rax
mov qword [r11 + r10*8 + 8], rax
jmp 0x140034b4f
mov rdx, qword [r11 + r10*8 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140034b12
mov rdi, qword [rdx]
cmp rdi, rax
je 0x140034ad1
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdi + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140034ad1
mov rdi, rdx
jmp 0x140034b24
mov rdx, qword [rdx + 8]
mov rdi, rdx
cmp r8d, dword [rdx + 0x10]
je 0x140034b72
cmp qword [r11 + r10*8], rdx
jne 0x140034b17
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdi + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + r10*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140034a89
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [rdx]
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 0x140034b4f