Function at 0x434bb0
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.004061d0
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.004061d0
test rsi, rsi
je 0x434d70
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 0x434d70
cmp dword [rbp + 0x1c8], 0
jbe 0x434d41
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 0x434d70
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 [0x0044d718]
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 0x434f02
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
mov rax, qword [0x0044d5d0]
mov dword [rax], ebx
mov rax, qword [0x0044d290]
cmp byte [rax], 0
je 0x434ede
mov rax, qword [0x0044d5d0]
cmp dword [rax], 0xc1
jne 0x434ede
lea rcx, [rbp + 0x98]
mov edx, 0x70
xor r8, r8
call fcn.004061d0
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 [0x0044d718]
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 0x434ece
cmp dword [rbp + 0xd0], 0
jne 0x434ea5
mov rax, qword [0x0044d5d0]
mov dword [rax], 8
jmp 0x434ede
cmp dword [rbp + 0xd0], 0x20
jne 0x434ebd
mov rax, qword [0x0044d5d0]
mov dword [rax], 2
jmp 0x434ede
mov rax, qword [0x0044d5d0]
mov ecx, dword [rbp + 0xd0]
mov dword [rax], ecx
jmp 0x434ede
mov rax, qword [rbp + 0x100]
mov qword [0x0046add0], rax
jmp 0x434f1c
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x228]
call fcn.00426cf0
mov rcx, qword [rbp + 0x60]
call fcn.00435c10
mov eax, 1
jmp 0x435158
mov rax, qword [rbp + 0x108]
mov qword [0x0046add0], rax
mov rcx, qword [rbp + 0x110]
call sub.kernel32.dll_CloseHandle_1
mov rax, qword [0x0046add0]
test rax, 1
setne sil
mov rax, qword [0x0046add0]
test rax, 2
setne al
mov rcx, qword [0x0044d290]
cmp byte [rcx], 0
je 0x434f9b
mov rcx, qword [0x0044d2e0]
cmp qword [rcx], 0
jne 0x434f9b
mov rcx, qword [0x0044d400]
cmp byte [rcx], 0
jne 0x434f9b
mov rcx, qword [0x0044d168]
cmp byte [rcx], 0
jne 0x434f9b
mov ecx, dword [rbp + 0x58]
test ecx, ecx
jne 0x434f9b
test al, al
jne 0x434f8d
mov rcx, qword [0x0046add0]
call fcn.00437f00
cmp ax, 2
jne 0x434f9b
mov eax, 4
mov dword [rbp + 0x58], eax
mov al, 1
mov byte [rbp + 0x5f], al
xor rbx, rbx
mov dword [0x0046add8], 1
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x43508a
mov rcx, qword [0x0046add0]
call fcn.004407a0
mov rcx, qword [0x0044d588]
mov dword [rcx], eax
mov rax, qword [0x0044d588]
mov ebx, dword [rax]
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x1a0]
mov edx, 1
lea r8, [0x00435168]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00426d90
lea rcx, [0x00435172]
lea rdx, [rbp + 0x1a0]
call fcn.004294c0
cmp ebx, 0x20
jl 0x43506d
cmp ebx, 0x7e
jg 0x43506d
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x188]
mov edx, 1
lea r8, [0x00435186]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00426d90
lea rcx, [0x00435190]
lea rdx, [rbp + 0x188]
call fcn.004294c0
jmp 0x435080
lea rcx, [0x00435190]
lea rdx, [0x004351ae]
call fcn.004294c0
test sil, sil
je 0x43508a
call fcn.00434ae0
mov eax, dword [rbp + 0x58]
cmp eax, 4
jne 0x435100
movzx rax, byte [rbp + 0x5f]
test al, al
jne 0x4350e7
lea rax, [0x0046add0]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x10
lea rcx, [0x00435216]
lea rdx, [rbp + 0x70]
xor r8, r8
call fcn.00440110
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x004351c0]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.0043ff40
mov rcx, qword [rbp + 0x108]
call sub.kernel32.dll_CloseHandle_1
mov qword [0x0046add0], 0
jmp 0x435156
mov eax, dword [rbp + 0x58]
cmp eax, 2
jne 0x435156
mov eax, dword [rbp + 0x54]
test eax, eax
jne 0x43513a
mov rcx, qword [0x0046add0]
call fcn.004407a0
mov rcx, qword [0x0044d588]
mov dword [rcx], eax
mov rax, qword [0x0044d588]
mov ebx, dword [rax]
mov qword [0x0046add0], 0
jmp 0x435156
mov rax, qword [0x0044d1a0]
mov rcx, qword [0x0046add0]
mov qword [rax], rcx
mov qword [0x0046add0], 0
mov eax, ebx
lea rsp, [rbp + 0x1d0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret