joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bc10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140031dd8]
test rcx, rcx
je 0x14000bc50
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000bc3e
mov rcx, qword [0x140031dd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140031dd8]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x28
ret
Function at 0x14000d284
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d2ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d2ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d2ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d2ce
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d2ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000d2d0
xor al, al
add rsp, 0x28
ret

Function at 0x14000ff34
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000ffa3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ffa3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ffa3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ffa3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ffa3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ffa3
cmp dword [rcx + 0xf8], 0
je 0x14000ffa3
mov ecx, ebx
call fcn.140010054
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fe30
nop
cmp dword [rbp + 0x20], 0
je 0x14000fff1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fffc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000ff34

Function at 0x140010138
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000ffa3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ffa3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ffa3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ffa3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ffa3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ffa3
cmp dword [rcx + 0xf8], 0
je 0x14000ffa3
mov ecx, ebx
call fcn.140010054
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fe30
nop
cmp dword [rbp + 0x20], 0
je 0x14000fff1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fffc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000ff34
Function at 0x140019548
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400195cf
mov rsi, rbx
cmp word [rax], bp
je 0x14001958e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019578
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019574
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016d78
mov rdi, rax
test rax, rax
je 0x1400195bc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020160
mov rbp, rdi
xor ecx, ecx
call fcn.140015e88
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b73c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b752
mov al, 1
jmp 0x14001b7b2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b763
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b7b0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019890
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b7b0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b7b0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b7b0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b7b2
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f9d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f9f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f9f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140006304
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rax, qword [0x1400ade58]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, r8
xor r13d, r13d
mov qword [r8], r13
mov r9d, 0x104
lea rdx, [rsp + 0x30]
lea rax, [rsp + 0x30]
sub rcx, rax
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140006379
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140006379
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x140006357
lea rax, [rdx - 2]
test r9, r9
cmovne rax, rdx
mov word [rax], r13w
lea r8, [0x14008d178]
lea rcx, [rsp + 0x30]
call fcn.140004200
lea r8, [rsp + 0x30]
xor edx, edx
mov ebx, 0x1f0003
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
setne r12b
test rax, rax
jne 0x1400063f6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400064e4
mov rcx, qword [rbp + 0x178]
lea r8, [0x14008d09c]
mov edx, 0xc9
call fcn.140005c58
mov esi, eax
jmp 0x1400064e7
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0x20], r13d
lea rdx, [rsp + 0x24]
mov rcx, rdi
call fcn.140006170
mov esi, eax
test eax, eax
jns 0x140006433
mov rcx, qword [rbp + 0x178]
mov r9d, eax
lea r8, [0x14008d09c]
mov edx, 0xcf
call fcn.140005c34
jmp 0x1400064e7
lea r8, [0x14008d180]
lea rcx, [rsp + 0x30]
call fcn.140004200
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
setne r14b
test rax, rax
jne 0x140006484
mov rcx, qword [rbp + 0x178]
lea r8, [0x14008d09c]
mov edx, 0xd5
call fcn.140005c58
mov esi, eax
jmp 0x1400064b2
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006170
mov esi, eax
test eax, eax
jns 0x1400064c2
mov rcx, qword [rbp + 0x178]
mov r9d, eax
lea r8, [0x14008d09c]
mov edx, 0xd7
call fcn.140005c34
test r14b, r14b
je 0x1400064e7
mov rcx, rbx
call fcn.140005f00
nop
jmp 0x1400064e7
test r14b, r14b
je 0x1400064d0
mov rcx, rbx
call fcn.140005f00
nop
movsxd rcx, dword [rsp + 0x20]
shl rcx, 0x1f
movsxd rax, dword [rsp + 0x24]
or rax, rcx
mov qword [r15], rax
mov esi, r13d
test r12b, r12b
je 0x1400064f5
mov rcx, rdi
call fcn.140005f00
nop
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14007c650
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000bf34
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor edx, edx
mov rsi, rcx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x14000c16d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 3
jne 0x14000c147
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchSkipRoot]
nop dword [rax + rax]
test eax, eax
js 0x14000c0e9
mov rax, qword [rsp + 0x58]
cmp word [rax], r14w
je 0x14000c0e9
or r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rsi + rax*2], r14w
jne 0x14000bfaf
lea rbx, [rax + rax]
test rax, rax
je 0x14000bfcd
cmp word [rbx + rsi - 2], 0x5c
jne 0x14000bfcd
dec rax
mov dword [rsp + 0x28], 1
lea r9, [0x14008cebc]
mov r8d, eax
mov dword [rsp + 0x20], 1
mov rdx, rsi
mov ecx, 0x800000
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindStringOrdinal]
nop dword [rax + rax]
cmp eax, r15d
jne 0x14000c006
lea rdi, [rbx + rsi]
jmp 0x14000c010
movsxd rdi, eax
inc rdi
lea rdi, [rsi + rdi*2]
sub rdi, rsi
sar rdi, 1
je 0x14000c0e9
lea rbp, [rdi + 1]
mov eax, 2
mul rbp
lea rdx, [0x140090690]
cmovo rax, r15
mov rcx, rax
call fcn.14007cc0c
mov rbx, rax
test rax, rax
jne 0x14000c066
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov ebx, 0x8007000e
lea edx, [rax + 0x7b]
mov r9d, ebx
call fcn.140005c34
mov eax, ebx
jmp 0x14000c16f
lea rax, [rbp - 1]
mov ecx, 0x7ffffffe
cmp rax, rcx
ja 0x14000c114
cmp rdi, rcx
jbe 0x14000c087
mov edi, 0x80070057
jmp 0x14000c11e
mov rdx, rsi
lea rax, [rbp - 1]
sub rdx, rbx
mov rcx, rbx
test rax, rax
je 0x14000c0b5
movzx r8d, word [rdx + rcx]
test r8w, r8w
je 0x14000c0b5
mov word [rcx], r8w
dec rax
add rcx, 2
sub rbp, 1
jne 0x14000c094
test rbp, rbp
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
mov rax, rbp
neg rax
sbb edi, edi
not edi
and edi, 0x8007007a
test rbp, rbp
je 0x14000c122
mov rcx, rbx
call fcn.14000bf34
mov rcx, rbx
call fcn.14007cc18
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c16d
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
lea edx, [rax + 0x7f]
call fcn.140005c58
jmp 0x14000c16f
mov edi, 0x80070057
test rbp, rbp
je 0x14000c122
mov word [rbx], r14w
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, edi
mov edx, 0x7c
call fcn.140005c34
mov rcx, rbx
call fcn.14007cc18
mov eax, edi
jmp 0x14000c16f
cmp eax, 0xb7
je 0x14000c16d
test eax, eax
je 0x14000c16d
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x83
call fcn.140010968
jmp 0x14000c16f
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14004c0f4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400ade58]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14004c12b
mov rax, qword [rcx]
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov word [rax], r15w
mov qword [rbp - 0x40], r15
or rax, 0xffffffffffffffff
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400926c0]
call qword [sym.imp.api_ms_win_shell_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x14004c187
mov rcx, qword [rbp + 0x28]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
lea edx, [r15 + 0x4a]
call fcn.140005c34
jmp 0x14004c25f
mov qword [rbp - 0x18], r15
mov r12d, 7
mov qword [rbp - 0x10], r12
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.14000740c
nop
mov esi, r15d
lea r14, str.0_t_
mov r8b, 1
mov rdx, qword [r14]
lea rcx, [rbp - 0x28]
call fcn.140059c94
mov edi, eax
test eax, eax
js 0x14004c21f
inc esi
add r14, 8
cmp esi, 3
jb 0x14004c1b2
lea rax, [rbp - 0x28]
cmp rbx, rax
je 0x14004c216
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14004c1f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
call fcn.140007d20
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x18], r15
mov rdx, r12
mov qword [rbp - 0x10], rdx
mov word [rbp - 0x28], r15w
jmp 0x14004c21a
mov rdx, qword [rbp - 0x10]
mov edi, r15d
jmp 0x14004c23b
mov rcx, qword [rbp + 0x28]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x4f
call fcn.140005c34
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14004c252
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
call fcn.140007d20
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r12
mov word [rbp - 0x28], r15w
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14004c274
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14007c650
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400524a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov edi, edx
mov r14, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1400aeff8], eax
jg 0x140052689
test edi, edi
sete bl
mov ebp, 0x3e8
test edi, edi
je 0x140052559
lea rsi, [r14 + 0x568]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov ebx, dword [r14 + 0x53c]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x90]
sub rax, qword [r14 + 0x570]
cmp rax, qword [0x1400aeff0]
jle 0x140052542
sub ebx, dword [r14 + 0x578]
cmp ebx, ebp
jbe 0x140052542
mov bl, 1
jmp 0x140052544
xor bl, bl
test rsi, rsi
je 0x140052559
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
nop
test bl, bl
je 0x14005266f
lea r15, [r14 + 0x568]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov r12d, dword [r14 + 0x53c]
mov rax, qword [rsp + 0xa0]
test edi, edi
je 0x1400525c7
mov rcx, rax
sub rcx, qword [r14 + 0x570]
cmp rcx, qword [0x1400aeff0]
jle 0x14005265a
mov ecx, r12d
sub ecx, dword [r14 + 0x578]
cmp ecx, ebp
jbe 0x14005265a
mov qword [r14 + 0x570], rax
mov dword [r14 + 0x578], r12d
call fcn.14000fbcc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14005265a
cmp dword [rcx], 0
jbe 0x14005265a
call fcn.14000fbcc
mov ebp, dword [r14 + 0x560]
mov esi, dword [r14 + 0x55c]
mov edi, dword [r14 + 0x558]
mov ebx, dword [r14 + 0x554]
mov ecx, dword [r14 + 0x550]
mov r11d, dword [r14 + 0x54c]
mov r10d, dword [r14 + 0x548]
mov eax, dword [r14 + 0x544]
mov r9d, dword [r14 + 0x540]
lea rdx, [r14 + 0x38]
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], eax
mov r8d, r12d
call fcn.140057554
test r15, r15
je 0x14005266f
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x1400aeff8]
call fcn.14007cde0
cmp dword [0x1400aeff8], 0xffffffff
jne 0x1400524dc
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400aeca8]
mulsd xmm0, qword [0x140097730]
cvttsd2si rax, xmm0
mov qword [0x1400aeff0], rax
lea rcx, [0x1400aeff8]
call fcn.14007cd78
jmp 0x1400524dc
Function at 0x140052e8c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov r9, qword [rax]
mov eax, dword [rcx + r9]
cmp dword [0x1400af008], eax
jg 0x14005300b
test esi, esi
sete dil
test esi, esi
je 0x140052f3f
lea rbp, [rbx + 0x2d8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov edi, dword [rbx + 0x2c8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
sub rax, qword [rbx + 0x2e0]
cmp rax, qword [0x1400af000]
jle 0x140052f27
sub edi, dword [rbx + 0x2e8]
cmp edi, 0x7d0
jbe 0x140052f27
mov dil, 1
jmp 0x140052f2a
xor dil, dil
test rbp, rbp
je 0x140052f3f
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
nop
test dil, dil
je 0x140052ff7
lea rdi, [rbx + 0x2d8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov ebp, dword [rbx + 0x2c8]
mov rax, qword [rsp + 0x68]
test esi, esi
je 0x140052fa1
mov rcx, rax
sub rcx, qword [rbx + 0x2e0]
cmp rcx, qword [0x1400af000]
jle 0x140052fe2
mov ecx, ebp
sub ecx, dword [rbx + 0x2e8]
cmp ecx, 0x7d0
jbe 0x140052fe2
mov qword [rbx + 0x2e0], rax
mov dword [rbx + 0x2e8], ebp
call fcn.14000fbcc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140052fe2
cmp dword [rcx], 0
jbe 0x140052fe2
call fcn.14000fbcc
mov eax, dword [rbx + 0x2d0]
mov r9d, dword [rbx + 0x2cc]
mov dword [rsp + 0x20], eax
mov r8d, ebp
mov rdx, r14
call fcn.1400572f4
test rdi, rdi
je 0x140052ff7
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x1400af008]
call fcn.14007cde0
cmp dword [0x1400af008], 0xffffffff
jne 0x140052ec8
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400aeca8]
mulsd xmm0, qword [0x140097730]
cvttsd2si rax, xmm0
mov qword [0x1400af000], rax
lea rcx, [0x1400af008]
call fcn.14007cd78
jmp 0x140052ec8
Function at 0x1400628a4
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 0x1400628d4
cvtsi2ss xmm0, rdx
jmp 0x1400628e9
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 [0x140097768]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140062917
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140062917
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 0x140062945
cmp rbx, 0x200
jae 0x140062942
shl rbx, 3
cmp rbx, rcx
jae 0x140062945
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
jbe 0x140062974
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.1400620f4
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 0x140062a8f
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, 8
jb 0x1400629cd
mov r10, qword [rsi + 0x30]
mov r11, qword [rsi + 0x18]
and r10, r8
add r10, r10
cmp qword [r11 + r10*8], rbx
jne 0x140062a0c
mov qword [r11 + r10*8], rax
mov qword [r11 + r10*8 + 8], rax
jmp 0x140062a83
mov rdx, qword [r11 + r10*8 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140062a46
mov rdi, qword [rdx]
cmp rdi, rax
je 0x140062a05
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 0x140062a05
mov rdi, rdx
jmp 0x140062a58
mov rdx, qword [rdx + 8]
mov rdi, rdx
cmp r8, qword [rdx + 0x10]
je 0x140062aa6
cmp qword [r11 + r10*8], rdx
jne 0x140062a4b
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 0x1400629bd
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 0x140062a83