joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180010b00
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18003e068], eax
je 0x180010b1c
mov eax, 0x10dd
add rsp, 0x28
ret
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x18003e090]
mov qword [rsp + 0x40], rbp
xor ebp, ebp
mov qword [rsp + 0x20], rdi
test rbx, rbx
je 0x180010bae
mov qword [rsp + 0x48], rsi
nop
mov rax, qword [rbx + 0x20]
lea r9, [rsp + 0x30]
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
movzx edx, byte [rax + 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [rbx + 8], ebp
jne 0x180010b91
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x180010b91
xor edx, edx
mov rdi, rsi
and rdi, 0xffffffffffff0000
mov rcx, rsi
lea r8d, [rdx + 0x60]
call fcn.180015470
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x48], rax
mov qword [rdi + 0x10], rsi
mov qword [rbx + 0x20], rbp
mov rdi, qword [rbx]
mov edx, 0x30
mov rcx, rbx
call fcn.180012694
mov rbx, rdi
test rdi, rdi
jne 0x180010b40
mov rsi, qword [rsp + 0x48]
mov qword [0x18003e090], rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, qword [0x18003e060]
mov rdi, rax
test rbx, rbx
je 0x180010c04
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 0x10000
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180010bd0
mov rdi, qword [0x18003e088]
test rdi, rdi
je 0x180010c32
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rdi]
mov edx, sendto
mov rcx, rdi
call fcn.180012694
mov rdi, rbx
test rbx, rbx
jne 0x180010c10
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov qword [0x18003e088], rbp
mov dword [0x18003e068], ebp
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
ret

Function at 0x180010c60
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x18003e068], 0
je 0x180010c77
mov eax, 0x10dd
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x18003e068], ecx
jne 0x180010c6d
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x18003e060]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x18003e090], rdi
mov qword [0x18003e088], rdi
mov qword [0x18003e080], rdi
test rbx, rbx
je 0x180010cf0
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180010ce8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180010cc0
jmp 0x180010cf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x18003e07c], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x180011160
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x18003e07c]
mov rdi, rcx
test eax, eax
jne 0x180011203
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x18001118a
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, sendto
mov qword [rsp + 0x30], rbx
call fcn.180012274
mov rbx, rax
test rax, rax
jne 0x1800111a6
lea edi, [rax + 8]
jmp 0x1800111c9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1800111e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, sendto
mov rcx, rbx
call fcn.180012694
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x18003e07c], edi
mov qword [0x18003e080], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x18003e088]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x18003e088], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1040170
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x104017d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x104018d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1040175
lea eax, [rcx + 1]
jmp 0x104019b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x10401ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1040194
sub eax, 3
jb 0x10401ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x104021d
sar eax, 1
movsxd rbp, eax
jb 0x1040204
jmp 0x10401dc
add ebx, ebx
jne 0x10401da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1040204
inc ecx
add ebx, ebx
jne 0x10401ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1040204
call r11
adc ecx, ecx
add ebx, ebx
jne 0x10401fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x10401ec
add ecx, 2
jmp 0x1040209
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01040132
jmp 0x104017d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5bc400
mov dl, 0x27
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1040269
cmp rsi, rcx
jae 0x1040271
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1040250
cmp al, 0x8f
ja 0x1040250
cmp byte [rsi - 2], 0xf
je 0x1040256
sub al, 0xe8
cmp al, 1
ja 0x104023a
cmp rsi, rcx
jae 0x1040271
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1040240
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1040271
lodsb al, byte [rsi]
jmp 0x1040250
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc32000]
mov eax, dword [rdi]
or eax, eax
je 0x10402ce
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc40000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x104027e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x10402c8
mov qword [rbx], rax
add rbx, 8
jmp 0x104029e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1040312
cmp al, 0xef
ja 0x10402fa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x10402da
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x10402e9
mov eax, dword [rdi]
add rdi, 4
jmp 0x10402e9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1040366
sub rsp, 0xffffffffffffff80
jmp 0x469460
Function at 0x1400013d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x80
mov eax, dword [0x140061650]
xor ecx, ecx
cmp dword [0x140074188], 2
mov rbx, rdx
movups xmm0, xmmword [str.jagmysy_]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x140061654]
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x44], al
jl 0x14000157a
movdqa xmm0, xmmword [str.11111111111111119999999999999999]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140061950]
mov eax, 5
movdqa xmm4, xmmword [0x1400619a0]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [str.3333]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140061970]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140061970]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140001460
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x15
jge 0x1400015bf
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x15
jl 0x140001590
lea rcx, [rsp + 0x30]
call fcn.140001310
xor r9d, r9d
lea r8, str.GAME_OVER_
mov rdx, rbx
xor ecx, ecx
add rsp, 0x80
pop rbx
jmp qword [sym.imp.USER32.dll_MessageBoxA]

Function at 0x1400015f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140005a30
test eax, eax
je 0x140001615
lea rdx, str.Caught_by_BeingDebugged_PEB_check_
call fcn.1400013d0
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret
Function at 0x140001620
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140074178]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x20], 0
je 0x14000166e
lea rdx, str.Caught_by_CheckRemoteDebuggerPresent_
call fcn.1400013d0
mov ecx, 0x1001
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400533a0
add rsp, 0x38
ret

Function at 0x140001680
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
lea rdx, str.OllyDbg____CPU_
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rdx, str.Immunity_Debugger____CPU_
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x1400016b1
test rbx, rbx
je 0x1400016c9
lea rdx, str.Caught_by_FindWindow__WindowName__
call fcn.1400013d0
mov ecx, 0x1005
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x1400016d0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x4e0
mov rax, qword [0x140074178]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
lea rax, str.cheatengine_x86_64.exe
xor edx, edx
mov qword [r11 - 0x48], rax
lea rcx, [r11 - 0x284]
lea rax, str.ollydbg.exe
mov r8d, 0x234
mov qword [r11 - 0x40], rax
lea rax, str.ida.exe
mov qword [r11 - 0x38], rax
lea rax, str.ida64.exe
mov qword [r11 - 0x30], rax
lea rax, str.radare2.exe
mov qword [r11 - 0x28], rax
lea rax, str.x64dbg.exe
mov qword [r11 - 0x20], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x24]
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x260]
mov edx, 4
lea rax, [rsp + 0x20]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001780
movups xmm0, xmmword [rax]
lea rdx, [rsp + 0x260]
mov qword [rsp + 0x4f0], rbx
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, qword [rax + 0x30]
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140001820
lea rcx, str._Warning__It_is_impossible_to_check_process_list.
call fcn.140001310
jmp 0x14000186b
lea rbx, [rsp + 0x4a0]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x28c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001895
add rbx, 8
lea rax, [rsp + 0x4d0]
cmp rbx, rax
jne 0x140001830
lea rdx, [rsp + 0x260]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001820
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1400533a0
add rsp, 0x4e0
pop rdi
ret
lea rdx, str.Caught_by_ProcessFileName_
call fcn.1400013d0
mov ecx, 0x1009
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400018b0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
lea rcx, str.OLLYDBG
call qword [sym.imp.USER32.dll_FindWindowW]
xor edx, edx
lea rcx, [0x140061308]
mov rbx, rax
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x1400018e1
test rbx, rbx
je 0x1400018f9
lea rdx, str.Caught_by_FindWindow__ClassName__
call fcn.1400013d0
mov ecx, 0x1005
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140001900
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140001926
lea rdx, str.Caught_by_IsDebuggerPresent_
call fcn.1400013d0
mov ecx, 0x1002
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x140001930
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140005a47
test eax, eax
je 0x140001955
lea rdx, str.Caught_by_NtGlobalFlag_PEB_check_
call fcn.1400013d0
mov ecx, 0x1003
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x140001960
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140074178]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
mov dword [rsp + 0x60], 0
lea rcx, str.ntdll.dll
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140001a14
lea rdx, str.NtQueryInformationProcess
mov qword [rsp + 0x70], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140001a0f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x60]
mov r9d, 0x30
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x30]
mov rcx, rax
xor edx, edx
call rbx
test eax, eax
js 0x140001a0f
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140001a0f
cmp byte [rax + 2], 0
je 0x140001a0f
lea rdx, str.Caught_by_NtQueryInformationProcess__ProcessDebugPort__
call fcn.1400013d0
mov ecx, 0x1004
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400533a0
add rsp, 0x78
ret

Function at 0x140001a30
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x28
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140001a8f
lea rdx, str.NtSetInformationThread
mov qword [rsp + 0x20], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140001a8a
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp rax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140001aa0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140074178]
xor rax, rsp
mov qword [rbp + 0x300], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], WSAGetLastError
xor eax, eax
lea r8, str.antidbg
mov rbx, rcx
mov dword [rbp - 0x2c], eax
xor edi, edi
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov dword [rsp + 0x68], edi
xor edx, edx
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140001b47
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_DebugActiveProcess]
test eax, eax
jne 0x140001c25
mov ecx, 0x22b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r9, [rbp + 0xf0]
mov dword [rsp + 0x20], ebx
lea r8, str._ws__d
mov edx, 0x109
lea rcx, [rbp - 0x20]
call fcn.140001370
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x68], 0x22b
mov rcx, qword [rsp + 0x50]
jne 0x140001c14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Caught_by_DebugActiveProcess_
call fcn.1400013d0
mov ecx, 0x1008
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400533a0
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140001c50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140074178]
xor rax, rsp
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.140005a7d
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
shl rcx, 0x20
or rcx, qword [rsp + 0x38]
shl rax, 0x20
or rax, qword [rsp + 0x28]
sub rcx, rax
cmp rcx, 0x100000
jbe 0x140001cba
lea rdx, str.Caught_by_RDTSC_
call fcn.1400013d0
mov ecx, 0x3000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400533a0
add rsp, 0x58
ret

Function at 0x140001cd0
Capabilities:
Check for time delay via queryperformancecounter
Terminate process

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140074178]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.140005a5f
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
sub rax, qword [rsp + 0x28]
cmp rax, 0x1e
jle 0x140001d26
lea rdx, str.Caught_by_QueryPerformanceCounter_
call fcn.1400013d0
mov ecx, 0x3001
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400533a0
add rsp, 0x48
ret

Function at 0x140001d40
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call fcn.140005a6e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1e
jbe 0x140001d78
lea rdx, str.Caught_by_GetTickCount_
call fcn.1400013d0
mov ecx, 0x3002
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret

Function at 0x140001d80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x508
mov rax, qword [0x140074178]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x100010
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001e1c
cmp qword [rsp + 0x68], 0
jne 0x140001e04
cmp qword [rsp + 0x70], 0
jne 0x140001e04
cmp qword [rsp + 0x78], 0
jne 0x140001e04
cmp qword [rsp + 0x80], 0
jne 0x140001e04
cmp qword [rsp + 0x88], 0
jne 0x140001e04
cmp qword [rsp + 0x90], 0
je 0x140001e1c
lea rdx, str.Caught_by_a_Hardware_Debug_Register_Check_
call fcn.1400013d0
mov ecx, 0x2000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1400533a0
add rsp, 0x508
ret

Function at 0x140001e50
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001e6a
test ebx, ebx
je 0x140001e86
lea rdx, str.Caught_by_an_CloseHandle_exception_
call fcn.1400013d0
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140001e90
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, 1
call fcn.140005aa9
jmp 0x140001ea4
test ebx, ebx
je 0x140001ec0
lea rdx, str.Caught_by_a_Single_Step_Exception_
call fcn.1400013d0
mov ecx, 0x4001
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret

Function at 0x140001f70
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140001f83
add rsp, 0x28
ret