Function at 0x140013ef0
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1080]
mov eax, 0x1180
call fcn.140017130
sub rsp, rax
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rbp + 0x1070], rax
mov rbx, rcx
xor edi, edi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rdi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x68], 1
mov dword [rbp + 0x58], 0x18
mov r9d, 0x1000
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp + 0x18], rax
mov dword [rbp - 4], 0x100
mov dword [rbp - 0x40], 0x68
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Dependenciesget_graphics_offsets64.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140014017
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcessW_failed__02x
call fcn.140013740
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], rax
mov dword [rbx + 0x48], eax
jmp 0x1400148e6
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x14001bb10]
movdqu xmmword [rbp + 0x48], xmm1
mov byte [rbp + 0x38], dil
nop
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x30]
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140014070
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.140004ab0
cmp dword [rbp + 0x30], 0
je 0x140014030
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 7
lea rdx, str.present
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 4
lea rdx, str.d3d8
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx], eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140014134
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001412e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001412e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140014170
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001416b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014887
call fcn.140016344
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 7
lea rdx, str.present
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 4
lea rdx, str.d3d9
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx + 4], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140014217
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014211
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014211
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140014254
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001424f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014887
call fcn.140016344
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0xa
lea rdx, str.present_ex
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 4
lea rdx, str.d3d9
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx + 8], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400142fb
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400142f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400142f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140014338
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014333
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014887
call fcn.140016344
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0xc
lea rdx, str.present_swap
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 4
lea rdx, str.d3d9
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx + 0xc], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400143df
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400143d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400143d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14001441c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014887
call fcn.140016344
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0xb
lea rdx, str.d3d9_clsoff
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 4
lea rdx, str.d3d9
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx + 0x10], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400144c3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400144bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400144bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140014500
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400144fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014887
call fcn.140016344
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x10
lea rdx, str.is_d3d9ex_clsoff
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 4
lea rdx, str.d3d9
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx + 0x14], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400145a7
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400145a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400145a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400145e4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400145df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014887
call fcn.140016344
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 7
lea rdx, str.present
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 4
lea rdx, str.dxgi
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx + 0x18], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001468b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014685
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014685
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400146c8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400146c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014887
call fcn.140016344
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 8
lea rdx, str.present1
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 4
lea rdx, str.dxgi
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx + 0x20], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001476f
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014769
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014769
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400147ac
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400147a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014887
call fcn.140016344
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 6
lea rdx, str.resize
lea rcx, [rsp + 0x50]
call fcn.140006170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 4
lea rdx, str.dxgi
lea rcx, [rsp + 0x70]
call fcn.140006170
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.1400137a0
mov dword [rbx + 0x1c], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140014853
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001484d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001484d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140014893
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001488e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001488e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x1400148e6
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400148e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400148e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016344
mov rax, rbx
mov rcx, qword [rbp + 0x1070]
xor rcx, rsp
call fcn.1400161c0
lea r11, [rsp + 0x1180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret