Function at 0x4930c0
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.004106e0
mov dword [rax + 0x1b4], 0
mov byte [rbp + 0x132], 0
mov eax, dword [rbp + 0x64]
cmp eax, 3
jg 0x49321f
cmp eax, 3
je 0x49374b
sub eax, 1
cmp eax, 0xffffffff
je 0x49323a
test eax, eax
je 0x4933cc
sub eax, 1
test eax, eax
jne 0x493b2e
jmp 0x4934e6
sub eax, 4
test eax, eax
je 0x493975
sub eax, 1
test eax, eax
jne 0x493b2e
jmp 0x493af1
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0xa0], 0
je 0x493263
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x98]
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax + 0xa0]
call fcn.0040b030
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x88]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x88], 0
je 0x4932ee
lea rcx, [rbp + 0x100]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x14]
call fcn.0040c000
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.00490630
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x88]
mov rdx, qword [rbp + 0x118]
call fcn.0040b030
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0x90]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0xc]
call fcn.0040c000
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x28], 0
je 0x4933a5
lea rcx, [rbp + 0xf8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
lea rcx, [rbp + 0xf0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0xc]
call fcn.0040c000
lea rcx, [rbp + 0xe8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x14]
call fcn.0040c000
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 + 0x2e]
mov word [rsp + 0x28], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x30]
mov word [rsp + 0x30], ax
lea rax, [rbp + 0x132]
mov qword [rsp + 0x38], rax
call qword [rbx]
cmp byte [rbp + 0x132], 0
je 0x4933bd
mov dword [rbp + 0x14c], 0xffffffff
jmp 0x493b69
mov dword [rbp + 0x14c], 0
jmp 0x493b69
lea rcx, [rbp + 0xe0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
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 0x493424
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 0x493430
lea rcx, [rbp + 0x140]
call fcn.0040a9e0
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x48], 0
je 0x4934bf
lea rcx, [rbp + 0xd8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
lea rcx, [rbp + 0xd0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0xc]
call fcn.0040c000
lea rcx, [rbp + 0xc8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x14]
call fcn.0040c000
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 0x4934d7
mov dword [rbp + 0x14c], 0xffffffff
jmp 0x493b69
mov dword [rbp + 0x14c], 0
jmp 0x493b69
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 + 4]
call fcn.0040c000
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x140]
lea rdx, [rbp + 0x108]
mov r8d, 1
call fcn.00490630
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x38], 0
je 0x4935c4
lea rcx, [rbp + 0xb8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
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 + 0x28]
mov word [rsp + 0x20], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x2a]
mov word [rsp + 0x28], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x2c]
mov word [rsp + 0x30], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x32]
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 0x4935dc
mov dword [rbp + 0x14c], 0xffffffff
jmp 0x493b69
cmp qword [rbp + 0x140], 0
jne 0x4935f5
mov dword [rbp + 0x14c], 0
jmp 0x493b69
call fcn.00494720
mov rcx, rax
mov rdx, qword [rbp + 0x140]
call fcn.0048fe70
test al, al
jne 0x493687
lea rcx, [rbp + 0xb0]
mov rdx, qword [rbp + 0x140]
call fcn.00427f20
mov rcx, qword [rbp + 0xb0]
call fcn.00427760
mov rcx, qword [rbp + 0x140]
mov dl, 1
call fcn.00427530
test al, al
je 0x493687
mov rcx, qword [rbp + 0x140]
mov dl, 1
call fcn.004278c0
mov ecx, eax
test ecx, 1
je 0x493687
mov rcx, qword [rbp + 0x50]
movzx rcx, byte [rcx + 0x20]
test cl, 2
je 0x493673
mov dword [rbp + 0x14c], 0
jmp 0x493b6a
mov rcx, qword [rbp + 0x140]
mov edx, eax
and edx, 0xfffffffe
mov r8b, 1
call fcn.004279e0
mov dword [rbp + 0x134], 0
lea rcx, [rbp + 0x128]
mov rdx, qword [rbp + 0x140]
xor r8, r8
call fcn.0040b8c0
mov rcx, qword [rbp + 0x128]
call fcn.0040b7c0
mov rcx, rax
mov edx, 0x8121
mov r8d, 0x180
lea r9, [rbp + 0x134]
call fcn.00490880
mov dword [rbp + 0x14c], eax
cmp dword [rbp + 0x134], 0
je 0x4936ef
call fcn.004106e0
mov ecx, dword [rbp + 0x134]
mov dword [rax + 0x1b4], ecx
cmp dword [rbp + 0x14c], 0xffffffff
je 0x493b69
lea rcx, [rbp + 0xa8]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
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 0x493b69
mov dword [rbp + 0x134], 0
mov rax, qword [rbp + 0x58]
mov ecx, dword [rax + 0x24]
lea rdx, [rbp + 0x134]
call fcn.00490b80
lea rcx, [rbp + 0xa0]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
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 0x493847
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.0040b8c0
mov rcx, qword [rbp + 0x128]
call fcn.0040b7c0
mov rcx, rax
mov rax, qword [rbp + 0x58]
movzx rdx, word [rax + 0x28]
mov rax, qword [rbp + 0x58]
movzx r8, word [rax + 0x2a]
mov rax, qword [rbp + 0x58]
movzx r9, word [rax + 0x2c]
lea rax, [rbp + 0x134]
mov qword [rsp + 0x20], rax
call fcn.00490f60
jmp 0x493853
lea rcx, [rbp + 0x140]
call fcn.0040a9e0
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 0x4938fb
lea rcx, [rbp + 0x98]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
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 + 0x28]
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x2a]
mov word [rsp + 0x20], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x2c]
mov word [rsp + 0x28], ax
mov rax, qword [rbp + 0x58]
movzx rax, word [rax + 0x32]
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 0x493913
mov dword [rbp + 0x14c], 0xffffffff
jmp 0x493b69
cmp byte [rbp + 0x133], 0
je 0x493966
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x20]
test al, 1
je 0x493966
cmp qword [rbp + 0x140], 0
je 0x493966
mov rcx, qword [rbp + 0x140]
call fcn.0040bfb0
xor rcx, rcx
lea rdx, [0x00493c30]
mov r8, rax
xor r9, r9
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 1
call sub.shell32.dll_ShellExecuteW
mov dword [rbp + 0x14c], 1
jmp 0x493b69
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x68], 0
je 0x493a61
lea rcx, [rbp + 0x138]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x14]
call fcn.0040c000
lea rcx, [rbp + 0x90]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
lea rcx, [rbp + 0x88]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0xc]
call fcn.0040c000
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 + 0x34]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x132]
mov qword [rsp + 0x30], rax
call qword [rbx]
cmp byte [rbp + 0x132], 0
je 0x493a18
mov dword [rbp + 0x14c], 0xffffffff
jmp 0x493a81
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x138]
call fcn.00431860
lea rcx, [rbp + 0x128]
mov rdx, qword [rbp + 0x80]
xor r8, r8
call fcn.0040b8c0
mov rax, qword [rbp + 0x58]
mov rcx, qword [rax + 0x14]
mov rdx, qword [rbp + 0x128]
call fcn.004285f0
mov dword [rbp + 0x14c], 0
jmp 0x493a81
mov rax, qword [rbp + 0x58]
cmp dword [rax + 0x34], 0
jne 0x493a77
mov dword [rbp + 0x14c], 0
jmp 0x493a81
mov dword [rbp + 0x14c], 0xffffffff
lea rcx, [rbp + 0x70]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 0x14]
call fcn.0040c000
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x108], rax
lea rcx, [rbp + 0x68]
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax + 4]
call fcn.0040c000
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x78]
lea rdx, [rbp + 0x108]
mov r8d, 1
call fcn.00490630
mov rax, qword [rbp + 0x50]
lea rcx, [rax + 0xa0]
mov rdx, qword [rbp + 0x78]
call fcn.0040b030
mov rax, qword [rbp + 0x50]
mov byte [rax + 0xa8], 1
jmp 0x493b69
mov dword [rbp + 0x14c], 0
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x78], 0
je 0x493b69
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 + 0x14c]
mov qword [rsp + 0x20], rax
call qword [rbx]
jmp 0x493b69
mov dword [rbp + 0x14c], 0
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x78], 0
je 0x493b69
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 + 0x14c]
mov qword [rsp + 0x20], rax
call qword [rbx]
nop
lea rcx, [rbp + 0x68]
mov edx, 0x14
call fcn.0040aac0
lea rcx, [rbp + 0x118]
call fcn.0040a9e0
lea rcx, [rbp + 0x128]
call fcn.0040aa30
lea rcx, [rbp + 0x138]
mov edx, 2
call fcn.0040aac0
mov eax, dword [rbp + 0x14c]
lea rsp, [rbp + 0x150]
pop rbx
pop rsi
pop rbp
ret