Function at 0x493f60
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x150
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov dword [rbp + 0x64], edx
mov qword [rbp + 0x58], r8
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x128], 0
nop
call fcn.00410c40
mov dword [rax + 0x1b4], 0
mov byte [rbp + 0x132], 0
mov eax, dword [rbp + 0x64]
cmp eax, 3
jg 0x4940bf
cmp eax, 3
je 0x4945f4
sub eax, 1
cmp eax, 0xffffffff
je 0x4940da
test eax, eax
je 0x49426e
sub eax, 1
test eax, eax
jne 0x4949de
jmp 0x49438a
sub eax, 4
test eax, eax
je 0x494820
sub eax, 1
test eax, eax
jne 0x4949de
jmp 0x4949a0
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0xa0], 0
je 0x494103
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x98]
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax + 0xa0]
call fcn.0040b050
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x88]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x88], 0
je 0x49418e
lea rcx, [rbp + 0x100]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x18]
call fcn.0040c350
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x88]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x118]
lea rdx, [rbp + 0x108]
mov r8d, 1
call fcn.004914c0
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x88]
mov rdx, qword [rbp + 0x118]
call fcn.0040b050
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x90]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x10]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x28], 0
je 0x494245
lea rcx, [rbp + 0xf8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
lea rcx, [rbp + 0xf0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x10]
call fcn.0040c350
lea rcx, [rbp + 0xe8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x18]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
lea rbx, [rax + 0x28]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0xf8]
mov r9, qword [rbp + 0xf0]
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x36]
mov word [rsp + 0x28], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x38]
mov word [rsp + 0x30], ax
lea rax, [rbp + 0x132]
mov qword [rsp + 0x38], rax
call qword [rbx]
cmp byte [rbp + 0x132], 0
je 0x49425e
mov qword [rbp + 0x148], 0xffffffffffffffff
jmp 0x494a1a
mov qword [rbp + 0x148], 0
jmp 0x494a1a
lea rcx, [rbp + 0xe0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0xb8]
mov rcx, rax
mov rdx, qword [rbp + 0xe0]
mov rax, qword [rax]
call qword [rax + 0xa8]
mov ebx, eax
test ebx, ebx
jl 0x4942c6
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0xc0]
mov rcx, rax
lea rdx, [rbp + 0x140]
mov r8d, ebx
mov rbx, qword [rax]
call qword [rbx + 0x18]
jmp 0x4942d2
lea rcx, [rbp + 0x140]
call fcn.0040aa00
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x48], 0
je 0x494361
lea rcx, [rbp + 0xd8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
lea rcx, [rbp + 0xd0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x10]
call fcn.0040c350
lea rcx, [rbp + 0xc8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x18]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
lea rbx, [rax + 0x48]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0xd8]
mov r9, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x140]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x132]
mov qword [rsp + 0x30], rax
call qword [rbx]
cmp byte [rbp + 0x132], 0
je 0x49437a
mov qword [rbp + 0x148], 0xffffffffffffffff
jmp 0x494a1a
mov qword [rbp + 0x148], 0
jmp 0x494a1a
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0xc0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x140]
lea rdx, [rbp + 0x108]
mov r8d, 1
call fcn.004914c0
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x38], 0
je 0x494468
lea rcx, [rbp + 0xb8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
lea rbx, [rax + 0x38]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0xb8]
mov rax, qword [rbp + 0x58]
mov r9d, dword [rax]
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x30]
mov word [rsp + 0x20], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x32]
mov word [rsp + 0x28], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x34]
mov word [rsp + 0x30], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x3a]
mov word [rsp + 0x38], ax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x132]
mov qword [rsp + 0x48], rax
call qword [rbx]
cmp byte [rbp + 0x132], 0
je 0x494481
mov qword [rbp + 0x148], 0xffffffffffffffff
jmp 0x494a1a
cmp qword [rbp + 0x140], 0
jne 0x49449b
mov qword [rbp + 0x148], 0
jmp 0x494a1a
call fcn.004955d0
mov rcx, rax
mov rdx, qword [rbp + 0x140]
call fcn.00490d00
test al, al
jne 0x49452e
lea rcx, [rbp + 0xb0]
mov rdx, qword [rbp + 0x140]
call fcn.00428370
mov rcx, qword [rbp + 0xb0]
call fcn.00427bb0
mov rcx, qword [rbp + 0x140]
mov dl, 1
call fcn.00427980
test al, al
je 0x49452e
mov rcx, qword [rbp + 0x140]
mov dl, 1
call fcn.00427d10
mov ecx, eax
test ecx, 1
je 0x49452e
mov rcx, qword [rbp + 0x50]
movzx rcx, byte [rcx + 0x20]
test cl, 2
je 0x49451a
mov qword [rbp + 0x148], 0
jmp 0x494a1b
mov rcx, qword [rbp + 0x140]
mov edx, eax
and edx, 0xfffffffe
mov r8b, 1
call fcn.00427e30
mov dword [rbp + 0x134], 0
lea rcx, [rbp + 0x128]
mov rdx, qword [rbp + 0x140]
xor r8, r8
call fcn.0040bd40
mov rcx, qword [rbp + 0x128]
call fcn.0040bbc0
mov rcx, rax
mov edx, 0x8121
mov r8d, 0x180
lea r9, [rbp + 0x134]
call fcn.00491710
mov qword [rbp + 0x148], rax
cmp dword [rbp + 0x134], 0
je 0x494597
call fcn.00410c40
mov ecx, dword [rbp + 0x134]
mov dword [rax + 0x1b4], ecx
cmp qword [rbp + 0x148], 0xffffffffffffffff
je 0x494a1a
lea rcx, [rbp + 0xa8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0xb8]
mov rcx, rax
mov rdx, qword [rbp + 0xa8]
mov rax, qword [rax]
call qword [rax + 0x70]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0xc0]
mov rcx, rax
mov rdx, qword [rbp + 0x140]
mov rax, qword [rax]
call qword [rax + 0x70]
jmp 0x494a1a
mov dword [rbp + 0x134], 0
mov rax, qword [rbp + 0x58]
mov ecx, dword [rax + 0x28]
lea rdx, [rbp + 0x134]
call fcn.00491a20
lea rcx, [rbp + 0xa0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0xb8]
mov rcx, rax
mov rdx, qword [rbp + 0xa0]
mov rax, qword [rax]
call qword [rax + 0xa8]
mov ebx, eax
test ebx, ebx
jl 0x4946f0
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0xc0]
mov rcx, rax
lea rdx, [rbp + 0x140]
mov r8d, ebx
mov rsi, qword [rax]
call qword [rsi + 0x18]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0xb8]
mov rcx, rax
mov edx, ebx
mov rsi, qword [rax]
call qword [rsi + 0x90]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 0xc0]
mov rcx, rax
mov edx, ebx
mov rbx, qword [rax]
call qword [rbx + 0x90]
lea rcx, [rbp + 0x128]
mov rdx, qword [rbp + 0x140]
xor r8, r8
call fcn.0040bd40
mov rcx, qword [rbp + 0x128]
call fcn.0040bbc0
mov rcx, rax
mov rax, qword [rbp + 0x58]
movzx rdx, word [rax + 0x30]
mov rax, qword [rbp + 0x58]
movzx r8, word [rax + 0x32]
mov rax, qword [rbp + 0x58]
movzx r9, word [rax + 0x34]
lea rax, [rbp + 0x134]
mov qword [rsp + 0x20], rax
call fcn.00491e00
jmp 0x4946fc
lea rcx, [rbp + 0x140]
call fcn.0040aa00
mov rax, qword [rbp + 0x58]
mov eax, dword [rax]
and eax, 1
cmp eax, 1
sete al
mov byte [rbp + 0x133], al
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x58], 0
je 0x4947a4
lea rcx, [rbp + 0x98]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
lea rbx, [rax + 0x58]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x98]
mov rax, qword [rbp + 0x58]
movzx r9, word [rax + 0x30]
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x32]
mov word [rsp + 0x20], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x34]
mov word [rsp + 0x28], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x3a]
mov word [rsp + 0x30], ax
lea rax, [rbp + 0x133]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x140]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x132]
mov qword [rsp + 0x48], rax
call qword [rbx]
cmp byte [rbp + 0x132], 0
je 0x4947bd
mov qword [rbp + 0x148], 0xffffffffffffffff
jmp 0x494a1a
cmp byte [rbp + 0x133], 0
je 0x494810
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x20]
test al, 1
je 0x494810
cmp qword [rbp + 0x140], 0
je 0x494810
mov rcx, qword [rbp + 0x140]
call fcn.0040c300
xor rcx, rcx
lea rdx, [0x00494ae0]
mov r8, rax
xor r9, r9
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 1
call sub.shell32.dll_ShellExecuteW
mov qword [rbp + 0x148], 1
jmp 0x494a1a
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x68], 0
je 0x49490e
lea rcx, [rbp + 0x138]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x18]
call fcn.0040c350
lea rcx, [rbp + 0x90]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
lea rcx, [rbp + 0x88]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x10]
call fcn.0040c350
mov rax, qword [rbp + 0x50]
lea rbx, [rax + 0x68]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x90]
mov r9, qword [rbp + 0x88]
lea rax, [rbp + 0x138]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x58]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x132]
mov qword [rsp + 0x30], rax
call qword [rbx]
cmp byte [rbp + 0x132], 0
je 0x4948c4
mov qword [rbp + 0x148], 0xffffffffffffffff
jmp 0x494930
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x138]
call fcn.00431cb0
lea rcx, [rbp + 0x128]
mov rdx, qword [rbp + 0x80]
xor r8, r8
call fcn.0040bd40
mov rax, qword [rbp + 0x58]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rbp + 0x128]
call fcn.00428a40
mov qword [rbp + 0x148], 0
jmp 0x494930
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x3c], 0
jne 0x494925
mov qword [rbp + 0x148], 0
jmp 0x494930
mov qword [rbp + 0x148], 0xffffffffffffffff
lea rcx, [rbp + 0x70]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x18]
call fcn.0040c350
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0x68]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 8]
call fcn.0040c350
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x78]
lea rdx, [rbp + 0x108]
mov r8d, 1
call fcn.004914c0
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0xa0]
mov rdx, qword [rbp + 0x78]
call fcn.0040b050
mov rax, qword [rbp + 0x50]
mov byte [rax + 0xa8], 1
jmp 0x494a1a
mov qword [rbp + 0x148], 0
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x78], 0
je 0x494a1a
mov rax, qword [rbp + 0x50]
lea rbx, [rax + 0x78]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x50]
mov r8d, dword [rbp + 0x64]
mov r9, qword [rbp + 0x58]
lea rax, [rbp + 0x148]
mov qword [rsp + 0x20], rax
call qword [rbx]
jmp 0x494a1a
mov qword [rbp + 0x148], 0
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x78], 0
je 0x494a1a
mov rax, qword [rbp + 0x50]
lea rbx, [rax + 0x78]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x50]
mov r8d, dword [rbp + 0x64]
mov r9, qword [rbp + 0x58]
lea rax, [rbp + 0x148]
mov qword [rsp + 0x20], rax
call qword [rbx]
nop
lea rcx, [rbp + 0x68]
mov edx, 0x14
call fcn.0040aae0
lea rcx, [rbp + 0x118]
call fcn.0040aa00
lea rcx, [rbp + 0x128]
call fcn.0040aa50
lea rcx, [rbp + 0x138]
mov edx, 2
call fcn.0040aae0
mov rax, qword [rbp + 0x148]
lea rsp, [rbp + 0x150]
pop rbx
pop rsi
pop rbp
ret