joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001104b
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
jmp 0x1400119e7
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0xbc]
and rax, 0x70
ret

Function at 0x14001114f
Capabilities:
Terminate process

Disassembly:
jmp 0x140012530
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
cmp dword [rbp + 4], 0
je 0x140012573
lea rdx, str.Caught_by_a_MOV_SS_Single_Step_Check_
mov cx, 0x2001
call fcn.1400112bc
mov ecx, 0x2001
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400111bd
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
jmp 0x140011bf0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1400250f7]
call fcn.14001146a
mov qword [rbp + 8], 0xffffffffffffffff
mov dword [rbp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp + 0x24], 0
je 0x140011c75
lea rdx, str.Caught_by_CheckRemoteDebuggerPresent_
mov cx, 0x1001
call fcn.1400112bc
mov ecx, 0x1001
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bd00]
call fcn.1400113cf
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14001121c
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x140011cd0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
lea rax, str.OLLYDBG
mov qword [rbp + 0x48], rax
lea rax, [0x14001c564]
mov qword [rbp + 0x68], rax
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140011d2e
mov dword [rbp + 4], 1
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140011d4c
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
je 0x140011d6d
lea rdx, str.Caught_by_FindWindow__ClassName__
mov cx, 0x1005
call fcn.1400112bc
mov ecx, 0x1005
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x140012600
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x1c8], rax
lea rcx, [0x1400250f7]
call fcn.14001146a
mov qword [rbp + 8], 0xffffffffffffffff
lea rax, [rbp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rbp + 0x74], 0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0xffffffffffffffff
je 0x140012684
cmp qword [rbp + 0x98], 0
jne 0x140012689
jmp 0x140012732
mov qword [rbp + 0xb8], 0
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x1400126bb
jmp 0x140012732
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 8], rax
lea rax, [rbp + 0x74]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x28]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [rbp + 0xb8]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 0
jl 0x140012732
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0xf8], rax
cmp qword [rbp + 0xf8], 0
je 0x140012732
mov rax, qword [rbp + 0xf8]
movzx eax, byte [rax + 2]
test eax, eax
je 0x140012732
lea rdx, str.Caught_by_NtQueryInformationProcess__ProcessDebugPort__
mov cx, 0x1004
call fcn.1400112bc
mov ecx, 0x1004
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp - 0x30]
lea rdx, [0x14001bec0]
call fcn.1400113cf
mov rcx, qword [rbp + 0x1c8]
xor rcx, rbp
call fcn.14001121c
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret

Function at 0x14001126c
Capabilities:
Terminate process

Disassembly:
jmp 0x140014760
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

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

Disassembly:
jmp 0x1400121e0
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp + 0x24], eax
call fcn.14001115e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x44]
sub ecx, eax
mov eax, ecx
cmp eax, 0x1e
jbe 0x14001222f
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
je 0x140012250
lea rdx, str.Caught_by_GetTickCount_
mov cx, 0x3002
call fcn.1400112bc
mov ecx, 0x3002
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14001127b
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
jmp 0x140011f50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x738
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x12a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x758]
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x6d8], rax
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x68
mov dword [rbp + 0x314], 0
lea r8, str.antidbg
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001201a
mov rcx, qword [rbp + 0x700]
call qword [sym.imp.ucrtbased.dll_atoi]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_DebugActiveProcess]
test eax, eax
je 0x14001200f
jmp 0x14001212a
mov ecx, 0x22b
call qword [sym.imp.ucrtbased.dll_exit]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x334], eax
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [rbp + 0x334]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0xf0]
lea r8, str._ws__d
mov edx, 0x109
lea rcx, [rbp + 0x360]
call fcn.140011320
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbp + 0x484], eax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x314]
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp + 0x314], 0x22b
jne 0x1400120ef
mov dword [rbp + 4], 1
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 4], 0
je 0x14001212a
lea rdx, str.Caught_by_DebugActiveProcess_
mov cx, 0x1008
call fcn.1400112bc
mov ecx, 0x1008
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp - 0x50]
lea rdx, [0x14001c070]
call fcn.1400113cf
mov rcx, qword [rbp + 0x6d8]
xor rcx, rbp
call fcn.14001121c
lea rsp, [rbp + 0x6e8]
pop rdi
pop rbp
ret
Function at 0x140011299
Capabilities:
Enumerate processes
Terminate process

Disassembly:
jmp 0x140012910
push rbp
push rsi
push rdi
sub rsp, 0x830
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x174
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x808], rax
lea rcx, [0x1400250f7]
call fcn.14001146a
lea rax, str.cheatengine_x86_64.exe
mov qword [rbp + 8], rax
lea rax, str.ollydbg.exe
mov qword [rbp + 0x10], rax
lea rax, str.ida.exe
mov qword [rbp + 0x18], rax
lea rax, str.ida64.exe
mov qword [rbp + 0x20], rax
lea rax, str.radare2.exe
mov qword [rbp + 0x28], rax
lea rax, str.x64dbg.exe
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x80], 0x238
lea rax, [rbp + 0x84]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call fcn.140011203
mov qword [rbp + 0x2d8], rax
mov dword [rbp + 0x5c0], 0x238
lea rax, [rbp + 0x5c4]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rax, [rbp + 0x80]
lea rcx, [rbp + 0x5c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x238
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x2d8]
call fcn.1400112b2
test eax, eax
jne 0x140012a20
lea rcx, str._Warning__It_is_impossible_to_check_process_list.
call fcn.1400111f9
jmp 0x140012ad8
lea rax, [rbp + 8]
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x2f8]
mov qword [rbp + 0x318], rax
mov rax, qword [rbp + 0x2f8]
add rax, 0x30
mov qword [rbp + 0x338], rax
jmp 0x140012a5f
mov rax, qword [rbp + 0x318]
add rax, 8
mov qword [rbp + 0x318], rax
mov rax, qword [rbp + 0x338]
cmp qword [rbp + 0x318], rax
je 0x140012abd
mov rax, qword [rbp + 0x318]
mov rax, qword [rax]
mov qword [rbp + 0x358], rax
lea rax, [rbp + 0xac]
mov qword [rbp + 0x58], rax
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x358]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140012abb
lea rdx, str.Caught_by_ProcessFileName_
mov cx, 0x1009
call fcn.1400112bc
mov ecx, 0x1009
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140012a4d
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x2d8]
call fcn.1400113f7
test eax, eax
jne 0x140012a20
mov rcx, qword [rbp + 0x2d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bde0]
call fcn.1400113cf
mov rcx, qword [rbp + 0x808]
xor rcx, rbp
call fcn.14001121c
lea rsp, [rbp + 0x810]
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001133e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400124c0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14001250c
lea rdx, str.Caught_by_IsDebuggerPresent_
mov cx, 0x1002
call fcn.1400112bc
mov ecx, 0x1002
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400113bb
Capabilities:
Terminate process

Disassembly:
jmp 0x140012c90
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
lea rax, [rbp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rcx, [rbp + 0x68]
call fcn.140011415
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
shl rax, 0x20
or rax, qword [rbp + 0x70]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
shl rax, 0x20
or rax, qword [rbp + 0x80]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0x100000
jbe 0x140012d4d
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
je 0x140012d6e
lea rdx, str.Caught_by_RDTSC_
mov cx, 0x3000
call fcn.1400112bc
mov ecx, 0x3000
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c1a0]
call fcn.1400113cf
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14001121c
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400113e3
Capabilities:
Hide thread from debugger

Disassembly:
jmp 0x1400127c0
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0x11
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x140012801
cmp qword [rbp + 0x28], 0
jne 0x140012803
jmp 0x14001283e
mov qword [rbp + 0x48], 0
lea rdx, str.NtSetInformationThread
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140012829
jmp 0x14001283e
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [rbp + 0x48]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140011410
Capabilities:
Check for time delay via queryperformancecounter
Terminate process

Disassembly:
jmp 0x140012b90
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.1400111ae
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0x1e
jle 0x140012c08
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
je 0x140012c29
lea rdx, str.Caught_by_QueryPerformanceCounter_
mov cx, 0x3001
call fcn.1400112bc
mov ecx, 0x3001
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c260]
call fcn.1400113cf
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14001121c
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011415
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x140011a1d
rdtsc
mov qword [rcx], rdx
mov qword [rcx + 8], rax
xor rax, rax
mov rax, 5
shr rax, 2
sub rax, rbx
cmp rax, rcx
rdtsc
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
ret

Function at 0x140011429
Capabilities:
Terminate process

Disassembly:
jmp 0x140012590
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
call fcn.14001104b
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1400125db
lea rdx, str.Caught_by_NtGlobalFlag_PEB_check_
mov cx, 0x1003
call fcn.1400112bc
mov ecx, 0x1003
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011438
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x1400119d0
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 2]
and rax, 0xff
ret

Function at 0x14001143d
Capabilities:
Terminate process

Disassembly:
jmp 0x140011da0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
lea rax, str.OllyDbg____CPU_
mov qword [rbp + 0x48], rax
lea rax, str.Immunity_Debugger____CPU_
mov qword [rbp + 0x68], rax
mov rdx, qword [rbp + 0x48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140011dfe
mov dword [rbp + 4], 1
mov rdx, qword [rbp + 0x68]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140011e1c
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
je 0x140011e3d
lea rdx, str.Caught_by_FindWindow__WindowName__
mov cx, 0x1005
call fcn.1400112bc
mov ecx, 0x1005
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140011483
Capabilities:
Terminate process

Disassembly:
jmp 0x140011b80
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f7]
call fcn.14001146a
mov dword [rbp + 4], 0
call fcn.140011438
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140011bcb
lea rdx, str.Caught_by_BeingDebugged_PEB_check_
mov cx, 0x1000
call fcn.1400112bc
mov ecx, 0x1000
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x2fc4c5960
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c6362
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c63fa
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c63de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c63d2
cmp qword [rbp - 0x10], 0
je 0x2fc4c63d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c6398
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c63fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c6500
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c6528
mov eax, 0
jmp 0x2fc4c6576
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c6551
mov eax, 0
jmp 0x2fc4c6576
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c6571
mov eax, 0
jmp 0x2fc4c6576
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c657c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c65fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c65f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c65f1
mov rax, qword [rbp - 8]
jmp 0x2fc4c660f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c65c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c4e10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c5812
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c58aa
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c588e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5882
cmp qword [rbp - 0x10], 0
je 0x2fc4c5882
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5848
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c58ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c59b0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c59d8
mov eax, 0
jmp 0x2fc4c5a26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5a01
mov eax, 0
jmp 0x2fc4c5a26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5a21
mov eax, 0
jmp 0x2fc4c5a26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5a2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5aaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5aa1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5aa1
mov rax, qword [rbp - 8]
jmp 0x2fc4c5abf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5a74
mov eax, 0
add rsp, 0x20
pop rbp
ret