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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140079270]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [str.H__b_]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140082008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x1400791d0]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call dbg._pei386_runtime_relocator
mov rcx, qword [dbg._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140079260]
lea rcx, [dbg.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call dbg._fpreset
mov ebx, dword [0x140082028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
mov r12, qword [0x140082020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x140082020], rbp
call dbg.__main
mov rax, qword [0x1400791f0]
mov r8, qword [0x140082018]
mov ecx, dword [0x140082028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140082020]
call sym.main
mov ecx, dword [0x14008200c]
mov dword [0x140082010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140082008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [str.H__b_]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call dbg._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x1400792c0]
mov rcx, qword [0x1400792b0]
call sym._initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sym._cexit
mov eax, dword [0x140082010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [str.___b_]
mov rcx, qword [0x1400792d0]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x140001500
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
test ecx, ecx
je 0x14000152c
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Try__minerd___help_for_more_information._n
mov rcx, rax
call sym.fprintf
mov ecx, ebx
call sym.exit
lea rcx, str.Usage:_minerd__OPTIONS__nOptions:_n___a____algoALGO_______specify_the_algorithm_to_use_n__________________________randomx___RandomX__default__n___o____urlURL_________URL_of_mining_server_n___O____userpassU:P____username:password_pair_for_mining_server_n___u____userUSERNAME___username_for_mining_server_n___p____passPASSWORD___password_for_mining_server_n________certFILE_______certificate_for_mining_server_using_SSL_n___x____proxy_PROTOCOL:___HOST_:PORT___connect_through_a_proxy_n___t____threadsN_______number_of_miner_threads__default:_number_of_processors__n___r____retriesN_______number_of_times_to_retry_if_a_network_call_fails_n___________________________default:_retry_indefinitely__n___R____retry_pauseN___time_to_pause_between_retries__in_seconds__default:_30__n___T____timeoutN_______timeout_for_long_polling__in_seconds__default:_none__n___s____scantimeN______upper_bound_on_time_spent_scanning_current_work_when_n__________________________long_polling_is_unavailable__in_seconds__default:_5__n________coinbase_addrADDR__payout_address_for_solo_mining_n________coinbase_sigTEXT__data_to_insert_in_the_coinbase_when_possible_n________no_longpoll_____disable_long_polling_support_n________no_getwork______disable_getwork_support_n________no_gbt__________disable_getblocktemplate_support_n________no_stratum______disable_X_Stratum_support_n________no_redirect_____ignore_requests_to_change_the_URL_of_the_mining_server_n___q____quiet___________disable_per_thread_hashmeter_output_n___D____debug___________enable_debug_output_n___P____protocol_dump___verbose_dump_of_protocol_level_activities_n________benchmark_______run_in_offline_benchmark_mode_n___c____configFILE_____load_a_JSON_format_configuration_file_n___V____version_________display_version_information_and_exit_n___h____help____________display_this_help_text_and_exit_n
call sym.printf
jmp 0x140001525

Function at 0x140005e60
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x258
xor r9d, r9d
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rcx
add ecx, 1
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
setg al
add rsp, 0x258
ret
Function at 0x140005eb0
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x268
xor edi, edi
mov rsi, rcx
mov rcx, rdx
lea r14, [rsp + 0x50]
mov rbp, rdx
call sym.strlen
mov r12, qword [sym.imp.WS2_32.dll_select]
lea r13, [rsp + 0x40]
mov r15, qword [sym.imp.libcurl_4.dll_curl_easy_send]
mov byte [rbp + rax], 0xa
lea rbx, [rax + 1]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
nop
mov rcx, qword [rsi + 0x118]
xor r9d, r9d
xor edx, edx
mov r8, r14
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x58], rcx
add ecx, 1
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], r13
call r12
test eax, eax
jle 0x140005f6d
mov rcx, qword [rsi + 8]
mov r9, qword [rsp + 0x38]
lea rdx, [rbp + rdi]
mov r8, rbx
call r15
test eax, eax
jne 0x140005f68
mov rax, qword [rsp + 0x48]
sub rbx, rax
add rdi, rax
test rbx, rbx
jg 0x140005f00
mov eax, 1
jmp 0x140005f6f
cmp eax, 0x51
je 0x140005f00
xor eax, eax
add rsp, 0x268
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140007b40
Capabilities:
Get socket status

Disassembly:
mov rax, qword [rcx + 0x128]
cmp byte [rax], 0
je 0x140007b58
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp sym.socket_full
Function at 0x140007b70
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa98
movups xmmword [rsp + 0xa80], xmm6
mov edx, 0xa
mov rdi, qword [rcx + 0x128]
mov rbx, rcx
mov rcx, rdi
call sym.strchr
test rax, rax
je 0x140007c30
mov rcx, rdi
call sym.strlen
mov rcx, rdi
lea rdx, [0x140073dc2]
mov rbp, rax
call sym.strtok
mov rcx, rax
test rax, rax
je 0x140007e50
call sym.strdup
mov rcx, rax
mov rsi, rax
call sym.strlen
lea rdx, [rax + 1]
cmp rdx, rbp
jl 0x140007cd0
mov rax, qword [rbx + 0x128]
mov byte [rax], 0
mov rax, qword [0x140079400]
cmp byte [rax], 0
jne 0x140007cb0
movups xmm6, xmmword [rsp + 0xa80]
mov rax, rsi
add rsp, 0xa98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x58]
mov rbp, qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rsi, [rsp + 0x280]
call rbp
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbx + 0x118]
mov qword [rsp + 0x38], rax
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.WS2_32.dll_select]
mov qword [rsp + 0x288], rcx
add ecx, 1
mov dword [rsp + 0x280], 1
mov qword [rsp + 0x70], 0x3c
mov qword [rsp + 0x40], rax
call rax
test eax, eax
jg 0x140007cf0
lea rdx, str.stratum_recv_line_timed_out
xor ecx, ecx
xor esi, esi
call sym.applog
jmp 0x140007c08
mov r8, rsi
lea rdx, str.___s
mov ecx, 4
call sym.applog
jmp 0x140007c08
mov rcx, qword [rbx + 0x128]
sub rbp, rax
lea r8, [rbp + 1]
add rdx, rcx
call sym.memmove
jmp 0x140007bf8
lea rax, [rsp + 0x68]
mov r13, qword [sym.imp.libcurl_4.dll_curl_easy_recv]
lea r14, [rsp + 0x60]
xor r12d, r12d
movq xmm6, qword [0x1400742a8]
mov qword [rsp + 0x48], rax
jmp 0x140007d8c
cmp qword [rsp + 0x60], 0
je 0x140007dfb
mov rdi, qword [rbx + 0x128]
mov rcx, rdi
call sym.strlen
mov rcx, rsi
mov r15, rax
call sym.strlen
lea rdx, [r15 + rax + 1]
cmp rdx, qword [rbx + 0x120]
jae 0x140007e10
lea rcx, [rdi + r15]
mov rdx, rsi
call sym.strcpy
xor ecx, ecx
call rbp
sub rax, qword [rsp + 0x58]
cmp rax, 0x3b
jg 0x140007e40
mov rdi, qword [rbx + 0x128]
mov edx, 0xa
mov rcx, rdi
call sym.strchr
test rax, rax
jne 0x140007bab
mov ecx, 0x100
mov rdi, rsi
mov rax, r12
mov r9, r14
rep stosq qword [rdi], rax
mov r8d, 0x7fc
mov rcx, qword [rbx + 8]
mov rdx, rsi
call r13
test eax, eax
je 0x140007d18
cmp eax, 0x51
jne 0x140007dfb
mov rax, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rbx + 0x118]
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rcx
add ecx, 1
movq qword [rsp + 0x68], xmm6
call rax
test eax, eax
jg 0x140007d5c
lea rdx, str.stratum_recv_line_failed
xor ecx, ecx
xor esi, esi
call sym.applog
jmp 0x140007c08
and rdx, 0xfffffffffffff800
mov rcx, rdi
add rdx, 0x800
mov qword [rbx + 0x120], rdx
call sym.realloc
mov qword [rbx + 0x128], rax
mov rdi, rax
jmp 0x140007d50
mov rdi, qword [rbx + 0x128]
jmp 0x140007bab
lea rdx, str.stratum_recv_line_failed_to_parse_a_newline_terminated_string
xor esi, esi
call sym.applog
jmp 0x140007c08
Function at 0x140009620
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
movdqu xmm0, xmmword [0x1400742c0]
movdqu xmm1, xmmword [0x1400742d0]
xor r8d, r8d
lea rdi, [rsp + 0x20]
mov rbx, rcx
mov rsi, rdx
movups xmmword [rsp + 0x20], xmm0
mov rcx, rdi
movups xmmword [rsp + 0x30], xmm1
call sym.sha256_transform
lea rdx, [rsi + 0x40]
xor r8d, r8d
mov rcx, rdi
call sym.sha256_transform
xor edx, edx
mov eax, 0x80000000
xor r8d, r8d
movdqu xmm2, xmmword [0x1400742c0]
movdqu xmm3, xmmword [0x1400742d0]
mov qword [rsp + 0x48], rdx
mov rcx, rbx
movabs rdx, 0x10000000000
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x58], rdx
mov rdx, rdi
movups xmmword [rbx], xmm2
movups xmmword [rbx + 0x10], xmm3
mov qword [rsp + 0x50], rax
call sym.sha256_transform
mov eax, dword [rbx]
bswap eax
mov dword [rbx], eax
mov eax, dword [rbx + 4]
bswap eax
mov dword [rbx + 4], eax
mov eax, dword [rbx + 8]
bswap eax
mov dword [rbx + 8], eax
mov eax, dword [rbx + 0xc]
bswap eax
mov dword [rbx + 0xc], eax
mov eax, dword [rbx + 0x10]
bswap eax
mov dword [rbx + 0x10], eax
mov eax, dword [rbx + 0x14]
bswap eax
mov dword [rbx + 0x14], eax
mov eax, dword [rbx + 0x18]
bswap eax
mov dword [rbx + 0x18], eax
mov eax, dword [rbx + 0x1c]
bswap eax
mov dword [rbx + 0x1c], eax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
Function at 0x14001cc70
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r8d, 4
lea rdx, str._tnop
lea rsi, [rcx + 0x10]
mov rbx, rcx
mov rcx, rsi
call sym.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
mov rax, qword [rbx + 0x10]
mov rax, qword [rax - 0x18]
mov rbx, qword [rsi + rax + 0xf0]
test rbx, rbx
je 0x14001ccfa
cmp byte [rbx + 0x38], 0
je 0x14001ccd0
movsx edx, byte [rbx + 0x43]
mov rcx, rsi
call sym.std::ostream::put_char_
mov rcx, rax
add rsp, 0x28
pop rbx
pop rsi
jmp sym.std::ostream::flush__
mov rcx, rbx
call sym.std::ctype_char_::_M_widen_init___const
mov rax, qword [rbx]
mov edx, 0xa
lea rcx, [dbg.std::ctype<char>::do_widen(char) const]
mov rax, qword [rax + 0x30]
cmp rax, rcx
je 0x14001ccb1
mov rcx, rbx
call rax
movsx edx, al
jmp 0x14001ccb1
call sym.std::__throw_bad_cast__
nop
Function at 0x14001d220
Capabilities:
Hash data using sha512

Disassembly:
push rdi
mov r8, rcx
test rdx, rdx
je 0x14001d3cb
test rcx, rcx
je 0x14001d3cb
lea rdi, [rcx + 0x48]
mov eax, ecx
mov qword [rcx + 0x40], 0
movabs r9, 0x6a09e667f3bcc908
mov qword [rcx + 0xe8], 0
and rdi, 0xfffffffffffffff8
movabs r10, 0xbb67ae8584caa73b
sub eax, edi
lea ecx, [rax + 0xf0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [r8], r9
mov rax, rdx
movabs r9, 0x3c6ef372fe94f82b
mov qword [r8 + 8], r10
not rax
movabs r10, 0xa54ff53a5f1d36f1
mov qword [r8 + 0x10], r9
add rax, r8
movabs r9, 0x510e527fade682d1
mov qword [r8 + 0x18], r10
movabs r10, 0x9b05688c2b3e6c1f
mov qword [r8 + 0x20], r9
movabs r9, 0x1f83d9abfb41bd6b
mov qword [r8 + 0x28], r10
movabs r10, 0x5be0cd19137e2179
mov qword [r8 + 0x30], r9
mov qword [r8 + 0x38], r10
cmp rax, 0xe
jbe 0x14001d338
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmmword [0x1400757a0]
movups xmmword [r8], xmm0
movdqu xmm0, xmmword [rdx + 0x10]
pxor xmm0, xmmword [0x1400757b0]
movups xmmword [r8 + 0x10], xmm0
movdqu xmm0, xmmword [rdx + 0x20]
pxor xmm0, xmmword [0x1400757c0]
movups xmmword [r8 + 0x20], xmm0
movdqu xmm0, xmmword [rdx + 0x30]
pxor xmm0, xmmword [0x1400757d0]
movups xmmword [r8 + 0x30], xmm0
movzx eax, byte [rdx]
mov dword [r8 + 0xe4], eax
xor eax, eax
pop rdi
ret
movabs rax, 0x6a09e667f3bcc908
xor rax, qword [rdx]
mov qword [r8], rax
movabs rax, 0xbb67ae8584caa73b
xor rax, qword [rdx + 8]
mov qword [r8 + 8], rax
movabs rax, 0x3c6ef372fe94f82b
xor rax, qword [rdx + 0x10]
mov qword [r8 + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
xor rax, qword [rdx + 0x18]
mov qword [r8 + 0x18], rax
movabs rax, 0x510e527fade682d1
xor rax, qword [rdx + 0x20]
mov qword [r8 + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
xor rax, qword [rdx + 0x28]
mov qword [r8 + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
xor rax, qword [rdx + 0x30]
mov qword [r8 + 0x30], rax
movabs rax, 0x5be0cd19137e2179
xor rax, qword [rdx + 0x38]
mov qword [r8 + 0x38], rax
jmp 0x14001d327
mov eax, 0xffffffff
pop rdi
ret
Function at 0x14001d3e0
Capabilities:
Hash data using sha512

Disassembly:
push rdi
sub rsp, 0x40
mov r8, rcx
test rcx, rcx
je 0x14001d4dc
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x14001d4c3
mov eax, 0x101
lea rdi, [rcx + 0x48]
mov byte [rsp], dl
movabs r9, 0x3c6ef372fe94f82b
mov word [rsp + 2], ax
and rdi, 0xfffffffffffffff8
mov eax, ecx
movabs r10, 0xa54ff53a5f1d36f1
sub eax, edi
mov byte [rsp + 1], 0
movdqu xmm0, xmmword [0x1400757a0]
mov dword [rsp + 4], 0
mov qword [rsp + 8], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xe8], 0
lea ecx, [rax + 0xf0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [r8 + 0x10], r9
xor eax, eax
movabs r9, 0x510e527fade682d1
mov qword [r8 + 0x18], r10
movabs r10, 0x9b05688c2b3e6c1f
mov qword [r8 + 0x20], r9
pxor xmm0, xmmword [rsp]
movabs r9, 0x1f83d9abfb41bd6b
mov qword [r8 + 0x28], r10
movabs r10, 0x5be0cd19137e2179
mov qword [r8 + 0x30], r9
mov qword [r8 + 0x38], r10
mov dword [r8 + 0xe4], edx
movups xmmword [r8], xmm0
add rsp, 0x40
pop rdi
ret
cmp byte [rcx + 0xe8], 0
je 0x14001d4d4
mov qword [rcx + 0x58], 0xffffffffffffffff
mov qword [r8 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x14001d4bd

Function at 0x14001d780
Capabilities:
Hash data using sha512

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xe0
mov r10, r8
mov rbx, rcx
mov r8, r9
test rcx, rcx
je 0x14001d8cd
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x14001d8b4
lea rax, [r9 - 1]
cmp rax, 0x3f
ja 0x14001d8b4
test r10, r10
je 0x14001d8b4
lea rdi, [rcx + 0x48]
mov eax, 0x101
mov byte [rsp + 0x20], dl
movabs rsi, 0x3c6ef372fe94f82b
and rdi, 0xfffffffffffffff8
mov byte [rsp + 0x21], r9b
movdqu xmm0, xmmword [0x1400757a0]
lea r9, [rsp + 0x60]
mov word [rsp + 0x22], ax
xor eax, eax
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x28], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xe8], 0
sub ecx, edi
add ecx, 0xf0
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [rbx + 0x10], rsi
mov ecx, 0x10
movabs rdi, 0xa54ff53a5f1d36f1
movabs rsi, 0x510e527fade682d1
mov qword [rbx + 0x18], rdi
movabs rdi, 0x9b05688c2b3e6c1f
mov qword [rbx + 0x20], rsi
pxor xmm0, xmmword [rsp + 0x20]
movabs rsi, 0x1f83d9abfb41bd6b
mov qword [rbx + 0x28], rdi
movabs rdi, 0x5be0cd19137e2179
mov qword [rbx + 0x38], rdi
mov rdi, r9
mov qword [rbx + 0x30], rsi
rep stosq qword [rdi], rax
mov dword [rbx + 0xe4], edx
mov rcx, r9
mov rdx, r10
movups xmmword [rbx], xmm0
call sym.memcpy
mov r8d, pe_nt_image_headers64
mov rcx, rbx
mov rdx, rax
call sym.randomx_blake2b_update
xor eax, eax
add rsp, 0xe0
pop rbx
pop rsi
pop rdi
ret
cmp byte [rbx + 0xe8], 0
je 0x14001d8c5
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x14001d8a9
Function at 0x14001ec60
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rdi, rcx
lea rax, [r8 + 1]
lea rsi, [rsp + 0x20]
mov rbp, rdx
lea r14, [rdi + 0x28]
mov rdx, r8
lea r13, [rsp + 0x60]
movabs rcx, 0x5851f42d4c957f2d
imul rax, rcx
lea r12, [rdi + 0x8368]
movabs rcx, 0x810a978a59f5a1fc
xor rcx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
movabs rcx, 0xa77099df38c2d846
xor rcx, rax
mov qword [rsp + 0x30], rcx
movabs rcx, 0x8126b91cbf22495c
xor rcx, rax
mov qword [rsp + 0x38], rcx
movabs rcx, 0x494d2597179f8a62
xor rcx, rax
mov qword [rsp + 0x40], rcx
movabs rcx, 0x9237efb9ceaaec0c
xor rcx, rax
mov qword [rsp + 0x48], rcx
movabs rcx, 0x2f2a56746ce62d78
xor rcx, rax
mov qword [rsp + 0x50], rcx
movabs rcx, 0x84853bf7b62ce54e
xor rax, rcx
mov qword [rsp + 0x58], rax
nop dword [rax]
mov rbx, qword [rdi]
and edx, 0x3fffff
mov r8, r12
mov rcx, rsi
shl rdx, 6
add rbx, rdx
mov rdx, r14
prefetchnta byte [rbx]
call dbg.randomx::executeSuperscalar(unsigned long long (&) [8], randomx::SuperscalarProgram&, std::vector<unsigned long long, std::allocator<unsigned long long> >*)
mov rdx, rbx
mov rax, rsi
nop
mov rcx, qword [rdx]
xor qword [rax], rcx
add rax, 8
add rdx, 8
cmp rax, r13
jne 0x14001ed50
movsxd rax, dword [r14 + 0x1004]
add r14, 0x1068
mov rdx, qword [rsp + rax*8 + 0x20]
cmp r14, r12
jne 0x14001ed28
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmm1, xmmword [rsp + 0x30]
movdqu xmm2, xmmword [rsp + 0x40]
movdqu xmm3, xmmword [rsp + 0x50]
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm2
movups xmmword [rbp + 0x30], xmm3
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x1400254a0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov r8d, 0x40
lea r9, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400254c0
add rsp, 0x38
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
add rsp, 0x38
ret
Function at 0x140054e40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, r8
movsxd rdx, edx
mov r8d, 1
call sym.fwrite
cmp rax, 1
setne al
movzx eax, al
neg eax
add rsp, 0x28
ret

Function at 0x140058ec0
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movsx edx, byte [rcx + 4]
lea r8, [rcx + 4]
test edx, edx
je 0x140058eed
nop dword [rax]
mov ecx, eax
add r8, 1
shl ecx, 5
add eax, ecx
add eax, edx
movsx edx, byte [r8]
test edx, edx
jne 0x140058ed8
ret

Function at 0x14005b370
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call 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 dbg.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x14005b3e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140082d94]
mov rbx, rcx
test esi, esi
jle 0x14005b510
mov rax, qword [0x140082d98]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14005b42b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14005b4b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14005b410
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x14005b532
mov rax, qword [0x140082d98]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140082d98]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14005b517
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14005b4ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14005b4c0
add dword [0x140082d94], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140082d98]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14005b4ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14005b438
mov rax, qword [0x140082d98]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]