Function at 0x45b1c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ca02
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], eax
mov word [esi], cx
mov dword [ebp - 4], ecx
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x84], 1
call fcn.0040afa0
mov dword [ebp - 4], 1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x58]
push eax
push 0x80000002
call fcn.00417a50
test eax, eax
je 0x45b29d
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x7c]
push eax
push 0x80000001
call fcn.00417a50
test eax, eax
jne 0x45b376
push esi
push str.InstallLocation
lea ecx, [ebp - 0x7c]
call fcn.00417d10
cmp dword [esi + 0x10], 0
jne 0x45b376
push esi
push str.UninstallString
lea ecx, [ebp - 0x7c]
call fcn.00417d10
sub esp, 8
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x45b2d2
mov eax, dword [esi]
jmp 0x45b2d4
mov eax, esi
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00412400
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00412a20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x45b309
push 0xffffffffffffffff
push 0
push eax
call fcn.00407b20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x45b322
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmp esi, eax
je 0x45b349
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00407b20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45b362
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov edi, dword [ebp - 0x7c]
test edi, edi
je 0x45b38c
push edi
call dword [0x53f9b0]
xor edi, edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
cmp dword [esi + 0x10], 0
je 0x45b547
sub esp, 8
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x45b3a5
mov eax, dword [esi]
jmp 0x45b3a7
mov eax, esi
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00412400
mov eax, dword [ebp + 0x10]
lea edx, [eax + 0x10]
mov byte [ebp - 4], 5
cmp dword [edx], 0
je 0x45b42d
sub esp, 8
cmp dword [eax + 0x14], 8
mov ecx, esp
jb 0x45b3d3
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [edx]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00412da0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x45b3fb
push 0xffffffffffffffff
push 0
push eax
call fcn.00407b20
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x45b414
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x45b4d6
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x70]
push str..exe
call fcn.00444130
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
push ecx
mov edx, esp
jb 0x45b451
mov ecx, dword [eax]
jmp 0x45b453
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412da0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
cmp ecx, eax
je 0x45b47c
push 0xffffffffffffffff
push 0
push eax
call fcn.00407b20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x45b495
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x45b4c2
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b502
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x45b51a
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00407b20
jmp 0x45b51a
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x45b513
mov eax, dword [esi]
jmp 0x45b515
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45b533
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
test edi, edi
je 0x45b564
push edi
call dword [0x53f9b0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x74], 0
test ecx, ecx
je 0x45b578
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x45b591
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret 0xc