Function at 0x4f8040
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f2e9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x138], eax
xor edi, edi
mov dword [ebp - 0x12c], edi
lea edi, [eax + 4]
lea ecx, [edi + 0x34]
mov dword [ebp - 0x13c], edi
call fcn.00427090
mov eax, dword [edi + 0xc]
lea ecx, [edi + 8]
mov esi, dword [ecx]
mov dword [ebp - 0x140], ecx
cmp esi, eax
je 0x4f80d2
mov edi, eax
mov ecx, esi
call fcn.00407f30
add esi, 0x18
cmp esi, edi
jne 0x4f80b6
mov ecx, dword [ebp - 0x140]
mov edi, dword [ebp - 0x13c]
mov esi, dword [ecx]
mov dword [ecx + 4], esi
mov eax, dword [edi + 4]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x4f8176
mov dword [ebp - 0xd0], 0x59b6ec
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xcc], edi
mov eax, dword [eax]
push 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov esi, dword [eax + 4]
xor eax, eax
push str.Property
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407c60
mov dword [ebp - 4], 0
lea eax, [ebp - 0xd0]
mov ecx, dword [ebp - 0x134]
push eax
push 0
push 0
push 0x5dc6c4
lea eax, [ebp - 0xb0]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00407f30
mov edi, dword [edi + 0x38]
mov esi, dword [edi]
cmp esi, edi
je 0x4f81a1
nop
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4f818b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x13c]
push 0
push 0
push eax
call fcn.0051b940
mov esi, dword [esi]
cmp esi, edi
jne 0x4f8180
mov edi, dword [ebp - 0x138]
lea eax, [ebp - 0x128]
push eax
mov byte [edi + 0xf0], 1
call fcn.004f9d80
mov dword [ebp - 4], 1
xor eax, eax
push 1
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe4], 0
push 0x588c84
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.00407c60
mov byte [ebp - 4], 2
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x128]
call fcn.00486640
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f8229
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00408620
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f30
push 2
push 0x59a418
lea ecx, [ebp - 0xf8]
call fcn.00408620
mov eax, dword [edi + 0x68]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov edx, dword [eax + 0xc4]
mov esi, dword [edx + 0x10]
add esi, dword [edx + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 4
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x144], ecx
mov ecx, dword [edx]
mov byte [ebp - 4], 2
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
test eax, eax
je 0x4f82cd
mov eax, dword [eax]
mov dword [ebp - 0x13c], eax
jmp 0x4f82d7
mov dword [ebp - 0x13c], 0
test ecx, ecx
je 0x4f82e5
mov eax, dword [ecx]
mov dword [ebp - 0x134], eax
jmp 0x4f82ef
mov dword [ebp - 0x134], 0
sub esi, dword [ebp - 0x144]
je 0x4f836a
cmp esi, 0xaaaaaaa
ja 0x4f8c63
push esi
call fcn.004070c0
mov dword [ebp - 0xa4], eax
lea ecx, [esi + esi*2]
mov dword [ebp - 0xa0], eax
lea eax, [eax + ecx*8]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 5
mov ecx, eax
push dword [ebp - 0xa4]
push dword [ebp - 0x14c]
push dword [ebp - 0x13c]
push dword [ebp - 0x144]
push dword [ebp - 0x134]
call fcn.004fbb10
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 6
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0xc8]
call fcn.00494da0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f838e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00408620
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc8]
call fcn.00407f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00406cd0
push 1
push 0x5875ec
lea ecx, [ebp - 0xf8]
call fcn.00408620
mov edx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00494b70
add esp, 4
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f83ef
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00408620
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00407f30
push 0x40
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a8], 0x44
push 0
push eax
call fcn.00524130
add esp, 0xc
lea eax, [ebp - 0xc8]
cmp dword [ebp - 0xe4], 8
lea esi, [ebp - 0xf8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x128]
cmovae esi, dword [ebp - 0xf8]
push eax
movups xmmword [ebp - 0x15c], xmm0
call fcn.00486640
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x4f8464
mov eax, dword [eax]
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x1a8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00407f30
test esi, esi
jne 0x4f8655
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [edi + 0xc0]
mov dword [edi + 0x64], eax
test esi, esi
je 0x4f8c24
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x98]
push 0xa
push 0x40
push eax
push 0xd000000
call fcn.0052c46e
add esp, 0x10
mov dword [ebp - 0xa0], 0
xor eax, eax
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
lea edx, [ecx + 2]
mov word [ebp - 0xb0], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f8510
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00407c60
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x12c], 4
push eax
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call fcn.004e9db0
lea ecx, [ebp - 0xc8]
call fcn.00407f30
mov edi, 4
mov dword [ebp - 0x12c], edi
and edi, 0xfffffffb
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f30
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0xb0]
mov edx, dword [eax + 0x64]
mov esi, dword [eax + 0xc0]
call fcn.004898d0
mov byte [ebp - 4], 0xb
mov ecx, esi
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.004e9db0
lea ecx, [ebp - 0xc8]
call fcn.00407f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f30
mov esi, dword [ebp - 0x138]
mov esi, dword [esi + 0xc0]
mov byte [ebp - 4], 0xc
xor eax, eax
push 5
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
push str.CLOSE
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407c60
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xb0]
push eax
push dword [esi + 0x38]
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call fcn.004ea1c0
or edi, 8
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb0]
call fcn.00407f30
and edi, 0xfffffff7
jmp 0x4f8c0f
push 0xffffffffffffffff
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4f8c24
cmp eax, 1
jne 0x4f8722
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0xb0]
push 7
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push 0x58f078
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407c60
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x12c], 1
push eax
mov ecx, esi
call fcn.004f2960
mov dword [ebp - 4], 0x11
mov ecx, 3
mov dword [ebp - 0x12c], ecx
cmp dword [eax + 0x10], 0
je 0x4f8728
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x4f8719
cmp eax, 0xbc2
jne 0x4f8728
mov byte [ebp - 0x12d], 1
jmp 0x4f872f
mov ecx, dword [ebp - 0x12c]
mov byte [ebp - 0x12d], 0
mov dword [ebp - 4], 0x10
test cl, 2
je 0x4f8755
and ecx, 0xfffffffd
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0xc8]
call fcn.00407f30
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 4], 2
test cl, 1
je 0x4f8775
and ecx, 0xfffffffe
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0xb0]
call fcn.00407f30
cmp byte [ebp - 0x12d], 0
je 0x4f8a68
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0xb0]
push 0xd
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push str.AiProductCode
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407c60
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.004f2960
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0]
call fcn.00407f30
xor eax, eax
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x100], eax
jne 0x4f88be
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0xb0]
push 0xf
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
push str.AiProductCode64
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407c60
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call fcn.004f2960
mov esi, eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x110]
cmp eax, esi
je 0x4f8896
mov ecx, eax
call fcn.00407f30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x110], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x100], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xc8]
call fcn.00407f30
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0]
call fcn.00407f30
mov dword [ebp - 0x140], 1
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0xb0]
push 7
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push str.ARPSIZE
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407c60
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
call fcn.004f2960
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xb0]
call fcn.00407f30
cmp dword [ebp - 0xd0], 0
je 0x4f8a4a
cmp dword [ebp - 0x100], 0
je 0x4f8a4a
lea eax, [ebp - 0x110]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0xc8]
call fcn.004087c0
add esp, 4
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x140]
shl ecx, 8
push ecx
push 1
push 0x80000002
push eax
lea ecx, [ebp - 0x60]
call fcn.0048ef40
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xc8]
call fcn.00407f30
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
cmovae eax, dword [ebp - 0xe0]
push eax
call fcn.0052b705
add esp, 4
mov dword [ebp - 0xa0], 0
mov esi, eax
mov dword [ebp - 0x9c], 0
xor eax, eax
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], 7
push 0xd
push str.EstimatedSize
mov word [ebp - 0xb0], ax
call fcn.00407c60
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0xb0]
push esi
push eax
lea ecx, [ebp - 0x60]
call fcn.0048f440
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xb0]
call fcn.00407f30
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x54]
call fcn.00407f30
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4f8a43
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xe0]
call fcn.00407f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x110]
call fcn.00407f30
mov esi, dword [edi + 0xc0]
mov eax, dword [ebp - 0x148]
mov dword [edi + 0x64], eax
test esi, esi
je 0x4f8c24
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x98]
push 0xa
push 0x40
push eax
push 0xd000000
call fcn.0052c46e
add esp, 0x10
mov dword [ebp - 0xa0], 0
xor eax, eax
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
lea edx, [ecx + 2]
mov word [ebp - 0xb0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f8ad5
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00407c60
mov edi, dword [ebp - 0x12c]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc8]
or edi, 0x10
push eax
mov ecx, esi
mov dword [ebp - 0x12c], edi
call fcn.004e9db0
lea ecx, [ebp - 0xc8]
call fcn.00407f30
and edi, 0xffffffef
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f30
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0xb0]
mov edx, dword [eax + 0x64]
mov esi, dword [eax + 0xc0]
call fcn.004898d0
mov byte [ebp - 4], 0x22
mov ecx, esi
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.004e9db0
lea ecx, [ebp - 0xc8]
call fcn.00407f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f30
mov esi, dword [ebp - 0x138]
mov esi, dword [esi + 0xc0]
mov byte [ebp - 4], 0x23
xor eax, eax
push 5
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
push str.CLOSE
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407c60
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0xb0]
push eax
push dword [esi + 0x38]
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call fcn.004ea1c0
or edi, 0x20
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xb0]
call fcn.00407f30
and edi, 0xffffffdf
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00407f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00407f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00521dac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00407000
int3