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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rdi, [0x14016c4a8]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call sym.pthread_spin_lock
mov rax, qword [rbx]
cmp dword [rax], 0xbab1f0ed
jne 0x1400ad8b9
mov rax, qword [rbx]
mov eax, dword [rax + 4]
test eax, eax
jle 0x1400ad8b9
mov rax, qword [rbx]
mov rcx, rdi
sub dword [rax + 4], 1
call sym.pthread_spin_unlock
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x20], 0x28
lea r9, str..._mingw_w64_mingw_w64_libraries_winpthreads_src_rwlock.c
lea r8, str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
mov rcx, rax
lea rdx, str.Assertion_failed:___s___file__s__line__d_n
call dbg.fprintf
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop

Function at 0x1400adbb0
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, qword [0x140187650]
lea rbp, [0x14016c4a0]
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
xor eax, eax
mov rsi, rcx
mov rcx, rbp
call sym.pthread_spin_lock
mov rcx, rsi
lea rdx, [rsp + 0x20]
call sym.rwl_ref_destroy
mov rcx, rbp
mov ebx, eax
call sym.pthread_spin_unlock
test ebx, ebx
jne 0x1400adc06
mov rbp, qword [rsp + 0x20]
test rbp, rbp
jne 0x1400adc28
mov rax, qword [rsp + 0x28]
sub rax, qword [rdi]
jne 0x1400add05
mov eax, ebx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea r13, [rbp + 0x18]
mov rcx, r13
call sym.pthread_mutex_lock
mov r12d, eax
test eax, eax
je 0x1400adc48
mov qword [rsi], rbp
mov ebx, r12d
jmp 0x1400adc06
lea r14, [rbp + 0x20]
mov rcx, r14
call sym.pthread_mutex_lock
mov r12d, eax
test eax, eax
jne 0x1400adcf0
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0xc], eax
jg 0x1400adc6e
mov eax, dword [rbp + 8]
test eax, eax
jle 0x1400adca0
mov qword [rsi], rbp
mov rcx, r14
call sym.pthread_mutex_unlock
mov rcx, r13
mov esi, eax
call sym.pthread_mutex_unlock
mov ebx, eax
test eax, eax
jne 0x1400adc06
test esi, esi
mov ebx, 0x10
cmovne ebx, esi
jmp 0x1400adc06
mov dword [rbp], 0xdeadb0ef
mov rcx, r14
call sym.pthread_mutex_unlock
mov rcx, r13
mov r12d, eax
call sym.pthread_mutex_unlock
test r12d, r12d
jne 0x1400adc3b
test eax, eax
jne 0x1400adcfd
lea rcx, [rbp + 0x28]
call sym.pthread_cond_destroy
mov rcx, r13
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_mutex_destroy
mov rcx, rbp
call sym.free
jmp 0x1400adc06
mov rcx, r13
call sym.pthread_mutex_unlock
jmp 0x1400adc3b
mov r12d, eax
jmp 0x1400adc3b
call dbg.__stack_chk_fail
nop
nop dword [rax + rax]
Function at 0x1400add10
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.rwl_ref.isra.0
test eax, eax
je 0x1400add38
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call sym.pthread_mutex_lock
test eax, eax
jne 0x1400add61
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x1400add78
mov rcx, rdi
call sym.pthread_mutex_unlock
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.rwl_unref
lea r12, [rsi + 0x20]
mov rcx, r12
call sym.pthread_mutex_lock
mov ebp, eax
test eax, eax
je 0x1400adda0
mov rcx, rdi
call sym.pthread_mutex_unlock
mov edx, ebp
jmp 0x1400add63
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call sym.pthread_mutex_unlock
mov rcx, rdi
mov esi, eax
call sym.pthread_mutex_unlock
test esi, esi
mov edx, esi
cmove edx, eax
jmp 0x1400add63

Function at 0x1400addd0
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
call sym.rwl_ref.isra.0
test eax, eax
je 0x1400addf8
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rbx]
mov rdx, rdi
lea rbp, [rsi + 0x18]
mov rcx, rbp
call sym.pthread_mutex_timedlock
test eax, eax
jne 0x1400ade24
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x1400ade40
mov rcx, rbp
call sym.pthread_mutex_unlock
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.rwl_unref
lea r12, [rsi + 0x20]
mov rdx, rdi
mov rcx, r12
call sym.pthread_mutex_timedlock
mov edi, eax
test eax, eax
je 0x1400ade70
cmp eax, 0x8a
je 0x1400adea0
mov rcx, rbp
call sym.pthread_mutex_unlock
mov edx, edi
jmp 0x1400ade26
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call sym.pthread_mutex_unlock
mov rcx, rbp
mov esi, eax
call sym.pthread_mutex_unlock
test esi, esi
cmove esi, eax
mov edx, esi
jmp 0x1400ade26
lock add dword [rsi + 0x10], 1
jmp 0x1400ade5c

Function at 0x1400adeb0
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.rwl_ref.isra.0
test eax, eax
je 0x1400aded8
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call sym.pthread_mutex_trylock
test eax, eax
jne 0x1400adf01
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x1400adf18
mov rcx, rdi
call sym.pthread_mutex_unlock
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.rwl_unref
lea r12, [rsi + 0x20]
mov rcx, r12
call sym.pthread_mutex_lock
mov ebp, eax
test eax, eax
je 0x1400adf40
mov rcx, rdi
call sym.pthread_mutex_unlock
mov edx, ebp
jmp 0x1400adf03
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call sym.pthread_mutex_unlock
mov rcx, rdi
mov esi, eax
call sym.pthread_mutex_unlock
test esi, esi
mov edx, esi
cmove edx, eax
jmp 0x1400adf03
Function at 0x1400adf70
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.rwl_ref.isra.0
test eax, eax
je 0x1400adf98
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rbx]
lea rbp, [rsi + 0x18]
mov rcx, rbp
call sym.pthread_mutex_trylock
mov edx, eax
test eax, eax
jne 0x1400adfee
lea r12, [rsi + 0x20]
mov rcx, r12
call sym.pthread_mutex_trylock
mov edi, eax
test eax, eax
jne 0x1400ae028
mov eax, dword [rsi + 8]
mov edx, 0x10
test eax, eax
jne 0x1400adfee
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x1400adfe1
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x1400ae000
mov dword [rsi + 8], 1
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.rwl_unref
mov rcx, r12
call sym.pthread_mutex_unlock
mov rcx, rbp
mov esi, eax
call sym.pthread_mutex_unlock
test esi, esi
jne 0x1400ae020
test eax, eax
mov esi, 0x10
cmovne esi, eax
mov edx, esi
jmp 0x1400adfee
mov rcx, rbp
call sym.pthread_mutex_unlock
mov edx, eax
test eax, eax
cmove edx, edi
jmp 0x1400adfee

Function at 0x1400ae040
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
call sym.rwl_ref_unlock
test eax, eax
jne 0x1400ae0c0
mov rsi, qword [rbx]
mov edx, dword [rsi + 8]
test edx, edx
je 0x1400ae090
lock sub dword [rsi + 8], 1
lea rcx, [rsi + 0x20]
call sym.pthread_mutex_unlock
lea rcx, [rsi + 0x18]
mov edi, eax
call sym.pthread_mutex_unlock
test edi, edi
cmove edi, eax
mov edx, edi
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.rwl_unref
lea rdi, [rsi + 0x20]
mov rcx, rdi
call sym.pthread_mutex_lock
mov edx, eax
test eax, eax
jne 0x1400ae07d
lock add dword [rsi + 0x10], 1
mov eax, dword [rsi + 0x10]
test eax, eax
je 0x1400ae0d0
mov rcx, rdi
call sym.pthread_mutex_unlock
mov edx, eax
jmp 0x1400ae07d
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + 0x28]
call sym.pthread_cond_signal
mov rcx, rdi
mov dword [rsp + 0x2c], eax
call sym.pthread_mutex_unlock
mov edx, dword [rsp + 0x2c]
test edx, edx
cmove edx, eax
jmp 0x1400ae07d
Function at 0x1400ae0f0
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r12, qword [0x140187650]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
call sym.rwl_ref.isra.0
test eax, eax
je 0x1400ae140
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x1400ae269
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call sym.pthread_mutex_lock
mov ebp, eax
test eax, eax
jne 0x1400ae191
lea r13, [rsi + 0x20]
mov rcx, r13
call sym.pthread_mutex_lock
mov ebp, eax
test eax, eax
jne 0x1400ae240
mov edx, dword [rsi + 8]
test edx, edx
jne 0x1400ae18c
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x1400ae188
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x1400ae1c0
lock add dword [rsi + 8], 1
mov rax, qword [rsp + 0x38]
sub rax, qword [r12]
jne 0x1400ae269
mov edx, ebp
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.rwl_unref
neg eax
mov qword [rsp + 0x28], rsi
lea r14, [rsi + 0x28]
mov dword [rsi + 0x10], eax
lea rax, [sym.st_cancelwrite]
mov qword [rsp + 0x20], rax
call sym.pthread_getclean
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call sym.pthread_getclean
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x1400ae20f
mov eax, dword [rsi + 0x10]
test eax, eax
jns 0x1400ae250
mov rdx, r13
mov rcx, r14
call sym.pthread_cond_wait
mov edi, eax
test eax, eax
je 0x1400ae208
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov ebp, edi
mov qword [rax], rdx
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x20]
jmp 0x1400ae191
mov rcx, rdi
call sym.pthread_mutex_unlock
jmp 0x1400ae191
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
mov dword [rsi + 0xc], 0
jmp 0x1400ae18c
call dbg.__stack_chk_fail
nop
nop
Function at 0x1400ae270
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, qword [0x140187650]
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
mov rsi, rdx
test rcx, rcx
je 0x1400ae358
test rdx, rdx
je 0x1400ae358
call sym.rwl_ref.isra.0
test eax, eax
je 0x1400ae2d8
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi]
jne 0x1400ae38a
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, qword [rbx]
mov rdx, rsi
lea r12, [rbp + 0x18]
mov rcx, r12
call sym.pthread_mutex_timedlock
mov edx, eax
test eax, eax
jne 0x1400ae368
lea r14, [rbp + 0x20]
mov rdx, rsi
mov rcx, r14
call sym.pthread_mutex_timedlock
mov r13d, eax
test eax, eax
jne 0x1400ae378
mov edx, dword [rbp + 8]
test edx, edx
jne 0x1400ae327
mov edx, dword [rbp + 0x10]
mov eax, dword [rbp + 0xc]
test edx, edx
jle 0x1400ae323
sub eax, edx
mov dword [rbp + 0x10], 0
mov dword [rbp + 0xc], eax
test eax, eax
jg 0x1400ae390
lock add dword [rbp + 8], 1
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
jne 0x1400ae38a
mov edx, r13d
mov rcx, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.rwl_unref
mov eax, 0x16
jmp 0x1400ae2b2
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
je 0x1400ae339
jmp 0x1400ae38a
mov rcx, r12
call sym.pthread_mutex_unlock
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
je 0x1400ae336
call dbg.__stack_chk_fail
nop
neg eax
mov qword [rsp + 0x28], rbp
lea r15, [rbp + 0x28]
mov dword [rbp + 0x10], eax
lea rax, [sym.st_cancelwrite]
mov qword [rsp + 0x20], rax
call sym.pthread_getclean
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call sym.pthread_getclean
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x1400ae3dd
test r12d, r12d
jne 0x1400ae3f5
mov r8, rsi
mov rdx, r14
mov rcx, r15
call sym.pthread_cond_timedwait
mov r12d, eax
mov eax, dword [rbp + 0x10]
test eax, eax
js 0x1400ae3d8
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
test r12d, r12d
jne 0x1400ae418
mov dword [rbp + 0xc], 0
jmp 0x1400ae327
mov rcx, qword [rsp + 0x28]
mov r13d, r12d
call qword [rsp + 0x20]
jmp 0x1400ae32c

Function at 0x1400b91c0
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 0x1400b9230
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401bc214]
mov rbx, rcx
test esi, esi
jle 0x1400b9360
mov rax, qword [0x1401bc218]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400b927b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400b9305
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400b9260
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400b9382
mov rax, qword [0x1401bc218]
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 [0x1401bc218]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400b9367
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400b92fe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400b9310
add dword [0x1401bc214], 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 [0x1401bc218]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400b92fe
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 0x1400b9288
mov rax, qword [0x1401bc218]
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]

Function at 0x1400b9910
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401bc280]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401bc260]
test rbx, rbx
je 0x1400b996c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400b9963
test eax, eax
jne 0x1400b9963
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400b9948
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400b9b80
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400b9b98
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400b9ba0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400b9bb0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400b9bfd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400b9bf4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400b9bff
add rax, 0x28
cmp rax, r9
jne 0x1400b9be0
xor eax, eax
ret

Function at 0x1400b9c00
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400b9c90
mov rdx, qword [0x140187550]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400b9c7e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400b9c7e
cmp word [rax + 0x18], 0x20b
jne 0x1400b9c7e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400b9c90
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400b9c69
add rbx, 0x28
cmp rbx, rdi
je 0x1400b9c90
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400b9c60
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400b9ca0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140187550]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400b9cc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400b9cc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400b9cc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400b9d1d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400b9d14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400b9cc0
add rax, 0x28
cmp rax, r9
jne 0x1400b9d00
xor eax, eax
ret

Function at 0x1400b9d20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140187550]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400b9d3f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400b9d48
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400b9d3f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400b9d60
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140187550]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400b9d80
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400b9d88
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400b9d80
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400b9dd0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400b9dc7
test rcx, rcx
je 0x1400b9d80
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400b9db8
xor eax, eax
ret
Function at 0x1400b9de0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140187550]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400b9dff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400b9e08
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400b9e20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140187550]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400b9e40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400b9e48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400b9e40
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400b9e40
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400b9e94
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400b9ea0
add rdx, 0x28
cmp rdx, r9
jne 0x1400b9e80
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400b9eb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140187550]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400b9ed2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400b9ee0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400b9ed2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400b9ed2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400b9ed2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400b9f35
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400b9f48
add rdx, 0x28
cmp r10, rdx
jne 0x1400b9f20
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400b9f57
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400b9f67
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400b9f3e
test ecx, ecx
jg 0x1400b9f50
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400bb9b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, str._buffer_overflow_detected_:_terminated_n
call sym.write
mov ecx, 0x17
call sym.IsProcessorFeaturePresent
test eax, eax
je 0x1400bb9e0
mov ecx, 8
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400bba00
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sym.write
mov ecx, 0x17
call sym.IsProcessorFeaturePresent
test eax, eax
je 0x1400bba30
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400c4bf0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x48
vmovups xmmword [rsp + 0x20], xmm6
vmovups xmmword [rsp + 0x30], xmm7
test dl, 0x3f
jne 0x1400c4ca0
add rdx, r8
vmovdqu xmm3, xmmword [rcx]
vmovdqu xmm2, xmmword [rcx + 0x10]
vmovdqu xmm1, xmmword [rcx + 0x20]
vmovdqu xmm0, xmmword [rcx + 0x30]
cmp r8, rdx
jae 0x1400c4c7c
vmovdqu xmm7, xmmword [0x140171dc0]
vmovdqu xmm6, xmmword [0x140171dd0]
vmovdqu xmm5, xmmword [0x140171de0]
vmovdqu xmm4, xmmword [0x140171df0]
nop dword [rax]
vaesdec xmm3, xmm3, xmm7
vaesenc xmm2, xmm2, xmm6
vmovdqu xmmword [r8], xmm3
vaesdec xmm1, xmm1, xmm5
vmovdqu xmmword [r8 + 0x10], xmm2
vaesenc xmm0, xmm0, xmm4
add r8, 0x40
vmovdqu xmmword [r8 - 0x20], xmm1
vmovdqu xmmword [r8 - 0x10], xmm0
cmp r8, rdx
jb 0x1400c4c48
vmovdqu xmmword [rcx], xmm3
vmovdqu xmmword [rcx + 0x10], xmm2
vmovdqu xmmword [rcx + 0x20], xmm1
vmovdqu xmmword [rcx + 0x30], xmm0
vmovups xmm6, xmmword [rsp + 0x20]
vmovups xmm7, xmmword [rsp + 0x30]
add rsp, 0x48
ret
lea rdx, str.RandomX_src_aes_hash.cpp
mov r8d, 0x86
lea rcx, str.outputSize___64__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop
nop
nop
nop
nop
nop