Function at 0x434160
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.004061b0
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.00405280
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.004061b0
test rsi, rsi
je 0x434320
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 0x434320
cmp dword [rbp + 0x1c8], 0
jbe 0x4342f1
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 0x434320
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 [0x0044c5d0]
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.004052b0
test bl, bl
jne 0x4344b2
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
mov rax, qword [0x0044c488]
mov dword [rax], ebx
mov rax, qword [0x0044c150]
cmp byte [rax], 0
je 0x43448e
mov rax, qword [0x0044c488]
cmp dword [rax], 0xc1
jne 0x43448e
lea rcx, [rbp + 0x98]
mov edx, 0x70
xor r8, r8
call fcn.004061b0
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 [0x0044c5d0]
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 0x43447e
cmp dword [rbp + 0xd0], 0
jne 0x434455
mov rax, qword [0x0044c488]
mov dword [rax], 8
jmp 0x43448e
cmp dword [rbp + 0xd0], 0x20
jne 0x43446d
mov rax, qword [0x0044c488]
mov dword [rax], 2
jmp 0x43448e
mov rax, qword [0x0044c488]
mov ecx, dword [rbp + 0xd0]
mov dword [rax], ecx
jmp 0x43448e
mov rax, qword [rbp + 0x100]
mov qword [0x00469dd0], rax
jmp 0x4344cc
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x228]
call fcn.004262a0
mov rcx, qword [rbp + 0x60]
call fcn.004351c0
mov eax, 1
jmp 0x434708
mov rax, qword [rbp + 0x108]
mov qword [0x00469dd0], rax
mov rcx, qword [rbp + 0x110]
call sub.kernel32.dll_CloseHandle_1
mov rax, qword [0x00469dd0]
test rax, 1
setne sil
mov rax, qword [0x00469dd0]
test rax, 2
setne al
mov rcx, qword [0x0044c150]
cmp byte [rcx], 0
je 0x43454b
mov rcx, qword [0x0044c1a0]
cmp qword [rcx], 0
jne 0x43454b
mov rcx, qword [0x0044c2c0]
cmp byte [rcx], 0
jne 0x43454b
mov rcx, qword [0x0044c028]
cmp byte [rcx], 0
jne 0x43454b
mov ecx, dword [rbp + 0x58]
test ecx, ecx
jne 0x43454b
test al, al
jne 0x43453d
mov rcx, qword [0x00469dd0]
call fcn.004374b0
cmp ax, 2
jne 0x43454b
mov eax, 4
mov dword [rbp + 0x58], eax
mov al, 1
mov byte [rbp + 0x5f], al
xor rbx, rbx
mov dword [0x00469dd8], 1
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x43463a
mov rcx, qword [0x00469dd0]
call fcn.0043fe40
mov rcx, qword [0x0044c440]
mov dword [rcx], eax
mov rax, qword [0x0044c440]
mov ebx, dword [rax]
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x1a0]
mov edx, 1
lea r8, [0x00434718]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00426340
lea rcx, [0x00434722]
lea rdx, [rbp + 0x1a0]
call fcn.00428a70
cmp ebx, 0x20
jl 0x43461d
cmp ebx, 0x7e
jg 0x43461d
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x188]
mov edx, 1
lea r8, [0x00434736]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00426340
lea rcx, [0x00434740]
lea rdx, [rbp + 0x188]
call fcn.00428a70
jmp 0x434630
lea rcx, [0x00434740]
lea rdx, [0x0043475e]
call fcn.00428a70
test sil, sil
je 0x43463a
call fcn.00434090
mov eax, dword [rbp + 0x58]
cmp eax, 4
jne 0x4346b0
movzx rax, byte [rbp + 0x5f]
test al, al
jne 0x434697
lea rax, [0x00469dd0]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x10
lea rcx, [0x004347c6]
lea rdx, [rbp + 0x70]
xor r8, r8
call fcn.0043f7b0
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x00434770]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.0043f5e0
mov rcx, qword [rbp + 0x108]
call sub.kernel32.dll_CloseHandle_1
mov qword [0x00469dd0], 0
jmp 0x434706
mov eax, dword [rbp + 0x58]
cmp eax, 2
jne 0x434706
mov eax, dword [rbp + 0x54]
test eax, eax
jne 0x4346ea
mov rcx, qword [0x00469dd0]
call fcn.0043fe40
mov rcx, qword [0x0044c440]
mov dword [rcx], eax
mov rax, qword [0x0044c440]
mov ebx, dword [rax]
mov qword [0x00469dd0], 0
jmp 0x434706
mov rax, qword [0x0044c060]
mov rcx, qword [0x00469dd0]
mov qword [rax], rcx
mov qword [0x00469dd0], 0
mov eax, ebx
lea rsp, [rbp + 0x1d0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret