Function at 0x493d50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2c10
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4e24e0]
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
mov esi, ecx
push esi
call fcn.00491130
add esp, 4
test al, al
je 0x493db0
cmp dword [esi + 0x14], 0
je 0x493db0
cmp dword [esi + 0x18], 8
jb 0x493d9e
mov esi, dword [esi + 4]
jmp 0x493da1
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x494d44
lea eax, [ebp - 0xc8]
push eax
call fcn.004050a0
xor ecx, ecx
mov dword [ebp - 4], 0
cmp ecx, 0x4c3920
je 0x4944e5
xor edx, edx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x44], dx
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 1
call fcn.00418790
mov byte [ebp - 4], 2
call fcn.00401000
test al, al
je 0x4940e9
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x7c], esp
push edx
mov ecx, 0x4c368c
mov esi, 1
call fcn.00411220
push ecx
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x5c], esp
push eax
mov ecx, 0x4c3690
call fcn.00411220
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004109f0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040fcb0
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004013a0
test edi, edi
je 0x4940e9
lea edx, [ebp - 0x58]
push edx
mov ecx, 0x4c3920
call fcn.00411220
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00402950
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x493e9e
call fcn.00446707
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x493eb2
call fcn.00446707
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
jmp 0x493ec0
test esi, esi
je 0x493ecc
cmp esi, dword [ebp - 0xa4]
je 0x493ed1
call fcn.00446707
cmp edi, dword [ebp - 0x7c]
je 0x4940c6
test esi, esi
jne 0x4940bb
call fcn.00446707
cmp edi, dword [esi + 0x10]
jb 0x493ef1
call fcn.00446707
mov eax, dword [edi]
sub eax, 0x10
call fcn.004115b0
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00402950
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x49406e
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x49406e
push eax
mov edx, ecx
push edx
call fcn.00446ee4
add esp, 8
test eax, eax
je 0x49406e
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x49406e
mov eax, dword [0x4e768c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e768c
call edx
add eax, 0x10
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
push 0x4c36f8
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004029b0
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x84], esp
push ecx
mov ecx, 0x4c3900
lea esi, [ebp - 0x60]
mov edi, 1
call fcn.00411220
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov ebx, esp
call fcn.004115b0
add eax, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004109f0
push eax
mov byte [ebp - 4], 0xa
call fcn.00410b40
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004013a0
test edi, edi
mov edi, dword [ebp - 0x60]
je 0x49402b
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x100]
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
call fcn.0040a7f0
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xb
call fcn.00405140
lea esi, [ebp - 0x100]
call fcn.00431ba0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49404e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49406e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494091
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4940c2
call fcn.00446707
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x4940ac
call fcn.00446707
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x493ec0
mov esi, dword [esi]
jmp 0x493ee7
mov eax, dword [eax]
jmp 0x49409f
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4940e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov ebx, eax
cmp edi, eax
jbe 0x494100
call fcn.00446707
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x78]
cmp edi, eax
jbe 0x49410c
call fcn.00446707
mov ecx, dword [ebp - 0x78]
push ebx
push esi
push edi
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.00405ef0
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x80], esp
push edx
mov ecx, 0x4c3764
xor esi, esi
call fcn.00411220
push ecx
mov byte [ebp - 4], 0xc
mov eax, esp
mov dword [ebp - 0x84], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.00411220
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xac]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004109f0
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0040fcb0
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49419f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4941c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x494493
lea ecx, [ebp - 0x58]
push ecx
mov ecx, 0x4c3920
call fcn.00411220
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.00402950
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x4941fb
call fcn.00446707
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x49420f
call fcn.00446707
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
test esi, esi
je 0x494224
cmp esi, dword [ebp - 0xa4]
je 0x494229
call fcn.00446707
cmp edi, dword [ebp - 0x7c]
je 0x494470
test esi, esi
jne 0x494465
call fcn.00446707
cmp edi, dword [esi + 0x10]
jb 0x494249
call fcn.00446707
mov eax, dword [edi]
sub eax, 0x10
call fcn.004115b0
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00402950
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x494418
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x494418
push eax
mov edx, ecx
push edx
call fcn.00446ee4
add esp, 8
test eax, eax
je 0x494418
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x494418
mov eax, dword [0x4e768c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e768c
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.004029b0
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x80], esp
push ecx
mov ecx, 0x4c3900
lea esi, [ebp - 0x5c]
xor edi, edi
call fcn.00411220
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.004115b0
add eax, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.004109f0
push eax
mov byte [ebp - 4], 0x13
call fcn.00410b40
mov esi, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49434d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49436f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x5c]
test esi, esi
je 0x4943d5
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], ebx
call fcn.0040a7f0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.004085e0
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.00408680
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [ebp - 0x100]
call fcn.00431ba0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4943f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49443b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x49446c
call fcn.00446707
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x494456
call fcn.00446707
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x494218
mov esi, dword [esi]
jmp 0x49423f
mov eax, dword [eax]
jmp 0x494449
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x494493
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4944ae
mov edi, dword [ebp - 0x68]
call fcn.0040ffe0
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0044556f
add esp, 4
mov edx, dword [ebp - 0x78]
push edx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.0044556f
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x4944e5
mov eax, dword [ebp - 0x44]
push eax
call fcn.0044556f
add esp, 4
xor ecx, ecx
cmp ecx, 0x4c394c
je 0x494c05
xor edx, edx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x44], dx
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x15
call fcn.00418790
mov byte [ebp - 4], 0x16
call fcn.00401000
test al, al
je 0x494809
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x80], esp
push edx
mov ecx, 0x4c368c
mov esi, 1
call fcn.00411220
push ecx
mov byte [ebp - 4], 0x17
mov eax, esp
mov dword [ebp - 0x84], esp
push eax
mov ecx, 0x4c3690
call fcn.00411220
push SysReAllocString
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.004109f0
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.0040fcb0
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 0x16
call fcn.004013a0
test edi, edi
je 0x494809
lea edx, [ebp - 0x58]
push edx
mov ecx, 0x4c394c
call fcn.00411220
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.00402950
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x4945c3
call fcn.00446707
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x4945d7
call fcn.00446707
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
test esi, esi
je 0x4945ec
cmp esi, dword [ebp - 0xa4]
je 0x4945f1
call fcn.00446707
cmp edi, dword [ebp - 0x7c]
je 0x4947e6
test esi, esi
jne 0x4947db
call fcn.00446707
cmp edi, dword [esi + 0x10]
jb 0x494611
call fcn.00446707
mov eax, dword [edi]
sub eax, 0x10
call fcn.004115b0
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
call fcn.00402950
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x49478e
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x49478e
push eax
mov edx, ecx
push edx
call fcn.00446ee4
add esp, 8
test eax, eax
je 0x49478e
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x49478e
mov eax, dword [0x4e768c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e768c
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push 0x4c36f8
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1b
call fcn.004029b0
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x80], esp
push ecx
mov ecx, 0x4c392c
lea esi, [ebp - 0x5c]
mov edi, 1
call fcn.00411220
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.004115b0
add eax, 0x10
push SysReAllocString
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.004109f0
push eax
mov byte [ebp - 4], 0x1e
call fcn.00410b40
add esp, 4
lea esi, [ebp - 0x9c]
mov edi, eax
mov byte [ebp - 4], 0x1c
call fcn.004013a0
test edi, edi
mov edi, dword [ebp - 0x5c]
je 0x49474b
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x100]
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
call fcn.0040a7f0
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x1f
call fcn.00405140
lea esi, [ebp - 0x100]
call fcn.00431ba0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49476e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x1a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49478e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4947b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4947e2
call fcn.00446707
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x4947cc
call fcn.00446707
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x4945e0
mov esi, dword [esi]
jmp 0x494607
mov eax, dword [eax]
jmp 0x4947bf
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x494809
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov ebx, eax
cmp edi, eax
jbe 0x494820
call fcn.00446707
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x78]
cmp edi, eax
jbe 0x49482c
call fcn.00446707
mov ecx, dword [ebp - 0x78]
push ebx
push esi
push edi
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.00405ef0
lea ecx, [ebp - 0x78]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x80], esp
push edx
mov ecx, 0x4c3764
xor esi, esi
call fcn.00411220
push ecx
mov byte [ebp - 4], 0x20
mov eax, esp
mov dword [ebp - 0x84], esp
push eax
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call fcn.00411220
push SysReAllocString
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.004109f0
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.0040fcb0
mov esi, eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4948bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4948e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x494bb3
lea ecx, [ebp - 0x58]
push ecx
mov ecx, 0x4c394c
call fcn.00411220
lea edi, [ebp - 0x58]
mov byte [ebp - 4], 0x22
call fcn.00402950
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jbe 0x49491b
call fcn.00446707
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xa4], edx
mov edi, ecx
cmp ecx, eax
jbe 0x49492f
call fcn.00446707
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
test esi, esi
je 0x494944
cmp esi, dword [ebp - 0xa4]
je 0x494949
call fcn.00446707
cmp edi, dword [ebp - 0x7c]
je 0x494b90
test esi, esi
jne 0x494b85
call fcn.00446707
cmp edi, dword [esi + 0x10]
jb 0x494969
call fcn.00446707
mov eax, dword [edi]
sub eax, 0x10
call fcn.004115b0
add eax, 0x10
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0x23
call fcn.00402950
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x494b38
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], 0
jl 0x494b38
push eax
mov edx, ecx
push edx
call fcn.00446ee4
add esp, 8
test eax, eax
je 0x494b38
sub eax, dword [ebp - 0x4c]
sar eax, 1
cmp eax, 0xffffffff
je 0x494b38
mov eax, dword [0x4e768c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e768c
call edx
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push eax
mov ecx, edi
mov byte [ebp - 4], 0x24
call fcn.004029b0
add esp, 4
mov ecx, esp
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x80], esp
push ecx
mov ecx, 0x4c392c
lea esi, [ebp - 0x5c]
xor edi, edi
call fcn.00411220
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x60]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x84], esp
mov ebx, esp
call fcn.004115b0
add eax, 0x10
push SysReAllocString
lea edx, [ebp - 0x9c]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [ebp - 4], 0x25
call fcn.004109f0
push eax
mov byte [ebp - 4], 0x27
call fcn.00410b40
mov esi, eax
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494a6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494a8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x5c]
test esi, esi
je 0x494af5
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], ebx
call fcn.0040a7f0
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.004085e0
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.00408680
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [ebp - 0x100]
call fcn.00431ba0
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x23
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494b38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494b5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x494b8c
call fcn.00446707
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x494b76
call fcn.00446707
add dword [ebp - 0x50], 4
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
jmp 0x494938
mov esi, dword [esi]
jmp 0x49495f
mov eax, dword [eax]
jmp 0x494b69
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x494bb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x494bce
mov edi, dword [ebp - 0x68]
call fcn.0040ffe0
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0044556f
add esp, 4
mov edx, dword [ebp - 0x78]
push edx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.0044556f
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x494c05
mov eax, dword [ebp - 0x44]
push eax
call fcn.0044556f
add esp, 4
xor ecx, ecx
push ecx
push 0x4c3958
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
call fcn.00403020
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0xb4]
mov edi, dword [edx]
mov ebx, dword [ebp - 0xc8]
lea esp, [esp]
mov esi, dword [ebp - 0xb4]
test ebx, ebx
je 0x494c52
cmp ebx, dword [ebp - 0xc8]
je 0x494c57
call fcn.00446707
cmp edi, esi
je 0x494d48
test ebx, ebx
jne 0x494ce9
call fcn.00446707
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x494c78
call fcn.00446707
push 0x4c395c
lea ecx, [edi + 0x24]
lea esi, [ebp - 0x48]
call fcn.0040a3a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
call fcn.00405b20
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x30], 8
jb 0x494cb2
mov eax, dword [ebp - 0x44]
push eax
call fcn.0044556f
add esp, 4
mov eax, dword [ebp - 0x28]
mov esi, 8
cmp dword [ebp - 0x14], esi
jae 0x494cc2
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x494cf1
test ebx, ebx
jne 0x494ced
call fcn.00446707
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x494ce2
call fcn.00446707
mov edi, dword [edi]
jmp 0x494c40
mov eax, dword [ebx]
jmp 0x494c6e
mov eax, dword [ebx]
jmp 0x494cd8
cmp dword [ebp - 0x14], esi
jb 0x494d02
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0044556f
add esp, 4
lea eax, [ebp - 0xc8]
xor edx, edx
xor esi, esi
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], dx
call fcn.00408550
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.0044556f
mov edx, dword [ebp - 0xc8]
add esp, 4
push edx
mov dword [ebp - 0xb4], esi
call fcn.0044556f
add esp, 4
mov al, 1
jmp 0x494d9e
cmp dword [ebp - 0x14], 8
jb 0x494d5a
mov eax, dword [ebp - 0x28]
push eax
call fcn.0044556f
add esp, 4
lea edx, [ebp - 0xc8]
xor ecx, ecx
xor esi, esi
push edx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], cx
call fcn.00408550
mov eax, dword [ebp - 0xb4]
push eax
call fcn.0044556f
mov ecx, dword [ebp - 0xc8]
add esp, 4
push ecx
mov dword [ebp - 0xb4], esi
call fcn.0044556f
add esp, 4
xor al, al
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.0044557a
mov esp, ebp
pop ebp
ret