Function at 0x404aa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec018
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
mov eax, dword [0x66dd68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00408985
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404ae1
push 0x80004005
call fcn.00402920
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov eax, str.UnInstall
shr eax, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x404b24
mov ecx, str.UnInstall
movzx ebx, cx
push ebx
call fcn.0040881f
test eax, eax
je 0x404b34
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00402470
jmp 0x404b31
push str.UnInstall
lea ecx, [ebp - 0x18]
call fcn.00406ba0
mov esi, dword [ebp - 0x18]
mov eax, 1
mov dword [ebp - 4], eax
cmp dword [esi - 4], eax
jle 0x404b50
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00401500
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x630498
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x24], 0
call fcn.00402b60
push 0x630498
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.00402b60
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402b60
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
xor bl, bl
call fcn.004064e0
mov ecx, eax
call fcn.00406560
push 4
lea edx, [ebp - 0x18]
push edx
mov ecx, eax
call fcn.00405f90
mov eax, dword [eax]
push str..msi
push eax
call fcn.0059e7c9
add esp, 8
test eax, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
jne 0x404c41
lea ecx, [ebp - 0x28]
call fcn.004064e0
mov ecx, eax
call fcn.00406560
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jne 0x404c43
lea ecx, [ebp - 0x20]
call fcn.004064e0
mov ecx, eax
call fcn.00406560
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
jne 0x404c43
mov bl, 1
push 0x3c
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.005a28d0
or dword [ebp - 0x74], 0x40
add esp, 0xc
mov esi, 1
push 0x630498
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], str.open
call fcn.00402b60
push 0x630498
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00402b60
mov byte [ebp - 4], 7
test bl, bl
je 0x404eeb
push 7
push str.msiexec
lea ecx, [ebp - 0x14]
call fcn.004029a0
call fcn.00408985
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404cc7
push 0x80004005
call fcn.00402920
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004064e0
mov ecx, eax
call fcn.00406560
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x404d39
push 0x63116c
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004060d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00406ad0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.004064e0
mov ecx, eax
call fcn.00406560
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x404d63
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401c60
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x404e7b
push 3
push 0x631170
lea ecx, [ebp - 0x1c]
call fcn.004029a0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x38]
push 0x631180
push eax
call fcn.004061b0
push 0x631178
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 0xa
call fcn.004060d0
lea edx, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp - 0x30]
mov bl, 0xb
push eax
mov byte [ebp - 4], bl
call fcn.00406010
add esp, 0x24
mov byte [ebp - 4], 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401c60
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404dec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi - 4], 1
jle 0x404e47
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov esi, dword [ebp - 0x18]
mov eax, esi
call fcn.004057b0
mov bl, al
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0059e180
add esp, 8
test eax, eax
js 0x404e71
cmp eax, dword [esi - 8]
jg 0x404e71
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
jmp 0x404ec2
push 0x80070057
call fcn.00402920
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
push 0x631170
push ecx
call fcn.004061b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00406ad0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 1
lea eax, [esi - 0x10]
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404fbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404fbf
push 0x63116c
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.004060d0
lea ecx, [ebp - 0x20]
push ecx
push eax
lea edx, [ebp - 0x38]
mov bl, 0xe
push edx
mov byte [ebp - 4], bl
call fcn.00406010
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.00406ad0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00406ad0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], esi
jle 0x404f88
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.004026d0
mov eax, dword [ebp - 0x14]
call fcn.004057b0
mov bl, al
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0059e180
add esp, 8
test eax, eax
js 0x404e71
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x404e71
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], ecx
push 0x631184
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x68], eax
call fcn.00402b60
push ecx
mov edx, esp
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x34], esp
lea ecx, [ebp - 0x14]
push ecx
push eax
push edx
call fcn.00406010
add esp, 0xc
call fcn.004011e0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40501b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Parameters:
lea ecx, [ebp - 0x38]
call fcn.00402b60
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x34], esp
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
call fcn.00406010
add esp, 0xc
call fcn.004011e0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40506b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40520a
lea ecx, [ebp - 0x78]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40516d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40516d
call fcn.00408985
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4050b0
push 0x80004005
call fcn.00402920
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov bl, 0x12
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x18]
push str.Unable_to_execute:__u
push edx
call fcn.00402120
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00401f30
call fcn.004011e0
add esp, 4
push str.UnInstall
lea ecx, [ebp - 0x38]
call fcn.00406c30
mov esi, eax
mov byte [ebp - 4], 0x13
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x405115
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.004026d0
mov ecx, dword [esi]
call fcn.00401670
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40513e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4052c6
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x40]
push 0x64
push ecx
call esi
test eax, eax
jne 0x405173
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call fcn.00408985
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4051a7
push 0x80004005
call fcn.00402920
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x18]
push str.Exit_code:__u
push edx
call fcn.00402120
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00401f30
call fcn.004011e0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405222
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405222
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.File_not_found_
call fcn.00402b60
call fcn.004011e0
add esp, 4
call fcn.00408985
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40523c
push 0x80004005
call fcn.00402920
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0x15
jne 0x405273
mov ecx, str.UnInstall
movzx ebx, cx
push ebx
call fcn.0040881f
test eax, eax
je 0x405283
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00402470
jmp 0x405280
push str.UnInstall
lea ecx, [ebp - 0x18]
call fcn.00406ba0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x16
cmp dword [esi - 4], 1
jle 0x40529c
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00401670
lea eax, [esi - 0x10]
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40530c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40532f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret