Function at 0x4f7c90
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 0x56ef99
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x5d6024]
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.004270f0
mov eax, dword [edi + 0xc]
lea ecx, [edi + 8]
mov esi, dword [ecx]
mov dword [ebp - 0x140], ecx
cmp esi, eax
je 0x4f7d22
mov edi, eax
mov ecx, esi
call fcn.00407f50
add esi, 0x18
cmp esi, edi
jne 0x4f7d06
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 0x4f7dc6
mov dword [ebp - 0xd0], 0x599dbc
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.00407c80
mov dword [ebp - 4], 0
lea eax, [ebp - 0xd0]
mov ecx, dword [ebp - 0x134]
push eax
push 0
push 0
push 0x5da52c
lea eax, [ebp - 0xb0]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00407f50
mov edi, dword [edi + 0x38]
mov esi, dword [edi]
cmp esi, edi
je 0x4f7df1
nop
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4f7ddb
mov eax, dword [eax]
mov ecx, dword [ebp - 0x13c]
push 0
push 0
push eax
call fcn.0051b020
mov esi, dword [esi]
cmp esi, edi
jne 0x4f7dd0
mov edi, dword [ebp - 0x138]
lea eax, [ebp - 0x128]
push eax
mov byte [edi + 0xf0], 1
call fcn.004f99d0
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 0x587524
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.00407c80
mov byte [ebp - 4], 2
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x128]
call fcn.004865b0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f7e79
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00408640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f50
push 2
push 0x598b14
lea ecx, [ebp - 0xf8]
call fcn.00408640
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 0x4f7f1d
mov eax, dword [eax]
mov dword [ebp - 0x13c], eax
jmp 0x4f7f27
mov dword [ebp - 0x13c], 0
test ecx, ecx
je 0x4f7f35
mov eax, dword [ecx]
mov dword [ebp - 0x134], eax
jmp 0x4f7f3f
mov dword [ebp - 0x134], 0
sub esi, dword [ebp - 0x144]
je 0x4f7fba
cmp esi, 0xaaaaaaa
ja 0x4f88b3
push esi
call fcn.004070e0
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.004fb380
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.00494fa0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f7fde
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00408640
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc8]
call fcn.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00406cf0
push 1
push 0x585e8c
lea ecx, [ebp - 0xf8]
call fcn.00408640
mov edx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00494d70
add esp, 4
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f803f
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00408640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00407f50
push 0x40
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a8], 0x44
push 0
push eax
call fcn.005237e0
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.004865b0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x4f80b4
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.00407f50
test esi, esi
jne 0x4f82a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [edi + 0xc0]
mov dword [edi + 0x64], eax
test esi, esi
je 0x4f8874
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x98]
push 0xa
push 0x40
push eax
push 0xd000000
call fcn.0052b5ca
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 0x4f8160
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00407c80
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x12c], 4
push eax
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call fcn.004e9a20
lea ecx, [ebp - 0xc8]
call fcn.00407f50
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.00407f50
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0xb0]
mov edx, dword [eax + 0x64]
mov esi, dword [eax + 0xc0]
call fcn.004898c0
mov byte [ebp - 4], 0xb
mov ecx, esi
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.004e9a20
lea ecx, [ebp - 0xc8]
call fcn.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f50
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.00407c80
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.004e9e30
or edi, 8
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb0]
call fcn.00407f50
and edi, 0xfffffff7
jmp 0x4f885f
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 0x4f8874
cmp eax, 1
jne 0x4f8372
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 0x58d920
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00407c80
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.004f2660
mov dword [ebp - 4], 0x11
mov ecx, 3
mov dword [ebp - 0x12c], ecx
cmp dword [eax + 0x10], 0
je 0x4f8378
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x4f8369
cmp eax, 0xbc2
jne 0x4f8378
mov byte [ebp - 0x12d], 1
jmp 0x4f837f
mov ecx, dword [ebp - 0x12c]
mov byte [ebp - 0x12d], 0
mov dword [ebp - 4], 0x10
test cl, 2
je 0x4f83a5
and ecx, 0xfffffffd
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0xc8]
call fcn.00407f50
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 4], 2
test cl, 1
je 0x4f83c5
and ecx, 0xfffffffe
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0xb0]
call fcn.00407f50
cmp byte [ebp - 0x12d], 0
je 0x4f86b8
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.00407c80
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.004f2660
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0]
call fcn.00407f50
xor eax, eax
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x100], eax
jne 0x4f850e
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.00407c80
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call fcn.004f2660
mov esi, eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x110]
cmp eax, esi
je 0x4f84e6
mov ecx, eax
call fcn.00407f50
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.00407f50
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xb0]
call fcn.00407f50
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.00407c80
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
call fcn.004f2660
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xb0]
call fcn.00407f50
cmp dword [ebp - 0xd0], 0
je 0x4f869a
cmp dword [ebp - 0x100], 0
je 0x4f869a
lea eax, [ebp - 0x110]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0xc8]
call fcn.004087e0
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.0048f1b0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xc8]
call fcn.00407f50
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
cmovae eax, dword [ebp - 0xe0]
push eax
call fcn.0052ad89
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.00407c80
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0xb0]
push esi
push eax
lea ecx, [ebp - 0x60]
call fcn.0048f6b0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xb0]
call fcn.00407f50
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x3c]
call fcn.00407f50
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x54]
call fcn.00407f50
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4f8693
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.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x110]
call fcn.00407f50
mov esi, dword [edi + 0xc0]
mov eax, dword [ebp - 0x148]
mov dword [edi + 0x64], eax
test esi, esi
je 0x4f8874
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x98]
push 0xa
push 0x40
push eax
push 0xd000000
call fcn.0052b5ca
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 0x4f8725
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00407c80
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.004e9a20
lea ecx, [ebp - 0xc8]
call fcn.00407f50
and edi, 0xffffffef
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f50
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0xb0]
mov edx, dword [eax + 0x64]
mov esi, dword [eax + 0xc0]
call fcn.004898c0
mov byte [ebp - 4], 0x22
mov ecx, esi
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.004e9a20
lea ecx, [ebp - 0xc8]
call fcn.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00407f50
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.00407c80
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.004e9e30
or edi, 0x20
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xb0]
call fcn.00407f50
and edi, 0xffffffdf
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00407f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00407f50
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.00521461
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00407020
int3