Function at 0x4356f0
Capabilities:
Create process on windows

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x1d0
mov rbp, rsp
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x60], rdx
mov dword [rbp + 0x58], r8d
mov dword [rbp + 0x54], r9d
xor rax, rax
mov byte [rbp + 0x5f], al
mov dword [rbp + 0x1cc], 0
mov dword [rbp + 0x1c8], 0
lea rcx, [rbp + 0x120]
mov edx, 0x68
xor r8, r8
call fcn.00406110
mov dword [rbp + 0x120], 0x68
mov rax, qword [rbp + 0x230]
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x140], 0
mov dword [rbp + 0x144], 1
mov dword [rbp + 0x148], 0x64
mov dword [rbp + 0x14c], 0x64
mov dword [rbp + 0x15c], 0
mov word [rbp + 0x160], 1
call sub.user32.dll_GetProcessWindowStation
mov rdi, rax
mov rcx, rdi
mov edx, 2
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x20], rax
call sub.user32.dll_GetUserObjectInformationW
call sub.kernel32.dll_GetCurrentThreadId_1
mov ecx, eax
call sub.user32.dll_GetThreadDesktop
mov rbx, rax
mov rcx, rbx
mov edx, 2
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x1cc]
mov qword [rsp + 0x20], rax
call sub.user32.dll_GetUserObjectInformationW
mov ecx, dword [rbp + 0x1cc]
add ecx, dword [rbp + 0x1c8]
add ecx, 0x20
mov ecx, ecx
call fcn.004051c0
mov rsi, rax
mov rcx, rsi
mov edx, dword [rbp + 0x1cc]
add edx, dword [rbp + 0x1c8]
add edx, 0x20
mov edx, edx
xor r8, r8
call fcn.00406110
test rsi, rsi
je 0x4358b0
mov r13, rsi
mov rcx, rdi
mov edx, 2
mov r8, r13
mov r9d, dword [rbp + 0x1c8]
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x20], rax
call sub.user32.dll_GetUserObjectInformationW
test eax, eax
je 0x4358b0
cmp dword [rbp + 0x1c8], 0
jbe 0x435881
mov ecx, 2
mov eax, dword [rbp + 0x1c8]
xor edx, edx
div ecx
sub eax, 1
mov eax, eax
add rax, rax
add r13, rax
mov word [r13], 0x5c
add r13, 2
mov rcx, rbx
mov edx, 2
mov r8, r13
mov r9d, dword [rbp + 0x1cc]
lea rax, [rbp + 0x1cc]
mov qword [rsp + 0x20], rax
call sub.user32.dll_GetUserObjectInformationW
test eax, eax
je 0x4358b0
mov qword [rbp + 0x130], rsi
mov rcx, qword [rbp + 0x228]
mov rdx, qword [rbp + 0x220]
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov rax, qword [0x0044e748]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
setne bl
mov rcx, rsi
call fcn.004051f0
test bl, bl
jne 0x435a42
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
mov rax, qword [0x0044e5f0]
mov dword [rax], ebx
mov rax, qword [0x0044e2a8]
cmp byte [rax], 0
je 0x435a1e
mov rax, qword [0x0044e5f0]
cmp dword [rax], 0xc1
jne 0x435a1e
lea rcx, [rbp + 0x98]
mov edx, 0x70
xor r8, r8
call fcn.00406110
mov dword [rbp + 0x98], 0x70
mov dword [rbp + 0x9c], 0x8140
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0x230]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x68]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0xb8], rax
mov rax, qword [0x0044e748]
mov qword [rbp + 0xc0], rax
movzx eax, word [rbp + 0x160]
mov dword [rbp + 0xc8], eax
lea rcx, [rbp + 0x98]
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x435a0e
cmp dword [rbp + 0xd0], 0
jne 0x4359e5
mov rax, qword [0x0044e5f0]
mov dword [rax], 8
jmp 0x435a1e
cmp dword [rbp + 0xd0], 0x20
jne 0x4359fd
mov rax, qword [0x0044e5f0]
mov dword [rax], 2
jmp 0x435a1e
mov rax, qword [0x0044e5f0]
mov ecx, dword [rbp + 0xd0]
mov dword [rax], ecx
jmp 0x435a1e
mov rax, qword [rbp + 0x100]
mov qword [0x0046bfb0], rax
jmp 0x435a5c
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x228]
call fcn.004277a0
mov rcx, qword [rbp + 0x60]
call fcn.00436740
mov eax, 1
jmp 0x435c98
mov rax, qword [rbp + 0x108]
mov qword [0x0046bfb0], rax
mov rcx, qword [rbp + 0x110]
call sub.kernel32.dll_CloseHandle_1
mov rax, qword [0x0046bfb0]
test rax, 1
setne sil
mov rax, qword [0x0046bfb0]
test rax, 2
setne al
mov rcx, qword [0x0044e2a8]
cmp byte [rcx], 0
je 0x435adb
mov rcx, qword [0x0044e2f8]
cmp qword [rcx], 0
jne 0x435adb
mov rcx, qword [0x0044e418]
cmp byte [rcx], 0
jne 0x435adb
mov rcx, qword [0x0044e178]
cmp byte [rcx], 0
jne 0x435adb
mov ecx, dword [rbp + 0x58]
test ecx, ecx
jne 0x435adb
test al, al
jne 0x435acd
mov rcx, qword [0x0046bfb0]
call fcn.00438a30
cmp ax, 2
jne 0x435adb
mov eax, 4
mov dword [rbp + 0x58], eax
mov al, 1
mov byte [rbp + 0x5f], al
xor rbx, rbx
mov dword [0x0046bfb8], 1
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x435bca
mov rcx, qword [0x0046bfb0]
call fcn.00441470
mov rcx, qword [0x0044e5a8]
mov dword [rcx], eax
mov rax, qword [0x0044e5a8]
mov ebx, dword [rax]
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x1a0]
mov edx, 1
lea r8, [0x00435ca8]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00427840
lea rcx, [0x00435cb2]
lea rdx, [rbp + 0x1a0]
call fcn.00429fc0
cmp ebx, 0x20
jl 0x435bad
cmp ebx, 0x7e
jg 0x435bad
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x188]
mov edx, 1
lea r8, [0x00435cc6]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00427840
lea rcx, [0x00435cd0]
lea rdx, [rbp + 0x188]
call fcn.00429fc0
jmp 0x435bc0
lea rcx, [0x00435cd0]
lea rdx, [0x00435cee]
call fcn.00429fc0
test sil, sil
je 0x435bca
call fcn.00435620
mov eax, dword [rbp + 0x58]
cmp eax, 4
jne 0x435c40
movzx rax, byte [rbp + 0x5f]
test al, al
jne 0x435c27
lea rax, [0x0046bfb0]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x10
lea rcx, [0x00435d56]
lea rdx, [rbp + 0x70]
xor r8, r8
call fcn.00440d80
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x00435d00]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00440b70
mov rcx, qword [rbp + 0x108]
call sub.kernel32.dll_CloseHandle_1
mov qword [0x0046bfb0], 0
jmp 0x435c96
mov eax, dword [rbp + 0x58]
cmp eax, 2
jne 0x435c96
mov eax, dword [rbp + 0x54]
test eax, eax
jne 0x435c7a
mov rcx, qword [0x0046bfb0]
call fcn.00441470
mov rcx, qword [0x0044e5a8]
mov dword [rcx], eax
mov rax, qword [0x0044e5a8]
mov ebx, dword [rax]
mov qword [0x0046bfb0], 0
jmp 0x435c96
mov rax, qword [0x0044e1b0]
mov rcx, qword [0x0046bfb0]
mov qword [rax], rcx
mov qword [0x0046bfb0], 0
mov eax, ebx
lea rsp, [rbp + 0x1d0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret