joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4205e0
Capabilities:
Hijack thread execution

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4f8
mov rsi, rcx
call sym.__pth_gpointer_locked
test rax, rax
mov rbx, rax
je 0x420609
mov rcx, qword [rax + 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x420620
mov eax, 3
add rsp, 0x4f8
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdi, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x420609
lea rbp, [rbx + 0x38]
mov rcx, rbp
call sym.pthread_mutex_lock
call sym.__pthread_self_lite
test rax, rax
je 0x4207c5
mov rax, qword [rax + 0x1c8]
cmp rsi, rax
je 0x4206c3
mov eax, dword [rbx + 0x44]
and eax, 3
cmp eax, 3
movzx eax, byte [rbx + 0x40]
je 0x420720
test al, 3
jne 0x4206aa
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x40], al
mov rax, qword [0x004ac540]
test rax, rax
je 0x4207cc
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x42069b
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbp
call sym.pthread_mutex_unlock
xor eax, eax
jmp 0x42060e
mov rcx, rbp
call sym.pthread_mutex_unlock
test byte [rbx + 0x40], 0xc
jne 0x420609
xor eax, eax
jmp 0x42060e
movzx eax, byte [rbx + 0x40]
test al, 3
jne 0x4206aa
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x40], al
mov rax, qword [0x004ac540]
test rax, rax
je 0x4207ec
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x4206f7
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rbx + 0x44]
and eax, 3
cmp eax, 3
jne 0x42069b
movzx eax, byte [rbx + 0x40]
and dword [rbx + 0x44], 0xfffffffe
mov rcx, rbp
and eax, 0xfffffff3
or eax, 4
mov byte [rbx + 0x40], al
call sym.pthread_mutex_unlock
call sym._pthread_invoke_cancel
test al, 0xc
jne 0x4206aa
test al, 0xf
jne 0x420609
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x50], 0x100001
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42069b
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
lea rax, [sym._pthread_invoke_cancel]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
mov qword [rsp + 0x118], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
movzx eax, byte [rbx + 0x40]
and dword [rbx + 0x44], 0xfffffffe
and eax, 0xfffffff0
or eax, 5
mov byte [rbx + 0x40], al
mov rax, qword [0x004ac540]
test rax, rax
je 0x42080c
lock add dword [rax], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x4207ae
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbp
call sym.pthread_mutex_unlock
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x42069b
xor eax, eax
jmp 0x420653
lea rcx, str._pthread_cancelling_shmem
xor r8d, r8d
mov edx, 4
call sym.__shmem_winpthreads_grab
mov qword [0x004ac540], rax
jmp 0x420688
lea rcx, str._pthread_cancelling_shmem
xor r8d, r8d
mov edx, 4
call sym.__shmem_winpthreads_grab
mov qword [0x004ac540], rax
jmp 0x4206e4
lea rcx, str._pthread_cancelling_shmem
xor r8d, r8d
mov edx, 4
call sym.__shmem_winpthreads_grab
mov qword [0x004ac540], rax
jmp 0x42079b
Function at 0x420830
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x004ac4f8]
mov edi, edx
test rcx, rcx
je 0x420910
call sym.pthread_mutex_lock
mov rcx, rbx
call sym.__pthread_get_pointer
test rax, rax
je 0x42086a
mov rsi, qword [rax + 0x1c8]
cmp rsi, rbx
je 0x420890
mov rcx, qword [0x004ac4f8]
test rcx, rcx
je 0x4208e0
mov ebx, 3
call sym.pthread_mutex_unlock
mov eax, ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
test byte [rax + 0x40], 0xc
jne 0x42086a
mov ebx, dword [rax + 0xb4]
test ebx, ebx
jne 0x42086a
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x42086a
mov rcx, qword [0x004ac4f8]
test rcx, rcx
je 0x420937
call sym.pthread_mutex_unlock
test edi, edi
je 0x420880
sub edi, 2
mov ebx, 0x16
cmp edi, 0x15
ja 0x420880
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.pthread_cancel
lea rcx, str.mtx_pthr_locked_shmem
lea r8, [sym.__shmem_winpthreads_init_mtx_pthr_locked_shmem]
mov edx, 8
call sym.__shmem_winpthreads_grab
mov rcx, rax
mov qword [0x004ac4f8], rax
jmp 0x420876
lea rcx, str.mtx_pthr_locked_shmem
lea r8, [sym.__shmem_winpthreads_init_mtx_pthr_locked_shmem]
mov edx, 8
call sym.__shmem_winpthreads_grab
mov rcx, rax
mov qword [0x004ac4f8], rax
jmp 0x42084c
lea rcx, str.mtx_pthr_locked_shmem
lea r8, [sym.__shmem_winpthreads_init_mtx_pthr_locked_shmem]
mov edx, 8
call sym.__shmem_winpthreads_grab
mov rcx, rax
mov qword [0x004ac4f8], rax
jmp 0x4208ba
Function at 0x420bb0
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r14, rcx
mov r12, rdx
mov rsi, r8
mov rdi, r9
call sym.pop_pthread_mem
test rax, rax
mov rbx, rax
je 0x420d61
test r14, r14
je 0x420bea
mov rax, qword [rax + 0x1c8]
mov qword [r14], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbx + 8], rdi
mov rdi, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rsi
mov esi, 1
mov dword [rbx + 0xb4], 0
mov dword [rbx + 0x44], 1
mov qword [rbx + 0x28], 0xffffffffffffffff
mov rbp, r13
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call rdi
test rax, rax
mov qword [rbx + 0x30], rax
jne 0x420e10
cmp esi, 1
jne 0x420c50
xor ecx, ecx
call r13
add esi, 1
jmp 0x420c21
mov ecx, 0x14
call rbp
cmp esi, 5
jne 0x420c47
mov rax, qword [rbx + 0x30]
mov qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov dword [rbx], 0xbab1f00d
mov dword [rbx + 0xb8], 0
mov dword [rbx + 0xb0], 0
test rax, rax
je 0x420d47
test r12, r12
je 0x420e50
mov eax, dword [r12]
mov rsi, qword [r12 + 0x10]
test al, 8
mov dword [rbx + 0x44], eax
jne 0x420de0
mov eax, dword [r12 + 0x18]
mov edx, esi
mov dword [rbx + 0xb8], eax
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [sym.pthread_create_wrapper]
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rsi, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x420d17
mov edx, dword [rbx + 0xb8]
cmp edx, 0xfffffff2
jl 0x420d75
cmp edx, 0xffffffff
jl 0x420e00
cmp edx, 0xe
jg 0x420e40
cmp edx, 2
mov eax, 2
cmovge edx, eax
jmp 0x420d7a
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x420d26
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x38]
call sym.pthread_mutex_destroy
mov qword [rbx + 0x60], 0xffffffffffffffff
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x28], 0
test r14, r14
je 0x420d53
mov qword [r14], 0
cmp qword [rbx + 0x1c0], 0
je 0x420e57
mov eax, 0xb
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edx, 0xfffffff1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [rbx + 0x44], 4
je 0x420dd0
mov rcx, rsi
mov qword [rbx + 0x28], 0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov qword [rbx + 0x28], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x420dad
call sym.__pthread_self_lite
mov eax, dword [rax + 0xb8]
mov edx, esi
mov dword [rbx + 0xb8], eax
jmp 0x420cbd
mov edx, 0xfffffffe
jmp 0x420d7a
mov qword [rbx + 0x38], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov dword [rbx], 0xbab1f00d
mov dword [rbx + 0xb8], 0
mov dword [rbx + 0xb0], 0
jmp 0x420c93
mov edx, 0xf
jmp 0x420d7a
xor edx, edx
jmp 0x420cbd
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x420d61
Function at 0x421390
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.dummy_concurrency_level_shmem
xor r8d, r8d
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x4215f0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_cond]
lea rcx, str.cond_locked_shmem_cond
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x422690
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.global_lock_spinlock
xor r8d, r8d
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x4228f0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov rdi, rcx
movsxd r12, edx
mov r13, r8
call sym.strlen
mov r14, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x51]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.004120b0
sub rsp, rax
movsxd r15, r14d
movabs rax, 0x656d68732d636367
lea rsi, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, r15
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
movsxd rbx, ebx
mov byte [rsp + 0x2e], 0x2d
call sym.memcpy
lea rax, [rsi + r15 + 0x10]
lea r15d, [r14 + 0x50]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, rsi
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r15d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4229d9
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x422a72
mov rcx, r12
add r14d, 0x10
call sym.malloc
mov r10d, 0x40
mov rbx, rax
bt rbx, r10
jae 0x422a14
mov r11d, r15d
sub r11d, r10d
movsxd r11, r11d
mov byte [rsi + r11], 0x41
sub r10d, 1
jne 0x422a00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x422a6f
mov rdx, rsi
movzx ecx, ax
mov r9d, r14d
mov r8d, r15d
call sym.get_ptr_from_atom_1
cmp rax, rbx
mov rsi, rax
je 0x422a89
mov rcx, rbx
call sym.free
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [r14 + 0x10]
mov rdx, rsi
movzx ecx, ax
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov rsi, rax
jmp 0x422a49
xor edx, edx
mov r8, r12
mov rcx, rbx
call sym.memset
test r13, r13
je 0x422a49
mov rcx, rbx
call r13
jmp 0x422a49

Function at 0x423180
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_rwl_global_shmem]
lea rcx, str.rwl_global_shmem
mov edx, 8
jmp sym.__shmem_winpthreads_grab
Function at 0x423250
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_rwlock]
lea rcx, str.cond_locked_shmem_rwlock
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x423d40
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init_init]
lea rcx, str.init
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x423d60
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.eh_globals
xor r8d, r8d
mov edx, 0x10
jmp dbg.__shmem_grab

Function at 0x424410
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___terminate_handler_sh]
lea rcx, str.__terminate_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x424430
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___unexpected_handler_sh]
lea rcx, str.__unexpected_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x4256f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
test rax, rax
jle 0x425721
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret
mov dword [rbx + 0x48], 0xffffffff
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x426070
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x0048a090], 0
jne 0x426137
mov byte [0x0048a090], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x4261ca
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 sym.__cxa_demangle
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
mov rdi, rax
call rsi
lea rcx, str.terminate_called_after_throwing_an_instance_of_
lea r9, [rax + 0x60]
mov r8d, 0x30
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x426127
call rsi
lea rdx, [rax + 0x60]
mov rcx, rbx
call sym.fputs
call rsi
lea rcx, [0x0048c591]
lea r9, [rax + 0x60]
mov r8d, 2
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x42615d
call sym.__cxa_rethrow
call rsi
lea rdx, [rax + 0x60]
mov rcx, rdi
call sym.fputs
jmp 0x4260fe
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_recursively_n
lea r9, [rax + 0x60]
mov r8d, 0x1d
mov edx, 1
call sym.fwrite
call sym.abort
mov rcx, rdi
call sym.free
jmp 0x426122
call sym.abort
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_without_an_active_exception_n
lea r9, [rax + 0x60]
mov r8d, 0x2d
mov edx, 1
call sym.fwrite
jmp 0x4261c5

Function at 0x4544f0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
mov rcx, rbp
call method.std::__basic_file_char_.fd__
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sym.read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x454540
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x45450a
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1400013e0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov ebx, 0x14
lea rdi, [0x14001f980]
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x84210843
imul r8d
add edx, r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x3e
sub r8d, ecx
movsxd rax, r8d
movzx r9d, byte [rax + rdi]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x14000147e
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001488
lea rcx, [rsp + 0x20]
call fcn.140001630
sub rbx, 1
jne 0x140001420
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400014e6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c064
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140001500
Capabilities:
Manipulate console buffer

Disassembly:
push rdi
sub rsp, 0x50
xor eax, eax
mov ecx, 0xfffffff5
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx ecx, word [rsp + 0x30]
lea rax, [rsp + 0x68]
movsx r8d, word [rsp + 0x32]
mov dl, 0x20
mov r9d, dword [rsp + 0x60]
imul r8d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
movsx eax, word [rsp + 0x30]
mov edx, 7
movsx r8d, word [rsp + 0x32]
mov rcx, rdi
mov r9d, dword [rsp + 0x60]
imul r8d, eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov edx, dword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
add rsp, 0x50
pop rdi
ret
Function at 0x140005180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
xor ebx, ebx
mov dword [rbp + 0x180], 0x96f0e2e4
mov r8d, ebx
mov word [rbp + 0x184], 0x94
mov esi, edx
mov byte [rbp + 0x186], 1
mov r9d, ecx
nop
lea eax, [r8 - 0x5e]
xor byte [rbp + r8 + 0x180], al
inc r8
cmp r8, 5
jb 0x1400051c0
lea rax, [rbp + 0x180]
mov dword [rsp + 0x28], 0x52
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov dword [rsp + 0x2c], 0x43
mov dword [rbp + 0x180], 0xf0e2e4
mov byte [rbp + 0x184], 1
nop word [rax + rax]
lea eax, [rcx - 0x5e]
xor byte [rbp + rcx + 0x180], al
inc rcx
cmp rcx, 3
jb 0x140005210
lea rax, [rbp + 0x180]
mov dword [rsp + 0x38], 0x36
mov qword [rsp + 0x30], rax
mov rcx, rbx
mov dword [rsp + 0x3c], 0x27
mov dword [rbp + 0x180], 0xf6e2f7ec
mov word [rbp + 0x184], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x5e]
xor byte [rbp + rcx + 0x180], al
inc rcx
cmp rcx, 4
jb 0x140005260
lea rax, [rbp + 0x180]
mov dword [rsp + 0x48], 3
mov qword [rsp + 0x40], rax
mov rcx, rbx
mov dword [rsp + 0x4c], 0x48
mov dword [rbp + 0x180], 0xf99ec087
mov word [rbp + 0x184], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x5e]
xor byte [rbp + rcx + 0x180], al
inc rcx
cmp rcx, 4
jb 0x1400052b0
movzx r8d, r9b
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x50]
mov byte [rbp + 0x185], bl
call fcn.1400019d0
mov rcx, qword [0x14004b130]
lea rdx, [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax]
test al, al
je 0x14000538a
mov rcx, qword [0x14004b130]
lea r8, [rsp + 0x60]
mov r9d, 0x200
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
je 0x14000538a
mov qword [rsp + 0x270], rdi
lea rdi, [rsp + 0x28]
mov rcx, qword [rdi - 8]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x140005330
mov eax, dword [rdi]
lea rdx, [rsp + 0x60]
add rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000535b
inc ebx
add rdi, 0x10
cmp ebx, 3
jb 0x140005322
jmp 0x140005382
mov rcx, qword [0x14004b130]
lea r8, [rsp + 0x60]
mov eax, ebx
mov r9d, 0x200
add rax, rax
xor edx, edx
mov eax, dword [rsp + rax*8 + 0x2c]
mov dword [rsp + rax + 0x60], esi
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdi, qword [rsp + 0x270]
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400098f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x42], 0
je 0x140009913
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x41
jb 0x140009900
mov byte [rcx + 0x42], 0
mov rax, rcx
ret

Function at 0x140009920
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x52], 0
je 0x140009943
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x51
jb 0x140009930
mov byte [rcx + 0x52], 0
mov rax, rcx
ret

Function at 0x140009950
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x54], 0
je 0x140009973
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x53
jb 0x140009960
mov byte [rcx + 0x54], 0
mov rax, rcx
ret

Function at 0x140009980
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x84], 0
je 0x1400099a8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x83
jb 0x140009990
mov byte [rcx + 0x84], 0
mov rax, rcx
ret

Function at 0x1400099b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x82], 0
je 0x1400099d8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x81
jb 0x1400099c0
mov byte [rcx + 0x82], 0
mov rax, rcx
ret

Function at 0x1400099e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x68], 0
je 0x140009a03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x67
jb 0x1400099f0
mov byte [rcx + 0x68], 0
mov rax, rcx
ret

Function at 0x140009a10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6f], 0
je 0x140009a33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x6e
jb 0x140009a20
mov byte [rcx + 0x6f], 0
mov rax, rcx
ret

Function at 0x140009a40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x75], 0
je 0x140009a63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x74
jb 0x140009a50
mov byte [rcx + 0x75], 0
mov rax, rcx
ret

Function at 0x140009a70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x64], 0
je 0x140009a93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x63
jb 0x140009a80
mov byte [rcx + 0x64], 0
mov rax, rcx
ret

Function at 0x140009aa0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x35], 0
je 0x140009ac3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x34
jb 0x140009ab0
mov byte [rcx + 0x35], 0
mov rax, rcx
ret

Function at 0x140009ad0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x36], 0
je 0x140009af3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x35
jb 0x140009ae0
mov byte [rcx + 0x36], 0
mov rax, rcx
ret