Function at 0x1400052b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140043238]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r14, rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x140031530]
movdqu xmmword [rbp - 0x68], xmm1
mov byte [rbp - 0x78], dil
lea rcx, [0x1400431f8]
cmp qword [0x140043210], 0x10
cmovae rcx, qword [0x1400431f8]
lea rax, [0x1400431d8]
cmp qword [0x1400431f0], 0x10
cmovae rax, qword [0x1400431d8]
lea rbx, [0x140043198]
mov rdx, rbx
cmp qword [0x1400431b0], 0x10
cmovae rdx, qword [0x140043198]
mov byte [rsp + 0x50], 1
mov dword [rsp + 0x48], 0xffffffff
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, str.SUSPENDSVC
mov qword [rsp + 0x28], rax
lea r15, str.PSSPNDSVC.EXE
mov qword [rsp + 0x20], r15
lea r9, str.PSSPNDSVC
lea r8, str.PsSuspend
mov cl, 1
call fcn.1400036f0
test al, al
je 0x1400058d3
call fcn.140003100
mov rdx, rbx
cmp qword [0x1400431b0], 0x10
cmovae rdx, qword [0x140043198]
lea rcx, str._rConnecting_with_PsSuspend_service_on__s...
call fcn.140001800
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], 0xf
mov qword [rbp - 0x40], 0xf
movsd xmm0, qword [str.pipepsspndsvc]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x140030fe8]
mov dword [rbp - 0x50], eax
movzx eax, word [0x140030fec]
mov word [rbp - 0x4c], ax
movzx eax, byte [0x140030fee]
mov byte [rbp - 0x4a], al
mov byte [rbp - 0x49], dil
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 2
mov qword [rbp - 0x80], 0xf
mov eax, 0x5c5c
mov word [rsp + 0x68], ax
mov byte [rsp + 0x6a], dil
mov rsi, qword [0x1400431a8]
mov r9, rbx
cmp qword [0x1400431b0], 0x10
cmovae r9, qword [0x140043198]
cmp rsi, 0xd
ja 0x140005471
lea rax, [rsi + 2]
mov qword [rsp + 0x78], rax
mov r8, rsi
mov rdx, r9
lea rcx, [rsp + 0x6a]
call fcn.140008800
mov byte [rsp + rsi + 0x6a], dil
lea rax, [rsp + 0x68]
jmp 0x140005489
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rsp + 0x60]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140004c00
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x38]
movzx edx, byte [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.140004d90
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400054f8
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000593e
call fcn.140006914
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rbp - 8]
movups xmmword [rbp - 0x68], xmm1
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140005544
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000553e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005944
call fcn.140006914
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140005580
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000557b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000594a
call fcn.140006914
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400055cd
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005950
call fcn.140006914
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000566c
call fcn.140003100
mov rdx, rbx
cmp qword [0x1400431b0], 0x10
cmovae rdx, qword [0x140043198]
lea rcx, str._rError_establishing_communication_with_PsSuspend_service_on__s:_n
call fcn.140001800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400035c0
cmp qword [0x1400431b0], 0x10
cmovae rbx, qword [0x140043198]
mov r9, r15
lea r8, str.PSSPNDSVC
mov rdx, rbx
mov cl, 1
call fcn.140003d40
lea rcx, [0x14002a65c]
call fcn.140001800
jmp 0x1400058d3
call fcn.140003100
movzx eax, byte [0x140043190]
mov byte [rbp + 0x10], al
mov r9, rbx
lea rcx, str.Suspending
lea rdx, str.Resuming
mov r8d, dword [0x14004401c]
cmp qword [0x140044020], 0
je 0x1400056db
cmp qword [0x1400431b0], 0x10
cmovae r9, qword [0x140043198]
test al, al
cmovne rdx, rcx
lea rcx, str._r_s_process__d_on__s...
call fcn.140001800
mov r8d, 0x104
mov rdx, qword [0x140044020]
lea rcx, [rbp + 0x12]
call fcn.140016640
mov byte [rbp + 0x11], 1
jmp 0x14000570d
cmp qword [0x1400431b0], 0x10
cmovae r9, qword [0x140043198]
test al, al
cmovne rdx, rcx
lea rcx, str._r_s_process__d_on__s...
call fcn.140001800
mov byte [rbp + 0x11], 0
mov eax, dword [0x14004401c]
mov dword [rbp + 0x118], eax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x64]
mov r8d, 0x114
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140005752
call fcn.140003100
mov rdx, rbx
cmp qword [0x1400431b0], 0x10
cmovae rdx, qword [0x140043198]
lea rcx, str._rError_communicating_with_PsSuspend_service_on__s:_n
jmp 0x140005625
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x64]
mov r8d, 0x114
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400057b5
call fcn.140003100
lea rax, str.suspended
lea r8, str.resumed
cmp byte [0x140043190], 0
cmovne r8, rax
mov rdx, rbx
cmp qword [0x1400431b0], 0x10
cmovae rdx, qword [0x140043198]
lea rcx, str._rError_communicating_with_PsSuspend_service_on__s._The_process_may_nnot_have_been__s:_n
call fcn.140001800
jmp 0x14000562a
cmp dword [rbp + 0x11c], 0
je 0x1400058a1
call fcn.140003100
mov r8, qword [0x140044020]
mov r9, rbx
lea rax, str.suspending
lea rdx, str.resuming
test r8, r8
je 0x14000580d
cmp qword [0x1400431b0], 0x10
cmovae r9, qword [0x140043198]
cmp byte [0x140043190], 0
cmovne rdx, rax
lea rcx, str._rError__s_process_es__named__s_on__s:_n
call fcn.140001800
jmp 0x14000583b
cmp qword [0x1400431b0], 0x10
cmovae r9, qword [0x140043198]
cmp byte [0x140043190], 0
cmovne rdx, rax
mov r8d, dword [0x14004401c]
lea rcx, str._rError__s_process__d_on__s:_n
call fcn.140001800
mov ecx, dword [rbp + 0x11c]
cmp ecx, 0x57
jne 0x140005632
mov rdx, qword [0x140044020]
mov r8, rbx
test rdx, rdx
je 0x14000587a
cmp qword [0x1400431b0], 0x10
cmovae r8, qword [0x140043198]
lea rcx, str.Process__s_does_not_exist_on__s._n
call fcn.140001800
jmp 0x140005637
cmp qword [0x1400431b0], 0x10
cmovae r8, qword [0x140043198]
mov edx, dword [0x14004401c]
lea rcx, str.Process__d_does_not_exist_on__s._n
call fcn.140001800
jmp 0x140005637
mov eax, dword [rbp + 0x120]
mov dword [r14], eax
cmp qword [0x1400431b0], 0x10
cmovae rbx, qword [0x140043198]
mov r9, r15
lea r8, str.PSSPNDSVC
mov rdx, rbx
mov cl, 1
call fcn.140003d40
mov edi, 1
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14000590a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005905
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005938
call fcn.140006914
mov eax, edi
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400069e0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000d180
nop
call fcn.14000d180
nop
call fcn.14000d180
nop
call fcn.14000d180
nop
call fcn.14000d180
int3