joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40da70
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004a0980]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004a0960]
test rbx, rbx
je 0x40dac4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40dabb
test rsi, rsi
je 0x40dabb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40daa0
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x004a0980]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x40dce0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x40dd20
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x40dd17
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x40dd22
add rax, 0x28
cmp rax, r9
jne 0x40dd04
xor eax, eax
repz ret

Function at 0x40dde0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp word [0x00400000], 0x5a4d
lea rbx, [0x00400000]
mov rsi, rcx
je 0x40de04
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call fcn.0040dca0
test eax, eax
je 0x40ddfb
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.0040dce0
Function at 0x40e6c0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov r14, rcx
movsxd r12, edx
mov r13, r8
call sub.msvcrt.dll_strlen
mov rsi, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x52]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040e880
sub rsp, rax
movsxd rdi, esi
movabs rax, 0x656d68732d636367
lea r15, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, rdi
mov rdx, r14
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
lea r14d, [rsi + 0x50]
mov byte [rsp + 0x2e], 0x2d
movsxd rbx, ebx
call sub.msvcrt.dll_memcpy
lea rax, [r15 + rdi + 0x10]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, r15
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, r14d
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 0x40e7a9
int3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x40e848
mov rcx, r12
call sub.msvcrt.dll_malloc
lea r9d, [rsi + 0x10]
mov rbx, rax
mov r10d, 0x40
bt rbx, r10
jae 0x40e7e4
mov r11d, r14d
sub r11d, r10d
movsxd r11, r11d
mov byte [r15 + r11], 0x41
sub r10d, 1
jne 0x40e7d0
mov dword [rbp - 0x54], r9d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
mov r9d, dword [rbp - 0x54]
je 0x40e845
lea r8d, [rsi + 0x51]
movzx ecx, ax
mov rdx, r15
call fcn.0040e640
cmp rax, rbx
mov rsi, rax
je 0x40e860
mov rcx, rbx
call fcn.004187d8
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 - 0x48]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [rsi + 0x10]
lea r8d, [rsi + 0x51]
movzx ecx, ax
mov rdx, r15
call fcn.0040e640
mov rsi, rax
jmp 0x40e81f
xor edx, edx
mov r8, r12
mov rcx, rbx
call sub.msvcrt.dll_memset
test r13, r13
je 0x40e81f
mov rcx, rbx
call r13
jmp 0x40e81f
Function at 0x4197b0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x004a1448]
test rbx, rbx
je 0x4197e0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [0x004a1448]
test rax, rax
je 0x419804
cmp dword [rax], 0xffffffff
je 0x419825
add rsp, 0x20
pop rbx
ret
lea r8, [0x00418a60]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ebe0
mov qword [0x004a1448], rax
mov rbx, rax
jmp 0x4197c1
lea r8, [0x00418a60]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ebe0
mov qword [0x004a1448], rax
jmp 0x4197d5
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]

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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rcx, qword [0x004a1450]
test rcx, rcx
je 0x419f62
cmp dword [rcx], 1
je 0x419e32
call fcn.00419da0
mov rax, qword [0x004a1448]
test rax, rax
je 0x419f85
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x419e60
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.00419610
cmp qword [0x004a4050], 0
mov rsi, rax
je 0x419e52
test rax, rax
je 0x419e52
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rsi + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x30], rax
movabs rax, 0x1feedbab1
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsi + 0x38], 0xffffffffffffffff
mov qword [rsi + 0x60], 0
mov qword [rsi + 0x68], rax
mov dword [rsi + 0xb8], 0
mov qword [rsi + 0x28], 0
call rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call rbx
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
lea r9, [rsi + 0x28]
mov dword [rsp + 0x20], 0
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x419fcd
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rsi + 0xc0], eax
movzx eax, byte [rsi + 0x40]
mov dword [rsi + 0xbc], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [rsi + 0x40], al
mov rax, qword [0x004a1448]
test rax, rax
je 0x419fa9
mov rdx, rsi
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x419fcd
mov rbx, rsi
jmp 0x419e52
lea rcx, str._pthread_tls_once_shmem
xor r8d, r8d
mov edx, 4
call fcn.0041ebe0
mov qword [0x004a1450], rax
mov rcx, rax
jmp 0x419e28
lea r8, [0x00418a60]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ebe0
mov qword [0x004a1448], rax
jmp 0x419e42
lea r8, [0x00418a60]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ebe0
mov qword [0x004a1448], rax
jmp 0x419f4b
call sub.msvcrt.dll_abort
nop
nop word cs:[rax + rax]
lea rcx, str._pthread_key_dest_shmem
xor r8d, r8d
mov edx, 8
jmp fcn.0041ebe0
Function at 0x419fe0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rcx, qword [0x004a1450]
test rcx, rcx
je 0x419f62
cmp dword [rcx], 1
je 0x419e32
call fcn.00419da0
mov rax, qword [0x004a1448]
test rax, rax
je 0x419f85
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x419e60
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.00419610
cmp qword [0x004a4050], 0
mov rsi, rax
je 0x419e52
test rax, rax
je 0x419e52
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rsi + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x30], rax
movabs rax, 0x1feedbab1
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsi + 0x38], 0xffffffffffffffff
mov qword [rsi + 0x60], 0
mov qword [rsi + 0x68], rax
mov dword [rsi + 0xb8], 0
mov qword [rsi + 0x28], 0
call rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call rbx
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
lea r9, [rsi + 0x28]
mov dword [rsp + 0x20], 0
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x419fcd
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rsi + 0xc0], eax
movzx eax, byte [rsi + 0x40]
mov dword [rsi + 0xbc], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [rsi + 0x40], al
mov rax, qword [0x004a1448]
test rax, rax
je 0x419fa9
mov rdx, rsi
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x419fcd
mov rbx, rsi
jmp 0x419e52
lea rcx, str._pthread_tls_once_shmem
xor r8d, r8d
mov edx, 4
call fcn.0041ebe0
mov qword [0x004a1450], rax
mov rcx, rax
jmp 0x419e28
lea r8, [0x00418a60]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ebe0
mov qword [0x004a1448], rax
jmp 0x419e42
lea r8, [0x00418a60]
lea rcx, str._pthread_tls_shmem
mov edx, 4
call fcn.0041ebe0
mov qword [0x004a1448], rax
jmp 0x419f4b
call sub.msvcrt.dll_abort
nop
nop word cs:[rax + rax]
lea rcx, str._pthread_key_dest_shmem
xor r8d, r8d
mov edx, 8
jmp fcn.0041ebe0
Function at 0x41d070
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rcx, qword [0x004a1498]
mov esi, edx
test rcx, rcx
je 0x41d012
call fcn.0041ef90
cmp dword [rbx], 0xbab1f00d
jne 0x41d039
mov eax, dword [rbx + 4]
test eax, eax
jle 0x41d039
mov eax, dword [rbx + 4]
mov rcx, qword [0x004a1498]
sub eax, 1
test rcx, rcx
mov dword [rbx + 4], eax
je 0x41cfe2
call fcn.0041eef0
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
ret
lea r8, [0x0041cc00]
lea rcx, str.mutex_global_shmem
mov edx, 0x10
call fcn.0041ebe0
mov rcx, rax
mov qword [0x004a1498], rax
call fcn.0041eef0
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
ret
lea rcx, str.mutex_global_shmem
lea r8, [0x0041cc00]
mov edx, 0x10
call fcn.0041ebe0
mov qword [0x004a1498], rax
mov rcx, rax
jmp 0x41cfa7
call qword [sym.imp.msvcrt.dll___iob_func]
lea r9, str.c:_crossdev_src_winpthreads_svn6233_src_mutex.c
lea rcx, [rax + 0x60]
lea r8, str._m___valid__LIFE_MUTEX____m___busy___0_
lea rdx, [0x00485b88]
mov dword [rsp + 0x20], 0x3a
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
nop
lea r8, [0x0041cc00]
lea rcx, str.mutex_global_shmem
mov edx, 0x10
jmp fcn.0041ebe0
Function at 0x41ebe0
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 r15, rcx
movsxd r12, edx
mov r13, r8
call sub.msvcrt.dll_strlen
mov r14, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x51]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040e880
sub rsp, rax
movsxd rdi, r14d
movabs rax, 0x656d68732d636367
lea rsi, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, rdi
mov rdx, r15
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
lea r15d, [r14 + 0x50]
mov byte [rsp + 0x2e], 0x2d
movsxd rbx, ebx
call sub.msvcrt.dll_memcpy
lea rax, [rsi + rdi + 0x10]
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 0x41ecc9
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x41ed62
mov rcx, r12
add r14d, 0x10
call sub.msvcrt.dll_malloc
mov r10d, 0x40
mov rbx, rax
bt rbx, r10
jae 0x41ed04
mov r11d, r15d
sub r11d, r10d
movsxd r11, r11d
mov byte [rsi + r11], 0x41
sub r10d, 1
jne 0x41ecf0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x41ed5f
mov rdx, rsi
movzx ecx, ax
mov r9d, r14d
mov r8d, r15d
call fcn.0041eb60
cmp rax, rbx
mov rsi, rax
je 0x41ed79
mov rcx, rbx
call fcn.004187d8
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 fcn.0041eb60
mov rsi, rax
jmp 0x41ed39
xor edx, edx
mov r8, r12
mov rcx, rbx
call sub.msvcrt.dll_memset
test r13, r13
je 0x41ed39
mov rcx, rbx
call r13
jmp 0x41ed39
Function at 0x41f8f0
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rcx, qword [0x004a14d8]
mov esi, edx
test rcx, rcx
je 0x41f890
call fcn.0041ef90
mov rcx, qword [rbx]
cmp dword [rcx], 0xbab1f0ed
jne 0x41f8b7
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
test ecx, ecx
jle 0x41f8b7
mov rcx, qword [rbx]
sub dword [rcx + 4], 1
mov rcx, qword [0x004a14d8]
test rcx, rcx
je 0x41f860
call fcn.0041eef0
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
ret
lea r8, [0x0041f500]
lea rcx, str.rwl_global_shmem
mov edx, 0x10
call fcn.0041ebe0
mov rcx, rax
mov qword [0x004a14d8], rax
call fcn.0041eef0
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
ret
lea rcx, str.rwl_global_shmem
lea r8, [0x0041f500]
mov edx, 0x10
call fcn.0041ebe0
mov qword [0x004a14d8], rax
mov rcx, rax
jmp 0x41f817
call qword [sym.imp.msvcrt.dll___iob_func]
lea r9, str.c:_crossdev_src_winpthreads_svn6233_src_rwlock.c
lea rcx, [rax + 0x60]
lea r8, str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
lea rdx, str.Assertion_failed:___s___file__s__line__d_n
mov dword [rsp + 0x20], 0x30
call sub.msvcrt.dll_fprintf
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
lea r8, [0x0041f500]
lea rcx, str.rwl_global_shmem
mov edx, 0x10
jmp fcn.0041ebe0

Function at 0x420df0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [0x0046bdc0]
lea rcx, str.__terminate_handler_sh
mov edx, 8
jmp fcn.0040e6c0

Function at 0x420e10
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [0x0046bdd0]
lea rcx, str.__unexpected_handler_sh
mov edx, 8
jmp fcn.0040e6c0

Function at 0x44d000
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 fcn.0044cee0
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x44d050
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x44d01a
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14000197c
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rax, qword [rbp + 0x10]
lea rdx, [0x14000a07c]
mov rcx, rax
call sub.msvcrt.dll_fopen
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400019cb
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rax, str.Failed_to_create_file__s._n
mov rcx, rax
call fcn.140001450
mov eax, 0
jmp 0x140001a26
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp + 0x20]
je 0x140001a21
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rax, str.Failed_to_write_data_to_file__s._n
mov rcx, rax
call fcn.140001450
mov eax, 0
jmp 0x140001a26
mov eax, 1
add rsp, 0x30
pop rbp
ret
Function at 0x1400020d0
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.140007e40
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.140007e40
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 0x140002140
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e094]
mov rbx, rcx
test esi, esi
jle 0x140002270
mov rax, qword [0x14000e098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000218b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002215
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002170
mov rcx, rbx
call fcn.140002b90
mov rdi, rax
test rax, rax
je 0x140002292
mov rax, qword [0x14000e098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002cd0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002277
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000220e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002220
add dword [0x14000e094], 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 [0x14000e098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000220e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400020d0
nop dword [rax]
xor esi, esi
jmp 0x140002198
mov rax, qword [0x14000e098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400020d0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400020d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002800
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e0e0]
test rbx, rbx
je 0x14000285c
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 0x140002853
test rsi, rsi
je 0x140002853
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002838
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002b90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a900]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002bb0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002bb8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002bb0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002c0d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002c04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002bb0
add rax, 0x28
cmp rax, r9
jne 0x140002bf0
xor eax, eax
ret

Function at 0x140002c10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a900]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002c2f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002c38
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002c2f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002cd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a900]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002cef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002cf8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140044570
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x208
mov rax, qword [0x140236f40]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x1e0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov qword [rsp + 0x50], rax
lea rdx, str.Cheat_Engine_7.5
lea rcx, [rsp + 0xb0]
call fcn.14006c260
nop
lea rdx, [0x140135b1c]
lea rcx, [rsp + 0xd0]
call fcn.14006c260
nop
lea rdx, [0x140135b28]
lea rcx, [rsp + 0xf0]
call fcn.14006c260
nop
lea rdx, str.x64dbg
lea rcx, [rsp + 0x110]
call fcn.14006c260
nop
lea rdx, str.FileGrab
lea rcx, [rsp + 0x130]
call fcn.14006c260
nop
lea rdx, str.Nigger
lea rcx, [rsp + 0x150]
call fcn.14006c260
nop
lea rdx, str.Beammer
lea rcx, [rsp + 0x170]
call fcn.14006c260
nop
lea rdx, str.Process_Hacker
lea rcx, [rsp + 0x190]
call fcn.14006c260
nop
lea rdx, str.dexzunpacker
lea rcx, [rsp + 0x1b0]
call fcn.14006c260
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x90]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
call fcn.14006bf10
nop
lea r9, [fcn.14006c190]
mov r8d, 9
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0xb0]
call fcn.14010c7c0
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
jmp 0x14004472d
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
je 0x1400447f1
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 7
jbe 0x140044771
mov dword [rsp + 0x24], 1
jmp 0x140044779
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400447a2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140044530
movzx eax, al
test eax, eax
je 0x1400447ec
mov rcx, qword [rsp + 0x48]
call fcn.14006c110
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x88], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x14004471f
lea rcx, [rsp + 0x1e0]
call fcn.14006d480
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.14010ce80
add rsp, 0x208
pop rdi
pop rsi
ret