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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb60]
sub rsp, 0xc60
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rbp + 0xb50], rax
mov r14, r9
movzx r15d, r8b
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rbp + 0x180], r12d
lea rax, [rbp - 0x38]
mov qword [rbp + 0x1a8], rax
lea rax, [0x180102398]
mov qword [rbp - 0x38], rax
lea rax, [0x1800ff140]
mov qword [rbp - 0x28], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x180], 1
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x38]
call fcn.1800319c0
nop
mov rax, qword [rbp - 0x38]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x38], rax
mov rax, qword [rbp - 0x38]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x3c], edx
lea edx, [r12 + 3]
lea rcx, [rbp - 0x20]
call fcn.18000a9a0
nop
mov dword [rbp + 0xc0], r12d
lea rdx, str.Displaying_UI_with_key_
lea rcx, [rbp - 0x28]
call fcn.18000c960
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.18000ce20
lea rdx, [0x1801028a4]
lea rcx, [rbp - 0x28]
call fcn.18000c960
nop
lea rcx, [rbp - 0x38]
call fcn.180032150
lea rdx, [rbp + 0x240]
mov rcx, rdi
call fcn.1800479b0
nop
lea r9d, [r12 + 5]
lea rdx, str.Steam
lea rcx, [rbp + 0x240]
call fcn.180055c70
test rax, rax
jne 0x18003bb38
lea r9d, [r12 + 7]
lea rdx, str.Welcome
mov rcx, rbx
call fcn.180055c70
test rax, rax
jne 0x18003bb38
lea edx, [rax + 0xa]
lea rcx, [rbp - 0x38]
call fcn.180032090
nop
test rax, rax
lea rcx, [rax + 0x10]
jne 0x18003b737
mov ecx, r12d
lea rdx, str.Detected_a_Steam_Install__were_going_to_pass_this_to_SasSteam.exe.
call fcn.18000c960
nop
lea rcx, [rbp - 0x38]
call fcn.180032150
lea rdx, str.SasSteam.exe
lea rcx, [rbp + 0x1f0]
call fcn.180033c60
nop
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
xor r8d, r8d
lea rdx, [0x1800fd01d]
lea rcx, [rsp + 0x60]
call fcn.180009ff0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1800308d0
nop
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.180033ea0
nop
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x18003b7fe
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, 0x1000
jb 0x18003b7f9
test cl, 0x1f
je 0x18003b7cc
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003b7db
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003b7ea
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18003b7f6
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], r12
mov byte [rbp - 0x80], 0
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x18003b866
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x18003b861
test cl, 0x1f
je 0x18003b834
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003b843
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003b852
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18003b85e
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp + 0x114]
call fcn.1800b27a0
mov dword [rbp + 0x110], 0x70
mov dword [rbp + 0x114], 0x40
mov qword [rbp + 0x118], r12
mov qword [rbp + 0x120], r12
lea rax, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 8
cmovae rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], r12
lea rax, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 8
cmovae rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x140], 5
mov qword [rbp + 0x148], r12
lea rcx, [rbp + 0x110]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
or edx, 0xffffffff
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x1b0]
test ebx, ebx
jne 0x18003ba08
lea rcx, [rbp + 0x210]
call fcn.180033c30
mov rsi, rax
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp - 0x58]
call fcn.180033c30
mov rdi, rax
lea edx, [rbx + 0x1e]
lea rcx, [rbp - 0x38]
call fcn.180032090
mov rbx, rax
test rax, rax
lea rcx, [rax + 0x10]
jne 0x18003b979
mov rcx, r12
lea rdx, str._ShowUI__Unable_to_run_process:_
call fcn.18000c960
test rbx, rbx
lea rcx, [rbx + 0x10]
jne 0x18003b991
mov rcx, r12
mov rdx, rdi
call fcn.18000ce20
test rbx, rbx
lea rcx, [rbx + 0x10]
jne 0x18003b9a5
mov rcx, r12
lea rdx, str.__in_
call fcn.18000c960
test rbx, rbx
lea rcx, [rbx + 0x10]
jne 0x18003b9bd
mov rcx, r12
mov rdx, rsi
call fcn.18000ce20
test rbx, rbx
lea rcx, [rbx + 0x10]
jne 0x18003b9d1
mov rcx, r12
lea rdx, [0x1801028a4]
call fcn.18000c960
nop
lea rcx, [rbp - 0x38]
call fcn.180032150
nop
lea rcx, [rbp - 0x58]
call fcn.1800077c0
nop
lea rcx, [rbp + 0x210]
call fcn.1800077c0
mov ebx, 0xfffffffb
jmp 0x18003bacf
lea rcx, [rbp - 0x58]
call fcn.180033c30
mov rsi, rax
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x210]
call fcn.180033c30
mov rdi, rax
mov edx, 0xa
lea rcx, [rbp - 0x38]
call fcn.180032090
mov rbx, rax
test rax, rax
lea rcx, [rax + 0x10]
jne 0x18003ba47
mov rcx, r12
lea rdx, str._ShowUI__Process_Ran:_
call fcn.18000c960
test rbx, rbx
lea rcx, [rbx + 0x10]
jne 0x18003ba5f
mov rcx, r12
mov rdx, rdi
call fcn.18000ce20
test rbx, rbx
lea rcx, [rbx + 0x10]
jne 0x18003ba73
mov rcx, r12
lea rdx, str.__in_
call fcn.18000c960
test rbx, rbx
lea rcx, [rbx + 0x10]
jne 0x18003ba8b
mov rcx, r12
mov rdx, rsi
call fcn.18000ce20
test rbx, rbx
lea rcx, [rbx + 0x10]
jne 0x18003ba9f
mov rcx, r12
lea rdx, str._successfully.
call fcn.18000c960
nop
lea rcx, [rbp - 0x38]
call fcn.180032150
nop
lea rcx, [rbp + 0x210]
call fcn.1800077c0
nop
lea rcx, [rbp - 0x58]
call fcn.1800077c0
mov ebx, r12d
mov r8, qword [rbp + 0x1c8]
cmp r8, 8
jb 0x18003baf2
inc r8
mov rdx, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x1b0]
call fcn.180031a90
mov qword [rbp + 0x1c8], 7
mov qword [rbp + 0x1c0], r12
mov word [rbp + 0x1b0], r12w
mov r8, qword [rbp + 0x208]
cmp r8, 8
jb 0x18003c170
inc r8
mov rdx, qword [rbp + 0x1f0]
lea rcx, [rbp + 0x1f0]
call fcn.180031a90
jmp 0x18003c170
mov rdx, rbx
mov rcx, rdi
call fcn.18003c4b0
test al, al
jne 0x18003bb51
mov ebx, 0xfffffffc
jmp 0x18003c170
mov dword [rbp + 0xf0], 0x18
mov dword [rbp + 0x100], 1
mov qword [rbp + 0xf8], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
mov r8d, 0xd
lea rdx, str.SdDisplay.exe
lea rcx, [rsp + 0x60]
call fcn.180009ff0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1d0]
call fcn.1800308d0
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x18003bc09
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x18003bc04
test cl, 0x1f
je 0x18003bbd7
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003bbe6
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003bbf5
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18003bc01
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x350]
call fcn.1800b27a0
xor eax, eax
mov qword [rbp + 0x310], rax
mov qword [rbp + 0x318], rax
mov qword [rbp + 0x320], rax
mov qword [rbp + 0x328], rax
mov qword [rbp + 0x330], rax
mov qword [rbp + 0x338], rax
mov qword [rbp + 0x340], rax
mov qword [rbp + 0x348], rax
mov qword [rbp + 0x2d0], rax
mov qword [rbp + 0x2d8], rax
mov qword [rbp + 0x2e0], rax
mov qword [rbp + 0x2e8], rax
mov qword [rbp + 0x2f0], rax
mov qword [rbp + 0x2f8], rax
mov qword [rbp + 0x300], rax
mov qword [rbp + 0x308], rax
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], r12
test r15b, r15b
jne 0x18003bd01
xor r9d, r9d
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov r8, qword [rbp + 0xd0]
lea rdx, str._ResponsePipe_zi
lea rcx, [rbp + 0x310]
call fcn.180056470
test r14, r14
je 0x18003bd1c
mov r8, r14
lea rdx, str._ownerWnd_p
lea rcx, [rbp + 0x2d0]
call fcn.180056470
mov qword [rbp + 0x1a0], 0xf
mov qword [rbp + 0x198], r12
mov byte [rbp + 0x188], 0
mov r8d, 7
lea rdx, str.startUi
lea rcx, [rbp + 0x188]
call fcn.180009ff0
nop
cmp byte [rbp + 0xbc0], 0
je 0x18003bd71
mov r8d, 7
lea rdx, str.forceUi
lea rcx, [rbp + 0x188]
call fcn.180009ff0
lea rcx, [rdi + 0x50]
cmp qword [rcx + 0x18], 0x10
jb 0x18003bd7f
mov rcx, qword [rcx]
cmp qword [rbx + 0x18], 0x10
jb 0x18003bd89
mov rbx, qword [rbx]
lea r9, [rbp + 0x188]
cmp qword [rbp + 0x1a0], 0x10
cmovae r9, qword [rbp + 0x188]
lea rdx, [rdi + 0x30]
cmp qword [rdx + 0x18], 0x10
jb 0x18003bdae
mov rdx, qword [rdx]
lea rax, [rdi + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x18003bdbc
mov rax, qword [rax]
lea r8, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0x10
cmovae r8, qword [rbp + 0x1d0]
lea r10, [rbp + 0x2d0]
mov qword [rsp + 0x58], r10
lea r10, [rbp + 0x310]
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9d, dword [rdi + 8]
lea rdx, str._s__prodId_i__ProdName__s___company__s____s__s___parentPid_i__prodVer__s___s__s
lea rcx, [rbp + 0x350]
call fcn.1800564d0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp + 0x260]
call fcn.1800b27a0
mov dword [rbp + 0x260], 0x68
xor eax, eax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x260]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x350]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x18003bece
lea edx, [rax + 0x1e]
lea rcx, [rbp - 0x38]
call fcn.180032090
nop
test rax, rax
lea rcx, [rax + 0x10]
jne 0x18003beb3
mov rcx, r12
lea rdx, str.Unable_to_run_SdDisplay.exe
call fcn.18000c960
nop
lea rcx, [rbp - 0x38]
call fcn.180032150
jmp 0x18003c081
test r15b, r15b
jne 0x18003bff0
test r14, r14
je 0x18003bfe0
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_EnableWindow]
xor bl, bl
nop dword [rax]
mov dword [rsp + 0x20], 0x1cff
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp + 0xd8]
lea ecx, [r8 + 1]
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x18003bfaf
cmp eax, 1
jne 0x18003bfaf
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x18003bfb1
nop
cmp dword [rbp + 0x218], 0x12
je 0x18003bfba
mov edx, 0x4236
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_CallMsgFilterW]
test eax, eax
jne 0x18003bf79
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor edx, edx
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x18003bfaf
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x18003bf40
jmp 0x18003bfb1
mov bl, 1
test bl, bl
jne 0x18003bfd0
jmp 0x18003bef0
mov ecx, dword [rbp + 0x220]
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov ebx, 0xfffffff4
jmp 0x18003c086
mov edx, 1
mov rcx, r14
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x18003bff0
or edx, 0xffffffff
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15b, r15b
je 0x18003c014
mov ebx, r12d
jmp 0x18003c086
cmp qword [rbp + 0xc8], 0
je 0x18003c081
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x18003c081
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x64
mov dword [rbp + 0x180], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x180]
lea r8d, [rbx - 0x60]
lea rdx, [rbp + 0x1a8]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18003c072
cmp dword [rbp + 0x180], 4
cmove ebx, dword [rbp + 0x1a8]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18003c086
mov ebx, 0xfffffffb
mov rax, qword [rbp + 0x1a0]
cmp rax, 0x10
jb 0x18003c0e2
inc rax
mov rcx, qword [rbp + 0x188]
cmp rax, 0x1000
jb 0x18003c0dd
test cl, 0x1f
je 0x18003c0b0
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003c0bf
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003c0ce
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18003c0da
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
mov qword [rbp + 0x1a0], 0xf
mov qword [rbp + 0x198], r12
mov byte [rbp + 0x188], 0
mov rax, qword [rbp + 0x1e8]
cmp rax, 0x10
jb 0x18003c157
inc rax
mov rcx, qword [rbp + 0x1d0]
cmp rax, 0x1000
jb 0x18003c152
test cl, 0x1f
je 0x18003c125
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003c134
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003c143
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18003c14f
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
mov qword [rbp + 0x1e8], 0xf
mov qword [rbp + 0x1e0], r12
mov byte [rbp + 0x1d0], 0
mov rax, qword [rbp + 0x258]
cmp rax, 0x10
jb 0x18003c1cc
inc rax
mov rcx, qword [rbp + 0x240]
cmp rax, 0x1000
jb 0x18003c1c7
test cl, 0x1f
je 0x18003c19a
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18003c1a9
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18003c1b8
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18003c1c4
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
mov eax, ebx
mov rcx, qword [rbp + 0xb50]
xor rcx, rsp
call fcn.1800ae8d0
add rsp, 0xc60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret