Function at 0x404dd0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4437f1
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x458640]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458640]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2ac]
mov dword [esp + 0x20], edi
call fcn.00414bb7
mov ecx, dword [eax + 4]
call fcn.00414f7d
mov dword [esp + 0x2a4], 0
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404e48
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x2a4], 1
call fcn.00411614
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404e7a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0xff
lea ecx, [esp + 0x9d]
push 0
push ecx
mov byte [esp + 0x2b0], 2
mov byte [esp + 0xa4], 0
call fcn.0042d950
lea edx, [esp + 0xa4]
add esp, 0xc
mov eax, edi
sub edx, edi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x404ec0
push str..msi
push edi
call fcn.0042d0a0
add esp, 8
test eax, eax
jbe 0x404f6c
push 0x100
lea edx, [esp + 0x9c]
push 0
push edx
call fcn.0042d950
lea eax, [esp + 0xa4]
add esp, 0xc
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x404f03
mov ecx, dword [str.MSIEXEC.exe__i]
mov edx, dword [0x447c64]
mov dword [eax], ecx
mov ecx, dword [0x447c68]
mov dword [eax + 4], edx
mov edx, dword [0x447c6c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, edi
mov ecx, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404f34
lea edi, [esp + 0x98]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
jmp 0x404f50
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x404f50
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
push 0x67
call fcn.004152df
test eax, eax
je 0x404f83
push 0x67
push eax
lea ecx, [esp + 0x24]
call fcn.004043c0
push 0x76
call fcn.004152df
test eax, eax
je 0x404f9a
push 0x76
push eax
lea ecx, [esp + 0x20]
call fcn.004043c0
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0042d950
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0xb8]
push eax
push 0
mov dword [esp + 0x60], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x405060
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push 0x30
push edi
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi - 0x10]
mov byte [esp + 0x2a4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405020
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x2a4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405044
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x17]
mov dword [esp + 0x2a4], 0xffffffff
call fcn.00404cc0
or eax, 0xffffffff
jmp 0x405192
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.USER32.dll_WaitMessage]
lea esi, [esp + 0x198]
sub esi, edi
mov ecx, dword [esp + 0x28]
push 0x7d0
push ecx
call ebp
mov edi, eax
call ebx
push 0xff
lea edx, [esp + 0x19d]
push 0
push edx
mov byte [esp + 0x1a4], 0
call fcn.0042d950
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x4050a8
lea eax, [esp + 0x198]
push eax
call fcn.00443498
lea ecx, [esp + 0x19c]
push str.RUNMSI.EXE
push ecx
call fcn.0042d0a0
add esp, 0xc
test eax, eax
jbe 0x4050e5
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x16
push 0x16
push 0
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x4051bc
test edi, edi
jne 0x405075
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call fcn.00414bb7
mov ecx, dword [eax + 4]
call fcn.00414fa7
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x2a4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2a4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40517c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x17]
mov dword [esp + 0x2a4], 0xffffffff
call fcn.00404cc0
mov eax, esi
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0042cf8a
add esp, 0x294
ret 4
push 0
call fcn.0042dc46
int3