Function at 0x4f59d0
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 0x56e51b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b0
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 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 0x4f63c5
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 - 0x264], ecx
cmp eax, ecx
je 0x4f5b65
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 0x4f5a6f
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.00407c60
or dword [ebp - 0x244], 0x20
lea ecx, [ebp - 0x2c]
push 2
push 0x591318
push 1
push 0x586e64
call fcn.00488ce0
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 0x4f5b22
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 0x4f5b34
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.0042e880
mov eax, dword [ebp - 0x244]
and eax, 0xffffffef
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov edx, dword [ebp - 0x250]
inc esi
cmp esi, dword [ebp - 0x264]
jne 0x4f5a58
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.00489f80
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 0x594f04
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c60
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
mov edx, str.CLIENTPROCESSID
lea ecx, [ebp - 0xd8]
call fcn.00426430
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
push esi
push eax
push dword [ebp - 0x250]
call fcn.0042eab0
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 0x4f5c3d
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 0x4f5c47
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0042e880
and edi, 0xffffff7f
mov dword [ebp - 0x244], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00407f30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.00407f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407f30
and edi, 0xffffffbf
mov dword [ebp - 0x244], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00407f30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], 6
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00489f80
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 0x594f04
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c60
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
push eax
mov edx, str.CHAINERUIPROCESSID
lea ecx, [ebp - 0x44]
call fcn.00426430
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd8]
push esi
push eax
push dword [ebp - 0x250]
call fcn.0042eab0
or edi, 0x200
lea ecx, [ebp - 0x8c]
push str.Chainer
mov edx, eax
mov dword [ebp - 0x244], edi
call fcn.00408860
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 0x4f5d86
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 0x4f5d90
push ecx
push eax
lea ecx, [esi + 0xc]
call fcn.0042e880
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
call fcn.00407f30
and edi, 0xfffffdff
mov dword [ebp - 0x244], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.00407f30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00407f30
and edi, 0xfffffeff
mov dword [ebp - 0x244], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov edi, esi
push str.ALLUSERS__1
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiGetComponentStateW]
cmp eax, 1
jne 0x4f5eba
push 2
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push 0x598458
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c60
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x2c]
push eax
mov edx, str.ALLUSERS
lea ecx, [ebp - 0x74]
call fcn.00426430
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
je 0x4f5e95
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 0x4f5e9f
push eax
push ecx
lea ecx, [esi + 0xc]
call fcn.0042e880
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407f30
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.00407c60
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.00407f30
cmp dword [ebp - 0xb0], 0
je 0x4f6041
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push 0x594f04
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c60
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x44]
push eax
mov edx, str.AI_UNINSTALLER
lea ecx, [ebp - 0x74]
call fcn.00426430
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.00408620
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 0x4f6004
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 0x4f6011
lea edx, [ebp - 0x2c]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0042e880
and esi, 0xfffffbff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.00407f30
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.00407c60
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.00407f30
cmp dword [ebp - 0x94], 0
je 0x4f61cb
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push 0x594f04
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c60
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x44]
push eax
mov edx, str.TRANSFORMS
lea ecx, [ebp - 0x74]
call fcn.00426430
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.00408620
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 0x4f618e
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 0x4f619b
lea edx, [ebp - 0x2c]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0042e880
and esi, 0xfffff7ff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x44]
call fcn.00407f30
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.00407c60
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.00407f30
cmp dword [ebp - 0x4c], 0
je 0x4f6343
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push 0x594f04
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c60
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x44]
push eax
mov edx, str.MSINEWINSTANCE
lea ecx, [ebp - 0x74]
call fcn.00426430
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.00408620
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 0x4f6306
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 0x4f6313
lea edx, [ebp - 0x2c]
push edx
push ecx
lea ecx, [eax + 0xc]
call fcn.0042e880
and esi, 0xffffefff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov eax, dword [ebp - 0x24c]
mov edi, dword [eax + 0x80]
mov esi, dword [edi]
cmp esi, edi
je 0x4f638d
lea edx, [eax + 4]
mov dword [ebp - 0x250], edx
nop
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x4f636b
mov eax, dword [eax]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
jb 0x4f6376
mov ecx, dword [ecx]
push 0
push eax
push ecx
mov ecx, edx
call fcn.0051bfb0
mov esi, dword [esi]
mov edx, dword [ebp - 0x250]
cmp esi, edi
jne 0x4f6360
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
call fcn.00407f30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa4]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00407f30
mov edi, dword [ebp - 0x24c]
jmp 0x4f6635
mov eax, dword [esi + 0x10]
add esi, 0xc
mov dword [ebp - 0x250], eax
mov edi, dword [esi]
cmp edi, eax
je 0x4f63eb
mov ecx, edi
call fcn.00407f30
add edi, 0x18
cmp edi, dword [ebp - 0x250]
jne 0x4f63d7
mov edi, dword [esi]
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x24c]
mov byte [ebp - 0x250], 0
push dword [ebp - 0x250]
mov eax, dword [edi + 0x68]
push esi
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x264], esp
mov edx, dword [eax + 0xc4]
mov eax, dword [edx + 0x10]
add eax, dword [edx + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 4], 0x1f
sub esp, 0xc
mov eax, dword [edx + 0xc]
mov ecx, esp
mov dword [ebp - 0x254], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov eax, dword [edx]
mov dword [ecx], eax
mov byte [ebp - 4], 0x20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.004fbec0
mov eax, dword [edi + 0x68]
add esp, 0x20
cmp dword [eax + 0x44], 0
je 0x4f6499
mov ecx, dword [esi]
add eax, 0x34
add ecx, 0x18
cmp ecx, eax
je 0x4f6499
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x4f6492
mov eax, dword [eax]
push edx
push eax
call fcn.00407c60
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.00407c60
mov dword [ebp - 4], 0x21
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x44]
call fcn.00407f30
cmp dword [ebp - 0x4c], 0
je 0x4f6612
push 1
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x44]
push 0x594f04
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00407c60
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x44]
push eax
mov edx, str.AI_EUIMSI
lea ecx, [ebp - 0x74]
call fcn.00426430
add esp, 4
mov byte [ebp - 4], 0x26
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.00408620
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 0x4f65c9
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 0x4f65d6
lea edx, [ebp - 0x2c]
push edx
push ecx
lea ecx, [edi + 0xc]
call fcn.0042e880
mov eax, 0x2000
mov dword [ebp - 0x244], eax
and eax, 0xffffdfff
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x44]
call fcn.00407f30
jmp 0x4f6618
mov edi, dword [ebp - 0x24c]
mov ecx, edi
call fcn.004f7a80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00407f30
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov byte [ebp - 4], 0x28
lea esi, [edi + 0xc]
push esi
call fcn.004f97c0
cmp eax, 0xffffffff
je 0x4f67d0
mov ecx, dword [esi]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [ebp - 0x264], eax
add eax, 0x18
push ecx
add eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.004fbbb0
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x260]
cmp ecx, eax
je 0x4f66f9
call fcn.00406cd0
mov edx, dword [ebp - 0x250]
mov ecx, dword [edx]
mov dword [ebp - 0x260], ecx
mov eax, dword [edx + 4]
mov dword [ebp - 0x25c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x258], eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x20]
call fcn.00406cd0
mov ecx, dword [ebp - 0x264]
mov eax, dword [esi]
push ecx
push dword [esi + 4]
add eax, 0x18
add eax, ecx
lea ecx, [ebp - 0x20]
push eax
call fcn.004fbbb0
mov esi, eax
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x270]
cmp eax, esi
je 0x4f6764
mov ecx, eax
call fcn.00406cd0
mov eax, dword [esi]
mov dword [ebp - 0x270], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x26c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x268], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x20]
call fcn.00406cd0
mov eax, dword [ebp - 0x25c]
cmp eax, dword [ebp - 0x258]
je 0x4f67af
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.00407c60
add dword [ebp - 0x25c], 0x18
jmp 0x4f67c0
push str.AI_MORE_CMD_LINE1
push eax
lea ecx, [ebp - 0x260]
call fcn.0042e4e0
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x270], eax
jne 0x4f67fb
jmp 0x4f67ec
lea eax, [ebp - 0x260]
cmp eax, esi
je 0x4f67ec
push dword [ebp - 0x250]
mov ecx, eax
push dword [esi + 4]
push dword [esi]
call fcn.004fc030
mov ecx, edi
call fcn.004f9990
test al, al
jne 0x4f7522
lea ecx, [ebp - 0x1f8]
call fcn.004ea1e0
mov byte [ebp - 4], 0x4a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 0x4b
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00489f80
mov esi, dword [ebp - 0x244]
lea ecx, [ebp - 0x1f8]
push eax
or esi, 0x4000
push 1
mov dword [ebp - 0x244], esi
call fcn.004ea2c0
and esi, 0xffffbfff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0x74]
call fcn.00407f30
lea ecx, [ebp - 0x74]
call fcn.004864e0
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.00486cf0
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x74]
call fcn.00407f30
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.00407c60
mov byte [ebp - 4], 0x51
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], 0x52
or dword [ebp - 0x244], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f68e4
mov eax, dword [eax]
cmp ecx, 6
jne 0x4f68fd
push ecx
mov edx, 0x590564
mov ecx, eax
call fcn.00407330
add esp, 4
test eax, eax
je 0x4f6917
mov esi, dword [ebp - 0x24c]
mov ecx, esi
call fcn.004f9180
test al, al
je 0x4f691d
mov byte [ebp - 0x245], 0
jmp 0x4f6924
mov esi, dword [ebp - 0x24c]
mov byte [ebp - 0x245], 1
mov dword [ebp - 4], 0x51
mov eax, dword [ebp - 0x244]
test al, 2
je 0x4f694c
and eax, 0xfffffffd
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x244], eax
call fcn.00407f30
mov eax, dword [ebp - 0x244]
mov dword [ebp - 4], 0x4e
test al, 1
je 0x4f6968
and eax, 0xfffffffe
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x244], eax
call fcn.00407f30
cmp byte [ebp - 0x245], 0
je 0x4f6c8d
lea ecx, [ebp - 0x5c]
call fcn.004864e0
mov byte [ebp - 4], 0x53
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.00486cf0
mov byte [ebp - 4], 0x54
mov ecx, dword [ebp - 0x25c]
mov edi, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0x258]
je 0x4f6ac5
cmp edi, ecx
jne 0x4f69e9
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 - 0x25c], 0x18
jmp 0x4f6ad2
movups xmm0, xmmword [eax]
lea edx, [ebp - 0x260]
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], 0x55
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 - 0x25c], 0x18
call fcn.00487b40
lea eax, [ebp - 0xa4]
add esp, 4
cmp edi, eax
je 0x4f6ab4
mov ecx, edi
call fcn.00407f30
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], 0x54
lea ecx, [ebp - 0xa4]
call fcn.00407f30
jmp 0x4f6ad2
push eax
push edi
lea ecx, [ebp - 0x260]
call fcn.0042e880
mov byte [ebp - 4], 0x53
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x5c]
call fcn.00407f30
push ecx
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x8c]
call fcn.00495450
add esp, 4
mov byte [ebp - 4], 0x58
lea eax, [ebp - 0x134]
push 0x40
push 0
push eax
mov dword [ebp - 0x138], 0x44
call fcn.00524550
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], 0x4e
lea ecx, [ebp - 0x8c]
call fcn.00407f30
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x73
lea eax, [ebp - 0x20]
mov edi, dword [esi + 0x6c]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x278], 0x586f90
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.00407c60
mov byte [ebp - 4], 0x74
lea eax, [ebp - 0x278]
push eax
push 0
push 0
push 0x5da60c
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x73
lea ecx, [ebp - 0x5c]
call fcn.00407f30
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
setne byte [ebp - 0x245]
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x20]
call fcn.0042e0c0
cmp byte [ebp - 0x245], 0
je 0x4f7211
push 8
call fcn.0052227d
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x75
mov esi, dword [ebp - 0x24c]
mov dword [eax], 0x4fab00
mov dword [eax + 4], esi
mov byte [ebp - 4], 0x4e
push 0
push 0
push eax
push 0x42ef90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4f7219
push 8
push dword [ebp - 0x250]
call fcn.0052224c
add esp, 8
jmp 0x4f7219
push ecx
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x8c]
call fcn.00495450
add esp, 4
mov byte [ebp - 4], 0x59
xorps xmm0, xmm0
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x28c], xmm0
movlpd qword [ebp - 0x284], xmm0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x2b4], 0x3c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 0xdc], 8
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b0], 0x500
mov dword [ebp - 0x2a8], str.runas
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4f6b6b
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.00407c60
mov byte [ebp - 4], 0x5a
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], 0x5b
mov ecx, dword [ebp - 0x244]
mov esi, dword [ebp - 0x24c]
or ecx, 8
mov dword [ebp - 0x244], ecx
cmp dword [eax + 0x10], 0
jne 0x4f6dd9
cmp dword [esi + 0xf4], 0
jle 0x4f6dd9
mov eax, dword [esi + 0x68]
mov byte [ebp - 0x245], 1
cmp dword [eax + 0x68], 5
jge 0x4f6de0
mov byte [ebp - 0x245], 0
mov dword [ebp - 4], 0x5a
test cl, 8
je 0x4f6e03
and ecx, 0xfffffff7
mov dword [ebp - 0x244], ecx
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 4], 0x59
test cl, 4
je 0x4f6e20
and ecx, 0xfffffffb
mov dword [ebp - 0x244], ecx
lea ecx, [ebp - 0x44]
call fcn.00407f30
cmp byte [ebp - 0x245], 0
je 0x4f71f2
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 0x583918
mov word [ecx], ax
call fcn.00407c60
mov byte [ebp - 4], 0x5c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x264], 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.00407c60
mov byte [ebp - 4], 0x5d
push 0x13be
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x138]
call fcn.004dff30
mov byte [ebp - 4], 0x5e
mov ecx, edi
push eax
call esi
mov byte [ebp - 0x245], al
mov byte [ebp - 4], 0x5f
lea ecx, [ebp - 0x11c]
call fcn.00407f30
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x134]
call fcn.00407f30
cmp byte [ebp - 0x245], 0
jne 0x4f71f2
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.00407c60
mov byte [ebp - 4], 0x64
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x66
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4f6fb5
mov eax, dword [ebp - 0x24c]
mov esi, dword [eax + 0xcc]
mov edi, dword [eax + 0xd0]
cmp esi, edi
je 0x4f6f8f
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 0x4f6f6d
mov ecx, dword [ecx]
cmp eax, dword [ebp - 0x1c]
jne 0x4f6f7f
push eax
call fcn.00407330
add esp, 4
test eax, eax
je 0x4f6f86
add esi, 0xc
cmp esi, edi
jne 0x4f6f55
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [eax + 0xd0]
je 0x4f6fb5
lea edx, [eax + 0xd8]
lea eax, [ebp - 0x2c]
cmp edx, eax
je 0x4f6fb5
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
mov ecx, edx
push eax
call fcn.00407c60
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x2c]
call fcn.00407f30
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.00407c60
mov byte [ebp - 4], 0x67
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.00407c60
mov byte [ebp - 4], 0x68
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.00407c60
mov byte [ebp - 4], 0x69
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.00407c60
mov byte [ebp - 4], 0x6a
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.004dea80
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0x6b
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.00407c60
mov byte [ebp - 4], 0x6c
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x250]
push esi
push eax
call edi
mov byte [ebp - 4], 0x6b
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov byte [ebp - 4], 0x6a
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0xd8]
call fcn.00407f30
mov byte [ebp - 4], 0x68
lea ecx, [ebp - 0xc0]
call fcn.00407f30
mov byte [ebp - 4], 0x67
lea ecx, [ebp - 0xa4]
call fcn.00407f30
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x5c]
call fcn.00407f30
mov esi, dword [ebp - 0x24c]
dec dword [esi + 0xf4]
lea ecx, [esi + 0x7c]
call fcn.004274f0
lea ecx, [esi + 0x9c]
call fcn.004274f0
lea ecx, [esi + 0x38]
call fcn.004274f0
lea ecx, [esi + 0x18]
call fcn.004e6750
xor eax, eax
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x8c]
call fcn.00407f30
jmp 0x4f74b4
mov eax, 0x642
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x8c]
call fcn.00407f30
jmp 0x4f74b4
mov esi, dword [ebp - 0x24c]
xor edi, edi
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x270], eax
je 0x4f72ce
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], 0x76
lea edx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00495450
add esp, 4
mov byte [ebp - 4], 0x77
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.004ea540
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], 0x76
lea ecx, [ebp - 0x8c]
call fcn.00407f30
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x5c]
call fcn.00407f30
lea eax, [ebp - 0x1f8]
mov ecx, esi
push eax
call fcn.004fa880
mov esi, eax
mov dword [ebp - 0x24c], esi
test edi, edi
je 0x4f74b4
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
mov eax, dword [ebp - 0x254]
je 0x4f74a9
cmp eax, 0x103
jne 0x4f74a9
lea ecx, [ebp - 0x198]
call fcn.004ea1e0
mov byte [ebp - 4], 0x78
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 0x79
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.00489f80
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.00408860
add esp, 4
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0x198]
push eax
push 0
call fcn.004ea2c0
mov byte [ebp - 4], 0x79
lea ecx, [ebp - 0x74]
call fcn.00407f30
and esi, 0xffff7fff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x78
lea ecx, [ebp - 0x8c]
call fcn.00407f30
mov byte [ebp - 4], 0x7b
xor eax, eax
push 5
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
push str.CLOSE
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00407c60
mov byte [ebp - 4], 0x7c
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x160]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x198]
call fcn.004ea860
or esi, 0x10000
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x7b
lea ecx, [ebp - 0x5c]
call fcn.00407f30
and esi, 0xfffeffff
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 0x78
lea ecx, [ebp - 0x74]
call fcn.00407f30
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4f7453
cmp dword [ebp - 0x254], 0x103
jne 0x4f7453
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 0x7f
lea ecx, [ebp - 0x198]
call fcn.004eaab0
mov byte [ebp - 4], 0x7e
lea ecx, [ebp - 0x15c]
call fcn.00407f30
mov byte [ebp - 4], 0x7d
lea ecx, [ebp - 0x178]
call fcn.00407f30
mov byte [ebp - 4], 0x4e
mov al, byte [ebp - 0x180]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test al, al
je 0x4f749d
lea eax, [ebp - 0x198]
push eax
call esi
xor al, al
lea ecx, [ebp - 0x180]
xchg byte [ecx], al
jmp 0x4f74ba
test esi, esi
cmove esi, eax
mov dword [ebp - 0x24c], esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 4], 0x4a
lea ecx, [ebp - 0xf0]
call fcn.00407f30
mov byte [ebp - 4], 0x82
lea ecx, [ebp - 0x1f8]
call fcn.004eaab0
mov byte [ebp - 4], 0x81
lea ecx, [ebp - 0x1bc]
call fcn.00407f30
mov byte [ebp - 4], 0x80
lea ecx, [ebp - 0x1d8]
call fcn.00407f30
mov byte [ebp - 4], 0x28
mov al, byte [ebp - 0x1e0]
test al, al
je 0x4f750d
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 0x4f78f5
push str.AI_AppSearchEx
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiEnumComponentQualifiersA]
mov esi, eax
test esi, esi
jne 0x4f754a
push str.AI_VerifyPrereq
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiEnumComponentQualifiersA]
mov esi, eax
test esi, esi
je 0x4f7556
cmp esi, 0x65a
jne 0x4f78f5
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.00407c60
mov byte [ebp - 4], 0x2b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x250], esp
xor eax, eax
push eax
push 0x583918
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c60
mov byte [ebp - 4], 0x2c
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x264], esp
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov ecx, edi
call esi
mov byte [ebp - 4], 0x2d
push 0xbbb
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x138]
call fcn.004dff30
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x5c]
call fcn.00407f30
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 - 0x254], esp
mov eax, dword [edi]
push 1
push 0x585e58
mov dword [ecx + 0x10], 0
mov esi, dword [eax + 8]
xor eax, eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c60
mov byte [ebp - 4], 0x30
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2b8], esp
xor eax, eax
push 7
push 0x58d260
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c60
mov byte [ebp - 4], 0x31
push 0x138d
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x180]
call fcn.004dff30
mov byte [ebp - 4], 0x32
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x164]
call fcn.00407f30
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x17c]
call fcn.00407f30
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push eax
push 0x583918
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c60
mov byte [ebp - 4], 0x35
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x274], esp
xor eax, eax
push eax
push 0x583918
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c60
mov byte [ebp - 4], 0x36
push 0x139c
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x240]
call fcn.004dff30
mov byte [ebp - 4], 0x37
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.004864e0
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.00486cf0
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x74]
call fcn.00407f30
push ecx
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x8c]
call fcn.00495450
add esp, 4
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x8c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x27c], 0
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x28c], xmm0
movlpd qword [ebp - 0x284], xmm0
mov dword [ebp - 0x2b4], 0x3c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 0x90], 8
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2b4]
push eax
mov dword [ebp - 0x2b0], 0x540
mov dword [ebp - 0x2a8], str.runas
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp - 0x27c]
test eax, eax
je 0x4f7896
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x254], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x254]
cmp eax, 0x643
je 0x4f7892
cmp eax, 0x642
je 0x4f7892
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov esi, dword [ebp - 0x254]
jmp 0x4f789b
mov esi, eax
jmp 0x4f789b
mov esi, 0x642
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x8c]
call fcn.00407f30
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0xa4]
call fcn.00407f30
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x224]
call fcn.00407f30
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x23c]
call fcn.00407f30
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x11c]
call fcn.00407f30
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x134]
call fcn.00407f30
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x260]
call fcn.00406cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.00406cd0
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.0052223b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret