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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1802a3900]
xor rax, rsp
mov qword [rsp + 0x30], rax
test r8, r8
jle 0x1800414b3
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x1800414ba
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18008fc60
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
xor esi, esi
jmp 0x18004159c
mov qword [rsp + 0x28], rsi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x18004150f
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call sym.BLRevive.dll_unsigned_long_long_unsigned___int64__const____ptr64___cdecl_std::min_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__const____ptr64__unsigned_long_long_unsigned___int64__const____ptr64_
mov r14, qword [rax]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov rcx, rdi
mov rdx, rax
mov r8, r14
call sym.BLRevive.dll_public:_static_char____ptr64___cdecl_std::_Char_traits_char__int_::copy_char__const___ptr64__char_const__const___ptr64__unsigned_long_long_unsigned___int64__
add rdi, r14
sub qword [rsp + 0x28], r14
mov rcx, rbx
mov edx, r14d
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbx + 0x80], 0
je 0x18004156b
mov rcx, rbx
call sym.BLRevive.dll_private:_void___cdecl_std::basic_filebuf_char__struct_std::char_traits_char__::_Reset_back_void____ptr64
mov r8, qword [rsp + 0x28]
mov r14, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [rax]
cmp r8, 0x1000
jb 0x180041572
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r14
add rdi, rax
mov r8, qword [rsp + 0x28]
sub r8, rax
mov qword [rsp + 0x28], r8
cmp rax, 0xfff
je 0x180041530
jmp 0x180041599
mov r8, qword [rsp + 0x28]
jmp 0x180041599
test r8, r8
je 0x180041596
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, qword [rsp + 0x28]
sub r8, rax
jmp 0x180041599
xor r8d, r8d
sub rsi, r8
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18008fc60
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1800415c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x1800415f6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
test rsi, rsi
jle 0x180041646
mov r15, rax
test rax, rax
jle 0x180041646
cmp r15, rsi
cmovae r15, rsi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rcx, rax
mov rdx, rdi
mov r8, r15
call sym.BLRevive.dll_public:_static_char____ptr64___cdecl_std::_Char_traits_char__int_::copy_char__const___ptr64__char_const__const___ptr64__unsigned_long_long_unsigned___int64__
add rdi, r15
mov r14, rsi
sub r14, r15
mov rcx, rbx
mov edx, r15d
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test r14, r14
jg 0x18004164e
jmp 0x18004166e
mov r14, rsi
test r14, r14
jle 0x18004166e
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x18004166e
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180041ac0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x1802a3900]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x180041b10
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x180041b10
call sym.BLRevive.dll_public:_static_int___cdecl_std::_Narrow_char_traits_char__int_::eof_void_
mov r8, qword [rsi]
mov rcx, rsi
mov edx, eax
call qword [r8 + 0x18]
mov edi, eax
call sym.BLRevive.dll_public:_static_int___cdecl_std::_Narrow_char_traits_char__int_::eof_void_
mov ecx, eax
mov edx, edi
call sym.BLRevive.dll_public:_static_bool___cdecl_std::_Narrow_char_traits_char__int_::eq_int_type_int__int_
test al, al
je 0x180041b27
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18008fc60
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
cmp eax, 3
je 0x180041b8f
cmp eax, 1
je 0x180041b5e
test eax, eax
jne 0x180041b0e
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x180041b85
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x180041b0e
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x180041b10
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x180041b10
Function at 0x18004a330
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
lea rdi, [rbp - 8]
mov rcx, rdi
call sym.BLRevive.dll____make_unique_V__tuple_P8UserAuth_BLRE__EAAXXZPEAV12__std__P8UserAuth_BLRE__EAAXXZPEAV34__0A__std__YA_AV__unique
lea rbx, [rsi + 8]
mov rcx, rdi
call sym.BLRevive.dll_unsigned_long_long_unsigned___int64____cdecl_std::_Bit_cast_unsigned_long_long_unsigned___int64___union_std::error_category::_Addr_storage__0__union_std::error_category::_Addr_storage_const____ptr64_
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [sym.BLRevive.dll_private:_static_unsigned_int___cdecl_std::thread::_Invoke_class_std::tuple_void_____thiscall_BLRE::UserAuth::__void___class_BLRE::UserAuth____ptr64___0__1__void____ptr64_]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x18004a3a7
lea rsi, [rbp - 8]
mov rcx, rsi
call sym.BLRevive.dll_public:_struct_httplib::Response____ptr64___cdecl_std::unique_ptr_struct_httplib::Response__struct_std::default_delete_struct_httplib::Response__::release_void____ptr64
mov rcx, rsi
call sym.BLRevive.dll_public:_void___cdecl_std::unique_ptr_class_std::tuple_void_____thiscall_BLRE::UserAuth::__void___class_BLRE::UserAuth____ptr64___struct_std::default_delete_class_std::tuple_void_____thiscall_BLRE::UserAuth::__void___class_BLRE::UserAuth____ptr64___::destructor_void____ptr64
nop
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov dword [rbx], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x180058d70
Capabilities:
Hash data using fnv

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call sym.BLRevive.dll_public:_void___cdecl_std::allocator_class_BLRE::Detours::FunctionDetour____ptr64____ptr64_::constructor_class_BLRE::Detours::FunctionDetour____ptr64__class_std::allocator_class_BLRE::Detours::FunctionDetour____ptr64__const____ptr64____ptr64
mov rcx, rax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sym.BLRevive.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::_Conditionally_enabled_hash_unsigned_int__1_::operator___unsigned_int_const____ptr64_const___ptr64

Function at 0x180058ea0
Capabilities:
Hash data using fnv

Disassembly:
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp sym.BLRevive.dll_unsigned_long_long_unsigned___int64____cdecl_std::_Fnv1a_append_value_unsigned_int__unsigned_long_long_unsigned___int64___unsigned_int_const____ptr64_

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

Disassembly:
mov r8d, 4
jmp sym.BLRevive.dll_unsigned_long_long_unsigned___int64____cdecl_std::_Fnv1a_append_bytes_unsigned_long_long_unsigned___int64___unsigned_char_const__const___ptr64__unsigned_long_long_unsigned___int64__
Function at 0x18005cce0
Capabilities:
Get graphical window text

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp edx, 0x10f
jg 0x18005cd0e
cmp edx, 0x10
je 0x18005cdb4
cmp edx, 0x30
jne 0x18005cdc2
mov qword [0x1802a4180], r8
jmp 0x18005cdc2
cmp edx, 0x111
je 0x18005cd62
cmp edx, 0x110
jne 0x18005cdc2
movsxd rax, dword [r9]
mov qword [0x1802a4170], rax
mov eax, dword [r9 + 4]
mov dword [0x1802a4178], eax
mov rcx, rsi
mov edx, 0xc8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov rdx, qword [0x1802a4170]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x18005cdc2
cmp r8w, 2
je 0x18005cdb4
movzx eax, r8w
cmp eax, 1
jne 0x18005cdc2
mov rcx, rsi
mov edx, 0xc8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, dword [0x1802a4178]
mov rdx, qword [0x1802a4170]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, qword [0x1802a4180]
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x18005cdc2
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x1800620b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rbx, rcx
mov rcx, qword [rdx + 8]
mov rsi, qword [rdx + 0x10]
mov r9, qword [rbx + 8]
mov edx, 1
mov r8, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rsi
je 0x18006229a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
add rbx, 0x10
lea rdi, [rbp - 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.180065c20
mov r8, qword [rbp - 0x40]
mov rax, qword [rbp - 0x38]
mov rcx, rax
sub rcx, r8
cmp rcx, 0x17
jae 0x180062154
lea rax, str.Failed_writing_to_file
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], reloc.WS2_32.dll_socket
lea rcx, [rbp - 0x50]
mov edx, reloc.WS2_32.dll_socket
xor r9d, r9d
call sym.BLRevive.dll_____Reallocate_grow_by_V_lambda_1___0__insert___basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAE
mov rdi, rax
jmp 0x1800621e3
lea rcx, [r8 + 0x17]
mov qword [rbp - 0x40], rcx
cmp rax, 0x10
mov rcx, qword [rbp - 0x50]
mov rbx, rdi
cmovae rbx, rcx
lea rdx, [0x18009f01c]
mov r14d, reloc.WS2_32.dll_socket
mov r15d, reloc.WS2_32.dll_socket
cmp rbx, rdx
jae 0x18006219e
lea r9, [rbx + r8]
lea rdx, str.Failed_writing_to_file
cmp r9, rdx
jb 0x18006219e
mov r15, rbx
sub r15, rdx
ja 0x18006219e
xor r15d, r15d
inc r8
cmp rax, 0x10
cmovb rcx, rdi
add rcx, 0x17
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
lea r12, str.Failed_writing_to_file
mov rcx, rbx
mov rdx, r12
mov r8, r15
call fcn.180091610
sub r14, r15
lea rdx, [r15 + r12]
add rdx, 0x17
add rbx, r15
mov rcx, rbx
mov r8, r14
call fcn.180091610
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rbp - 0x30]
mov edx, esi
call fcn.180064420
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x18006224b
mov rcx, qword [rbp - 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x180062246
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1800622ad
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.18008fa94
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x18006229a
mov rcx, qword [rbp - 0x50]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x180062295
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1800622ad
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.18008fa94
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1800639a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x180063b40
mov r8d, dword [rdx + 0x10]
mov dword [rbp - 4], 0
mov rdx, qword [rdx + 8]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180063b40
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rsi, [rbp - 0x28]
mov rcx, rsi
mov edx, eax
call fcn.180063be0
mov r8, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov rcx, rax
sub rcx, r8
cmp rcx, 0x35
jae 0x180063a4c
lea rax, str.wincolor_sink:_::WriteFile___failed._GetLastError__:
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x35
lea rcx, [rbp - 0x28]
mov edx, 0x35
xor r9d, r9d
call sym.BLRevive.dll_____Reallocate_grow_by_V_lambda_1___0__insert___basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAE
mov rsi, rax
jmp 0x180063ada
lea rcx, [r8 + 0x35]
mov qword [rbp - 0x18], rcx
cmp rax, 0x10
mov rcx, qword [rbp - 0x28]
mov rdi, rsi
cmovae rdi, rcx
lea rdx, [0x18009f0f3]
mov ebx, 0x35
mov r14d, 0x35
cmp rdi, rdx
jae 0x180063a95
lea r9, [rdi + r8]
lea rdx, str.wincolor_sink:_::WriteFile___failed._GetLastError__:
cmp r9, rdx
jb 0x180063a95
mov r14, rdi
sub r14, rdx
ja 0x180063a95
xor r14d, r14d
inc r8
cmp rax, 0x10
cmovb rcx, rsi
add rcx, 0x35
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r15, str.wincolor_sink:_::WriteFile___failed._GetLastError__:
mov rcx, rdi
mov rdx, r15
mov r8, r14
call fcn.180091610
sub rbx, r14
lea rdx, [r14 + r15]
add rdx, 0x35
add rdi, r14
mov rcx, rdi
mov r8, rbx
call fcn.180091610
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
lea rcx, [rbp - 0x50]
call fcn.180064660
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x180063b40
mov rcx, qword [rbp - 0x28]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x180063b3b
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180063b51
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.18008fa94
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18006a4d0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov edi, r9d
mov rsi, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [0x1802a3900]
xor rcx, rsp
mov qword [rsp + 0x60], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x30], rax
call sub.MSVCP140.dll__Xtime_get_ticks
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], edi
mov qword [rsi + 0x18], rax
mov eax, dword [0x1802b01c0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x10], 1
jne 0x18006a59c
mov eax, dword [0x1802b01c0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov qword [rsi + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x38], xmm0
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x48], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x50], xmm0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18008fc60
mov rax, rsi
add rsp, 0x68
pop rdi
pop rsi
ret
mov eax, dword [0x1802b01c0]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
mov byte [rdi + 0x10], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi + 8], rax
jmp 0x18006a55f
Function at 0x18006df70
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x18006e0ee
mov rsi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.18006bc60
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 8]
mov rax, qword [rax]
cmp rax, rdi
je 0x18006e0e2
movabs rcx, 0x4bf29ce484222325
movabs rdx, 0x100000001b3
jmp 0x18006e011
mov qword [r9 + r10*8], r8
mov qword [r9 + r14*8], r8
cmp rax, rdi
je 0x18006e0e2
mov r8, rax
mov rax, qword [rax]
movzx r11d, byte [r8 + 0x10]
mov rbx, r11
xor rbx, rcx
imul rbx, rdx
and rbx, qword [rsi + 0x30]
mov r9, qword [rsi + 0x18]
lea r10, [rbx + rbx]
lea r14, [rbx*2 + 1]
shl rbx, 4
mov rbx, qword [r9 + rbx]
cmp rbx, rdi
je 0x18006e000
mov r15, qword [r9 + r14*8]
cmp r11b, byte [r15 + 0x10]
jne 0x18006e080
mov r10, qword [r15]
cmp r10, r8
je 0x18006e004
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov rbx, qword [rax + 8]
mov qword [rbx], r10
mov r15, qword [r10 + 8]
mov qword [r15], r8
mov qword [r10 + 8], rbx
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
jmp 0x18006e004
cmp rbx, r15
je 0x18006e0b8
mov r15, qword [r15 + 8]
cmp r11b, byte [r15 + 0x10]
jne 0x18006e080
mov r9, qword [r15]
mov r10, qword [r8 + 8]
mov qword [r10], rax
mov r11, qword [rax + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], r8
mov qword [r9 + 8], r11
mov qword [rax + 8], r10
mov qword [r8 + 8], rbx
jmp 0x18006e008
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov r14, qword [rax + 8]
mov qword [r14], rbx
mov r15, qword [rbx + 8]
mov qword [r15], r8
mov qword [rbx + 8], r14
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
mov qword [r9 + r10*8], r8
jmp 0x18006e008
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x18008ba40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1802a3900]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
mov r8d, 0x30
call sub.KERNEL32.dll_VirtualQuery
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18008ba9f
mov byte [rsp + 0x5f], 0
jmp 0x18008bb2f
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x18008bad0
mov byte [rsp + 0x5f], 0
jmp 0x18008bb2f
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0xe8]
add rcx, rdx
cmp rax, rcx
jb 0x18008bb2a
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0xe8]
add rcx, rdx
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0xec]
add rcx, rdx
cmp rax, rcx
jae 0x18008bb2a
mov byte [rsp + 0x5f], 1
jmp 0x18008bb2f
mov byte [rsp + 0x5f], 0
mov al, byte [rsp + 0x5f]
and al, 1
movzx eax, al
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18008fc60
mov eax, dword [rsp + 0x2c]
add rsp, 0x98
ret

Function at 0x18008bde0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1802a3900]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [0x1802b01a0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18008be54
mov rcx, qword [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
lea r9, [rsp + 0x3c]
call sub.KERNEL32.dll_VirtualProtect
cmp eax, 0
jne 0x18008be3c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x38], eax
jmp 0x18008be5c
jmp 0x18008be41
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
jmp 0x18008bdff
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18008fc60
mov eax, dword [rsp + 0x2c]
add rsp, 0x48
ret
Function at 0x18008be80
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1802a3900]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x1802b0178]
mov dword [rsp + 0x44], eax
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
mov eax, dword [rsp + 0x44]
cmp eax, ecx
je 0x18008bebd
mov dword [rsp + 0x68], 0x10dd
jmp 0x18008c006
mov rax, qword [0x1802b0180]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x18008bf79
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x28]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov edx, eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
lea r9, [rsp + 0x6c]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x60]
cmp dword [rax + 8], 0
jne 0x18008bf3f
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x20], 0
je 0x18008bf3a
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x20]
call fcn.18008c030
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x20], 0
jmp 0x18008bf3f
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
cmp rax, 0
je 0x18008bf6a
mov rcx, qword [rsp + 0x38]
call fcn.18008fa8c
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
jmp 0x18008bec9
mov qword [0x1802b0180], 0
call fcn.18008c080
mov rax, qword [0x1802b0188]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18008bfe9
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
cmp rax, 0
je 0x18008bfda
mov rcx, qword [rsp + 0x30]
call fcn.18008fa8c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
jmp 0x18008bf95
mov qword [0x1802b0188], 0
mov dword [0x1802b0178], 0
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18008fc60
mov eax, dword [rsp + 0x2c]
add rsp, 0x78
ret
Function at 0x18008ca10
Capabilities:
Suspend thread

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], rcx
cmp dword [0x1802b0198], 0
je 0x18008ca35
mov eax, dword [0x1802b0198]
mov dword [rsp + 0x54], eax
jmp 0x18008cb2c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
call sub.KERNEL32.dll_GetCurrentThread
mov rcx, rax
mov rax, qword [rsp + 0x30]
cmp rax, rcx
jne 0x18008ca62
mov dword [rsp + 0x54], 0
jmp 0x18008cb2c
mov ecx, reloc.WS2_32.dll_recv
call fcn.18008fa50
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x18008cada
mov dword [rsp + 0x44], 8
cmp qword [rsp + 0x38], 0
je 0x18008cab8
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
cmp rax, 0
je 0x18008caaf
mov rcx, qword [rsp + 0x28]
call fcn.18008fa8c
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x44]
mov dword [0x1802b0198], eax
mov qword [0x1802b0190], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
jmp 0x18008cb2c
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x18008cafb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x44], eax
jmp 0x18008ca85
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x38]
mov qword [rax + 8], rcx
mov rcx, qword [0x1802b0188]
mov rax, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov qword [0x1802b0188], rax
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
add rsp, 0x58
ret