Function at 0x493f40
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dd24
mov eax, dword fs:[0]
push eax
mov eax, 0x5704
call fcn.0053d5e0
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5000
lea eax, [ebp - 0x5628]
mov dword [ebp - 0x5658], 0
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00540d70
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
add esp, 0x30
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00554a42
mov eax, dword [eax]
mov dword [ebp - 0x5668], eax
call fcn.00554a4e
push 0x104
mov eax, dword [eax]
mov dword [ebp - 0x566c], eax
lea eax, [ebp - 0x218]
push eax
push 0x1a
call fcn.00472c70
add esp, 0xc
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5648], eax
mov eax, str.__needcommunicate
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5648]
test eax, 0xffff0000
jne 0x494050
movzx eax, ax
push eax
call fcn.00426130
jmp 0x49405c
push 0x11
push str.__needcommunicate
call fcn.004263f0
push 0xb
push str.__appdata_
lea ecx, [ebp - 0x5648]
mov dword [ebp - 4], 1
call fcn.00425dc0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494080
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
push 1
push 0x5b3b0c
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
push 0
push 0x1c
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x10
push str.__localappdata_
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4940e2
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
push 1
push 0x5b3b0c
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
lea eax, [ebp - 0x564c]
push eax
call fcn.004a0900
add esp, 4
mov eax, dword [ebp - 0x564c]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
je 0x49416e
push 0x12
push str.__curinstallpath_
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
mov eax, dword [ebp - 0x564c]
lea ecx, [ebp - 0x5648]
push dword [eax - 0xc]
push eax
call fcn.00425dc0
push 1
push 0x5b3b0c
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
lea eax, [ebp - 0x5650]
push eax
call fcn.004a1200
add esp, 4
push eax
lea ecx, [ebp - 0x564c]
mov byte [ebp - 4], 3
call fcn.00427100
mov edx, dword [ebp - 0x5650]
or edi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4941b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x564c]
cmp dword [eax - 0xc], 0
je 0x4941f6
push 0x10
push str.__curstartmenu_
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
mov eax, dword [ebp - 0x564c]
lea ecx, [ebp - 0x5648]
push dword [eax - 0xc]
push eax
call fcn.00425dc0
push 1
push 0x5b3b0c
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
lea eax, [ebp - 0x5650]
push eax
call fcn.004a1d50
add esp, 4
push eax
lea ecx, [ebp - 0x564c]
mov byte [ebp - 4], 4
call fcn.00427100
mov edx, dword [ebp - 0x5650]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494236
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x564c]
cmp dword [eax - 0xc], 0
je 0x49427b
push 0x11
push str.__waitclearlist_
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
mov eax, dword [ebp - 0x564c]
lea ecx, [ebp - 0x5648]
push dword [eax - 0xc]
push eax
call fcn.00425dc0
push 1
push 0x5b3b0c
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
lea eax, [ebp - 0x5650]
push eax
call fcn.004a0480
add esp, 4
push eax
lea ecx, [ebp - 0x564c]
mov byte [ebp - 4], 5
call fcn.00427100
mov edx, dword [ebp - 0x5650]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4942bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x564c]
cmp dword [eax - 0xc], 0
je 0x4942ee
push 0xc
push str.__curlocale
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
mov eax, dword [ebp - 0x564c]
lea ecx, [ebp - 0x5648]
push dword [eax - 0xc]
push eax
call fcn.00425dc0
lea eax, [ebp - 0x5650]
push eax
call fcn.004a0070
add esp, 4
push eax
lea ecx, [ebp - 0x564c]
mov byte [ebp - 4], 6
call fcn.00427100
mov edx, dword [ebp - 0x5650]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49432e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x564c]
cmp dword [eax - 0xc], 0
je 0x494361
push 7
push str.__lang
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
mov eax, dword [ebp - 0x564c]
lea ecx, [ebp - 0x5648]
push dword [eax - 0xc]
push eax
call fcn.00425dc0
lea eax, [ebp - 0x5650]
push eax
call fcn.0049ff00
add esp, 4
push eax
lea ecx, [ebp - 0x564c]
mov byte [ebp - 4], 7
call fcn.00427100
mov edx, dword [ebp - 0x5650]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4943a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x564c]
cmp dword [eax - 0xc], 0
je 0x4943e6
push 0x17
push str.__autorecoverfilepath_
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
mov eax, dword [ebp - 0x564c]
lea ecx, [ebp - 0x5648]
push dword [eax - 0xc]
push eax
call fcn.00425dc0
push 1
push 0x5b3b0c
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
lea eax, [ebp - 0x5650]
push eax
call fcn.004a1480
add esp, 4
push eax
lea ecx, [ebp - 0x564c]
mov byte [ebp - 4], 8
call fcn.00427100
mov edx, dword [ebp - 0x5650]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494426
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x564c]
cmp dword [eax - 0xc], 0
je 0x4944bd
push 0x1a
push str.__oldautorecoverfilepath_
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
push dword [ebp - 0x564c]
lea eax, [ebp - 0x5640]
push eax
call fcn.004e3f80
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 9
jb 0x49446b
mov edx, dword [edx]
test edx, edx
jne 0x494473
xor ecx, ecx
jmp 0x49448f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x494480
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494480
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
lea ecx, [ebp - 0x5640]
mov byte [ebp - 4], 2
call fcn.00430d50
push 1
push 0x5b3b0c
lea ecx, [ebp - 0x5648]
call fcn.00425dc0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f70
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5654], eax
mov eax, str.uninstallsend_message
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5654]
test eax, 0xffff0000
jne 0x4944fb
movzx eax, ax
push eax
call fcn.00426130
jmp 0x494507
push 0x15
push str.uninstallsend_message
call fcn.004263f0
lea eax, [ebp - 0x5654]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x5660]
push eax
call fcn.00472b30
add esp, 8
mov edx, dword [ebp - 0x5654]
mov eax, edi
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494542
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x5660]
push eax
lea eax, [ebp - 0x5650]
push str.__msgwndname
push eax
call fcn.0043fd40
add esp, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0x5648]
mov byte [ebp - 4], 0xe
push dword [eax - 0xc]
push eax
call fcn.00425dc0
mov edx, dword [ebp - 0x5650]
mov eax, edi
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494593
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004a06f0
test eax, eax
je 0x49461a
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.__2019icDisable
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x4945da
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4945e6
push 0xf
push str.__2019icDisable
call fcn.004263f0
mov esi, dword [ebp - 0x5644]
lea ecx, [ebp - 0x5648]
mov byte [ebp - 4], 0x10
push dword [esi - 0xc]
push esi
call fcn.00425dc0
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49461a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f7a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.DisableDelBackup
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x494658
movzx eax, ax
push eax
call fcn.00426130
jmp 0x494664
push 0x10
push str.DisableDelBackup
call fcn.004263f0
lea eax, [ebp - 0x5644]
mov byte [ebp - 4], 0x12
push eax
call fcn.004a0770
mov edx, dword [ebp - 0x5644]
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x49469a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x49471c
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.__delbackupdisable
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x4946dc
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4946e8
push 0x12
push str.__delbackupdisable
call fcn.004263f0
mov esi, dword [ebp - 0x5644]
lea ecx, [ebp - 0x5648]
mov byte [ebp - 4], 0x14
push dword [esi - 0xc]
push esi
call fcn.00425dc0
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49471c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f84
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.DisableDelCustomBackup
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x49475a
movzx eax, ax
push eax
call fcn.00426130
jmp 0x494766
push 0x16
push str.DisableDelCustomBackup
call fcn.004263f0
lea eax, [ebp - 0x5644]
mov byte [ebp - 4], 0x16
push eax
call fcn.004a0770
mov edx, dword [ebp - 0x5644]
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x49479c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x49481e
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.__delcustombackupdisable
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x4947de
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4947ea
push 0x18
push str.__delcustombackupdisable
call fcn.004263f0
mov esi, dword [ebp - 0x5644]
lea ecx, [ebp - 0x5648]
mov byte [ebp - 4], 0x18
push dword [esi - 0xc]
push esi
call fcn.00425dc0
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49481e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f8e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.DisableDelAddon
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x49485c
movzx eax, ax
push eax
call fcn.00426130
jmp 0x494868
push 0xf
push str.DisableDelAddon
call fcn.004263f0
lea eax, [ebp - 0x5644]
mov byte [ebp - 4], 0x1a
push eax
call fcn.004a0770
mov edx, dword [ebp - 0x5644]
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x49489e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x494920
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.__deladdondisable
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x4948e0
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4948ec
push 0x11
push str.__deladdondisable
call fcn.004263f0
mov esi, dword [ebp - 0x5644]
lea ecx, [ebp - 0x5648]
mov byte [ebp - 4], 0x1c
push dword [esi - 0xc]
push esi
call fcn.00425dc0
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x494920
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f98
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.DisableSilentDefaultDel
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x49495e
movzx eax, ax
push eax
call fcn.00426130
jmp 0x49496a
push 0x17
push str.DisableSilentDefaultDel
call fcn.004263f0
lea eax, [ebp - 0x5644]
mov byte [ebp - 4], 0x1e
push eax
call fcn.004a0770
mov edx, dword [ebp - 0x5644]
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4949a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x494a22
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov eax, str.__silentdefaultdeldisable
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x5644]
test eax, 0xffff0000
jne 0x4949e2
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4949ee
push 0x19
push str.__silentdefaultdeldisable
call fcn.004263f0
mov esi, dword [ebp - 0x5644]
lea ecx, [ebp - 0x5648]
mov byte [ebp - 4], 0x20
push dword [esi - 0xc]
push esi
call fcn.00425dc0
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x494a22
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x5648]
lea eax, [ebp - 0x5628]
push 0x2800
push eax
call fcn.0055418d
push str.__upgradepower
lea eax, [ebp - 0x5628]
push 0x2800
push eax
call fcn.0055418d
mov ebx, 1
add esp, 0x18
mov dword [ebp - 0x5650], ebx
cmp dword [ebp - 0x5668], ebx
jle 0x494cb9
lea esp, [esp]
push 0x5b4a20
lea eax, [ebp - 0x5628]
mov edi, 0x5b1308
push 0x2800
push eax
call fcn.0055418d
mov eax, dword [ebp - 0x566c]
add esp, 0xc
mov esi, dword [eax + ebx*4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5644], eax
mov byte [ebp - 4], 0x21
test esi, esi
je 0x494af1
test esi, 0xffff0000
jne 0x494ad5
movzx eax, si
lea ecx, [ebp - 0x5644]
push eax
call fcn.00426130
jmp 0x494b00
mov ecx, esi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494ae0
sub ecx, edx
sar ecx, 1
jmp 0x494af3
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x5644]
call fcn.004263f0
mov byte [ebp - 4], 0x22
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x494f66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x565c], eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x565c]
test edi, 0xffff0000
jne 0x494b3e
movzx eax, di
push eax
call fcn.00426130
jmp 0x494b4a
push 1
push 0x5b1308
call fcn.004263f0
mov edi, dword [str.PerfLogFile]
mov esi, dword [ebp - 0x565c]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x5670], eax
test ecx, ecx
je 0x494b73
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x494b87
call fcn.00421b80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x494f66
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or dword [ebp - 0x5658], 1
add eax, 0x10
mov dword [ebp - 0x5664], eax
test edi, edi
jne 0x494ba6
xor ecx, ecx
jmp 0x494bbf
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x494bb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494bb0
sub ecx, edx
sar ecx, 1
push ecx
push edi
push dword [esi - 0xc]
lea eax, [ebp - 0x5664]
push esi
push eax
call fcn.00427890
mov edi, dword [ebp - 0x5664]
add esp, 0x14
mov esi, dword [ebp - 0x5644]
test edi, edi
jne 0x494be9
or ebx, 0xffffffff
jmp 0x494c0d
cmp dword [esi - 0xc], 0
jge 0x494bf4
or ebx, 0xffffffff
jmp 0x494c0d
push edi
push esi
call fcn.00542853
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x494c09
or ebx, 0xffffffff
jmp 0x494c0d
sub ebx, esi
sar ebx, 1
and dword [ebp - 0x5658], 0xfffffffe
add edi, 0xfffffff0
mov byte [ebp - 4], 0x24
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x494c30
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5670]
or edi, 0xffffffff
mov byte [ebp - 4], 0x22
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494c51
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x494c70
push str._upgrade.kpl
push str..kpl
lea ecx, [ebp - 0x5644]
call fcn.0045b810
mov esi, dword [ebp - 0x5644]
push esi
lea eax, [ebp - 0x5628]
push 0x2800
push eax
call fcn.0055418d
add esp, 0xc
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x494ca0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x5650]
inc ebx
mov dword [ebp - 0x5650], ebx
cmp ebx, dword [ebp - 0x5668]
jl 0x494a70
push 0x38
lea eax, [ebp - 0x56e0]
mov dword [ebp - 0x56e4], 0x3c
push 0
push eax
call fcn.00540d70
lea eax, [ebp - 0x628]
mov dword [ebp - 0x56e0], 0x500
mov dword [ebp - 0x56d4], eax
add esp, 0xc
cmp byte [0x62a1c4], 0
lea eax, [ebp - 0x5628]
mov dword [ebp - 0x56ac], 0
mov dword [ebp - 0x56dc], 0
mov dword [ebp - 0x56d8], str.runas
mov dword [ebp - 0x56d0], eax
mov dword [ebp - 0x56c8], 1
mov dword [ebp - 0x56c4], 0
je 0x494d63
push 0
push 0
push 0x5c5b14
push str.UpgradeCallProcess
push 1
call fcn.004c7f00
add esp, 0x14
cmp byte [0x62a1c4], 0
je 0x494d63
push 0
push str.UpgradeCallProcess
call fcn.004c7f80
add esp, 8
lea eax, [ebp - 0x56e4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x494d86
mov dword [0x629e14], 5
lea esi, [eax + 5]
jmp 0x494ee4
cmp byte [0x62a1c4], 0
je 0x494dbf
push 0
push 0
push 0x5c5b14
push str.UpgradeCallProcess
push 1
call fcn.004c7f40
add esp, 0x14
cmp byte [0x62a1c4], 0
je 0x494dbf
push 0
push str.UpgradeCallProcess
call fcn.004c7fa0
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push dword [0x629e18]
mov ecx, 0x629e40
push 0
call fcn.00491a20
mov dword [ebp - 0x56a8], 0x5c5b54
mov dword [ebp - 0x56a4], 0
mov dword [ebp - 0x56a0], 0
mov dword [ebp - 0x569c], 0
mov dword [ebp - 0x5698], 0
mov dword [ebp - 0x5694], 0
mov dword [ebp - 0x5690], 0
lea eax, [ebp - 0x56a8]
mov byte [ebp - 4], 0x26
push eax
mov ecx, 0x629e40
call fcn.00490420
lea eax, [ebp - 0x5660]
push eax
lea ecx, [ebp - 0x5710]
call fcn.00496a90
lea ecx, [ebp - 0x56a8]
mov byte [ebp - 4], 0x27
call fcn.00493460
mov ecx, 0x629e40
call fcn.004933c0
mov ecx, 0x629e40
call fcn.004935f0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [0x629e14]
lea ecx, [ebp - 0x5710]
call fcn.00496ac0
mov eax, dword [ebp - 0x5698]
test eax, eax
je 0x494e9f
push eax
call fcn.0054acf4
add esp, 4
mov dword [ebp - 0x5698], 0
mov eax, dword [ebp - 0x56a4]
mov dword [ebp - 0x5694], 0
mov dword [ebp - 0x5690], 0
test eax, eax
je 0x494ed0
push eax
call fcn.0054acf4
add esp, 4
mov dword [ebp - 0x56a4], 0
mov dword [ebp - 0x56a0], 0
mov dword [ebp - 0x569c], 0
mov edx, dword [ebp - 0x5660]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494f05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x564c]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494f26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5648]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x494f48
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3