Function at 0x424ef0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49ffc0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
call fcn.00461729
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x424f3a
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
push ecx
push str.old_sky_data
mov ecx, 0x4d0790
mov dword [esp + 0x84], ebx
call fcn.00439210
test eax, eax
je 0x424fab
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
push eax
call fcn.00402840
lea esi, [eax + 0x10]
add esp, 4
push esi
call fcn.0047eb89
mov edi, eax
lea eax, [esi - 0x10]
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424fa3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
jne 0x425381
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 0x4adf84
call fcn.004019c0
mov ecx, str.old_sky_data
mov edi, 0x4d0790
call fcn.00438d40
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2AE2FA16_132C_4BA7_A83F_C603708D1C04_is1
lea ecx, [esp + 0x8c]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
call fcn.00445430
add esp, 0x10
push 0x4ac2d4
push 0x4ac5e4
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x88], 1
call fcn.00405e80
push 0x4aea58
lea eax, [esp + 0x88]
call fcn.00406220
mov edi, eax
mov eax, 0x4aea58
call fcn.00406280
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx - 0xc]
cmp eax, 5
jle 0x42535a
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42535a
push 0xb
push 0x54
lea eax, [esp + 0x3c]
push eax
mov dword [ebp + 0x1608], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x64
mov dword [esp + 0x4c], 0xf
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp + 0x20]
lea esi, [ebp + 0x718]
push eax
lea ecx, [ebp + 0x74]
lea eax, [esp + 0x38]
mov ebx, esi
call fcn.00446980
push ecx
mov eax, 0x7f7f7f
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4aea5c
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
call fcn.004019c0
call fcn.004478f0
mov edi, 1
mov dword [ebp + 0x734], edi
cmp dword [esi + 0x18], edi
je 0x4250ed
mov ecx, dword [esi + 0x14]
push ecx
mov dword [esi + 0x18], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4250ed
mov eax, dword [esi + 0x14]
push edi
lea edx, [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x84]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402840
lea ecx, [esp + 0x38]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00445710
add esp, 8
mov byte [esp + 0x7c], 2
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x425138
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov bl, 3
mov byte [esp + 0x7c], bl
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push str._sdatadata.dat
push edx
call fcn.00402a20
mov edi, dword [esp + 0x30]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x425312
call dword [0x4c99c8]
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x34]
add esp, 4
push eax
call fcn.00404220
add esp, 8
lea esi, [esp + 0x44]
call fcn.00439140
lea ecx, [esp + 0x28]
call fcn.00402a40
lea ecx, [esp + 0x6c]
mov byte [esp + 0x7c], 6
mov edx, dword [esp + 0x2c]
push ecx
push edx
call sub.sqlite3.dll_sqlite3_open
add esp, 8
test eax, eax
je 0x4251fd
mov eax, dword [esp + 0x6c]
push eax
call sub.sqlite3.dll_sqlite3_errmsg
add esp, 4
push eax
lea ecx, [esp + 0x2c]
push str.Could_not_open_database:__s
push ecx
call fcn.00402a20
add esp, 0xc
mov dword [esp + 0x6c], 0
jmp 0x4252c0
lea ecx, [esp + 0x1c]
call fcn.00402a40
lea edx, [esp + 0x1c]
push edx
push str.downloading
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 7
call fcn.00439210
test eax, eax
je 0x425235
lea eax, [esp + 0x1c]
lea ecx, [ebp + 0x160c]
push eax
call fcn.004027c0
lea ecx, [esp + 0x18]
call fcn.00402a40
lea ecx, [esp + 0x18]
push ecx
push str.history_data
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 8
call fcn.00439210
test eax, eax
je 0x42526d
lea edx, [esp + 0x18]
lea ecx, [ebp + 0x1610]
push edx
call fcn.004027c0
lea ecx, [esp + 0x14]
call fcn.00402a40
lea eax, [esp + 0x14]
push eax
push str.recycle_data
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 9
call fcn.00439210
test eax, eax
je 0x4252a5
lea edx, [esp + 0x14]
lea ecx, [ebp + 0x1614]
push edx
call fcn.004027c0
lea ecx, [esp + 0x14]
call fcn.00433b30
lea ecx, [esp + 0x18]
call fcn.00433b30
lea ecx, [esp + 0x1c]
call fcn.00433b30
mov byte [esp + 0x7c], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4252e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
call fcn.004391b0
mov byte [esp + 0x7c], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425312
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x7c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425333
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425358
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [esp + 0x7c], bl
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425381
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4253a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4