Function at 0x4095d1
Capabilities:
Create process on windows

Disassembly:
push 8
push 0x560
mov eax, 0x41f576
call fcn.0040cd73
mov esi, ecx
mov dword [ebp - 0x4b0], esi
movzx eax, word [ebx + 0x10]
xor edi, edi
mov ecx, dword [ebx + 0x14]
inc edi
mov dword [ebp - 0x494], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x4b4], ecx
push 2
pop edx
cmp ax, di
je 0x40961e
cmp ax, dx
je 0x40961e
push 3
pop edx
cmp ax, dx
jne 0x409622
test ecx, ecx
jne 0x40962c
mov eax, 0x80070057
jmp 0x409804
mov ecx, esi
call fcn.0040b706
push dword [esi + 0xc]
lea ecx, [ebp - 0x4e4]
call fcn.0040903d
mov eax, dword [ebp - 0x4e0]
xor ecx, ecx
mov edi, dword [ebp - 0x4e4]
sub eax, edi
cdq
mov dword [ebp - 0x4ac], 0x24
idiv dword [ebp - 0x4ac]
mov dword [ebp - 0x4a0], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x480], eax
test eax, eax
je 0x4097b5
mov eax, ecx
mov dword [ebp - 0x484], ecx
add eax, edi
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.00403e24
pop ecx
pop ecx
xor edi, edi
mov dword [ebp - 0x478], edi
mov esi, dword [ebp - 0x48c]
mov byte [ebp - 4], 2
test esi, esi
je 0x4096c5
mov eax, dword [esi]
lea ecx, [ebp - 0x478]
push ecx
push esi
call dword [eax + 0x20]
mov eax, dword [ebp - 0x478]
test eax, eax
jne 0x4096f0
mov eax, dword [ebp - 0x4e4]
lea edx, [ebp - 0x478]
mov ecx, dword [ebp - 0x484]
push edx
push 0x42091c
mov ecx, dword [eax + ecx + 0x1c]
push ecx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x409736
lea ecx, [ebp - 0x4a4]
push ecx
lea ecx, [ebp - 0x47c]
push ecx
lea ecx, [ebp - 0x4a8]
push ecx
push eax
call fcn.0040bbda
add esp, 0x10
test eax, eax
js 0x409730
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x409730
cmp dword [ebp - 0x4a4], eax
jne 0x409730
mov eax, dword [ebp - 0x490]
cmp word [ebp - 0x47c], ax
je 0x409789
mov eax, dword [ebp - 0x478]
mov byte [ebp - 4], 5
test eax, eax
je 0x409744
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
test esi, esi
je 0x409752
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edx, dword [ebp - 0x488]
xor ecx, ecx
mov eax, dword [ebp - 0x484]
inc edx
add eax, dword [ebp - 0x4ac]
mov byte [ebp - 4], cl
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x484], eax
cmp edx, dword [ebp - 0x480]
jae 0x4097af
mov edi, dword [ebp - 0x4e4]
jmp 0x409687
mov ecx, dword [ebp - 0x4b4]
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x478], edi
mov dword [ecx], eax
mov byte [ebp - 4], 4
test esi, esi
je 0x4097ab
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
jmp 0x4097ed
mov esi, dword [ebp - 0x4b0]
cmp dword [ebx + 8], 2
je 0x4097e8
mov edi, dword [esi]
mov eax, dword [esi + 4]
sub eax, edi
mov dword [ebp - 0x47c], edi
push 0x18
cdq
pop esi
idiv esi
mov edx, eax
test edx, edx
je 0x4097e8
mov eax, ecx
cmp dword [edi + 0x10], ecx
je 0x40980f
inc eax
add edi, esi
mov dword [ebp - 0x47c], edi
cmp eax, edx
jb 0x4097d6
mov eax, 0x80004005
mov dword [ebp - 0x4a0], eax
lea ecx, [ebp - 0x4e4]
call fcn.004066e2
mov eax, dword [ebp - 0x4a0]
mov ecx, dword [ebp - 0x14]
call fcn.0040cd4e
ret 0x14
or dword [edi + 0x10], 0xffffffff
lea eax, [ebp - 0x450]
push 0x3e8
push ecx
push eax
call fcn.0040f250
add esp, 0xc
lea ecx, [ebp - 0x48c]
push dword [ebp - 0x494]
call fcn.00407128
mov esi, dword [eax]
lea ecx, [ebp - 0x494]
push edi
mov byte [ebp - 4], 7
call fcn.0040789f
xor edi, edi
mov edx, 0x421368
push esi
inc edi
mov ecx, 0x421360
push dword [eax]
cmp word [ebp - 0x490], di
lea eax, [ebp - 0x450]
cmovne ecx, edx
push ecx
push str._s__Automation__guid:_s__s
push 0x1f3
push 0x1f4
push eax
mov dword [ebp - 0x4a8], ecx
call fcn.0040b933
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0x1c
push dword [ebp - 0x494]
call esi
push dword [ebp - 0x48c]
mov byte [ebp - 4], 0
call esi
push 0x40
lea eax, [ebp - 0x56c]
mov dword [ebp - 0x570], 0x44
push 0
push eax
call fcn.0040f250
xor eax, eax
lea edi, [ebp - 0x508]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x490]
xor edi, edi
movzx eax, ax
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.00403bd1
add esp, 0x14
mov eax, dword [ebp - 0x4b8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [eax - 0xc], edi
jle 0x409930
lea ecx, [ebp - 0x508]
push ecx
lea ecx, [ebp - 0x570]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x450]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x409930
push dword [ebp - 0x508]
call esi
push dword [ebp - 0x504]
call esi
xor edx, edx
mov dword [ebp - 0x488], edx
push 9
pop eax
mov byte [ebp - 4], al
test edi, edi
je 0x409ec6
mov ecx, dword [ebp - 0x47c]
lea edi, [ebp - 0x68]
mov eax, dword [ebp - 0x500]
mov esi, str.192751BF_2639_487d_B97E_67EFFFC62822
push 0x13
mov dword [ecx + 0x10], eax
pop eax
mov ecx, eax
lea eax, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
push eax
push edx
push edx
push edx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x40998c
push 0x5dc
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x480], eax
mov edi, dword [ebp - 0x47c]
lea ecx, [ebp - 0x480]
push ecx
push 0x42091c
push 4
push eax
push edi
mov byte [ebp - 4], 0xb
call dword [sym.imp.ole32.dll_CoCreateInstance]
xor ecx, ecx
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 0x4a4], ecx
mov dword [ebp - 0x494], ecx
test eax, eax
js 0x409d9f
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x480]
call fcn.0040bbda
add esp, 0x10
test eax, eax
js 0x409d9f
cmp dword [ebp - 0x4a4], 0
jne 0x409ea0
mov eax, dword [ebp - 0x48c]
cmp eax, dword [ebp - 0x500]
jne 0x409ea0
xor eax, eax
lea ecx, [ebp - 0x528]
push str.Property
mov word [ebp - 0x528], ax
call fcn.004092af
and dword [ebp - 0x484], 0
mov eax, dword [ebp - 0x480]
lea edx, [ebp - 0x484]
push edx
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov edi, esp
lea esi, [ebp - 0x528]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
je 0x409a79
mov ecx, dword [ebp - 0x47c]
and dword [ecx + 0x10], 0
jmp 0x409d01
and dword [ebp - 0x478], 0
mov eax, dword [ebp - 0x484]
lea edx, [ebp - 0x478]
push edx
push 0x421350
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x14
call dword [ecx]
test eax, eax
je 0x409aae
mov ecx, dword [ebp - 0x47c]
and dword [ecx + 0x10], 0
jmp 0x409ced
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x498], eax
push 3
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x49c], eax
pop eax
mov word [ebp - 0x4d8], ax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4d0], eax
lea esi, [ebp - 0x4d8]
mov byte [ebp - 4], 0x19
lea edi, [ebp - 0x518]
xor eax, eax
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x4c8]
push 0x421404
mov word [ebp - 0x4c8], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004092af
sub esp, 0x10
mov byte [ebp - 4], 0x1a
mov edi, esp
lea esi, [ebp - 0x518]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x4c8]
push dword [ebp - 0x498]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebp - 0x49c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x4c8]
push eax
call esi
lea eax, [ebp - 0x4d8]
push eax
call esi
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x49c], eax
push 0x13
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x498], eax
pop eax
mov word [ebp - 0x4c8], ax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c0], eax
lea esi, [ebp - 0x4c8]
mov byte [ebp - 4], 0x1b
lea edi, [ebp - 0x518]
xor eax, eax
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x4d8]
push str.UUin
mov word [ebp - 0x4d8], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004092af
sub esp, 0x10
mov byte [ebp - 4], 0x1c
mov edi, esp
lea esi, [ebp - 0x518]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x4d8]
push dword [ebp - 0x49c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebp - 0x498]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x4d8]
push eax
call esi
lea eax, [ebp - 0x4c8]
push eax
call esi
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x49c], eax
push 2
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x498], eax
pop eax
mov word [ebp - 0x4c8], ax
mov eax, dword [ebp - 0x490]
mov word [ebp - 0x4c0], ax
lea esi, [ebp - 0x4c8]
mov byte [ebp - 4], 0x1d
lea edi, [ebp - 0x518]
xor eax, eax
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x4d8]
push str.AppType
mov word [ebp - 0x4d8], ax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004092af
sub esp, 0x10
mov byte [ebp - 4], 0x1e
mov edi, esp
lea esi, [ebp - 0x518]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x4d8]
push dword [ebp - 0x49c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebp - 0x498]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x4d8]
push eax
call esi
lea eax, [ebp - 0x4c8]
push eax
call esi
push 0x10
lea eax, [ebp - 0x4f8]
push 0
push eax
call fcn.0040f250
add esp, 0xc
lea eax, [ebp - 0x4f8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 9
pop eax
mov word [ebp - 0x4f8], ax
lea edx, [ebp - 0x4f0]
mov eax, dword [ebp - 0x478]
mov byte [ebp - 4], 0x1f
push edx
mov ecx, dword [eax]
push 0x42150c
push eax
call dword [ecx]
test eax, eax
je 0x409d23
mov ecx, dword [ebp - 0x47c]
xor eax, eax
mov word [ebp - 0x4f8], ax
and dword [ecx + 0x10], eax
lea eax, [ebp - 0x4f8]
push eax
call esi
mov eax, dword [ebp - 0x478]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x409d01
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x484]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x409d15
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x528]
push eax
call esi
jmp 0x409ea4
mov eax, dword [ebp - 0x480]
lea esi, [ebp - 0x4f8]
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x20]
test eax, eax
js 0x409d54
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x488]
call fcn.00409244
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x4f8]
push eax
call esi
mov eax, dword [ebp - 0x4ac]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x409d7c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x484]
mov byte [ebp - 4], 0x25
test eax, eax
je 0x409d90
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x528]
push eax
call esi
mov edi, dword [ebp - 0x47c]
mov eax, dword [ebp - 0x480]
mov byte [ebp - 4], 0x26
test eax, eax
je 0x409db3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x488]
push 9
pop eax
mov byte [ebp - 4], al
test esi, esi
je 0x409ec4
lea ecx, [ebp - 0x474]
call fcn.00402263
push 0x420f6c
mov byte [ebp - 4], 0x27
call fcn.00411a4f
pop ecx
push eax
push 0x420f6c
lea ecx, [ebp - 0x460]
call fcn.00405ebd
push dword [ebp - 0x4a8]
lea ecx, [ebp - 0x45c]
call fcn.00405e94
mov eax, dword [edi + 0x10]
push eax
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x4a8]
push esi
push eax
call fcn.0040c27c
add esp, 0xc
lea ecx, [ebp - 0x458]
push eax
call fcn.004025a7
mov eax, dword [ebp - 0x4a8]
mov byte [ebp - 4], 0x28
test eax, eax
je 0x409e3d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x4b0]
xor eax, eax
and dword [ebp - 0x464], 0
inc eax
mov byte [ebp - 0x454], al
xor eax, eax
mov word [ebp - 0x470], ax
mov eax, dword [ebp - 0x490]
mov ecx, dword [ecx + 0xc]
mov word [ebp - 0x46e], ax
lea eax, [ebp - 0x474]
push eax
mov byte [ebp - 4], 0x27
call fcn.00401d40
lea eax, [ebp - 0x488]
push eax
lea ecx, [edi + 0x14]
call fcn.00409244
mov ecx, dword [ebp - 0x4b4]
mov dword [ecx], esi
lea ecx, [ebp - 0x474]
call fcn.0040254d
jmp 0x409eda
and dword [edi + 0x10], 0
mov eax, dword [ebp - 0x480]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x409eb8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x4a0], 0x80004005
jmp 0x409eda
xor edx, edx
mov ecx, dword [ebp - 0x47c]
mov dword [ecx + 0x10], edx
mov edx, 0x80004005
mov dword [ebp - 0x4a0], edx
mov ecx, dword [ebp - 0x4b8]
lea ecx, [ecx - 0x10]
call fcn.00405d50
jmp 0x4097f3