joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ae50
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400f8040]
mov qword [rsp + 0x48], 0
lea rbx, [rsp + 0x20]
mov rdx, qword [rax]
mov qword [rsp + 0x58], rdx
xor edx, edx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x4d], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r8, str.Error_cleaning_up_spin_keys_for_thread__lu._n
mov edx, 0x35
mov rcx, rbx
mov r9d, eax
call fcn.140018870
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop word cs:[rax + rax]

Function at 0x14001b260
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x140121c20], 1
je 0x14001b300
lea rdi, [0x140121c20]
mov rcx, rdi
call fcn.14001ac00
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001a510
mov esi, dword [0x140121c20]
test esi, esi
jne 0x14001b2d8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400d0398], eax
cmp eax, 0xffffffff
je 0x1400cfe66
mov dword [0x140121c20], 1
mov rcx, rbp
call fcn.14001a7e0
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001aee0
cmp esi, 1
je 0x14001b2bc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call fcn.1400188b0
jmp 0x14001b2bc
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
mov rax, qword [0x28]
ud2

Function at 0x14001b310
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001aff0
mov rbx, rax
test rax, rax
je 0x14001b40c
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14001aaf0
cmp eax, 1
je 0x14001b418
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400cfe6c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400d0398]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400cfe6c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001ae50
nop
nop
Function at 0x14001b420
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001b440
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001b310

Function at 0x14001bc00
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r12, qword [0x1400f8040]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001bd60
cmp eax, 1
je 0x14001bc65
call fcn.14001ac00
lea r13, [rax + 8]
mov rdi, rax
mov rcx, r13
call fcn.14001a510
mov ebp, dword [rbx]
test ebp, ebp
je 0x14001bc88
cmp ebp, 1
jne 0x14001bd28
mov rcx, r13
call fcn.14001a7e0
mov rcx, rdi
call fcn.14001aee0
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x14001bdab
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x14001afc0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001b260
mov ecx, dword [0x1400d0398]
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rbp
test rax, rax
je 0x14001bd98
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call rbp
test rax, rax
je 0x14001bd80
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call rbp
test rax, rax
je 0x14001bd70
mov rdx, qword [rsp + 0x30]
mov rcx, r13
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
call fcn.14001a7e0
mov rcx, rdi
call fcn.14001aee0
jmp 0x14001bc65
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, ebp
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call fcn.1400188b0
mov rcx, r13
call fcn.14001a7e0
mov rcx, rdi
call fcn.14001aee0
jmp 0x14001bc65
mov eax, 0x16
jmp 0x14001bc67
call fcn.14001b310
test rax, rax
jne 0x14001bcfe
jmp 0x1400cfe9e
call fcn.14001b310
test rax, rax
jne 0x14001bcdb
jmp 0x1400cfe8f
call fcn.14001b310
test rax, rax
jne 0x14001bcb6
jmp 0x1400cfe85
call fcn.14000f7a0
nop
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2

Function at 0x14001c030
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c0a8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001ab00
cmp esi, dword [rbx + 0x48]
jae 0x14001c083
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001c083
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001ab50
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001b310
mov rbx, rax
jmp 0x14001c05d
Function at 0x14001c0c0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c1b8
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.14001ab00
mov rdi, qword [rbx + 0x50]
cmp esi, dword [rbx + 0x48]
jb 0x14001c183
lea r15d, [rsi + 1]
mov rcx, rdi
movsxd r14, r15d
lea rdx, [r14*8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov rdi, rax
test rax, rax
je 0x14001c1c5
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov r14, rax
test rax, rax
je 0x14001c1c5
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.14001ab50
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14001b310
mov rbx, rax
jmp 0x14001c0fa
mov rcx, r13
call fcn.14001ab50
mov eax, 0xc
jmp 0x14001c1a1

Function at 0x14001c260
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c288
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001b310
test rax, rax
jne 0x14001c27a
add rsp, 0x28
ret

Function at 0x14001c2f0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c318
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001b310
test rax, rax
jne 0x14001c30a
jmp 0x14001c30e

Function at 0x14001c430
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140121c28]
test eax, eax
jne 0x14001c448
xor eax, eax
add rsp, 0x28
ret
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c478
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001c43e
test byte [rax + 0x40], 3
je 0x14001c43e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001c440
call fcn.14001b310
test rax, rax
je 0x14001c43e
jmp 0x14001c45e
Function at 0x14001c490
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c4d0
test ebx, ebx
jle 0x14001c4c0
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001b310
test rax, rax
jne 0x14001c4ad
add rsp, 0x20
pop rbx
ret

Function at 0x14001c5c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c638
test byte [rbx + 0x40], 0xc
jne 0x14001c5ef
mov eax, dword [0x140121c28]
test eax, eax
jne 0x14001c600
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a510
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c623
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c623
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c64c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a7e0
call fcn.14001b310
mov rbx, rax
test rax, rax
jne 0x14001c5df
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c66a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001a7e0
call fcn.14001c4e0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c6e8
call fcn.14001a1d0
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c730
test rsi, rsi
je 0x14001c6fe
call fcn.14001c5c0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c720
mov edx, edi
call fcn.14001a2a0
call fcn.14001c5c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c740
call fcn.14001c5c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c5c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c6d6
call fcn.14001b310
mov rbx, rax
jmp 0x14001c6bc
call fcn.14001b310
jmp 0x14001c6fe
Function at 0x14001c680
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c638
test byte [rbx + 0x40], 0xc
jne 0x14001c5ef
mov eax, dword [0x140121c28]
test eax, eax
jne 0x14001c600
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a510
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c623
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c623
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c64c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a7e0
call fcn.14001b310
mov rbx, rax
test rax, rax
jne 0x14001c5df
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c66a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001a7e0
call fcn.14001c4e0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c6e8
call fcn.14001a1d0
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c730
test rsi, rsi
je 0x14001c6fe
call fcn.14001c5c0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c720
mov edx, edi
call fcn.14001a2a0
call fcn.14001c5c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c740
call fcn.14001c5c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c5c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c6d6
call fcn.14001b310
mov rbx, rax
jmp 0x14001c6bc
call fcn.14001b310
jmp 0x14001c6fe

Function at 0x14001c750
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001b260
mov ecx, dword [0x1400d0398]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c7c0
test esi, esi
je 0x14001c7a0
call fcn.14001c5c0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c7d0
mov edx, esi
call fcn.14001a2a0
call fcn.14001c5c0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001c5c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c5c0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001b310
mov rbx, rax
jmp 0x14001c771
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c78a
Function at 0x14001dc90
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rdi, [0x1400d03a8]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call fcn.14001ab00
mov rax, qword [rbx]
cmp dword [rax], 0xbab1f0ed
jne 0x14001dcd9
mov rax, qword [rbx]
mov eax, dword [rax + 4]
test eax, eax
jle 0x14001dcd9
mov rax, qword [rbx]
mov rcx, rdi
sub dword [rax + 4], 1
call fcn.14001ab50
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 fcn.1400188b0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
nop word cs:[rax + rax]
nop
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
neg eax
mov dword [rcx + 0xc], eax
mov rbx, rcx
lea rcx, [rcx + 0x20]
mov dword [rcx - 0x10], 0
call fcn.14001a7e0
lea rcx, [rbx + 0x18]
add rsp, 0x20
pop rbx
jmp fcn.14001a7e0

Function at 0x14001e140
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14001df60
test eax, eax
je 0x14001e168
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 fcn.14001a510
test eax, eax
jne 0x14001e191
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x14001e1a8
mov rcx, rdi
call fcn.14001a7e0
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14001dc90
lea r12, [rsi + 0x20]
mov rcx, r12
call fcn.14001a510
mov ebp, eax
test eax, eax
je 0x14001e1d0
mov rcx, rdi
call fcn.14001a7e0
mov edx, ebp
jmp 0x14001e193
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call fcn.14001a7e0
mov rcx, rdi
mov esi, eax
call fcn.14001a7e0
test esi, esi
mov edx, esi
cmove edx, eax
jmp 0x14001e193

Function at 0x14001e470
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.14001dc20
test eax, eax
jne 0x14001e4f0
mov rsi, qword [rbx]
mov edx, dword [rsi + 8]
test edx, edx
je 0x14001e4c0
lock sub dword [rsi + 8], 1
lea rcx, [rsi + 0x20]
call fcn.14001a7e0
lea rcx, [rsi + 0x18]
mov edi, eax
call fcn.14001a7e0
test edi, edi
cmove edi, eax
mov edx, edi
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp fcn.14001dc90
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.14001a510
mov edx, eax
test eax, eax
jne 0x14001e4ad
lock add dword [rsi + 0x10], 1
mov eax, dword [rsi + 0x10]
test eax, eax
je 0x14001e500
mov rcx, rdi
call fcn.14001a7e0
mov edx, eax
jmp 0x14001e4ad
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + 0x28]
call fcn.140019800
mov rcx, rdi
mov dword [rsp + 0x2c], eax
call fcn.14001a7e0
mov edx, dword [rsp + 0x2c]
test edx, edx
cmove edx, eax
jmp 0x14001e4ad
Function at 0x140091f30
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, rdi
call fcn.140091d40
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call rbp
movsxd r13, eax
cmp eax, 0xffffffff
je 0x140091f80
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call r12
cmp dword [rax], 4
je 0x140091f53
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140008f9c
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.1400099b0

Function at 0x140009640
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x140009667
and qword [r8], 0
call fcn.14000977c
mov rbx, rax
test rax, rax
je 0x140009760
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009757
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009757
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009757
mov rax, qword [0x140055cb0]
mov rbp, rdi
test rax, rax
je 0x1400096cf
inc dword [rax + 0x3c8]
mov rdx, qword [0x140055cc0]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140009757
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x14000972e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140055cb0]
test rax, rax
je 0x14000971c
dec dword [rax + 0x3c8]
mov rdx, qword [0x140055cc0]
mov rcx, rdi
call qword [0x140054008]
jmp 0x140009760
test r15d, r15d
jle 0x140009741
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140009752
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009762
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400099b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x140055ce4], 0
lea rsi, [0x140055ce0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x140009a17
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x1400099e5
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x1400099dd
not ebx
mov edx, ebx
test edi, edi
jle 0x140009a39
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x140009a1f
jmp 0x140009a73
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009a73
mov r9b, 0x23
cmp r8b, r9b
jne 0x140009a58
cmp byte [r10], r9b
jne 0x140009a58
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x140009a47
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000f86c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140055cb0]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000f8d5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000f8e0
lea rdx, [0x140047964]
mov rcx, rbx
mov rdi, rax
call fcn.14000977c
mov rbx, rax
test rax, rax
je 0x14000f8d5
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret