Function at 0x437f30
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.00406310
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.00405270
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.00406310
test rsi, rsi
je 0x4380f0
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 0x4380f0
cmp dword [rbp + 0x1c8], 0
jbe 0x4380c1
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 0x4380f0
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 [0x0048a610]
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.004052a0
test bl, bl
jne 0x438282
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
mov rax, qword [0x0048a470]
mov dword [rax], ebx
mov rax, qword [0x0048a0c8]
cmp byte [rax], 0
je 0x43825e
mov rax, qword [0x0048a470]
cmp dword [rax], 0xc1
jne 0x43825e
lea rcx, [rbp + 0x98]
mov edx, 0x70
xor r8, r8
call fcn.00406310
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 [0x0048a610]
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 0x43824e
cmp dword [rbp + 0xd0], 0
jne 0x438225
mov rax, qword [0x0048a470]
mov dword [rax], 8
jmp 0x43825e
cmp dword [rbp + 0xd0], 0x20
jne 0x43823d
mov rax, qword [0x0048a470]
mov dword [rax], 2
jmp 0x43825e
mov rax, qword [0x0048a470]
mov ecx, dword [rbp + 0xd0]
mov dword [rax], ecx
jmp 0x43825e
mov rax, qword [rbp + 0x100]
mov qword [0x004a7db8], rax
jmp 0x43829c
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x228]
call fcn.00429e80
mov rcx, qword [rbp + 0x60]
call fcn.00438f90
mov eax, 1
jmp 0x4384d8
mov rax, qword [rbp + 0x108]
mov qword [0x004a7db8], rax
mov rcx, qword [rbp + 0x110]
call sub.kernel32.dll_CloseHandle_1
mov rax, qword [0x004a7db8]
test rax, 1
setne sil
mov rax, qword [0x004a7db8]
test rax, 2
setne al
mov rcx, qword [0x0048a0c8]
cmp byte [rcx], 0
je 0x43831b
mov rcx, qword [0x0048a128]
cmp qword [rcx], 0
jne 0x43831b
mov rcx, qword [0x0048a240]
cmp byte [rcx], 0
jne 0x43831b
mov rcx, qword [0x00489f78]
cmp byte [rcx], 0
jne 0x43831b
mov ecx, dword [rbp + 0x58]
test ecx, ecx
jne 0x43831b
test al, al
jne 0x43830d
mov rcx, qword [0x004a7db8]
call fcn.0043b280
cmp ax, 2
jne 0x43831b
mov eax, 4
mov dword [rbp + 0x58], eax
mov al, 1
mov byte [rbp + 0x5f], al
xor rbx, rbx
mov dword [0x004a7dc0], 1
mov eax, dword [rbp + 0x58]
test eax, eax
jne 0x43840a
mov rcx, qword [0x004a7db8]
call fcn.00471870
mov rcx, qword [0x0048a420]
mov dword [rcx], eax
mov rax, qword [0x0048a420]
mov ebx, dword [rax]
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x1a0]
mov edx, 1
lea r8, [0x004384e8]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00429f20
lea rcx, [0x004384f2]
lea rdx, [rbp + 0x1a0]
call fcn.0042c840
cmp ebx, 0x20
jl 0x4383ed
cmp ebx, 0x7e
jg 0x4383ed
mov dword [rbp + 0x80], ebx
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x188]
mov edx, 1
lea r8, [0x00438506]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x20], 0
call fcn.00429f20
lea rcx, [0x00438510]
lea rdx, [rbp + 0x188]
call fcn.0042c840
jmp 0x438400
lea rcx, [0x00438510]
lea rdx, [0x0043852e]
call fcn.0042c840
test sil, sil
je 0x43840a
call fcn.00437e60
mov eax, dword [rbp + 0x58]
cmp eax, 4
jne 0x438480
movzx rax, byte [rbp + 0x5f]
test al, al
jne 0x438467
lea rax, [0x004a7db8]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x10
lea rcx, [0x00438596]
lea rdx, [rbp + 0x70]
xor r8, r8
call fcn.004711e0
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0xa
lea rcx, [0x00438540]
mov edx, 1
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00471010
mov rcx, qword [rbp + 0x108]
call sub.kernel32.dll_CloseHandle_1
mov qword [0x004a7db8], 0
jmp 0x4384d6
mov eax, dword [rbp + 0x58]
cmp eax, 2
jne 0x4384d6
mov eax, dword [rbp + 0x54]
test eax, eax
jne 0x4384ba
mov rcx, qword [0x004a7db8]
call fcn.00471870
mov rcx, qword [0x0048a420]
mov dword [rcx], eax
mov rax, qword [0x0048a420]
mov ebx, dword [rax]
mov qword [0x004a7db8], 0
jmp 0x4384d6
mov rax, qword [0x00489fb0]
mov rcx, qword [0x004a7db8]
mov qword [rax], rcx
mov qword [0x004a7db8], 0
mov eax, ebx
lea rsp, [rbp + 0x1d0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret