Function at 0x42cba0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f697
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x5eb6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x43c], 0
mov ebx, 1
mov dword [ebp - 4], ebx
call fcn.00453e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42cc04
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0xd
lea ecx, [ebp - 0x440]
push ecx
mov ecx, 0x5f38c8
mov dword [ebp - 0x43c], ebx
call fcn.00432310
push 0x5b9f10
push eax
lea edx, [ebp - 0x42c]
push edx
mov byte [ebp - 4], 2
call fcn.004024e0
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x440]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cc6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5ba030
lea edi, [ebp - 0x42c]
call fcn.0040b090
mov eax, dword [ebp - 0x42c]
add esp, 8
cmp dword [eax - 0xc], 0
je 0x42ccd7
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x42ccd7
test al, 0x10
je 0x42ccd7
mov eax, dword [ebp - 0x42c]
cmp dword [eax - 0xc], 0
je 0x42ccc8
push eax
call edi
cmp eax, 0xffffffff
je 0x42ccc8
test bl, al
je 0x42ccc8
mov edx, dword [ebp - 0x42c]
and eax, 0xfffffffe
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x42c]
push eax
call fcn.004140a0
add esp, 4
lea edi, [ebp - 0x4f0]
call fcn.00401eb0
push 0x5f399c
mov ebx, edi
mov byte [ebp - 4], 5
call fcn.00401000
xor eax, eax
push 0x418
push eax
lea ecx, [ebp - 0x428]
push ecx
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], eax
call fcn.00553a60
mov edx, dword [ebp - 0x42c]
mov edi, 1
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x454], edi
mov ecx, dword [edx - 8]
mov eax, edi
sub eax, dword [edx - 4]
add esp, 0xc
or ecx, eax
jge 0x42cd63
push 0
lea ecx, [ebp - 0x42c]
call fcn.00403620
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 0x44c], edx
lea edx, [ebp - 0x430]
push edx
call fcn.00436c60
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x430]
mov ecx, dword [edx - 8]
mov eax, edi
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42cd9e
push 0
lea ecx, [ebp - 0x430]
call fcn.00403620
mov edx, dword [ebp - 0x430]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x458], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov ecx, dword [edx - 8]
mov eax, edi
sub eax, dword [edx - 4]
or ecx, eax
jge 0x42cdc9
push 0
lea ecx, [ebp + 8]
call fcn.00403620
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x428], edx
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x450], ecx
mov ebx, 9
lea edx, [ebp - 0x458]
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], edx
mov edi, dword [esi + 0xb0]
test edi, edi
je 0x42cedc
mov eax, dword [edi + 0x60]
test eax, eax
je 0x42cedc
push str.Download
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42cedc
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
push ecx
push edx
call eax
mov dword [edi + 0x5c], eax
test eax, eax
jne 0x42cedc
push ecx
mov ecx, esp
mov dword [ebp - 0x460], esp
push str.Installer
call fcn.00403320
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x464], esp
push str.Common
call fcn.00403320
push ecx
lea eax, [ebp - 0x410]
mov ecx, esp
mov dword [ebp - 0x45c], esp
push eax
mov byte [ebp - 4], 8
call fcn.00403320
lea ecx, [ebp - 0x438]
push ecx
mov byte [ebp - 4], 6
call fcn.00413730
add esp, 0x10
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x434]
push eax
mov ecx, esi
call fcn.004037d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cec1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
push ecx
push edx
push str.Download_Success_SoftName__s__Path__s__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 0xc
jmp 0x42cee2
mov esi, dword [ebp - 0x434]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x46c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x470]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x4cc]
call fcn.00401fa0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cf81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cfa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055064f
mov esp, ebp
pop ebp
ret 8