joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d130
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [0x1400eb348]
mov rsi, rcx
mov rcx, rbp
mov rdi, rdx
call dbg.pthread_mutex_lock
mov rcx, rsi
call dbg.__pthread_get_pointer
mov rbx, rax
test rax, rax
je 0x14001d250
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14001d250
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x14001d250
test byte [rbx + 0x44], 4
jne 0x14001d270
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x1400eb358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001d2b0
mov rdx, qword [rax + 0x1d8]
cmp rsi, rdx
je 0x14001d2f0
mov edx, dword [rbx + 0xbc]
test edx, edx
jne 0x14001d1d3
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14001d290
mov rcx, qword [rbx + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001d1eb
call rsi
mov qword [rbx + 0x30], 0
test rdi, rdi
je 0x14001d2c8
mov rax, qword [rbx + 8]
lea rcx, [rbx + 0x38]
mov qword [rdi], rax
call dbg.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call dbg.pthread_spin_destroy
cmp eax, 1
je 0x14001d302
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x14001d2e0
mov rcx, rbp
call dbg.pthread_mutex_unlock
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov eax, 3
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov eax, 0x16
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, dword [rbx + 0xbc]
test eax, eax
jne 0x14001d1d3
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov eax, 0x10
jmp 0x14001d23e
call sym.__pthread_self_lite.part.0
xor edx, edx
test rax, rax
je 0x14001d1ac
jmp 0x14001d1a5
lea rcx, [rbx + 0x38]
call dbg.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
jmp 0x14001d210
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x14001d234
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov eax, 0x24
jmp 0x14001d23e
call sym.replace_spin_keys.part.0
nop
nop dword [rax + rax]

Function at 0x14001db90
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rdi, [0x1400eb368]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call dbg.pthread_spin_lock
mov rax, qword [rbx]
cmp dword [rax], 0xbab1f0ed
jne 0x14001dbd9
mov rax, qword [rbx]
mov eax, dword [rax + 4]
test eax, eax
jle 0x14001dbd9
mov rax, qword [rbx]
mov rcx, rdi
sub dword [rax + 4], 1
call dbg.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..._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 0x14001e010
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 0x14001e038
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 dbg.pthread_mutex_lock
test eax, eax
jne 0x14001e061
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x14001e078
mov rcx, rdi
call dbg.pthread_mutex_unlock
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp dbg.rwl_unref
lea r12, [rsi + 0x20]
mov rcx, r12
call dbg.pthread_mutex_lock
mov ebp, eax
test eax, eax
je 0x14001e0a0
mov rcx, rdi
call dbg.pthread_mutex_unlock
mov edx, ebp
jmp 0x14001e063
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call dbg.pthread_mutex_unlock
mov rcx, rdi
mov esi, eax
call dbg.pthread_mutex_unlock
test esi, esi
mov edx, esi
cmove edx, eax
jmp 0x14001e063

Function at 0x14001e0d0
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 0x14001e0f8
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 dbg.pthread_mutex_timedlock
test eax, eax
jne 0x14001e124
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x14001e140
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp dbg.rwl_unref
lea r12, [rsi + 0x20]
mov rdx, rdi
mov rcx, r12
call dbg.pthread_mutex_timedlock
mov edi, eax
test eax, eax
je 0x14001e170
cmp eax, 0x8a
je 0x14001e1a0
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov edx, edi
jmp 0x14001e126
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call dbg.pthread_mutex_unlock
mov rcx, rbp
mov esi, eax
call dbg.pthread_mutex_unlock
test esi, esi
cmove esi, eax
mov edx, esi
jmp 0x14001e126
lock add dword [rsi + 0x10], 1
jmp 0x14001e15c

Function at 0x14001e1b0
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 0x14001e1d8
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 dbg.pthread_mutex_trylock
test eax, eax
jne 0x14001e201
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x14001e218
mov rcx, rdi
call dbg.pthread_mutex_unlock
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp dbg.rwl_unref
lea r12, [rsi + 0x20]
mov rcx, r12
call dbg.pthread_mutex_lock
mov ebp, eax
test eax, eax
je 0x14001e240
mov rcx, rdi
call dbg.pthread_mutex_unlock
mov edx, ebp
jmp 0x14001e203
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call dbg.pthread_mutex_unlock
mov rcx, rdi
mov esi, eax
call dbg.pthread_mutex_unlock
test esi, esi
mov edx, esi
cmove edx, eax
jmp 0x14001e203
Function at 0x14001e270
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 0x14001e298
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 dbg.pthread_mutex_trylock
mov edx, eax
test eax, eax
jne 0x14001e2ee
lea r12, [rsi + 0x20]
mov rcx, r12
call dbg.pthread_mutex_trylock
mov edi, eax
test eax, eax
jne 0x14001e328
mov eax, dword [rsi + 8]
mov edx, 0x10
test eax, eax
jne 0x14001e2ee
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x14001e2e1
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x14001e300
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 dbg.rwl_unref
mov rcx, r12
call dbg.pthread_mutex_unlock
mov rcx, rbp
mov esi, eax
call dbg.pthread_mutex_unlock
test esi, esi
jne 0x14001e31f
test eax, eax
jne 0x14001e339
mov esi, 0x10
mov edx, esi
jmp 0x14001e2ee
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov edx, eax
test eax, eax
cmove edx, edi
jmp 0x14001e2ee
mov esi, eax
mov edx, esi
jmp 0x14001e2ee

Function at 0x14001e340
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
call dbg.rwl_ref_unlock
test eax, eax
jne 0x14001e3c0
mov rsi, qword [rbx]
mov edx, dword [rsi + 8]
test edx, edx
je 0x14001e390
lock sub dword [rsi + 8], 1
lea rcx, [rsi + 0x20]
call dbg.pthread_mutex_unlock
lea rcx, [rsi + 0x18]
mov edi, eax
call dbg.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 dbg.rwl_unref
lea rdi, [rsi + 0x20]
mov rcx, rdi
call dbg.pthread_mutex_lock
mov edx, eax
test eax, eax
jne 0x14001e37d
lock add dword [rsi + 0x10], 1
mov eax, dword [rsi + 0x10]
test eax, eax
je 0x14001e3d0
mov rcx, rdi
call dbg.pthread_mutex_unlock
mov edx, eax
jmp 0x14001e37d
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + 0x28]
call dbg.pthread_cond_signal
mov rcx, rdi
mov dword [rsp + 0x2c], eax
call dbg.pthread_mutex_unlock
mov edx, dword [rsp + 0x2c]
test edx, edx
cmove edx, eax
jmp 0x14001e37d
Function at 0x14001e3f0
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbx, rcx
call sym.rwl_ref.isra.0
test eax, eax
je 0x14001e418
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call dbg.pthread_mutex_lock
mov ebp, eax
test eax, eax
jne 0x14001e469
lea r12, [rsi + 0x20]
mov rcx, r12
call dbg.pthread_mutex_lock
mov ebp, eax
test eax, eax
jne 0x14001e500
mov edx, dword [rsi + 8]
test edx, edx
jne 0x14001e464
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x14001e460
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x14001e480
lock add dword [rsi + 8], 1
mov edx, ebp
mov rcx, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp dbg.rwl_unref
neg eax
mov qword [rsp + 0x28], rsi
lea r13, [rsi + 0x28]
mov dword [rsi + 0x10], eax
lea rax, [dbg.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 0x14001e4cf
mov eax, dword [rsi + 0x10]
test eax, eax
jns 0x14001e510
mov rdx, r12
mov rcx, r13
call dbg.pthread_cond_wait
mov edi, eax
test eax, eax
je 0x14001e4c8
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 0x14001e469
mov rcx, rdi
call dbg.pthread_mutex_unlock
jmp 0x14001e469
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
mov dword [rsi + 0xc], 0
jmp 0x14001e464
Function at 0x14001e530
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rsi, rdx
test rcx, rcx
je 0x14001e5e0
test rdx, rdx
je 0x14001e5e0
call sym.rwl_ref.isra.0
test eax, eax
je 0x14001e570
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [rbx]
mov rdx, rsi
lea rbp, [rdi + 0x18]
mov rcx, rbp
call dbg.pthread_mutex_timedlock
mov edx, eax
test eax, eax
jne 0x14001e5c7
lea r13, [rdi + 0x20]
mov rdx, rsi
mov rcx, r13
call dbg.pthread_mutex_timedlock
mov r12d, eax
test eax, eax
jne 0x14001e5f8
mov edx, dword [rdi + 8]
test edx, edx
jne 0x14001e5bf
mov edx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
test edx, edx
jle 0x14001e5bb
sub eax, edx
mov dword [rdi + 0x10], 0
mov dword [rdi + 0xc], eax
test eax, eax
jg 0x14001e608
lock add dword [rdi + 8], 1
mov edx, r12d
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp dbg.rwl_unref
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rbp
call dbg.pthread_mutex_unlock
jmp 0x14001e5c4
neg eax
mov qword [rsp + 0x28], rdi
lea r14, [rdi + 0x28]
mov dword [rdi + 0x10], eax
lea rax, [dbg.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 0x14001e654
test ebp, ebp
jne 0x14001e66b
mov r8, rsi
mov rdx, r13
mov rcx, r14
call dbg.pthread_cond_timedwait
mov ebp, eax
mov eax, dword [rdi + 0x10]
test eax, eax
js 0x14001e650
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
test ebp, ebp
jne 0x14001e690
mov dword [rdi + 0xc], 0
jmp 0x14001e5bf
mov rcx, qword [rsp + 0x28]
mov r12d, ebp
call qword [rsp + 0x20]
jmp 0x14001e5c4
Function at 0x140020150
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400ed160], 0
jne 0x140020256
mov byte [global_terminating], 1
call dbg.__cxa_current_exception_type
test rax, rax
je 0x14002022c
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call dbg.__cxa_demangle
mov ecx, 2
mov rsi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14002021d
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400eef41]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140020218
mov rcx, rdi
call sym.free
call dbg.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x1400201e7
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___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.imp.api_ms_win_crt_stdio_l1_1_0.dll___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 0x1400202eb
call dbg.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 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 dbg.__cxa_end_catch
jmp 0x140020251
call dbg.__cxa_begin_catch
call dbg.__cxa_end_catch
jmp 0x140020251

Function at 0x14009b390
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14009b3c0
mov rcx, qword [rcx]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp rax
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop word cs:[rax + rax]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14009b410
cdqe
add rsi, rax
sub rbx, rax
jne 0x14009b3e0
mov eax, dword [rsp + 0x2c]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 0xffffffff
jne 0x14009b430
call rbp
mov r12, rbp
cmp dword [rax], 4
je 0x14009b3e0
call r12
lea rdx, str.random_device_could_not_be_read
mov ecx, dword [rax]
call dbg.__throw_syserr
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
jmp 0x14009b41f
Function at 0x1400e9cc0
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor edx, edx
lea rcx, [0x1400eb9e0]
movabs rsi, 0x2e78786362696c67
movabs r12, 0x6c6f6f705f68652e
call dbg.pthread_mutex_init
pxor xmm0, xmm0
lea rcx, str.GLIBCXX_TUNABLES
mov qword [0x1400eb9f8], 0
movups xmmword [0x1400eb9e8], xmm0
call sym.getenv
mov dword [rsp + 0x40], 0
mov rbx, rax
lea rax, str.obj_size
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], rax
lea rax, str.obj_count
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x100
test rbx, rbx
jne 0x1400e9d75
jmp 0x1400e9e1f
mov rcx, rbx
mov edx, 0x3a
call sym.strchr
mov rbx, rax
test rax, rax
je 0x1400e9dd0
xor eax, eax
cmp byte [rbx], 0x3a
sete al
add rbx, rax
cmp qword [rbx], rsi
jne 0x1400e9d60
cmp qword [rbx + 7], r12
jne 0x1400e9d60
cmp byte [rbx + 0xf], 0x2e
jne 0x1400e9d60
add rbx, 0x10
lea rdi, [rsp + 0x30]
lea r13, [rsp + 0x60]
mov rbp, qword [rdi]
test rbp, rbp
je 0x1400e9dba
mov rcx, qword [rdi + 8]
mov r8, rbp
mov rdx, rbx
call sym.memcmp
test eax, eax
jne 0x1400e9dc4
cmp byte [rbx + rbp], 0x3d
je 0x1400e9e55
add rdi, 0x18
cmp r13, rdi
jne 0x1400e9d9f
jmp 0x1400e9d60
mov eax, dword [rsp + 0x58]
mov edx, 0x1000
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [rsp + 0x40]
test eax, eax
cmove eax, ecx
movsxd rbx, eax
movsxd rax, edx
add rbx, 0x26
imul rbx, rax
shl rbx, 3
mov qword [0x1400eb9f8], rbx
jne 0x1400e9e2f
lea rcx, [sym.__tcf_0]
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp dbg.atexit
mov qword [0x1400eb9f8], 0x16000
mov ebx, 0x16000
mov rcx, rbx
call sym.malloc
mov qword [0x1400eb9f0], rax
test rax, rax
je 0x1400e9e8c
xor edx, edx
mov qword [0x1400eb9e8], rax
mov qword [rax], rbx
mov qword [rax + 8], rdx
jmp 0x1400e9e07
lea rdx, [rsp + 0x28]
lea rcx, [rbx + rbp + 1]
xor r8d, r8d
call sym.strtoul
mov rbx, qword [rsp + 0x28]
movzx edx, byte [rbx]
cmp dl, 0x3a
je 0x1400e9e7c
test dl, dl
jne 0x1400e9d60
test eax, eax
js 0x1400e9d60
mov dword [rdi + 0x10], eax
jmp 0x1400e9d60
xor ecx, ecx
mov qword [0x1400eb9f8], rcx
jmp 0x1400e9e07
Function at 0x1400eac00
Capabilities:
Check mutex on windows
Hide graphical window
Monitor clipboard content

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call dbg.__main
call sym.__p__acmdln
mov rbx, qword [rax]
test rbx, rbx
jne 0x1400eac4b
jmp 0x1400eacc9
test cl, cl
je 0x1400eac80
and esi, 1
je 0x1400eac60
mov esi, 1
call sym._ismbblead
test eax, eax
je 0x1400eac47
cmp byte [rbx + 1], 1
sbb rbx, 0xffffffffffffffff
add rbx, 1
movsx ecx, byte [rbx]
cmp cl, 0x20
jle 0x1400eac28
mov eax, esi
xor eax, 1
cmp cl, 0x22
cmove esi, eax
jmp 0x1400eac36
test cl, cl
je 0x1400eac80
nop word cs:[rax + rax]
nop
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x1400eac80
cmp al, 0x20
jle 0x1400eac70
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov r9d, 0xa
test byte [rsp + 0x5c], 1
je 0x1400eacae
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x1400f5160]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp sym.WinMain
lea rbx, [0x1400f3af0]
jmp 0x1400eac80
Function at 0x180008f60
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
sub rsp, 0x58
cmp edx, 1
jne 0x18000913d
mov dword [rsp + 0x48], 0x228
lea rax, [0x180005da0]
add rax, 0x228
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.18000d2f0
mov dword [rsp + 0x48], 0x24f
lea rax, [0x180008a40]
add rax, 0x24f
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.18000d2f0
cmp dword [0x1800d7b50], 0x92a70bd
jne 0x18000910e
lea rcx, str.88fGwavm71N396CsLh
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_IsValidLocaleName]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_UnionRect]
lea r9, str.1cowQLFeel31r9Q3pxaH
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov dword [rsp + 0x20], ebx
lea rdx, str.LH7k77ia4EfvNL4vDNrZ
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindStringOrdinal]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateDialogParamW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
call qword [sym.imp.USER32.dll_GetDoubleClickTime]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemFileCacheSize]
mov dword [rsp + 0x38], ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor ecx, ecx
call qword [sym.imp.USER32.dll_BeginDeferWindowPos]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddScopedPolicyIDAce]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CommConfigDialogW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_BuildCommDCBW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetScrollInfo]
mov rbx, qword [rsp + 0x50]
mov dword [rsp + 0x48], 0x29a
lea rax, [0x180007ed0]
add rax, 0x29a
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.18000d2f0
mov eax, 1
add rsp, 0x58
ret
Function at 0x1800573dc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18005744b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18005744b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18005744b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18005744b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18005744b
cmp dword [rcx + 0x84], 0xe
jbe 0x18005744b
cmp dword [rcx + 0xf8], 0
je 0x18005744b
mov ecx, ebx
call fcn.1800574fc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800572d8
nop
cmp dword [rbp + 0x20], 0
je 0x180057499
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800574a4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800573dc