joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1403e2dd0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140768f00]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x1403e2ea0
cmp qword [rax + 0x60], 0
jne 0x1403e2ec0
lea rcx, [0x14043d408]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x1403e2ed0
cmp qword [rax + 0x1d8], r12
jne 0x1403e2ed0
test byte [rax + 0x40], 0xc
jne 0x1403e2ed0
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x1403e2ed0
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x1403e2ed0
mov rax, qword [rbx]
test rax, rax
je 0x1403e2f30
cmp qword [rax + 0x60], 0
jne 0x1403e2f50
lea rcx, [0x14043d408]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x1403e2f60
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x1403e2f68
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x1403e2dfb
test rax, rax
jne 0x1403e2ec0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x1403e2e06
mov rax, qword [rbx]
test rax, rax
je 0x1403e2f00
cmp qword [rax + 0x60], 0
jne 0x1403e2f20
lea rcx, [0x14043d408]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x1403e2edf
test rax, rax
jne 0x1403e2f20
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x1403e2eea
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x1403e2e6a
test rax, rax
jne 0x1403e2f50
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x1403e2e75
xor eax, eax
jmp 0x1403e2ef4
mov eax, 0x16
jmp 0x1403e2ef4
Function at 0x1403e31e0
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x1403e3449
test rdi, rdi
je 0x1403e321a
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.DLL_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x1403e3287
add ebx, 1
cmp ebx, 1
je 0x1403e3390
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x1403e3255
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1403e348f
cmp qword [r12 + 0x30], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x1403e3432
xor edx, edx
test rsi, rsi
je 0x1403e32ff
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x1403e3460
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1403e33f0
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x1403e33c0
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x1403e33a0
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
call r13
jmp 0x1403e3255
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x1403e336f
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x1403e3345
mov edx, 0xf
cmp eax, 0xe
jg 0x1403e3345
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x1403e3345
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x1403e3400
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1403e348f
mov qword [r12 + 0x68], 0xffffffffffffffff
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x1403e343e
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x1403e3480
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x1403e32ff
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
jmp 0x1403e344e
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x1403e3ed0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x1403e3ef0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
test eax, eax
jne 0x1403e3f38
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x1403e3ee4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_LocalFree]
jmp 0x1403e3f25

Function at 0x1403e3f60
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x1407d75c0]
call qword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x1403e4018
mov rdx, qword [0x1407d7500]
lea rcx, [0x1407d7500]
mov rax, qword [rdx + 8]
test rax, rax
je 0x1403e3fe8
cmp rdx, rcx
jne 0x1403e3fca
mov qword [rdx], rax
cmp rax, rcx
je 0x1403e3fcf
nop dword [rax]
test rax, rax
je 0x1403e3ffa
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x1403e3fb8
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x1403e3ffa
mov rdx, rax
jmp 0x1403e3fc6
lea rcx, [0x1407d7600]
call qword [sym.imp.KERNEL32.DLL_FindAtomA]
test ax, ax
jne 0x1403e4036
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.DLL_DeleteAtom]
jmp 0x1403e3ffa
Function at 0x1400023c0
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x28], 0
lea rcx, [0x1400378cc]
lea r9, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
call sub.shell32.dll_SHGetKnownFolderPath
mov rcx, qword [rsp + 0x28]
test eax, eax
je 0x140002404
call sub.ole32.dll_CoTaskMemFree
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x140002423
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140006f30
mov rcx, qword [rsp + 0x28]
call sub.ole32.dll_CoTaskMemFree
mov rax, rsi
add rsp, 0x30
pop rsi
ret
Function at 0x1400053e0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140005480
jmp 0x14000546f
jae 0x14000554e
cmp r8, 0x201
jae 0x140005480
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400054e6
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400054be
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14001c6d0
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x14000550f
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400055ba
mov r8d, r13d
cmp r12, r8
jne 0x140005460
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400055ee
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000546f
jmp 0x140005480
cmp r14, r8
jb 0x140005608
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140006f30
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1400055a3
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140002370
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x14000558e
jmp 0x1400055a3
lea rcx, str.internal_error:_entered_unreachable_code_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_src_vecmod.rs
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14001d170
jmp 0x14000561d
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14001d520
ud2
Function at 0x14000c6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x270
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rdi, qword [rdx + 8]
cmp rdi, 0xffffffffffffffff
je 0x14000c7a1
mov eax, dword [rdx + 0x10]
movzx ebx, word [rdx + 0x40]
movzx r15d, word [rdx + 0x42]
movzx r14d, word [rdx + 0x44]
mov dword [rdx + 0x10], 0
cmp eax, 1
jne 0x14000c70a
mov r12, qword [rdx]
cmp bx, 0x2e
jne 0x14000c7bc
test r15w, r15w
je 0x14000c70a
mov eax, r15d
xor eax, 0x2e
or ax, r14w
jne 0x14000c7bc
mov r14, rdx
lea rbx, [rbp - 0x60]
mov r8d, 0x250
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x14000c7ad
mov rbx, qword [r14]
lea r14, [rbp - 0x60]
mov r15, qword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x14000c75d
mov rcx, rdi
mov rdx, r14
call r15
test eax, eax
je 0x14000c7ad
cmp word [rbp - 0x34], 0x2e
jne 0x14000c77a
movzx eax, word [rbp - 0x32]
test ax, ax
je 0x14000c750
cmp ax, 0x2e
jne 0x14000c77a
cmp word [rbp - 0x30], 0
je 0x14000c750
lock inc qword [rbx]
jle 0x14000c848
lea rcx, [rsi + 0x10]
lea rdx, [rbp - 0x60]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memcpy
mov eax, 8
jmp 0x14000c827
mov qword [rsi], 0
jmp 0x14000c833
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x12
jne 0x14000c810
xor eax, eax
jmp 0x14000c830
lock inc qword [r12]
jle 0x14000c848
lea rax, [rdx + 0x14]
add rdx, 0x46
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x1c]
movups xmmword [rsi + 0x2c], xmm2
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
lea rcx, [rsi + 0x42]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi + 8], r12
mov word [rsi + 0x3c], bx
mov word [rsi + 0x3e], r15w
mov word [rsi + 0x40], r14w
mov qword [rsi], 1
jmp 0x14000c833
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov qword [rsi + 8], 0
mov eax, 0x10
mov qword [rsi + rax], rbx
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x270
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
ud2
Function at 0x14000ce60
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x140039300]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000cef6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x14000cf23
test eax, eax
js 0x14000cf02
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x14000cf19
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, [0x140039360]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.140006b50
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.140003910
mov ecx, 7
int 0x29
ud2
Function at 0x14000e170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x14000e1dc
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x14000e1dc
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x14000e1dc
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x14000e288
cmp byte [rdx], 0xed
jne 0x14000e291
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x14000e291
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x14000e221
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x14000e37b
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.14000a280
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x14000e3a0
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x14000e32e
test rdi, rdi
je 0x14000e320
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x14000e2b8
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x14000e320
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x14000e2b0
cmp r10b, 0xe0
jb 0x14000e29a
cmp r10b, 0xed
jne 0x14000e2ef
cmp r8, rax
je 0x14000e320
lea r8, [r9 + 2]
cmp r8, rax
je 0x14000e320
cmp byte [r9 + 1], 0x9f
ja 0x14000e31c
add r9, 3
mov r8, r9
jmp 0x14000e2b0
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x14000e2b0
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x14000e2b0
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x14000e34e
add rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.14001c6d0
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x14000e32b
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call fcn.14001c6d0
mov rdx, r15
jmp 0x14000e23c
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.14001c6d0
mov rbx, qword [rsi + 0x10]
jmp 0x14000e279
Function at 0x14001bf74
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001bfbe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001bfbe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001bfbe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001bfbe
cmp dword [rcx + 0x84], 0xe
jbe 0x14001bfbe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001bfc0
xor al, al
add rsp, 0x28
ret
Function at 0x140011370
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x580
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rax, qword gs:[0x60]
cmp byte [rax + 2], 0
jne 0x1400115e7
xor edi, edi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], edi
lea r8, [rsp + 0x50]
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov r9d, 8
mov dword [rsp + 0x20], 0x19
mov edx, 7
call fcn.1400119d0
cmp qword [rsp + 0x50], rdi
jne 0x1400115e7
mov rax, qword gs:[0x60]
test byte [rax + 0xbc], 0x70
jne 0x1400115e7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [rbx + 0x70], 2
jne 0x1400115e7
cmp dword [rax + 0x74], edi
jne 0x1400115e7
mov qword [rsp + 0x40], rdi
call qword [0x140015718]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov r9d, 8
mov dword [rsp + 0x20], 0x19
mov edx, 0x1e
call fcn.1400119d0
mov dword [rsp + 0x48], edi
call qword [0x140015718]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x48]
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov r9d, 4
mov dword [rsp + 0x20], 0x19
mov edx, 0x1f
call fcn.1400119d0
cmp qword [rsp + 0x40], rdi
jne 0x1400115e7
cmp dword [rsp + 0x48], edi
je 0x1400115e7
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [0x140015770]
mov dword [rsp + 0xd0], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rsp + 0xa0]
call rbx
cmp qword [rsp + 0xe8], rdi
jne 0x1400115e7
cmp qword [rsp + 0xf0], rdi
jne 0x1400115e7
cmp qword [rsp + 0xf8], rdi
jne 0x1400115e7
cmp qword [rsp + 0x100], rdi
jne 0x1400115e7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x10
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32QueryWorkingSet]
mov ebx, dword [rsp + 0x58]
xor ecx, ecx
add ebx, 0x14
mov r9d, 4
shl ebx, 4
mov r8d, 0x3000
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32QueryWorkingSet]
cmp qword [rsi], rdi
jbe 0x1400115b1
lea rbx, [rsi + 8]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x68]
and rcx, 0xfffffffffffff000
mov r8d, 0x30
call qword [0x140015748]
test byte [rsp + 0x8c], 0xf0
je 0x1400115a3
mov rax, qword [rbx]
bt rax, 8
jae 0x1400115e7
test al, 0xe0
je 0x1400115e7
inc edi
add rbx, 8
movsxd rax, edi
cmp rax, qword [rsi]
jb 0x140011570
lea rdx, [0x140011610]
mov ecx, 1
call qword [0x140015720]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x80000003
call qword [0x140015740]
lea rcx, [0x140011610]
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov al, 1
jmp 0x1400115e9
xor al, al
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140011a00
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140011620
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x10e8
call fcn.140012960
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x10d0], rax
lea rcx, [rsp + 0xa0]
call qword [0x140015730]
cmp dword [rsp + 0xc0], 2
jb 0x14001176c
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x40
call qword [0x140015758]
mov rax, qword [rsp + 0x68]
mov ecx, 0x80000000
and rax, 0xfffffffffff00000
cmp rax, rcx
jb 0x14001176c
mov rax, qword [0x140015750]
lea rcx, str..PhysicalDrive0
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0
xor edx, edx
mov r8d, 3
mov dword [rsp + 0x20], 3
call rax
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
mov edx, 0x70000
call qword [0x140015768]
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x5c]
imul rax, rcx
mov ecx, dword [rsp + 0x54]
imul rax, rcx
imul rax, qword [rsp + 0x48]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp rax, 0x64
jb 0x14001176c
call fcn.140011790
test al, al
je 0x14001176c
lea r8, [rsp + 0x40]
mov edx, 0x1000
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
mov eax, dword [rsp + 0x40]
and eax, 0xfffffffc
cmp eax, 0xc8
jb 0x14001176c
mov al, 1
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.140011a00
add rsp, 0x10e8
ret
xor al, al
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.140011a00
add rsp, 0x10e8
ret

Function at 0x140012378
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400123c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400123c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400123c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400123c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400123c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400123c4
xor al, al
add rsp, 0x28
ret