Function at 0x434c80
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.004060f0
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.004060f0
test rsi, rsi
je 0x434e40
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 0x434e40
cmp dword [rbp + 0x1c8], 0
jbe 0x434e11
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 0x434e40
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 [0x0044d670]
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 0x434fd2
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
mov rax, qword [0x0044d518]
mov dword [rax], ebx
mov rax, qword [0x0044d1d8]
cmp byte [rax], 0
je 0x434fae
mov rax, qword [0x0044d518]
cmp dword [rax], 0xc1
jne 0x434fae
lea rcx, [rbp + 0x98]
mov edx, 0x70
xor r8, r8
call fcn.004060f0
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 [0x0044d670]
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 0x434f9e
cmp dword [rbp + 0xd0], 0
jne 0x434f75
mov rax, qword [0x0044d518]
mov dword [rax], 8
jmp 0x434fae
cmp dword [rbp + 0xd0], 0x20
jne 0x434f8d
mov rax, qword [0x0044d518]
mov dword [rax], 2
jmp 0x434fae
mov rax, qword [0x0044d518]
mov ecx, dword [rbp + 0xd0]
mov dword [rax], ecx
jmp 0x434fae
mov rax, qword [rbp + 0x100]
mov qword [0x0046afb0], rax
jmp 0x434fec
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x228]
call fcn.00426d30
mov rcx, qword [rbp + 0x60]
call fcn.00435cd0
mov eax, 1
jmp 0x435228
mov rax, qword [rbp + 0x108]
mov qword [0x0046afb0], rax
mov rcx, qword [rbp + 0x110]
call sub.kernel32.dll_CloseHandle_1
mov rax, qword [0x0046afb0]
test rax, 1
setne sil
mov rax, qword [0x0046afb0]
test rax, 2
setne al
mov rcx, qword [0x0044d1d8]
cmp byte [rcx], 0
je 0x43506b
mov rcx, qword [0x0044d228]
cmp qword [rcx], 0
jne 0x43506b
mov rcx, qword [0x0044d348]
cmp byte [rcx], 0
jne 0x43506b
mov rcx, qword [0x0044d0a8]
cmp byte [rcx], 0
jne 0x43506b
mov ecx, dword [rbp + 0x58]
test ecx, ecx
jne 0x43506b
test al, al
jne 0x43505d
mov rcx, qword [0x0046afb0]
call fcn.00437fc0
cmp ax, 2
jne 0x43506b
mov eax, 4
mov dword [rbp + 0x58], eax
mov al, 1
mov byte [rbp + 0x5f], al
xor rbx, rbx
mov dword [0x0046afb8], 1
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x43515a
mov rcx, qword [0x0046afb0]
call fcn.00440a00
mov rcx, qword [0x0044d4d0]
mov dword [rcx], eax
mov rax, qword [0x0044d4d0]
mov ebx, dword [rax]
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x1a0]
mov edx, 1
lea r8, [0x00435238]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00426dd0
lea rcx, [0x00435242]
lea rdx, [rbp + 0x1a0]
call fcn.00429550
cmp ebx, 0x20
jl 0x43513d
cmp ebx, 0x7e
jg 0x43513d
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x188]
mov edx, 1
lea r8, [0x00435256]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00426dd0
lea rcx, [0x00435260]
lea rdx, [rbp + 0x188]
call fcn.00429550
jmp 0x435150
lea rcx, [0x00435260]
lea rdx, [0x0043527e]
call fcn.00429550
test sil, sil
je 0x43515a
call fcn.00434bb0
mov eax, dword [rbp + 0x58]
cmp eax, 4
jne 0x4351d0
movzx rax, byte [rbp + 0x5f]
test al, al
jne 0x4351b7
lea rax, [0x0046afb0]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x10
lea rcx, [0x004352e6]
lea rdx, [rbp + 0x70]
xor r8, r8
call fcn.00440310
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x00435290]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00440100
mov rcx, qword [rbp + 0x108]
call sub.kernel32.dll_CloseHandle_1
mov qword [0x0046afb0], 0
jmp 0x435226
mov eax, dword [rbp + 0x58]
cmp eax, 2
jne 0x435226
mov eax, dword [rbp + 0x54]
test eax, eax
jne 0x43520a
mov rcx, qword [0x0046afb0]
call fcn.00440a00
mov rcx, qword [0x0044d4d0]
mov dword [rcx], eax
mov rax, qword [0x0044d4d0]
mov ebx, dword [rax]
mov qword [0x0046afb0], 0
jmp 0x435226
mov rax, qword [0x0044d0e0]
mov rcx, qword [0x0046afb0]
mov qword [rax], rcx
mov qword [0x0046afb0], 0
mov eax, ebx
lea rsp, [rbp + 0x1d0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret