joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d0f0
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 sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14002d1f0
lea r13, [rbx + 0x68]
mov rcx, r13
call dbg.pthread_spin_lock
cmp esi, dword [rbx + 0x48]
jae 0x14002d170
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call dbg.pthread_spin_unlock
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
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sym.realloc
mov rdi, rax
test rax, rax
je 0x14002d1fd
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sym.realloc
mov r14, rax
test rax, rax
je 0x14002d1fd
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sym.memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sym.memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x14002d13f
call sym.__pthread_self_lite.part.0
mov rbx, rax
jmp 0x14002d12a
mov rcx, r13
call dbg.pthread_spin_unlock
mov eax, 0xc
jmp 0x14002d15d

Function at 0x14002d230
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002d260
mov rdx, qword [rax + 0x1d8]
mov rax, rdx
add rsp, 0x28
ret
call sym.__pthread_self_lite.part.0
xor edx, edx
test rax, rax
jne 0x14002d24a
mov rax, rdx
add rsp, 0x28
ret

Function at 0x14002d280
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002d2a8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x14002d29a
add rsp, 0x28
ret

Function at 0x14002d310
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002d338
add rax, 0x18
add rsp, 0x28
ret
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x14002d32a
jmp 0x14002d32e
Function at 0x14002d450
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14003de08]
test eax, eax
jne 0x14002d468
xor eax, eax
add rsp, 0x28
ret
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002d498
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14002d45e
test byte [rax + 0x40], 3
je 0x14002d45e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14002d460
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x14002d47e
jmp 0x14002d45e

Function at 0x14002d4b0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002d4f0
test ebx, ebx
jle 0x14002d4e0
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 sym.__pthread_self_lite.part.0
test rax, rax
jne 0x14002d4cd
add rsp, 0x20
pop rbx
ret

Function at 0x14002d5e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14002d658
test byte [rbx + 0x40], 0xc
jne 0x14002d60f
mov eax, dword [0x14003de08]
test eax, eax
jne 0x14002d620
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call dbg.pthread_mutex_lock
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14002d643
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14002d643
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14002d66c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg.pthread_mutex_unlock
call sym.__pthread_self_lite.part.0
mov rbx, rax
test rax, rax
jne 0x14002d5ff
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 0x14002d68a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call dbg.pthread_mutex_unlock
call dbg._pthread_invoke_cancel
nop
nop dword [rax + rax]
Function at 0x14002d6a0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14002d710
call sym._pthread_time_in_ms_from_timespec
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14002d748
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14002d7a0
test esi, esi
je 0x14002d726
call dbg.pthread_testcancel
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14002d780
mov edx, edi
call dbg._pthread_wait_for_single_object
call dbg.pthread_testcancel
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002d790
call dbg.pthread_testcancel
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call dbg.pthread_testcancel
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14002d6e5
call sym.__pthread_self_lite.part.0
mov rbx, rax
jmp 0x14002d6e5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002d6fe
call sym.__pthread_self_lite.part.0
jmp 0x14002d726
call sym.__pthread_self_lite.part.0
mov rbx, rax
jmp 0x14002d6e1

Function at 0x14002d7b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14002d820
test esi, esi
je 0x14002d800
call dbg.pthread_testcancel
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14002d830
mov edx, esi
call dbg._pthread_wait_for_single_object
call dbg.pthread_testcancel
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call dbg.pthread_testcancel
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call dbg.pthread_testcancel
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call sym.__pthread_self_lite.part.0
mov rbx, rax
jmp 0x14002d7d1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002d7ea
Function at 0x14002d840
Capabilities:
Get thread local storage value
Hijack thread execution

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4f8
mov rsi, rcx
test rcx, rcx
je 0x14002d930
lea rdi, [0x140031548]
mov rcx, rdi
call dbg.pthread_mutex_lock
mov rcx, rsi
call dbg.__pthread_get_pointer
mov rcx, rdi
mov rbx, rax
call dbg.pthread_mutex_unlock
test rbx, rbx
je 0x14002d930
mov rcx, qword [rbx + 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002d930
lea rdi, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x14002d930
lea rbp, [rbx + 0x38]
mov rcx, rbp
call dbg.pthread_mutex_lock
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002da40
movzx edx, byte [rbx + 0x40]
cmp rsi, qword [rax + 0x1d8]
je 0x14002d948
mov eax, dword [rbx + 0x44]
not eax
test al, 3
je 0x14002d9a0
test dl, 3
jne 0x14002d920
and edx, 0xfffffffc
or edx, 1
mov byte [rbx + 0x40], dl
lock add dword [0x14003de08], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14002d90f
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbp
call dbg.pthread_mutex_unlock
xor eax, eax
jmp 0x14002d935
mov rcx, rbp
call dbg.pthread_mutex_unlock
test byte [rbx + 0x40], 0xc
je 0x14002d917
nop
mov eax, 3
add rsp, 0x4f8
pop rbx
pop rsi
pop rdi
pop rbp
ret
test dl, 3
jne 0x14002d920
and edx, 0xfffffffc
or edx, 1
mov byte [rbx + 0x40], dl
lock add dword [0x14003de08], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14002d96d
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rbx + 0x44]
mov edx, eax
not edx
and edx, 3
jne 0x14002d90f
and eax, 0xfffffffe
mov rcx, rbp
mov dword [rbx + 0x44], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xfffffff3
or eax, 4
mov byte [rbx + 0x40], al
call dbg.pthread_mutex_unlock
call dbg._pthread_invoke_cancel
nop dword [rax]
test dl, 0xc
jne 0x14002d920
and edx, 0xf
jne 0x14002d930
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 0x14002d90f
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
lea rax, [dbg._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
lock add dword [0x14003de08], 1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14002da28
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x14002d90f
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x14002d8d0
movzx edx, byte [rbx + 0x40]
jmp 0x14002d8dd
Function at 0x14002da60
Capabilities:
Get thread local storage value
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140031548]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call dbg.pthread_mutex_lock
mov rcx, rbx
call dbg.__pthread_get_pointer
test rax, rax
je 0x14002dad8
cmp qword [rax + 0x1d8], rbx
jne 0x14002dad8
test byte [rax + 0x40], 0xc
jne 0x14002dad8
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x14002dad8
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x14002dad8
mov rcx, rdi
call dbg.pthread_mutex_unlock
test esi, esi
je 0x14002daf0
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x14002daf8
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp dbg.pthread_cancel
mov rcx, rdi
call dbg.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor eax, eax
jmp 0x14002dae5
mov eax, 0x16
jmp 0x14002dae5

Function at 0x14002dc90
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov rdi, rdx
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14002dd00
cmp esi, 1
ja 0x14002dd0d
lea rbp, [rbx + 0x38]
mov rcx, rbp
call dbg.pthread_mutex_lock
test rdi, rdi
je 0x14002dcd4
mov eax, dword [rbx + 0x44]
and eax, 1
mov dword [rdi], eax
mov eax, dword [rbx + 0x44]
mov rcx, qword [rbx + 0x1d8]
and eax, 0xfffffffe
or eax, esi
mov dword [rbx + 0x44], eax
call dbg.test_cancel_locked
mov rcx, rbp
call dbg.pthread_mutex_unlock
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sym.__pthread_self_lite.part.0
mov rbx, rax
test rax, rax
jne 0x14002dcb6
mov eax, 0x16
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x14002dd20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
mov rdi, rdx
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14002dd98
mov ebp, esi
and ebp, 0xfffffffd
jne 0x14002dda5
lea r12, [rbx + 0x38]
mov rcx, r12
call dbg.pthread_mutex_lock
test rdi, rdi
je 0x14002dd68
mov eax, dword [rbx + 0x44]
and eax, 2
mov dword [rdi], eax
mov eax, dword [rbx + 0x44]
mov rcx, qword [rbx + 0x1d8]
and eax, 0xfffffffd
or eax, esi
mov dword [rbx + 0x44], eax
call dbg.test_cancel_locked
mov rcx, r12
call dbg.pthread_mutex_unlock
mov eax, ebp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call sym.__pthread_self_lite.part.0
mov rbx, rax
test rax, rax
jne 0x14002dd48
mov ebp, 0x16
mov eax, ebp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14002e050
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rbp, rdx
test rcx, rcx
je 0x14002e170
lea rdi, [0x140031548]
mov rcx, rdi
call dbg.pthread_mutex_lock
mov rcx, rsi
call dbg.__pthread_get_pointer
mov rcx, rdi
mov rbx, rax
call dbg.pthread_mutex_unlock
test rbx, rbx
je 0x14002e170
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14002e170
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x14002e170
test byte [rbx + 0x44], 4
jne 0x14002e180
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002e1a0
cmp rsi, qword [rax + 0x1d8]
je 0x14002e1d0
mov eax, dword [rbx + 0xbc]
mov rcx, qword [rbx + 0x28]
test eax, eax
je 0x14002e0fb
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002e10a
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14002e11e
call rsi
mov qword [rbx + 0x30], 0
test rbp, rbp
je 0x14002e1b8
mov rax, qword [rbx + 8]
lea rcx, [rbx + 0x38]
mov qword [rbp], rax
call dbg.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call dbg.pthread_spin_destroy
cmp eax, 1
je 0x14002e1d7
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x14002e190
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, 3
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, 0x16
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbx
call sym.push_pthread_mem.part.0
xor eax, eax
jmp 0x14002e166
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x14002e0d6
jmp 0x14002e0e3
lea rcx, [rbx + 0x38]
call dbg.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
jmp 0x14002e144
mov eax, 0x24
jmp 0x14002e175
call sym.replace_spin_keys.part.0
nop
nop dword [rax]
Function at 0x14002e1e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [0x140031548]
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 0x14002e300
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14002e300
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x14002e300
test byte [rbx + 0x44], 4
jne 0x14002e320
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x140031558]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002e360
mov rdx, qword [rax + 0x1d8]
cmp rsi, rdx
je 0x14002e3a0
mov edx, dword [rbx + 0xbc]
mov rcx, qword [rbx + 0x28]
test edx, edx
jne 0x14002e287
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14002e340
mov rcx, qword [rbx + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14002e29b
call rsi
mov qword [rbx + 0x30], 0
test rdi, rdi
je 0x14002e378
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 0x14002e3b2
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x14002e390
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 0x14002e283
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov eax, 0x10
jmp 0x14002e2ee
call sym.__pthread_self_lite.part.0
xor edx, edx
test rax, rax
jne 0x14002e255
jmp 0x14002e25c
lea rcx, [rbx + 0x38]
call dbg.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
jmp 0x14002e2c0
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x14002e2e4
mov rcx, rbp
call dbg.pthread_mutex_unlock
mov eax, 0x24
jmp 0x14002e2ee
call sym.replace_spin_keys.part.0
nop
nop dword [rax + rax]
Function at 0x1400016ba
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rbx
mov eax, 0x21b0
call fcn.1400149c0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x2150], ecx
mov eax, dword [rbp + 0x2150]
mov qword [rbp + 0xd0], rax
mov r10, qword [0x140107080]
lea rcx, [rbp + 0xd0]
lea rdx, [rbp + 0xe0]
lea rax, [rbp + 0x118]
mov r9, rcx
mov r8, rdx
mov edx, 0x410
mov rcx, rax
call r10
mov rax, qword [rbp + 0x118]
test rax, rax
jne 0x140001728
mov ebx, 1
jmp 0x1400018c1
mov rax, qword [rbp + 0x118]
lea rcx, [rbp + 0x114]
lea rdx, [rbp + 0x120]
mov r9, rcx
mov r8d, 0x2000
mov rcx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
setne al
test al, al
je 0x1400018a9
mov dword [rbp + 0x212c], 0
jmp 0x14000188e
mov eax, dword [rbp + 0x212c]
mov rdx, qword [rbp + rax*8 + 0x120]
mov rax, qword [rbp + 0x118]
lea rcx, [rbp - 0x40]
mov r9d, 0x104
mov r8, rcx
mov rcx, rax
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
setne al
test al, al
je 0x140001887
lea rax, [rbp + 0x212b]
mov rcx, rax
call fcn.140071c30
lea rcx, [rbp + 0x212b]
lea rdx, [rbp - 0x40]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call fcn.1400a9590
lea rax, [rbp + 0x212b]
mov rcx, rax
call fcn.140071c60
lea rax, [rbp - 0x60]
mov r8d, 0
lea rdx, str.SbieDll.dll
mov rcx, rax
call fcn.14002f2a0
cmp rax, 0xffffffffffffffff
jne 0x140001855
lea rax, [rbp - 0x60]
mov r8d, 0
lea rdx, str.Api_log.dll
mov rcx, rax
call fcn.14002f2a0
cmp rax, 0xffffffffffffffff
jne 0x140001855
lea rax, [rbp - 0x60]
mov r8d, 0
lea rdx, str.Dir_watch.dll
mov rcx, rax
call fcn.14002f2a0
cmp rax, 0xffffffffffffffff
jne 0x140001855
lea rax, [rbp - 0x60]
mov r8d, 0
lea rdx, str.dbghelp.dll
mov rcx, rax
call fcn.14002f2a0
cmp rax, 0xffffffffffffffff
je 0x14000185c
mov eax, 1
jmp 0x140001861
mov eax, 0
test al, al
je 0x140001871
mov ebx, 2
mov esi, 0
jmp 0x140001876
mov esi, 1
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400a9cb0
cmp esi, 1
jne 0x1400018c1
add dword [rbp + 0x212c], 1
mov edx, dword [rbp + 0x212c]
mov eax, dword [rbp + 0x114]
mov eax, eax
shr rax, 3
cmp rdx, rax
jb 0x14000176a
mov rdx, qword [0x140107078]
mov rax, qword [rbp + 0x118]
mov rcx, rax
call rdx
mov ebx, 0
mov eax, ebx
jmp 0x1400018e2
add rsp, 0x21b0
pop rbx
pop rsi
pop rbp
ret
Function at 0x1400018ed
Capabilities:
Enumerate process modules

Disassembly:
push rbp
mov eax, 0x1050
call fcn.1400149c0
sub rsp, rax
lea rbp, [rsp + 0x80]
lea rdx, [rbp - 0x54]
lea rax, [rbp - 0x50]
mov r8, rdx
mov edx, 0x1000
mov rcx, rax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
sete al
test al, al
je 0x14000192e
mov eax, 1
jmp 0x1400019b1
mov eax, dword [rbp - 0x54]
shr eax, 2
mov dword [rbp + 0xfc4], eax
mov dword [rbp + 0xfc8], 0
jmp 0x1400019a3
mov dword [rbp + 0xfcc], 0
jmp 0x140001995
mov eax, dword [rbp + 0xfcc]
mov eax, dword [rbp + rax*4 - 0x50]
mov ecx, eax
call fcn.1400016ba
mov dword [rbp + 0xfc0], eax
cmp dword [rbp + 0xfc0], 2
jne 0x14000198e
mov eax, dword [rbp + 0xfc0]
mov dword [rbp + 0xfc8], eax
mov eax, dword [rbp + 0xfcc]
mov eax, dword [rbp + rax*4 - 0x50]
mov dword [rbp + 0xfbc], eax
add dword [rbp + 0xfcc], 1
mov eax, dword [rbp + 0xfcc]
cmp eax, dword [rbp + 0xfc4]
jb 0x140001952
cmp dword [rbp + 0xfc8], 2
jne 0x140001946
mov eax, 0
add rsp, 0x1050
pop rbp
ret
Function at 0x140013c20
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 fcn.14001e100
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001e100
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140013c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140107154]
mov rbx, rcx
test esi, esi
jle 0x140013dc0
mov rax, qword [0x140107158]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140013cdb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140013d65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140013cc0
mov rcx, rbx
call fcn.1400146e0
mov rdi, rax
test rax, rax
je 0x140013de2
mov rax, qword [0x140107158]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014820
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140107158]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013dc7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140013d5e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140013d70
add dword [0x140107154], 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 [0x140107158]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140013d5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140013c20
nop dword [rax]
xor esi, esi
jmp 0x140013ce8
mov rax, qword [0x140107158]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140013c20
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140013c20
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140014350
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401071c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401071a0]
test rbx, rbx
je 0x1400143ac
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 eax, eax
jne 0x1400143a3
test rsi, rsi
je 0x1400143a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014388
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]