Function at 0x42d34d
Capabilities:
Check if file exists

Disassembly:
push 0x2c
mov eax, 0x48521a
call fcn.00468a6e
lea eax, [ebp - 0x38]
push eax
call fcn.0042c94e
pop ecx
mov esi, dword [ebp - 0x38]
xor edi, edi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
jmp 0x42d38c
mov eax, dword [ebp + 8]
push dword [eax]
mov ecx, esi
call fcn.00417a23
test eax, eax
je 0x42d3a3
add esi, 0x34
cmp esi, dword [ebp - 0x34]
jne 0x42d379
xor esi, esi
lea ecx, [ebp - 0x38]
call fcn.0042c72f
mov eax, esi
call fcn.00468b46
ret
mov dword [ebp - 0x14], edi
push 0x4c1160
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004237f4
lea edi, [esi + 8]
mov eax, dword [edi]
push ebx
push eax
push dword [esi + 4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00424ae3
lea ecx, [ebp - 0x10]
lea ebx, [esi + 0xc]
mov eax, dword [ebx]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004256d8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x42d425
push str.UninstallString
mov ecx, ebx
call fcn.00417a23
test eax, eax
jne 0x42d425
push ebx
push edi
push dword [esi + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.0042c23c
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00417f16
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00417891
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x42d51c
push 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.00417c29
push str..exe
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00417a23
mov ecx, dword [ebp - 0x24]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00417891
inc bl
je 0x42d473
lea eax, [ebp - 0x10]
push eax
call fcn.0042be6e
pop ecx
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
xor ebx, ebx
inc ebx
sub eax, edi
mov dword [ebp - 0x20], ebx
test eax, 0xfffffffc
jne 0x42d48d
mov dword [ebp - 0x18], ebx
jmp 0x42d4f3
cmp edi, dword [esi + 0x18]
je 0x42d4f3
push 0x48c634
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00417e8f
push edi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.00419092
add esp, 0x18
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x24]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00417891
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00417891
inc bl
jne 0x42d4ec
add edi, 4
cmp edi, dword [esi + 0x18]
jne 0x42d492
jmp 0x42d4f0
and dword [ebp - 0x18], 0
xor ebx, ebx
inc ebx
mov edi, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
sub eax, edi
test eax, 0xfffffffc
jne 0x42d515
mov dword [ebp - 0x1c], ebx
jmp 0x42d51f
push edi
call fcn.0042b7bc
pop ecx
test eax, eax
jne 0x42d502
add edi, 4
cmp edi, dword [esi + 0x28]
jne 0x42d507
jmp 0x42d51f
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00417891
cmp dword [ebp - 0x14], 0
je 0x42d539
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20], 0
je 0x42d391
cmp dword [ebp - 0x18], 0
je 0x42d391
cmp dword [ebp - 0x1c], 0
je 0x42d391
mov esi, ebx
jmp 0x42d393