Function at 0x451ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x605318
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00454120
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
cmp dword [0x67f6bc], edi
jne 0x451d27
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
call fcn.0051f280
cmp eax, edi
jl 0x451de8
mov dword [0x67f6bc], 1
call fcn.0051d480
test eax, eax
je 0x451de8
call fcn.0051d9e0
call fcn.0051bef0
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x14], ebx
je 0x451de8
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x451d5c
cmp eax, 0x80
jne 0x451d61
mov byte [esp + 0x28], 1
mov dword [esp + 0x48], edi
lea edi, [esp + 0x10]
call fcn.0047ac70
mov byte [esp + 0x48], 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x451d9a
lea ecx, [eax - 1]
test ecx, ecx
jl 0x451dfd
cmp ecx, eax
jg 0x451dfd
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x451d9a
push 0x5c
call fcn.0040af90
push 7
push str.url.dat
lea edx, [esp + 0x18]
push edx
call fcn.0040aee0
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x451e07
mov byte [esp + 0x48], al
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451dda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x28], 0
je 0x451de8
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403650
push esi
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x28], esp
mov ebx, esp
mov dword [esp + 0x24], edi
call fcn.0040a210
add eax, 0x10
mov dword [ebx], eax
call fcn.0051e200
test eax, eax
jne 0x451e6f
mov byte [esp + 0x48], al
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451e48
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp byte [esp + 0x28], 0
je 0x451e5a
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edi, esi
mov ebx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
test edi, edi
mov edx, dword [esi + 4]
mov dword [esp + 0x38], edx
je 0x451e96
cmp edi, esi
je 0x451e9b
call fcn.005d29f1
cmp ebx, dword [esp + 0x38]
je 0x451f1d
test edi, edi
jne 0x451eaa
call fcn.005d29f1
cmp ebx, dword [edi + 4]
jne 0x451eb4
call fcn.005d29f1
lea eax, [ebx + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ebx, 0x625fc4
call fcn.0040aab0
add esp, 8
mov byte [esp + 0x48], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0040aee0
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451f04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x2c]
call fcn.004541c0
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov esi, dword [ebp + 0xc]
jmp 0x451e87
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451f3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x28], 0
je 0x451f51
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret