Function at 0x4f5240
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Create thread
Write and execute a file
Write file on windows

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 0x56f0c5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
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 esi, ecx
mov dword [ebp - 0x24c], esi
xor edi, edi
mov dword [ebp - 0x244], edi
mov edx, dword [esi + 0x68]
cmp byte [edx + 0x13c], 0
je 0x4f5c35
mov edx, dword [edx + 0xc4]
mov dword [ebp - 0x250], edx
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
add ecx, eax
mov dword [ebp - 0x268], ecx
cmp eax, ecx
je 0x4f53d5
lea edi, [esi + 0xc]
mov esi, eax
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f52df
mov eax, dword [eax]
mov dword [ebp - 4], 1
xor edx, edx
push ecx
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], dx
call fcn.00407c80
or dword [ebp - 0x244], 0x20
lea ecx, [ebp - 0x2c]
push 2
push 0x5930b0
push 1
push 0x588c74
call fcn.004885b0
mov eax, dword [ebp - 0x244]
add esp, 0x10
and eax, 0xffffffdf
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0
or eax, 0x10
mov dword [ebp - 0x244], eax
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4f5392
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
add dword [edi + 4], 0x18
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
jmp 0x4f53a4
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.0042e480
mov eax, dword [ebp - 0x244]
and eax, 0xffffffef
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov edx, dword [ebp - 0x250]
inc esi
cmp esi, dword [ebp - 0x268]
jne 0x4f52c8
mov edi, dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], 2
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00489850
mov esi, eax
lea ecx, [ebp - 0x2c]
or edi, 0x40
xor eax, eax
mov dword [ebp - 0x244], edi
push 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x596bf8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c80
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
mov edx, str.CLIENTPROCESSID
lea ecx, [ebp - 0xd8]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
push esi
push eax
push dword [ebp - 0x250]
call fcn.0042e6b0
mov edx, eax
or edi, 0x80
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x244], edi
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x4f54ad
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], cx
add dword [eax + 0x10], 0x18
jmp 0x4f54b7
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0042e480
and edi, 0xffffff7f
mov dword [ebp - 0x244], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00407f50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407f50
and edi, 0xffffffbf
mov dword [ebp - 0x244], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00407f50
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], 6
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00489850
mov esi, eax
lea ecx, [ebp - 0x2c]
or edi, 0x100
xor eax, eax
mov dword [ebp - 0x244], edi
push 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x596bf8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c80
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
push eax
mov edx, str.CHAINERUIPROCESSID
lea ecx, [ebp - 0x44]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd8]
push esi
push eax
push dword [ebp - 0x250]
call fcn.0042e6b0
or edi, 0x200
lea ecx, [ebp - 0x8c]
push str.Chainer
mov edx, eax
mov dword [ebp - 0x244], edi
call fcn.00408880
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x24c]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x4f55f6
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
add dword [esi + 0x10], 0x18
jmp 0x4f5600
push ecx
push eax
lea ecx, [esi + 0xc]
call fcn.0042e480
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
call fcn.00407f50
and edi, 0xfffffdff
mov dword [ebp - 0x244], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.00407f50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.00407f50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00407f50
and edi, 0xfffffeff
mov dword [ebp - 0x244], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov edi, esi
push str.ALLUSERS__1
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiGetComponentStateW]
cmp eax, 1
jne 0x4f572a
push 2
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push 0x59a178
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c80
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x2c]
push eax
mov edx, str.ALLUSERS
lea ecx, [ebp - 0x74]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
je 0x4f5705
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [esi + 0x10], 0x18
jmp 0x4f570f
push eax
push ecx
lea ecx, [esi + 0xc]
call fcn.0042e480
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov edi, dword [edi + 0x6c]
lea ecx, [ebp - 0x2c]
push 0xe
push str.AI_UNINSTALLER
mov eax, dword [edi]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c80
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.00407f50
cmp dword [ebp - 0xb0], 0
je 0x4f58b1
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push 0x596bf8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x44]
push eax
mov edx, str.AI_UNINSTALLER
lea ecx, [ebp - 0x74]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.00408640
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm1, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm1
mov esi, dword [ebp - 0x244]
mov dword [eax + 0x10], 0
or esi, 0x400
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x244], esi
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x4f5874
movups xmmword [ecx], xmm0
mov dword [ebp - 0x1c], 0
movq qword [ecx + 0x10], xmm1
xor ecx, ecx
add dword [eax + 0x10], 0x18
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
jmp 0x4f5881
lea edx, [ebp - 0x2c]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0042e480
and esi, 0xfffffbff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.00407f50
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x44]
push 0xa
push str.TRANSFORMS
mov edi, dword [eax + 0x6c]
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x44]
call fcn.00407f50
cmp dword [ebp - 0x94], 0
je 0x4f5a3b
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push 0x596bf8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x44]
push eax
mov edx, str.TRANSFORMS
lea ecx, [ebp - 0x74]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
push dword [ebp - 0x94]
cmovae ecx, dword [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.00408640
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm1, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm1
mov esi, dword [ebp - 0x244]
mov dword [eax + 0x10], 0
or esi, 0x800
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x244], esi
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x4f59fe
movups xmmword [ecx], xmm0
mov dword [ebp - 0x1c], 0
movq qword [ecx + 0x10], xmm1
xor ecx, ecx
add dword [eax + 0x10], 0x18
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
jmp 0x4f5a0b
lea edx, [ebp - 0x2c]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0042e480
and esi, 0xfffff7ff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x44]
call fcn.00407f50
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x44]
push 0xe
push str.MSINEWINSTANCE
mov edi, dword [eax + 0x6c]
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x44]
call fcn.00407f50
cmp dword [ebp - 0x4c], 0
je 0x4f5bb3
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push 0x596bf8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x44]
push eax
mov edx, str.MSINEWINSTANCE
lea ecx, [ebp - 0x74]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.00408640
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm1, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm1
mov esi, dword [ebp - 0x244]
mov dword [eax + 0x10], 0
or esi, 0x1000
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x244], esi
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x4f5b76
movups xmmword [ecx], xmm0
mov dword [ebp - 0x1c], 0
movq qword [ecx + 0x10], xmm1
xor ecx, ecx
add dword [eax + 0x10], 0x18
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
jmp 0x4f5b83
lea edx, [ebp - 0x2c]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0042e480
and esi, 0xffffefff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x44]
call fcn.00407f50
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 0x80]
mov esi, dword [edi]
cmp esi, edi
je 0x4f5bfd
lea edx, [eax + 4]
mov dword [ebp - 0x250], edx
nop
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x4f5bdb
mov eax, dword [eax]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
jb 0x4f5be6
mov ecx, dword [ecx]
push 0
push eax
push ecx
mov ecx, edx
call fcn.0051b2c0
mov esi, dword [esi]
mov edx, dword [ebp - 0x250]
cmp esi, edi
jne 0x4f5bd0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
call fcn.00407f50
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa4]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00407f50
mov edi, dword [ebp - 0x24c]
jmp 0x4f5e4c
mov eax, dword [esi + 0x10]
add esi, 0xc
mov dword [ebp - 0x250], eax
mov edi, dword [esi]
cmp edi, eax
je 0x4f5c5b
mov ecx, edi
call fcn.00407f50
add edi, 0x18
cmp edi, dword [ebp - 0x250]
jne 0x4f5c47
mov edi, dword [esi]
mov dword [esi + 4], edi
lea ecx, [ebp - 0x250]
mov edi, dword [ebp - 0x24c]
mov byte [ebp - 0x250], 0
push dword [ebp - 0x250]
mov eax, dword [edi + 0x68]
push esi
mov edx, dword [eax + 0xc4]
call fcn.004fafc0
mov eax, dword [edi + 0x68]
add esp, 8
cmp dword [eax + 0x44], 0
je 0x4f5cb0
mov ecx, dword [esi]
add eax, 0x34
add ecx, 0x18
cmp ecx, eax
je 0x4f5cb0
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x4f5ca9
mov eax, dword [eax]
push edx
push eax
call fcn.00407c80
mov edi, dword [edi + 0x6c]
lea ecx, [ebp - 0x44]
push 9
push str.AI_EUIMSI
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov dword [ebp - 4], 0x1f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x44]
call fcn.00407f50
cmp dword [ebp - 0x4c], 0
je 0x4f5e29
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push 0x596bf8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x44]
push eax
mov edx, str.AI_EUIMSI
lea ecx, [ebp - 0x74]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.00408640
mov edi, dword [ebp - 0x24c]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm1, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x244], 0x2000
cmp ecx, dword [edi + 0x14]
je 0x4f5de0
movups xmmword [ecx], xmm0
mov dword [ebp - 0x1c], 0
movq qword [ecx + 0x10], xmm1
xor ecx, ecx
add dword [edi + 0x10], 0x18
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
jmp 0x4f5ded
lea edx, [ebp - 0x2c]
push edx
push ecx
lea ecx, [edi + 0xc]
call fcn.0042e480
mov eax, 0x2000
mov dword [ebp - 0x244], eax
and eax, 0xffffdfff
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x44]
call fcn.00407f50
jmp 0x4f5e2f
mov edi, dword [ebp - 0x24c]
mov ecx, edi
call fcn.004f72a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00407f50
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 4], 0x25
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov byte [ebp - 4], 0x26
lea esi, [edi + 0xc]
push esi
call fcn.004f8fe0
cmp eax, 0xffffffff
je 0x4f5fe5
mov ecx, dword [esi]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [ebp - 0x268], eax
add eax, 0x18
push ecx
add eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.004fb150
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x264]
cmp ecx, eax
je 0x4f5f10
call fcn.00406cf0
mov edx, dword [ebp - 0x250]
mov ecx, dword [edx]
mov dword [ebp - 0x264], ecx
mov eax, dword [edx + 4]
mov dword [ebp - 0x260], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x25c], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x20]
call fcn.00406cf0
mov eax, dword [esi]
push ecx
push dword [esi + 4]
add eax, 0x18
lea ecx, [ebp - 0x20]
add eax, dword [ebp - 0x268]
push eax
call fcn.004fb150
mov esi, eax
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x274]
cmp eax, esi
je 0x4f5f79
mov ecx, eax
call fcn.00406cf0
mov eax, dword [esi]
mov dword [ebp - 0x274], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x270], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x26c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x20]
call fcn.00406cf0
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x25c]
je 0x4f5fc4
xor ecx, ecx
mov dword [eax + 0x10], 0
push 0x12
mov word [eax], cx
mov ecx, eax
push str.AI_MORE_CMD_LINE1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00407c80
add dword [ebp - 0x260], 0x18
jmp 0x4f5fd5
push str.AI_MORE_CMD_LINE1
push eax
lea ecx, [ebp - 0x264]
call fcn.0042e0e0
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x274], eax
jne 0x4f6010
jmp 0x4f6001
lea eax, [ebp - 0x264]
cmp eax, esi
je 0x4f6001
push dword [ebp - 0x250]
mov ecx, eax
push dword [esi + 4]
push dword [esi]
call fcn.004fb460
mov ecx, edi
call fcn.004f91b0
test al, al
jne 0x4f6d3d
lea ecx, [ebp - 0x1f8]
call fcn.004e9950
mov byte [ebp - 4], 0x48
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 0x49
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00489850
mov esi, dword [ebp - 0x244]
lea ecx, [ebp - 0x1f8]
push eax
or esi, 0x4000
push 1
mov dword [ebp - 0x244], esi
call fcn.004e9a30
and esi, 0xffffbfff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x74]
call fcn.00407f50
lea ecx, [ebp - 0x74]
call fcn.00485d60
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.00486580
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov edi, dword [edi + 0x6c]
lea ecx, [ebp - 0x44]
push 9
push str.LogonUser
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x4f
lea eax, [ebp - 0x44]
or dword [ebp - 0x244], 1
mov ecx, edi
push eax
lea eax, [ebp - 0x74]
push eax
call esi
mov dword [ebp - 4], 0x50
or dword [ebp - 0x244], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f60f9
mov eax, dword [eax]
cmp ecx, 6
jne 0x4f6112
push ecx
mov edx, 0x592324
mov ecx, eax
call fcn.00407350
add esp, 4
test eax, eax
je 0x4f612c
mov esi, dword [ebp - 0x24c]
mov ecx, esi
call fcn.004f89a0
test al, al
je 0x4f6132
mov byte [ebp - 0x245], 0
jmp 0x4f6139
mov esi, dword [ebp - 0x24c]
mov byte [ebp - 0x245], 1
mov dword [ebp - 4], 0x4f
mov eax, dword [ebp - 0x244]
test al, 2
je 0x4f6161
and eax, 0xfffffffd
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x244], eax
call fcn.00407f50
mov eax, dword [ebp - 0x244]
mov dword [ebp - 4], 0x4c
test al, 1
je 0x4f617d
and eax, 0xfffffffe
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x244], eax
call fcn.00407f50
cmp byte [ebp - 0x245], 0
je 0x4f64a2
lea ecx, [ebp - 0x5c]
call fcn.00485d60
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.00486580
mov byte [ebp - 4], 0x52
mov ecx, dword [ebp - 0x260]
mov edi, dword [ebp - 0x264]
cmp ecx, dword [ebp - 0x25c]
je 0x4f62da
cmp edi, ecx
jne 0x4f61fe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [ebp - 0x260], 0x18
jmp 0x4f62e7
movups xmm0, xmmword [eax]
lea edx, [ebp - 0x264]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa8], edx
xor edx, edx
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x90], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov byte [ebp - 4], 0x53
lea edx, [ecx - 0x18]
movups xmm0, xmmword [edx]
xor eax, eax
push ecx
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
mov ecx, edi
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
add dword [ebp - 0x260], 0x18
call fcn.00487410
lea eax, [ebp - 0xa4]
add esp, 4
cmp edi, eax
je 0x4f62c9
mov ecx, edi
call fcn.00407f50
movups xmm0, xmmword [ebp - 0xa4]
xor eax, eax
mov word [ebp - 0xa4], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x94]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0xa4]
call fcn.00407f50
jmp 0x4f62e7
push eax
push edi
lea ecx, [ebp - 0x264]
call fcn.0042e480
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x5c]
call fcn.00407f50
push ecx
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x8c]
call fcn.00494ce0
add esp, 4
mov byte [ebp - 4], 0x56
lea eax, [ebp - 0x134]
push 0x40
push 0
push eax
mov dword [ebp - 0x138], 0x44
call fcn.00523b00
add esp, 0xc
lea edx, [ebp - 0x24]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
cmovae ecx, dword [ebp - 0x8c]
cmp dword [ebp - 0xdc], 8
push edx
cmovae eax, dword [ebp - 0xf0]
lea edx, [ebp - 0x138]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x8c]
call fcn.00407f50
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x71
lea eax, [ebp - 0x20]
mov edi, dword [esi + 0x6c]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x254], 0x588da0
mov eax, dword [edi]
push 0x11
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov esi, dword [eax + 4]
xor eax, eax
push str.AI_ChainedPackage
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00407c80
mov byte [ebp - 4], 0x72
lea eax, [ebp - 0x254]
push eax
push 0
push 0
push 0x5dc618
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x71
lea ecx, [ebp - 0x5c]
call fcn.00407f50
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
setne byte [ebp - 0x245]
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x20]
call fcn.0042dcc0
cmp byte [ebp - 0x245], 0
je 0x4f6a2c
push 8
call fcn.005217c3
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x73
mov esi, dword [ebp - 0x24c]
mov dword [eax], 0x4fa320
mov dword [eax + 4], esi
mov byte [ebp - 4], 0x4c
push 0
push 0
push eax
push 0x42ebb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4f6a34
push 8
push dword [ebp - 0x250]
call fcn.00521792
add esp, 8
jmp 0x4f6a34
push ecx
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x8c]
call fcn.00494ce0
add esp, 4
mov byte [ebp - 4], 0x57
xorps xmm0, xmm0
movlpd qword [ebp - 0x290], xmm0
movlpd qword [ebp - 0x288], xmm0
movlpd qword [ebp - 0x280], xmm0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x2b0], 0x3c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 0xdc], 8
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x2b0]
push eax
mov dword [ebp - 0x2ac], 0x500
mov dword [ebp - 0x2a4], str.runas
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4f6380
mov edi, dword [esi + 0x6c]
lea ecx, [ebp - 0x44]
push 0x11
push str.AiExitNoElevation
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x58
lea eax, [ebp - 0x44]
or dword [ebp - 0x244], 4
mov ecx, edi
push eax
lea eax, [ebp - 0x74]
push eax
call esi
mov dword [ebp - 4], 0x59
mov ecx, dword [ebp - 0x244]
mov esi, dword [ebp - 0x24c]
or ecx, 8
mov dword [ebp - 0x244], ecx
cmp dword [eax + 0x10], 0
jne 0x4f65ee
cmp dword [esi + 0xf4], 0
jle 0x4f65ee
mov eax, dword [esi + 0x68]
mov byte [ebp - 0x245], 1
cmp dword [eax + 0x68], 5
jge 0x4f65f5
mov byte [ebp - 0x245], 0
mov dword [ebp - 4], 0x58
test cl, 8
je 0x4f6618
and ecx, 0xfffffff7
mov dword [ebp - 0x244], ecx
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 4], 0x57
test cl, 4
je 0x4f6635
and ecx, 0xfffffffb
mov dword [ebp - 0x244], ecx
lea ecx, [ebp - 0x44]
call fcn.00407f50
cmp byte [ebp - 0x245], 0
je 0x4f6a0d
mov edi, dword [esi + 0x70]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x250], esp
mov eax, dword [edi]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov esi, dword [eax + 8]
xor eax, eax
push eax
push 0x585738
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x5a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x268], esp
xor eax, eax
push 9
push str.CancelDlg
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x5b
push 0x13be
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x138]
call fcn.004df710
mov byte [ebp - 4], 0x5c
mov ecx, edi
push eax
call esi
mov byte [ebp - 0x245], al
mov byte [ebp - 4], 0x5d
lea ecx, [ebp - 0x11c]
call fcn.00407f50
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x134]
call fcn.00407f50
cmp byte [ebp - 0x245], 0
jne 0x4f6a0d
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x44]
push 0x13
push str.AiNoElevationResume
mov edi, dword [eax + 0x6c]
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c80
mov byte [ebp - 4], 0x62
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x64
lea ecx, [ebp - 0x44]
call fcn.00407f50
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4f67d0
mov eax, dword [ebp - 0x24c]
mov esi, dword [eax + 0xcc]
mov edi, dword [eax + 0xd0]
cmp esi, edi
je 0x4f67aa
nop word [eax + eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae edx, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x4f6788
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x1c]
jne 0x4f679a
push eax
call fcn.00407350
add esp, 4
test eax, eax
je 0x4f67a1
add esi, 0xc
cmp esi, edi
jne 0x4f6770
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [eax + 0xd0]
je 0x4f67d0
lea edx, [eax + 0xd8]
lea eax, [ebp - 0x2c]
cmp edx, eax
je 0x4f67d0
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
mov ecx, edx
push eax
call fcn.00407c80
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov esi, dword [ebp - 0x24c]
lea ecx, [ebp - 0x5c]
push 0xf
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x250], eax
push str.ButtonText_Next
mov dword [ebp - 0x4c], 0
mov eax, dword [eax]
mov dword [ebp - 0x48], 7
mov edi, dword [eax + 0xc]
xor eax, eax
mov word [ebp - 0x5c], ax
call fcn.00407c80
mov byte [ebp - 4], 0x65
xor eax, eax
push 5
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 0
push str.Value
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.00407c80
mov byte [ebp - 4], 0x66
xor eax, eax
push 8
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xac], 0
push str.Property
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
call fcn.00407c80
mov byte [ebp - 4], 0x67
xor eax, eax
push 8
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc4], 0
push str.Property
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
call fcn.00407c80
mov byte [ebp - 4], 0x68
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xd8]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.004de340
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0x69
xor eax, eax
push 0xf
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push str.ButtonText_Next
lea ecx, [ebp - 0x44]
call fcn.00407c80
mov byte [ebp - 4], 0x6a
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x250]
push esi
push eax
call edi
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0x44]
call fcn.00407f50
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0x74]
call fcn.00407f50
mov byte [ebp - 4], 0x67
lea ecx, [ebp - 0xd8]
call fcn.00407f50
mov byte [ebp - 4], 0x66
lea ecx, [ebp - 0xc0]
call fcn.00407f50
mov byte [ebp - 4], 0x65
lea ecx, [ebp - 0xa4]
call fcn.00407f50
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x5c]
call fcn.00407f50
mov esi, dword [ebp - 0x24c]
dec dword [esi + 0xf4]
lea ecx, [esi + 0x7c]
call fcn.004270f0
lea ecx, [esi + 0x9c]
call fcn.004270f0
lea ecx, [esi + 0x38]
call fcn.004270f0
lea ecx, [esi + 0x18]
call fcn.004e5f00
xor eax, eax
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x8c]
call fcn.00407f50
jmp 0x4f6ccf
mov eax, 0x642
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x8c]
call fcn.00407f50
jmp 0x4f6ccf
mov esi, dword [ebp - 0x24c]
xor edi, edi
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x274], eax
je 0x4f6ae9
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0x74
lea edx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00494ce0
add esp, 4
mov byte [ebp - 4], 0x75
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.004e9cb0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x250]
cmp dword [ebp - 0x78], 8
push 0
push edx
lea ecx, [eax + eax]
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
push eax
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov byte [ebp - 4], 0x74
lea ecx, [ebp - 0x8c]
call fcn.00407f50
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x5c]
call fcn.00407f50
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.004fa0a0
mov esi, eax
mov dword [ebp - 0x24c], esi
test edi, edi
je 0x4f6ccf
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
mov eax, dword [ebp - 0x258]
je 0x4f6cc4
cmp eax, 0x103
jne 0x4f6cc4
lea ecx, [ebp - 0x198]
call fcn.004e9950
mov byte [ebp - 4], 0x76
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 0x77
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.00489850
mov esi, dword [ebp - 0x244]
lea ecx, [ebp - 0x74]
or esi, 0x8000
mov edx, eax
push str.Chainer
mov dword [ebp - 0x244], esi
call fcn.00408880
add esp, 4
mov byte [ebp - 4], 0x78
lea ecx, [ebp - 0x198]
push eax
push 0
call fcn.004e9a30
mov byte [ebp - 4], 0x77
lea ecx, [ebp - 0x74]
call fcn.00407f50
and esi, 0xffff7fff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0x8c]
call fcn.00407f50
mov byte [ebp - 4], 0x79
xor eax, eax
push 5
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
push 0x597d30
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00407c80
mov byte [ebp - 4], 0x7a
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x160]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x198]
call fcn.004e9fd0
or esi, 0x10000
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x79
lea ecx, [ebp - 0x5c]
call fcn.00407f50
and esi, 0xfffeffff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x76
lea ecx, [ebp - 0x74]
call fcn.00407f50
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4f6c6e
cmp dword [ebp - 0x258], 0x103
jne 0x4f6c6e
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 0x7d
lea ecx, [ebp - 0x198]
call fcn.004ea220
mov byte [ebp - 4], 0x7c
lea ecx, [ebp - 0x15c]
call fcn.00407f50
mov byte [ebp - 4], 0x7b
lea ecx, [ebp - 0x178]
call fcn.00407f50
mov byte [ebp - 4], 0x4c
mov al, byte [ebp - 0x180]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test al, al
je 0x4f6cb8
lea eax, [ebp - 0x198]
push eax
call esi
xor al, al
lea ecx, [ebp - 0x180]
xchg byte [ecx], al
jmp 0x4f6cd5
test esi, esi
cmove esi, eax
mov dword [ebp - 0x24c], esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0xf0]
call fcn.00407f50
mov byte [ebp - 4], 0x80
lea ecx, [ebp - 0x1f8]
call fcn.004ea220
mov byte [ebp - 4], 0x7f
lea ecx, [ebp - 0x1bc]
call fcn.00407f50
mov byte [ebp - 4], 0x7e
lea ecx, [ebp - 0x1d8]
call fcn.00407f50
mov byte [ebp - 4], 0x26
mov al, byte [ebp - 0x1e0]
test al, al
je 0x4f6d28
lea eax, [ebp - 0x1f8]
push eax
call esi
xor al, al
lea ecx, [ebp - 0x1e0]
xchg byte [ecx], al
mov esi, dword [ebp - 0x24c]
jmp 0x4f7110
push str.AI_AppSearchEx
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiEnumComponentQualifiersA]
mov esi, eax
test esi, esi
jne 0x4f6d65
push str.AI_VerifyPrereq
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiEnumComponentQualifiersA]
mov esi, eax
test esi, esi
je 0x4f6d71
cmp esi, 0x65a
jne 0x4f7110
mov edi, dword [edi + 0x6c]
lea ecx, [ebp - 0x5c]
push 0xe
push str.InstallMessage
mov eax, dword [edi]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov esi, dword [eax + 0x28]
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00407c80
mov byte [ebp - 4], 0x29
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x250], esp
xor eax, eax
push eax
push 0x585738
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x2a
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x268], esp
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov ecx, edi
call esi
mov byte [ebp - 4], 0x2b
push 0xbbb
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x138]
call fcn.004df710
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x5c]
call fcn.00407f50
mov esi, dword [ebp - 0x24c]
lea edx, [ebp - 0x138]
push edx
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [esi + 0x70]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x250], esp
mov eax, dword [edi]
push 1
push 0x587c68
mov dword [ecx + 0x10], 0
mov esi, dword [eax + 8]
xor eax, eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x2e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x268], esp
xor eax, eax
push 7
push 0x58f070
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x2f
push 0x138d
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x180]
call fcn.004df710
mov byte [ebp - 4], 0x30
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x164]
call fcn.00407f50
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x17c]
call fcn.00407f50
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x250], esp
push eax
push 0x585738
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x33
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x268], esp
xor eax, eax
push eax
push 0x585738
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c80
mov byte [ebp - 4], 0x34
push 0x139c
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x240]
call fcn.004df710
mov byte [ebp - 4], 0x35
lea edx, [ebp - 0x240]
mov esi, dword [ebp - 0x24c]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0
mov ecx, dword [esi + 0x70]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x74]
call fcn.00485d60
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.00486580
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x74]
call fcn.00407f50
push ecx
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x8c]
call fcn.00494ce0
add esp, 4
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x8c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0
movlpd qword [ebp - 0x290], xmm0
movlpd qword [ebp - 0x288], xmm0
movlpd qword [ebp - 0x280], xmm0
mov dword [ebp - 0x2b0], 0x3c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 0x90], 8
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x2b0]
push eax
mov dword [ebp - 0x2ac], 0x540
mov dword [ebp - 0x2a4], str.runas
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x4f70b1
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x258], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x258]
cmp eax, 0x643
je 0x4f70ad
cmp eax, 0x642
je 0x4f70ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov esi, dword [ebp - 0x258]
jmp 0x4f70b6
mov esi, eax
jmp 0x4f70b6
mov esi, 0x642
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x8c]
call fcn.00407f50
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0xa4]
call fcn.00407f50
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x224]
call fcn.00407f50
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x23c]
call fcn.00407f50
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x11c]
call fcn.00407f50
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x134]
call fcn.00407f50
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x264]
call fcn.00406cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.00406cf0
mov eax, esi
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.00521781
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret