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

Disassembly:
cld
pop r11
jmp 0xa1567d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xa1568d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xa15675
lea eax, [rcx + 1]
jmp 0xa1569b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xa156ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xa15694
sub eax, 3
jb 0xa156ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xa1571d
sar eax, 1
movsxd rbp, eax
jb 0xa15704
jmp 0xa156dc
add ebx, ebx
jne 0xa156da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa15704
inc ecx
add ebx, ebx
jne 0xa156ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa15704
call r11
adc ecx, ecx
add ebx, ebx
jne 0xa156fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xa156ec
add ecx, 2
jmp 0xa15709
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00a15632
jmp 0xa1567d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x26cc00
mov dl, 0x50
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xa15769
cmp rsi, rcx
jae 0xa15771
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xa15750
cmp al, 0x8f
ja 0xa15750
cmp byte [rsi - 2], 0xf
je 0xa15756
sub al, 0xe8
cmp al, 1
ja 0xa1573a
cmp rsi, rcx
jae 0xa15771
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xa15740
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xa15771
lodsb al, byte [rsi]
jmp 0xa15750
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x606000]
mov eax, dword [rdi]
or eax, eax
je 0xa157ce
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x615000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xa1577e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xa157c8
mov qword [rbx], rax
add rbx, 8
jmp 0xa1579e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xa15812
cmp al, 0xef
ja 0xa157fa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xa157da
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xa157e9
mov eax, dword [rdi]
add rdi, 4
jmp 0xa157e9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xa15866
sub rsp, 0xffffffffffffff80
jmp 0x464400
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400791e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400791f0]
mov dword [rax], 1
mov rax, qword [0x140079200]
mov dword [rax], 1
mov rax, qword [0x140079150]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400791d0]
mov dword [0x14008200c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400792d0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [str.0__b_]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400790a0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140079230]
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._b__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 [0x140079190]
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 [0x140079220]
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 [str.H8_b_]
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._b__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 [0x140079280]
mov rcx, qword [0x140079270]
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 [0x1400792a0]
mov rcx, qword [0x140079290]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x1400014d0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
test ecx, ecx
je 0x1400014fc
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__________________________scrypt____scrypt_1024__1__1__n__________________________scrypt:N__scrypt_N__1__1__n__________________________sha256d___SHA_256d_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 0x1400014f5

Function at 0x140005c90
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 0x140005ce0
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 0x140005d9d
mov rcx, qword [rsi + 8]
mov r9, qword [rsp + 0x38]
lea rdx, [rbp + rdi]
mov r8, rbx
call r15
test eax, eax
jne 0x140005d98
mov rax, qword [rsp + 0x48]
sub rbx, rax
add rdi, rax
test rbx, rbx
jg 0x140005d30
mov eax, 1
jmp 0x140005d9f
cmp eax, 0x51
je 0x140005d30
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 0x140007970
Capabilities:
Get socket status

Disassembly:
mov rax, qword [rcx + 0x128]
cmp byte [rax], 0
je 0x140007988
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp sym.socket_full
Function at 0x1400079a0
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 0x140007a60
mov rcx, rdi
call sym.strlen
mov rcx, rdi
lea rdx, [0x140073d82]
mov rbp, rax
call sym.strtok
mov rcx, rax
test rax, rax
je 0x140007c80
call sym.strdup
mov rcx, rax
mov rsi, rax
call sym.strlen
lea rdx, [rax + 1]
cmp rdx, rbp
jl 0x140007b00
mov rax, qword [rbx + 0x128]
mov byte [rax], 0
mov rax, qword [str.w__b_]
cmp byte [rax], 0
jne 0x140007ae0
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 0x140007b20
lea rdx, str.stratum_recv_line_timed_out
xor ecx, ecx
xor esi, esi
call sym.applog
jmp 0x140007a38
mov r8, rsi
lea rdx, str.___s
mov ecx, 4
call sym.applog
jmp 0x140007a38
mov rcx, qword [rbx + 0x128]
sub rbp, rax
lea r8, [rbp + 1]
add rdx, rcx
call sym.memmove
jmp 0x140007a28
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 [0x140074268]
mov qword [rsp + 0x48], rax
jmp 0x140007bbc
cmp qword [rsp + 0x60], 0
je 0x140007c2b
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 0x140007c40
lea rcx, [rdi + r15]
mov rdx, rsi
call sym.strcpy
xor ecx, ecx
call rbp
sub rax, qword [rsp + 0x58]
cmp rax, 0x3b
jg 0x140007c70
mov rdi, qword [rbx + 0x128]
mov edx, 0xa
mov rcx, rdi
call sym.strchr
test rax, rax
jne 0x1400079db
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 0x140007b48
cmp eax, 0x51
jne 0x140007c2b
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 0x140007b8c
lea rdx, str.stratum_recv_line_failed
xor ecx, ecx
xor esi, esi
call sym.applog
jmp 0x140007a38
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 0x140007b80
mov rdi, qword [rbx + 0x128]
jmp 0x1400079db
lea rdx, str.stratum_recv_line_failed_to_parse_a_newline_terminated_string
xor esi, esi
call sym.applog
jmp 0x140007a38
Function at 0x140009450
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
movdqu xmm0, xmmword [0x140074280]
movdqu xmm1, xmmword [0x140074290]
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 [0x140074280]
movdqu xmm3, xmmword [0x140074290]
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 0x14001caa0
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 0x14001cb2a
cmp byte [rbx + 0x38], 0
je 0x14001cb00
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 0x14001cae1
mov rcx, rbx
call rax
movsx edx, al
jmp 0x14001cae1
call sym.std::__throw_bad_cast__
nop
Function at 0x14001d050
Capabilities:
Hash data using sha512

Disassembly:
push rdi
mov r8, rcx
test rdx, rdx
je 0x14001d1fb
test rcx, rcx
je 0x14001d1fb
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 0x14001d168
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmmword [0x140075760]
movups xmmword [r8], xmm0
movdqu xmm0, xmmword [rdx + 0x10]
pxor xmm0, xmmword [0x140075770]
movups xmmword [r8 + 0x10], xmm0
movdqu xmm0, xmmword [rdx + 0x20]
pxor xmm0, xmmword [0x140075780]
movups xmmword [r8 + 0x20], xmm0
movdqu xmm0, xmmword [rdx + 0x30]
pxor xmm0, xmmword [0x140075790]
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 0x14001d157
mov eax, 0xffffffff
pop rdi
ret
Function at 0x14001d210
Capabilities:
Hash data using sha512

Disassembly:
push rdi
sub rsp, 0x40
mov r8, rcx
test rcx, rcx
je 0x14001d30c
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x14001d2f3
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 [0x140075760]
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 0x14001d304
mov qword [rcx + 0x58], 0xffffffffffffffff
mov qword [r8 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x14001d2ed

Function at 0x14001d5b0
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 0x14001d6fd
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x14001d6e4
lea rax, [r9 - 1]
cmp rax, 0x3f
ja 0x14001d6e4
test r10, r10
je 0x14001d6e4
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 [0x140075760]
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 0x14001d6f5
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x14001d6d9
Function at 0x14001ea90
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 0x14001eb80
movsxd rax, dword [r14 + 0x1004]
add r14, 0x1068
mov rdx, qword [rsp + rax*8 + 0x20]
cmp r14, r12
jne 0x14001eb58
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 0x1400252e0
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 0x140025300
add rsp, 0x38
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
add rsp, 0x38
ret