joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4191f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x41921c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x419df0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x0049fe30], 0
jne 0x419ef6
mov byte [0x0049fe30], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x419ecc
mov rbx, qword [rax + 8]
lea r9, [rsp + 0x2c]
xor eax, eax
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [sym.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
mov r8d, 0x30
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x419ebd
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x004a0121]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x419eb8
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x419e87
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x419f8b
call sym.__cxa_begin_catch
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x419ef1
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x419ef1

Function at 0x467d00
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
jmp 0x467d28
call r12
cmp dword [rax], 4
jne 0x467d46
mov rcx, rbp
call method.std::__basic_file_char_.fd__
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sym.read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x467d20
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x4790e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rbx, rcx
lea rdx, str.mt19937
mov rcx, rsi
call method.std::string.compare_char_const__const
mov ecx, 0x1571
test eax, eax
jne 0x479145
mov dword [rbx], ecx
mov edx, 1
jmp 0x479114
mov ecx, dword [rbx + rdx*4 - 4]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, edx
mov dword [rbx + rdx*4], eax
add rdx, 1
cmp rdx, 0x270
jne 0x479110
mov qword [rbx + 0x9c0], 0x270
add rsp, 0x38
pop rbx
pop rsi
ret
mov rsi, qword [rsi]
lea rdx, [rsp + 0x28]
xor r8d, r8d
mov rcx, rsi
call sym.strtoul
cmp byte [rsi], 0
mov ecx, eax
je 0x479169
mov rax, qword [rsp + 0x28]
cmp byte [rax], 0
je 0x479104
lea rcx, str.random_device::random_device_const_std::string_
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x49c960
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
nop
nop
nop
nop
nop
nop
Function at 0x140001350
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rbp + 0x760], rax
and dword [rsp + 0x4c], 0
lea r8, str.SoftwareMicrosoftVisualStudioDiagnosticsHubDebug
and qword [rsp + 0x40], 0
mov rdi, rcx
and dword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x50], 0
call fcn.140003058
test eax, eax
je 0x1400013bc
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000147c
jmp 0x140001476
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Merge
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000146e
cmp dword [rsp + 0x38], 4
jne 0x14000146e
cmp dword [rsp + 0x30], eax
je 0x14000146e
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r9, str.Merge
mov edx, 0x3ff
lea r8, str.DiagnosticsHub___DebugBreak____s___Attach_to__d
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x60]
call fcn.140001fd8
cmp dword [rsp + 0x30], 2
jne 0x14000146e
jmp 0x14000145e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140001448
call qword [sym.imp.KERNEL32.dll_DebugBreak]
test rbx, rbx
je 0x14000147c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140012650
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400035fc
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x140003649
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1400036d6
mov r8d, 0x14
lea rdx, str.VsStandardCollectorService170
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x140003692
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140003692
cmp dword [rsp + 0x2c], 1
jne 0x1400036b6
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400036ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test rbx, rbx
je 0x1400036cd
jmp 0x1400036c4
lea rcx, str.SUCCESS:_The_service_was_started_successfully_n
jmp 0x1400036bd
lea rcx, str.WARNING:_The_service_is_already_started_n
call fcn.140002268
xor esi, esi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140012650
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400036f8
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, 1
xor edx, edx
mov r8d, esi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x140003749
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1400037d7
mov r8d, 0x24
lea rdx, str.VsStandardCollectorService170
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x140003793
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140003793
cmp dword [rsp + 0x2c], esi
je 0x1400037b7
lea r8, [rsp + 0x28]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400037ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test rbx, rbx
je 0x1400037ce
jmp 0x1400037c5
lea rcx, str.SUCCESS:_The_service_was_stopped_successfully_n
jmp 0x1400037be
lea rcx, str.WARNING:_The_service_is_already_stopped_n
call fcn.140002268
xor esi, esi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140012650
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140003a18
Capabilities:
Delete service
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x140003a65
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x140003ae8
mov r8d, 0x10004
lea rdx, str.VsStandardCollectorService170
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x140003a87
xor esi, esi
jmp 0x140003ac3
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140003aaf
xor esi, esi
cmp dword [rsp + 0x2c], 1
jne 0x140003ad1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140003aca
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test rbx, rbx
je 0x140003adf
jmp 0x140003ad6
call fcn.140003dfc
jmp 0x140003ad6
mov esi, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140012650
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140003dfc
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r8d, 0x27
lea rdx, [r11 - 0x68]
lea rcx, [0x140017448]
call qword [sym.imp.ole32.dll_StringFromGUID2]
xor ebx, ebx
test eax, eax
je 0x140003f52
mov edi, 0x104
lea r8, str.CLSID_
lea rax, [rsp + 0x20]
mov edx, edi
sub r8, rax
lea rcx, [rsp + 0x20]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140003e7c
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003e7c
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003e59
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], bx
je 0x140003f52
lea r8, [rsp + 0x230]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140004124
test eax, eax
js 0x140003f52
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, 0xfffffffd
jne 0x140003f52
lea r9, str.AppID_
mov r8, rdi
lea rax, [rsp + 0x20]
sub r9, rax
lea rcx, [rsp + 0x20]
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x140003f04
movzx eax, word [r9 + rcx]
test ax, ax
je 0x140003f04
mov word [rcx], ax
add rcx, 2
sub r8, 1
jne 0x140003ee1
test r8, r8
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], bx
je 0x140003f52
lea r8, [rsp + 0x230]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140004124
test eax, eax
js 0x140003f52
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, 0xfffffffd
jne 0x140003f52
lea rcx, str.SUCCESS:_The_service_was_uninstalled_successfully_n
call fcn.140002268
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140012650
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret
Function at 0x140004d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov rbx, rdx
add rcx, 0x58
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
xor esi, esi
lea rcx, [rdi + 0x18]
mov r8, rbx
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x20]
call fcn.140006278
mov rcx, qword [rsp + 0x20]
cmp rcx, qword [rdi + 0x20]
je 0x140004e40
dec dword [rcx + 0x20]
cmp dword [rcx + 0x20], esi
jg 0x140004e40
movabs rdx, 0xcbf29ce484222325
mov r8d, esi
mov r9, rdx
movabs r10, 0x100000001b3
movzx eax, byte [r8 + rcx + 0x10]
inc r8
xor r9, rax
imul r9, r10
cmp r8, 8
jb 0x140004db8
movzx eax, byte [rcx + rsi + 0x18]
inc rsi
xor rdx, rax
imul rdx, r10
cmp rsi, 8
jb 0x140004dce
mov r8, qword [rdi + 0x30]
xor rdx, r9
and rdx, qword [rdi + 0x48]
add rdx, rdx
cmp qword [r8 + rdx*8 + 8], rcx
jne 0x140004e13
cmp qword [r8 + rdx*8], rcx
jne 0x140004e08
mov rax, qword [rdi + 0x20]
mov qword [r8 + rdx*8], rax
jmp 0x140004e0c
mov rax, qword [rcx + 8]
mov qword [r8 + rdx*8 + 8], rax
jmp 0x140004e20
cmp qword [r8 + rdx*8], rcx
jne 0x140004e20
mov rax, qword [rcx]
mov qword [r8 + rdx*8], rax
mov rdx, qword [rcx]
dec qword [rdi + 0x28]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x28
call fcn.14001269c
lea rcx, [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140012650
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movabs r8, 0xcbf29ce484222325
xor edx, edx
mov r9, r8
movabs r10, 0x100000001b3
movzx eax, byte [rdx + rbx]
inc rdx
xor r9, rax
imul r9, r10
cmp rdx, 8
jb 0x140005438
xor ecx, ecx
movzx eax, byte [rbx + rcx + 8]
inc rcx
xor r8, rax
imul r8, r10
cmp rcx, 8
jb 0x14000544e
mov rdx, qword [rdi + 0x48]
xor r8, r9
and r8, qword [rdi + 0x60]
add r8, r8
mov rax, qword [rdx + r8*8 + 8]
cmp rax, qword [rdi + 0x38]
je 0x1400054a0
mov rdx, qword [rdx + r8*8]
jmp 0x14000548b
cmp rax, rdx
je 0x1400054a0
mov rax, qword [rax + 8]
mov rcx, qword [rbx]
cmp rcx, qword [rax + 0x10]
jne 0x140005482
mov rcx, qword [rbx + 8]
cmp rcx, qword [rax + 0x18]
jne 0x140005482
jmp 0x1400054a2
xor eax, eax
test rax, rax
lea rcx, [rdi + 0x28]
cmove rax, qword [rdi + 0x38]
cmp rax, qword [rdi + 0x38]
setne bl
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov rsi, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movabs r9, 0xcbf29ce484222325
mov rbx, rdx
mov r11, r9
mov rdi, rcx
xor r10d, r10d
movabs rdx, 0x100000001b3
movzx eax, byte [r10 + r8]
inc r10
xor r11, rax
imul r11, rdx
cmp r10, 8
jb 0x1400062a2
xor ecx, ecx
movzx eax, byte [r8 + rcx + 8]
inc rcx
xor r9, rax
imul r9, rdx
cmp rcx, 8
jb 0x1400062b9
mov rdx, qword [rdi + 0x18]
xor r9, r11
and r9, qword [rdi + 0x30]
add r9, r9
mov rcx, qword [rdx + r9*8 + 8]
cmp rcx, qword [rdi + 8]
je 0x14000630c
mov rdx, qword [rdx + r9*8]
jmp 0x1400062f7
cmp rcx, rdx
je 0x14000630c
mov rcx, qword [rcx + 8]
mov rax, qword [r8]
cmp rax, qword [rcx + 0x10]
jne 0x1400062ee
mov rax, qword [r8 + 8]
cmp rax, qword [rcx + 0x18]
jne 0x1400062ee
jmp 0x14000630e
xor ecx, ecx
test rcx, rcx
mov rax, rbx
cmove rcx, qword [rdi + 8]
mov rdi, qword [rsp + 0x10]
mov qword [rbx], rcx
mov rbx, qword [rsp + 8]
ret
Function at 0x140006328
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15, r8
mov r14, rdx
mov rbp, rcx
movabs r12, 0xcbf29ce484222325
mov rdx, r12
xor ecx, ecx
movabs r8, 0x100000001b3
movzx eax, byte [r15 + rcx]
xor rdx, rax
imul rdx, r8
inc rcx
cmp rcx, 8
jb 0x140006359
xor ecx, ecx
movzx eax, byte [r15 + rcx + 8]
xor r12, rax
imul r12, r8
inc rcx
cmp rcx, 8
jb 0x140006370
xor r12, rdx
mov rax, r12
and rax, qword [rbp + 0x30]
add rax, rax
mov rcx, qword [rbp + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea r8, [rbp + 8]
mov rsi, qword [r8]
cmp rbx, rsi
jne 0x1400063c9
mov rbx, rsi
movabs rax, 0x7ffffffffffffff
cmp qword [rbp + 0x10], rax
jne 0x14000640d
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
jmp 0x1400063d8
cmp rbx, rdx
je 0x1400063f6
mov rbx, qword [rbx + 8]
mov rax, qword [r15]
cmp rax, qword [rbx + 0x10]
jne 0x1400063cf
mov rax, qword [r15 + 8]
cmp rax, qword [rbx + 0x18]
jne 0x1400063cf
mov rsi, qword [rbx]
mov rax, rbx
mov rbx, rsi
jmp 0x1400063fb
mov rsi, rbx
xor eax, eax
test rax, rax
je 0x1400063ab
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x140006549
mov qword [rsp + 0x30], r8
and qword [rsp + 0x38], 0
lfence
mov ecx, 0x20
call fcn.1400126a4
mov rdi, rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [r15]
movdqu xmmword [rax + 0x10], xmm0
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14000644a
cvtsi2ss xmm0, rcx
jmp 0x14000645f
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 0x140006472
cvtsi2ss xmm1, rcx
jmp 0x140006487
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]
seta al
test al, al
je 0x1400064f6
mov rcx, rbp
call fcn.1400067b4
mov rax, qword [rbp + 0x30]
and rax, r12
add rax, rax
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rdx + rax*8 + 8]
mov rbx, qword [rbp + 8]
cmp rcx, rbx
jne 0x1400064c1
mov qword [rsp + 0x20], rbx
jmp 0x1400064f1
mov r8, qword [rdx + rax*8]
jmp 0x1400064d3
mov rbx, rcx
cmp rcx, r8
je 0x1400064ec
mov rcx, qword [rcx + 8]
mov rax, qword [rdi + 0x10]
cmp rax, qword [rcx + 0x10]
jne 0x1400064c7
mov rax, qword [rdi + 0x18]
cmp rax, qword [rcx + 0x18]
jne 0x1400064c7
mov rbx, qword [rcx]
jmp 0x1400064ba
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], rsi
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, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x14000652a
mov qword [rcx + rax*8], rdi
jmp 0x14000653c
cmp r8, rsi
jne 0x140006535
mov qword [rcx + rax*8], rdi
jmp 0x140006541
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140006541
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000701c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rdx]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov r11d, eax
xor r9d, r9d
mov r8, rbx
movabs rdi, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
lea edx, [r11 + r11]
shr rdx, 3
lea r10, [rbx + rdx*8]
cmp rbx, r10
je 0x14000708b
mov rcx, rdi
xor edx, edx
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, rsi
cmp rdx, 8
jb 0x14000706a
xor r9, rcx
add r8, 8
cmp r8, r10
jne 0x140007065
lea r10, [rbx + r11*2]
jmp 0x1400070b2
mov rcx, rdi
xor edx, edx
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, rsi
cmp rdx, 2
jb 0x140007096
xor r9, rcx
add r8, 2
cmp r8, r10
jne 0x140007091
mov rbx, qword [rsp + 0x30]
mov rax, r9
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400086cc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
cmp qword [rcx + 8], 0
je 0x140008722
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x140008718
mov rax, qword [rcx]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140015878]
and qword [rbx + 0x38], 0
mov eax, 0x80070005
jmp 0x1400087b8
add rcx, 0x10
call fcn.1400088cc
and qword [rdi + 0x50], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x140008a90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x140008791
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14000878d
mov r8, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [r8 + 0x20]
call qword [0x140015878]
and qword [rbx + 0x38], 0
mov eax, edi
jmp 0x1400087b8
mov qword [rdi + 8], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400087b6
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140015878]
and qword [rbx + 0x38], 0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140012650
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140009aec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
jne 0x140009b1f
mov eax, 0x80004003
jmp 0x140009c16
call fcn.1400029d4
mov rcx, rax
test rax, rax
je 0x140009c33
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x140015878]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov r8, rdi
lea rdx, str._sDiagnosticsHub.StandardCollector.Proxy.dll
lea rcx, [rsp + 0x20]
call fcn.140009d1c
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009bdd
lea rcx, [rsp + 0x20]
call fcn.140002484
mov r8, rdi
lea rdx, str._s_amd64DiagnosticsHub.StandardCollector.Proxy.dll
lea rcx, [rsp + 0x20]
call fcn.140009d1c
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009bdd
lea rcx, [rsp + 0x20]
call fcn.140002484
lea r9, str.Team_ToolsDiagnosticsHubCollector
mov r8, rdi
lea rdx, str._s_s_amd64DiagnosticsHub.StandardCollector.Proxy.dll
lea rcx, [rsp + 0x20]
call fcn.140009d1c
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140009bdd
mov edi, 0x80070057
jmp 0x140009bf0
mov rdx, rsi
mov rcx, rbx
call fcn.14000980c
mov edi, eax
test eax, eax
js 0x140009bf0
xor edi, edi
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140009c14
lfence
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [0x140015878]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140012650
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002cf0
int3

Function at 0x140009f34
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
xor r9d, r9d
and qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140009f9a
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
cmovne rdi, qword [rsp + 0x40]
test rbx, rbx
je 0x140009fa3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140012650
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret