joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001304e8
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100178108], rdi
je 0x100130548
cmp rax, rdi
jne 0x10013053b
mov r12d, 1
jmp 0x100130548
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100130521
mov eax, dword [0x100178100]
cmp eax, 1
jne 0x10013055d
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x1001305c4
mov eax, dword [0x100178100]
cmp eax, ebx
jne 0x1001305ba
mov dword [0x100178100], 1
lea r13, [0x100001c08]
lea rdi, [0x100001bf0]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x1001305ac
cmp eax, ebx
jne 0x1001305ac
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x1001305a1
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10013058a
cmp eax, ebx
je 0x1001305c4
mov eax, 0xff
jmp 0x10013070c
mov dword [0x100177464], 1
mov eax, dword [0x100178100]
cmp eax, 1
jne 0x1001305ec
lea rdx, [0x100001be8]
lea rcx, [0x100001b60]
call sub.msvcrt.dll__initterm
mov dword [0x100178100], 2
cmp r12d, ebx
jne 0x1001305fb
mov rax, rbx
xchg qword [0x100178108], rax
cmp qword [0x100178120], rbx
je 0x100130623
lea rcx, [0x100178120]
call fcn.100130cac
cmp eax, ebx
je 0x100130623
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100178120]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x100130639
mov eax, 0xff
jmp 0x10013070c
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x1001306be
cmp word [rcx], bx
je 0x100130654
cmp edx, ebx
jne 0x1001306be
cmp word [rcx], bx
je 0x10013066a
cmp word [rcx], 0x20
ja 0x10013066a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100130654
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.10005060c
mov dword [0x100177460], eax
cmp dword [0x100177444], ebx
jne 0x1001306a8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100177464], ebx
jne 0x1001306bc
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100177460]
jmp 0x10013070c
cmp word [rcx], 0x22
jne 0x1001306d1
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100130645
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.100217000
add rsp, 0x28
jmp 0x1001304e8
Function at 0x100130830
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100176150]
jne 0x10013084b
rol rcx, 0x10
test cx, 0xffff
jne 0x100130847
ret 0
ror rcx, 0x10
jmp 0x100130e70
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100177520]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100177618]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100130ef5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100177520]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x100130f17
mov rax, qword [rsp + 0x88]
mov qword [0x100177618], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1001775b8], rax
mov rax, qword [0x100177618]
mov qword [0x100177490], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1001775a0], rax
mov dword [0x100177480], 0xc0000409
mov dword [0x100177484], 1
mov rax, qword [0x100176150]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100176158]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001ce0]
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, 0x88
ret

Function at 0x100130d0c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100130d59
cmp rcx, 0xffffffffffffffff
je 0x100130d59
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100130d51
cmp dword [rcx + 0x3c], edx
jl 0x100130d51
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100130d51
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100130d59
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001e310]
mov dword [rax], 1
mov rax, qword [0x14001e320]
mov dword [rax], 1
mov rax, qword [0x14001e330]
mov dword [rax], 1
mov rax, qword [0x14001e300]
mov dword [rax], 1
mov rax, qword [0x14001e1a0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
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 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400054ad
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 dword [rbp - 4], 0
cmp qword [rbp + 0x18], 0
je 0x1400054dc
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.nimCStrLen_1
mov rdx, rax
jmp 0x1400054e1
mov edx, 0
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov dword [rbp - 4], eax
mov dword [rbp - 8], 0
mov rcx, qword [rbp + 0x10]
call sym.fflush
mov dword [rbp - 8], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400125f5
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
lea rax, str.execShellCmd
mov qword [rbp - 0x38], rax
lea rax, str.C:_nim_nim_1.4.8libpureos.nim
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], 0
mov word [rbp - 0x20], 0
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.nimFrame_5
mov qword [rbp - 8], 0
mov qword [rbp - 0x30], 0x766
lea rax, str.C:_nim_nim_1.4.8libpureos.nim
mov qword [rbp - 0x28], rax
mov dword [rbp - 0xc], 0
mov rcx, qword [rbp + 0x10]
call sym.nimToCStringConv_3
mov rcx, rax
call sym.system
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x10], 0
mov eax, dword [rbp - 0xc]
mov ecx, eax
call sym.exitStatusLikeShell__vmXOHpv9cjOB5AHi6OOlhbw
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0x10]
cdqe
mov qword [rbp - 8], rax
call sym.popFrame_5
mov rax, qword [rbp - 8]
add rsp, 0x60
pop rbp
ret
Function at 0x140012e3b
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
lea rax, str.main
mov qword [rbp - 0x48], rax
lea rax, str.C:_nim_src_nim_keyloggerkeylogger.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov word [rbp - 0x30], 0
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.nimFrame_7
mov qword [rbp - 0x40], 0x22
lea rax, str.C:_nim_src_nim_keyloggerkeylogger.nim
mov qword [rbp - 0x38], rax
call sym.Stealth__D9a9cwAjn9cugk5F9aXovNNgHA_2
mov qword [rbp - 0x40], 0x23
lea rax, str.C:_nim_src_nim_keyloggerkeylogger.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x40], 0x4d
lea rax, str.C:_nim_nim_1.4.8lib_systemiterators_1.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 8], 8
mov qword [rbp - 0x40], 0x4e
lea rax, str.C:_nim_nim_1.4.8lib_systemiterators_1.nim
mov qword [rbp - 0x38], rax
cmp qword [rbp - 8], 0xbe
jg 0x140012fdc
mov qword [rbp - 0x40], 0x24
lea rax, str.C:_nim_src_nim_keyloggerkeylogger.nim
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x40], 0x25
lea rax, str.C:_nim_src_nim_keyloggerkeylogger.nim
mov qword [rbp - 0x38], rax
movabs rax, 0xffffffff7fffffff
cmp qword [rbp - 0x10], rax
jle 0x140012f2b
mov eax, 0x80000000
cmp qword [rbp - 0x10], rax
jl 0x140012f44
mov rax, qword [rbp - 0x10]
mov r8d, 0x7fffffff
mov rdx, 0xffffffff80000000
mov rcx, rax
call sym.raiseRangeErrorI
mov qword [rbp - 0x18], 0
mov rax, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
movsx rax, ax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0xffffffffffff8001
jne 0x140012f8e
mov qword [rbp - 0x40], 0x26
lea rax, str.C:_nim_src_nim_keyloggerkeylogger.nim
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.save__6tyO8B8Wi9aH18uICFChiNw
jmp 0x140012f8f
nop
mov qword [rbp - 0x40], 0x50
lea rax, str.C:_nim_nim_1.4.8lib_systemiterators_1.nim
mov qword [rbp - 0x38], rax
mov edx, 0
mov rax, qword [rbp - 8]
add rax, 1
jno 0x140012fb6
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x58]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x140012fcf
call sym.raiseOverflow
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
jmp 0x140012ed4
nop
jmp 0x140012e9e

Function at 0x1400134c0
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 r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop
Function at 0x1400140f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140036bc8]
test eax, eax
je 0x14001418a
lea rax, [0x140036ba0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140036bd0]
mov qword [rbp - 8], rax
jmp 0x14001416e
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 0x140014162
cmp qword [rbp - 0x10], 0
je 0x140014162
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 0x140014128
lea rax, [0x140036ba0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001418b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140014290
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 0x1400142b8
mov eax, 0
jmp 0x140014306
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 0x1400142e1
mov eax, 0
jmp 0x140014306
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 0x140014301
mov eax, 0
jmp 0x140014306
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14001430c
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 0x14001438a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140014381
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 0x140014381
mov rax, qword [rbp - 8]
jmp 0x14001439f
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 0x140014354
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140011118
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
jmp 0x140029280
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x188]
mov rax, qword [0x140044018]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14004c104]
call fcn.140011e0b
xor edx, edx
mov ecx, 4
call fcn.1400116c7
mov qword [rbp + 8], rax
mov dword [rbp + 0x28], 0x1c
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.1400118ca
mov eax, dword [rbp + 0x160]
cmp dword [rbp + 0x34], eax
jne 0x14002931f
mov r8d, dword [rbp + 0x30]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.1400111bd
test eax, eax
jne 0x1400292eb
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x20]
lea rdx, [0x14003a110]
call fcn.140011b90
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400116ef
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140011186
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002a050
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14004c0fe]
call fcn.140011e0b
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14002a0a7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14002a1b3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14002a14c
cmp qword [rbp + 0x28], 0
jle 0x14002a14c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14002a0ec
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011d25
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14002a1a2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14002a1a2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400113de
Capabilities:
Enumerate threads

Disassembly:
jmp 0x140026ca0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x408]
mov rax, qword [0x140044018]
xor rax, rbp
mov qword [rbp + 0x3b8], rax
mov dword [rbp + 0x384], 0
lea rcx, [0x14004c103]
call fcn.140011e0b
mov edx, 0x20
mov rcx, qword [rbp + 0x3e8]
call fcn.14001185c
mov rcx, qword [rbp + 0x3e8]
call fcn.140011b95
mov qword [rbp + 0x398], rax
mov eax, dword [rbp + 0x384]
or eax, 1
mov dword [rbp + 0x384], eax
xor edx, edx
mov ecx, 4
call fcn.1400116c7
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x140026dde
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x258]
call fcn.1400114f1
mov qword [rbp + 0x398], rax
mov rax, qword [rbp + 0x398]
mov qword [rbp + 0x3a0], rax
mov r8, qword [rbp + 0x3a0]
lea rdx, str.Failed_to_create_snapshot:
lea rcx, [rbp + 0x298]
call fcn.140011e60
mov qword [rbp + 0x3a8], rax
mov rax, qword [rbp + 0x3a8]
mov qword [rbp + 0x3b0], rax
mov rdx, qword [rbp + 0x3b0]
lea rcx, [rbp + 0x228]
call fcn.14001153c
lea rdx, [0x140043c30]
lea rcx, [rbp + 0x228]
call fcn.140011f50
nop
lea rcx, [rbp + 0x298]
call fcn.1400112c1
lea rcx, [rbp + 0x258]
call fcn.1400112c1
nop
mov dword [rbp + 0x68], 0x1c
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call fcn.1400118ca
test eax, eax
jne 0x140026e9c
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x308]
call fcn.1400114f1
mov qword [rbp + 0x398], rax
mov rax, qword [rbp + 0x398]
mov qword [rbp + 0x3a0], rax
mov r8, qword [rbp + 0x3a0]
lea rdx, str.Failed_to_get_first_thread:
lea rcx, [rbp + 0x348]
call fcn.140011e60
mov qword [rbp + 0x3a8], rax
mov rax, qword [rbp + 0x3a8]
mov qword [rbp + 0x3b0], rax
mov rdx, qword [rbp + 0x3b0]
lea rcx, [rbp + 0x2d8]
call fcn.14001153c
lea rdx, [0x140043c30]
lea rcx, [rbp + 0x2d8]
call fcn.140011f50
nop
lea rcx, [rbp + 0x348]
call fcn.1400112c1
lea rcx, [rbp + 0x308]
call fcn.1400112c1
nop
mov rax, qword [rbp + 0x3e0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
cmp dword [rbp + 0x74], eax
jne 0x140026ec1
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x3e8]
call fcn.140011613
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call fcn.1400111bd
test eax, eax
jne 0x140026e9c
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x3e8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400394f0]
call fcn.140011b90
mov rax, rdi
mov rcx, qword [rbp + 0x3b8]
xor rcx, rbp
call fcn.1400116ef
lea rsp, [rbp + 0x3c8]
pop rdi
pop rbp
ret
Function at 0x1400117df
Capabilities:
Terminate process

Disassembly:
jmp 0x14002f380
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 0x140011843
Capabilities:
Suspend thread

Disassembly:
jmp 0x1400293a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rcx, [0x14004c103]
call fcn.140011e0b
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x140029470
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0xf8]
call fcn.1400114f1
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x170], rax
mov r8, qword [rbp + 0x170]
lea rdx, str.Failed_to_suspend_thread:
lea rcx, [rbp + 0x138]
call fcn.140011e60
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x180], rax
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0xc8]
call fcn.14001153c
lea rdx, [0x140043c30]
lea rcx, [rbp + 0xc8]
call fcn.140011f50
nop
lea rcx, [rbp + 0x138]
call fcn.1400112c1
lea rcx, [rbp + 0xf8]
call fcn.1400112c1
nop
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x140011992
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14001f500
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x688
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6a8]
mov rax, qword [0x140044018]
xor rax, rbp
mov qword [rbp + 0x658], rax
lea rcx, [0x14004c103]
call fcn.140011e0b
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1400116c7
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x14001f603
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x518]
call fcn.1400114f1
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x638]
mov qword [rbp + 0x640], rax
mov r8, qword [rbp + 0x640]
lea rdx, str.Failed_to_create_snapshot:
lea rcx, [rbp + 0x558]
call fcn.140011e60
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov qword [rbp + 0x650], rax
mov rdx, qword [rbp + 0x650]
lea rcx, [rbp + 0x4e8]
call fcn.14001153c
lea rdx, [0x140043c30]
lea rcx, [rbp + 0x4e8]
call fcn.140011f50
nop
lea rcx, [rbp + 0x558]
call fcn.1400112c1
lea rcx, [rbp + 0x518]
call fcn.1400112c1
nop
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011889
test eax, eax
jne 0x14001f6c1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x5c8]
call fcn.1400114f1
mov qword [rbp + 0x638], rax
mov rax, qword [rbp + 0x638]
mov qword [rbp + 0x640], rax
mov r8, qword [rbp + 0x640]
lea rdx, str.Failed_to_get_first_process:
lea rcx, [rbp + 0x608]
call fcn.140011e60
mov qword [rbp + 0x648], rax
mov rax, qword [rbp + 0x648]
mov qword [rbp + 0x650], rax
mov rdx, qword [rbp + 0x650]
lea rcx, [rbp + 0x598]
call fcn.14001153c
lea rdx, [0x140043c30]
lea rcx, [rbp + 0x598]
call fcn.140011f50
nop
lea rcx, [rbp + 0x608]
call fcn.1400112c1
lea rcx, [rbp + 0x5c8]
call fcn.1400112c1
nop
mov rcx, qword [rbp + 0x680]
call fcn.1400114b0
mov rdx, rax
lea rcx, [rbp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14001f6e6
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x14001f6f7
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011bf9
test eax, eax
jne 0x14001f6c1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140039c50]
call fcn.140011b90
mov rax, rdi
mov rcx, qword [rbp + 0x658]
xor rcx, rbp
call fcn.1400116ef
lea rsp, [rbp + 0x668]
pop rdi
pop rbp
ret