Function at 0x42ca7d
Capabilities:
Check if file exists

Disassembly:
push 0xc0
mov eax, 0x4861f1
call fcn.004579d0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [0x4a8884]
mov ebx, 0x4a8884
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0042a0a5
mov ecx, eax
call fcn.00429a3c
lea eax, [ebp - 0x9c]
push eax
call fcn.004249be
lea eax, [ebp - 0x9c]
mov dword [esp], str.pluginskuniontryno.dat
push eax
call fcn.00407bf8
mov esi, dword [ebp - 0x9c]
cmp dword [esi - 0xc], edi
je 0x42cd56
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cd56
lea eax, [ebp - 0xc0]
push eax
push esi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0x98], edi
call fcn.0047faf0
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0xa0], eax
je 0x42cd46
lea eax, [ebp - 0x94]
push eax
call fcn.0042082a
mov dword [ebp - 0x1c], edi
lea edi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00420310
mov eax, dword [ebp - 0x94]
push 0
push 0
push dword [ebp - 0xa0]
mov ecx, edi
call dword [eax + 8]
cmp byte [ebp - 0x50], 0
je 0x42cb74
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0042009f
jmp 0x42cd3a
mov eax, str.root_tryno
lea esi, [ebp - 0x94]
call fcn.00427a72
test eax, eax
je 0x42cd25
and dword [ebp - 0xbc], 0
xor eax, eax
lea edi, [ebp - 0xb8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4a8884]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8], eax
mov eax, dword [0x4a8884]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xbc]
push eax
push str.tid1
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00427b66
lea eax, [ebp - 0xb8]
push eax
push str.tid2
lea eax, [ebp - 0x94]
call fcn.00427b66
lea eax, [ebp - 0xb4]
push eax
push str.tod1
lea eax, [ebp - 0x94]
call fcn.00427b66
lea eax, [ebp - 0xb0]
push eax
push str.tod2
lea eax, [ebp - 0x94]
call fcn.00427b66
lea eax, [ebp - 0xac]
push eax
push str.softid
lea eax, [ebp - 0x94]
call fcn.00427b66
push str.tod1_ex
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00427b94
push str.tod2_ex
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00427b94
mov esi, dword [ebp - 0xc4]
mov edi, dword [esi + 4]
test edi, edi
jne 0x42cc7f
and dword [ebp - 0x98], edi
jmp 0x42cc90
mov eax, dword [esi + 0xc]
sub eax, edi
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x98], eax
mov eax, esi
call fcn.0042d44c
cmp eax, dword [ebp - 0x98]
jae 0x42ccb5
lea eax, [ebp - 0xbc]
push eax
push 1
push dword [esi + 8]
call fcn.0042d4e5
mov dword [esi + 8], eax
jmp 0x42cce3
mov eax, dword [esi + 8]
cmp edi, eax
mov dword [ebp - 0x98], eax
jbe 0x42ccc7
call fcn.00453f1a
push dword [ebp - 0x98]
lea eax, [ebp - 0xbc]
push esi
push eax
lea eax, [ebp - 0xcc]
push eax
mov eax, esi
call fcn.0042d462
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
call fcn.0040257a
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
call fcn.0040257a
mov eax, str.tryno
lea esi, [ebp - 0x94]
call fcn.00427bf3
test eax, eax
jne 0x42cb8c
mov dword [ebp - 0x98], 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0
call fcn.0042009f
mov esi, dword [ebp - 0x9c]
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
lea eax, [esi - 0x10]
call fcn.0040257a
mov eax, dword [ebp - 0x98]
jmp 0x42cd60
lea eax, [esi - 0x10]
call fcn.0040257a
xor eax, eax
call fcn.00457a53
ret 4