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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r9
mov rbx, r8
mov rbp, rdx
mov r14, rcx
je 0x14026f152
mov rcx, qword [rcx]
call fcn.14026fc90
call fcn.14026ed30
xor r15d, r15d
mov rsi, rax
mov ecx, r15d
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x38], r15
xor eax, eax
mov dword [rsi + 0x48], eax
xchg dword [rsi + 0x48], ecx
mov qword [r14], rsi
lock inc dword [rsi + 0x48]
lock inc dword [rsi + 0x48]
lock inc dword [rsi + 0x48]
mov rax, qword [rsp + 0x70]
mov qword [rsi], r15
mov qword [rsi + 0x28], rbx
lea rbx, [r15 - 1]
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x20], rbp
test rdi, rdi
je 0x14026f1a9
mov rax, qword [rdi + 0x20]
jmp 0x14026f1ac
mov rax, rbx
mov qword [rsi + 0x10], rax
test rdi, rdi
je 0x14026f1ba
mov edx, dword [rdi + 8]
jmp 0x14026f1bd
mov edx, r15d
lea rax, [rsi + 8]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14026fee0]
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rbp, rax
test rax, rax
je 0x14026f2fb
mov qword [rsi], rax
test rdi, rdi
je 0x14026f20a
mov rdx, qword [rdi + 0x18]
cmp qword [r14], r15
je 0x14026f20a
test rdx, rdx
je 0x14026f20a
mov rcx, qword [r14]
call fcn.140270350
mov qword [rsi + 0x30], rbp
test rdi, rdi
je 0x14026f2db
cmp dword [rdi + 0x10], r15d
je 0x14026f228
mov edx, dword [rdi + 0x10]
mov rcx, r14
call fcn.140270140
movzx edx, byte [rdi + 0x28]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
cmp dword [rdi + 0x14], r15d
jl 0x14026f252
mov ebx, dword [rdi + 0x14]
mov eax, dword [0x14051e81c]
nop
cmp ebx, eax
jne 0x14026f2ba
lock inc dword [0x14051e81c]
jmp 0x14026f2ba
cmp dword [rdi + 0x14], 0xfffffffe
je 0x14026f2ba
mov eax, dword [0x14051e820]
nop
test eax, eax
js 0x14026f26c
mov ebx, dword [0x14051e820]
nop
jmp 0x14026f2ba
mov eax, dword [0x14051e820]
nop
cmp eax, ebx
jne 0x14026f280
mov ebx, dword [0x14051e820]
nop
jmp 0x14026f2ba
mov rcx, qword [0x14051e828]
nop
nop dword [rax + rax]
mov ebx, 1
lock xadd dword [0x14051e81c], ebx
inc ebx
cmp ebx, 0x40
jne 0x14026f2b2
mov eax, ebx
lock cmpxchg dword [0x14051e81c], r15d
mov ebx, r15d
mov eax, ebx
bt rcx, rax
jae 0x14026f290
test rdi, rdi
je 0x14026f2db
cmp dword [rdi + 0x14], 0xfffffffe
jne 0x14026f2db
mov rax, qword [r14]
cmp qword [rax], r15
je 0x14026f2e5
mov rdx, qword [rdi + 0x20]
mov rcx, rax
call fcn.140270290
jmp 0x14026f2e5
mov edx, ebx
mov rcx, r14
call fcn.1402701f0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call fcn.14026fc90
mov rax, rbp
jmp 0x14026f318
mov rcx, rsi
call fcn.14026fc90
mov rcx, rsi
call fcn.14026fc90
mov rcx, rsi
call fcn.14026fc90
xor eax, eax
mov qword [r14], r15
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14026f4a0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14051e86c]
test eax, eax
jne 0x14026f4d5
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov dword [0x14051e86c], eax
add rsp, 0x58
ret

Function at 0x14026f5b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov ecx, dword [0x1404f7180]
cmp ecx, 0xffffffff
je 0x14026f5ca
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14026f637
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x28], 1
mov r8, rbx
mov dword [rsp + 0x20], 0
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x14026f632
mov rcx, qword [rsp + 0x50]
mov dl, 1
call fcn.14026ff90
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x14026ff90
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x28
cmp dword [0x1404f7180], 0xffffffff
movzx esi, dl
mov rbp, rcx
jne 0x14026ffbb
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1404f7180], eax
cmp eax, 0xffffffff
je 0x1402700ee
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x20], r14
call fcn.14026f8a0
lea rcx, [0x14051e7f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
lea r14, [0x14051e3f0]
mov edi, ebx
mov rcx, qword [rdi + r14]
test rcx, rcx
je 0x14027001b
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x14027000d
cmp dword [rsp + 0x50], 0x103
je 0x14027001b
mov rcx, qword [rdi + r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + r14], rbx
add rdi, 8
cmp rdi, 0x400
jb 0x14026ffe7
lea rcx, [0x14051e7f0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test sil, sil
je 0x1402700d0
test rbp, rbp
je 0x140270079
call fcn.14026f8a0
lea rcx, [0x14051e7f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [r14 + rbx*8], 0
je 0x140270073
inc rbx
cmp rbx, 0x80
jb 0x140270055
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1402700c3
mov qword [r14 + rbx*8], rbp
jmp 0x1402700c3
mov ecx, dword [0x1404f7180]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
je 0x1402700d0
call fcn.14026f8a0
lea rcx, [0x14051e7f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, rbx
cmp qword [r14 + rdi*8], rsi
je 0x1402700b6
inc rdi
cmp rdi, 0x80
jb 0x1402700a2
jmp 0x1402700c3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14 + rdi*8], rbx
lea rcx, [0x14051e7f0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1404f7180]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x140270290
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov r9, qword [rcx]
lea rax, [0x1404f7188]
mov rdi, rdx
mov rsi, rcx
xor r8d, r8d
cmp qword [rax], r9
je 0x1402702cf
add r8, 0x90
add rax, 0x90
cmp r8, 0x4800
jb 0x1402702b2
jmp 0x1402702d3
mov qword [rax + 0x10], rdi
mov ecx, dword [0x14051e86c]
test ecx, ecx
jne 0x140270304
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
mov dword [0x14051e86c], ecx
mov ebx, 1
shl rbx, cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov rcx, qword [rsi]
test eax, eax
cmovne rbx, qword [rsp + 0x68]
and rbx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140271dd0
Capabilities:
Get disk information
Get file size
Read file via mapping

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x880
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x140271e11
xor al, al
jmp 0x140271ff5
mov qword [rsp + 0x878], rbp
lea rdx, [rsp + 0x30]
xor ebp, ebp
mov rcx, rdi
mov dword [rsp + 0x30], ebp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [rsp + 0x30]
mov word [rsi], bp
test eax, eax
jne 0x140271e40
test edx, edx
je 0x140271fea
shl rdx, 0x20
xor r9d, r9d
mov eax, eax
mov rcx, rdi
or rdx, rax
mov qword [rsp + 0x28], rbp
mov qword [r14], rdx
xor edx, edx
lea r8d, [r9 + 2]
mov qword [rsp + 0x870], r12
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r12, rax
test rax, rax
je 0x140271fe2
xor r9d, r9d
mov qword [rsp + 0x20], 1
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
je 0x140271fd9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, r15d
mov r8, rsi
mov rcx, rax
mov rdx, r14
call sub.KERNEL32.dll_K32GetMappedFileNameW
test eax, eax
je 0x140271fce
xor edx, edx
lea rcx, [rsp + 0x460]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x460]
mov ecx, 0x1ff
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x140271fce
mov eax, dword [0x14043a018]
lea rbx, [rsp + 0x460]
mov dword [rsp + 0x34], eax
movzx eax, word [0x14043a01c]
mov word [rsp + 0x38], ax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
mov word [rsp + 0x34], ax
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140271fb4
lea rcx, [rsp + 0x40]
call fcn.14026cd10
mov rdi, rax
cmp rax, 0x104
jae 0x140271fb4
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14026ce60
test eax, eax
jne 0x140271fb1
cmp word [rsi + rdi*2], 0x5c
jne 0x140271fb1
lea rax, [rsi + rdi*2]
mov edx, 0x104
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r8, [0x14043a020]
mov bpl, 1
lea rcx, [rsp + 0x250]
call fcn.14026aad0
mov r8, r15
lea rdx, [rsp + 0x250]
mov rcx, rsi
call fcn.14026cc20
jmp 0x140271fb4
xor bpl, bpl
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140271fb4
test bpl, bpl
jne 0x140271fce
cmp word [rbx], ax
jne 0x140271f20
mov rcx, r14
mov bl, 1
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x870]
mov rbp, qword [rsp + 0x878]
movzx eax, bl
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140233ef0
add rsp, 0x880
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140272020
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov byte [rdx], 0
mov rdi, r8
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov dword [rsp + 0x38], edi
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x14027205b
mov r8, rdi
lea rdx, str._unknown_machine_name_
mov rcx, rbx
call fcn.14026cbc0
mov rcx, rbx
call fcn.14026cc90
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140272270
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x120], 0
mov rax, rdx
mov rbx, rcx
je 0x1402722b6
mov r9, qword [rcx + 0x120]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rbx + 0x120]
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
mov rax, rdi
je 0x1402722bd
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140272350
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x120], 0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
je 0x1402723c1
cmp r8, 0xffffffffffffffff
jne 0x140272383
mov rcx, rdx
call fcn.14026cc90
mov rdi, rax
mov r9, qword [rsi + 0x120]
mov r8, rdi
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsi + 0x120]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
cmp rbx, rdi
sete al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1402723e0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
xor eax, eax
mov esi, r8d
mov qword [r11 - 0x38], rax
mov rdi, rdx
mov qword [r11 - 0x30], rax
mov rbx, rcx
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
test r9b, r9b
je 0x1402724b8
xor edx, edx
lea rcx, [r11 - 0x38]
call fcn.140240210
mov rax, qword [rbx]
lea rdx, str.Callstack:_r_n
mov r8, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0xa0]
cmp qword [rbx + 0x8c0], 0
mov rcx, rbx
mov r10, qword [rbx]
mov rax, qword [rsp + 0x90]
je 0x14027248e
mov r8, qword [rbx + 0x8c0]
lea rdx, [rbx + 0x740]
mov qword [rsp + 0x28], rax
mov r9d, reloc.WS2_32.dll_inet_addr
mov byte [rsp + 0x20], 1
call qword [r10 + 0x170]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov r9b, 1
mov qword [rsp + 0x20], rax
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, [rsp + 0x30]
call qword [r10 + 0x168]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
test rdi, rdi
je 0x1402724cb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14027252c
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140240250
test al, al
je 0x14027251e
mov rax, qword [rbx]
lea rdx, str.Callstack:_r_n
mov r8, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0xa0]
mov rax, qword [rsp + 0x90]
lea rdx, [rsp + 0x30]
mov r10, qword [rbx]
mov r9b, 1
mov r8d, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [r10 + 0x168]
test rdi, rdi
je 0x14027252c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140272540
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.1402696e0
mov rax, qword [rdi]
lea r8, [rsp + 0x50]
lea rdx, str.App_path
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, [0x14043a6d4]
lea rdx, str.Language
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.Microsoft_Visual_C_compiler__version_1938
lea rdx, str.Compiler
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.64_bit
lea rdx, str.Addressing
mov rcx, rdi
call qword [rax + 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test eax, eax
je 0x1402726b8
mov edx, esi
mov qword [rsp + 0x188], rbx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14027268d
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x140272684
lea r9, [rsp + 0x44]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [0x14039d4b0]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140272684
mov rax, qword [rsp + 0x48]
mov rcx, rdi
mov r11, qword [rdi]
movzx edx, word [rax + 0xc]
movzx r8d, word [rax + 0xe]
movzx r10d, word [rax + 8]
movzx r9d, word [rax + 0xa]
mov dword [rsp + 0x30], edx
lea rdx, str.App_version
mov dword [rsp + 0x28], r8d
lea r8, [0x14043a740]
mov dword [rsp + 0x20], r10d
call qword [r11 + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x188]
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140233ef0
mov rsi, qword [rsp + 0x190]
add rsp, 0x170
pop rdi
ret
mov al, 1
jmp 0x140272697
Function at 0x140273840
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor dil, dil
mov rbx, rcx
cmp dword [rcx + 0x14], 0
je 0x140273939
xor edx, edx
mov qword [rsp + 0x288], rsi
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1402738f9
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1402738eb
mov dil, 1
nop dword [rax + rax]
mov rax, qword [rbx]
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x28]
lea rdx, str.0x_08x__ls_r_n
mov rcx, rbx
call qword [rax + 0x78]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1402738c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x14027390c
mov rax, qword [rbx]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x288]
movzx eax, dil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140233ef0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
mov rax, qword [rcx]
lea rdx, str.kOptionReportProcessList_is_currently_disabled._Use_ReportWriter::SetOption_to_enable_it._r_n
xor r8d, r8d
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
movzx eax, dil
jmp 0x140273918
Function at 0x140274fa0
Capabilities:
Enumerate threads

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 4
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14027510b
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1402750fe
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r13, str.__exception_thread_
mov qword [rsp + 0xa8], r14
mov r15d, eax
xor r12d, r12d
nop dword [rax + rax]
cmp dword [rsp + 0x3c], ebp
jne 0x1402750ca
mov r9d, dword [rsp + 0x38]
lea rcx, [0x1403680c8]
cmp r9d, dword [rdi + 0x738]
lea r8, str.SysThreadId__DWORD_:__u_s__Windows_thread_base_priority:__ld
mov eax, dword [rsp + 0x40]
lea rdx, str.Thread
mov r10, qword [rdi]
sete bl
cmp r9d, r15d
mov dword [rsp + 0x28], eax
sete r14b
test bl, bl
cmovne rcx, r13
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [r10 + 0x88]
test bl, bl
jne 0x1402750ca
mov r8d, dword [rsp + 0x38]
mov edx, 1
lea ecx, [rdx + 9]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1402750ca
mov rax, qword [rdi]
movzx r9d, r14b
mov r8d, dword [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], r12
call qword [rax + 0x158]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140275030
mov r15, qword [rsp + 0x60]
mov bl, 1
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x98]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x14027511e
mov rax, qword [rdi]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140233ef0
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140275ef0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [rdx]
mov rbx, rdx
mov rdi, rcx
cmp dword [rax], 0x80000000
jae 0x140275f18
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rdi + 0x1c], 1
jne 0x140275f8f
mov rax, qword [rbx]
cmp dword [rax], 0xc00000fd
jne 0x140275f82
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x34]
lea r9, [rsp + 0x20]
mov rax, qword [rdi + 0x9a0]
lea r8, [fcn.140275ff0]
dec rcx
add rax, 0x40000
not rcx
mov rdx, rbx
and rcx, rax
mov rax, qword [rdi + 0x9a0]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov qword [rsp + 0x28], rax
call fcn.14027aa90
jmp 0x140275f9f
mov rdx, rbx
mov rcx, rdi
call fcn.140275ff0
jmp 0x140275f9f
cmp dword [rdi + 0x3c], 2
je 0x140275f9f
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rdi + 0x3c], 1
jne 0x140275fc7
mov ebx, dword [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [rdi + 0x48]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x70]
xor eax, eax
cmp dword [rdi + 0x3c], 2
setne al
add rsp, 0x60
pop rdi
ret
Function at 0x1402776e0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov rdi, rdx
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbx + 0x1c], 1
jne 0x14027772d
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9, qword [rbx + 0x9a0]
lea r8, [0x140277790]
add r9, 0x40000
mov rdx, rdi
mov rcx, rbx
call fcn.14027aa90
jmp 0x14027773d
cmp dword [rbx + 0x3c], 2
je 0x14027773d
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbx + 0x3c], 1
jne 0x14027774d
mov ecx, dword [rbx + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbx + 0x3c], 2
je 0x140277768
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140020a40
lea rdx, [0x1404e86a0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140277b40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x21c8], 0
mov rsi, r8
mov rax, rdx
mov rbx, rcx
je 0x140277b93
mov r9, qword [rcx + 0x21c8]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rax
cmp rax, rsi
jne 0x140277b93
mov rcx, qword [rbx + 0x21c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
mov rax, rdi
je 0x140277b9a
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret