Function at 0x445af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a130
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00444ac0
add esp, 4
mov ebx, dword [ebp - 0x38]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], edi
mov esi, ebx
cmp ebx, dword [ebp - 0x34]
je 0x445ded
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x445b71
mov ecx, dword [esi]
push eax
push ecx
call fcn.005347c1
add esp, 8
cmp eax, edi
je 0x445b7b
add esi, 0x34
cmp esi, dword [ebp - 0x34]
jne 0x445b44
jmp 0x445ded
push 0x80004005
call fcn.00421960
mov dword [ebp - 0x14], edi
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], 1
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov edi, dword [esi + 8]
lea ebx, [esi + 8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x445bb6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push edi
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x10]
lea edi, [esi + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00439630
mov edx, dword [ebp - 0x10]
cmp dword [edx - 0xc], 0
jne 0x445c3e
mov eax, dword [edi]
push str.UninstallString
push eax
call fcn.005347c1
add esp, 8
test eax, eax
jne 0x445c3e
mov eax, dword [esi + 4]
push edi
push ebx
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00443b60
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004222b0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x445c3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
je 0x445d8f
push 4
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x10]
call fcn.00421e70
mov eax, dword [eax]
push str..exe
push eax
call fcn.005347c1
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x24]
sete bl
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445c91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x445ca1
lea ecx, [ebp - 0x10]
push ecx
call fcn.00443620
add esp, 4
mov edi, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
sub edx, edi
mov ebx, 1
mov dword [ebp - 0x20], ebx
test edx, 0xfffffffc
jne 0x445cc1
mov dword [ebp - 0x18], ebx
jmp 0x445d5e
cmp edi, dword [esi + 0x18]
je 0x445d5e
lea ebx, [ebx]
push 0x592324
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004221d0
push edi
push eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 5
call fcn.00423670
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x24]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445d21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445d44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x445d52
add edi, 4
cmp edi, dword [esi + 0x18]
jne 0x445cd0
jmp 0x445d59
mov dword [ebp - 0x18], 0
mov ebx, 1
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
sub ecx, edi
test ecx, 0xfffffffc
jne 0x445d73
mov dword [ebp - 0x1c], ebx
jmp 0x445d94
cmp edi, dword [esi + 0x28]
je 0x445d94
push edi
call fcn.00442970
add esp, 4
test eax, eax
jne 0x445d6e
add edi, 4
cmp edi, dword [esi + 0x28]
jne 0x445d78
jmp 0x445d94
mov ebx, 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x445db7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x445dc5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
je 0x445de8
cmp dword [ebp - 0x18], 0
je 0x445de8
cmp dword [ebp - 0x1c], 0
je 0x445de8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x38]
xor edi, edi
jmp 0x445df0
mov ebx, dword [ebp - 0x38]
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xffffffff
cmp ebx, edi
je 0x445e1a
mov esi, ebx
cmp ebx, dword [ebp - 0x34]
je 0x445e11
mov ecx, esi
call fcn.00443f90
add esi, 0x34
cmp esi, dword [ebp - 0x34]
jne 0x445e02
push ebx
call int.0042bfd0
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret