Function at 0x42cc80
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x120
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
xor ebp, ebp
push edi
cmp esi, ebp
mov ebx, ecx
je 0x42cf01
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0xe0
push ebp
push esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ebp
call dword [eax + 0x10]
test eax, eax
jne 0x42cef3
jmp 0x42ccd3
mov esi, dword [esp + 0x134]
mov eax, dword [esp + 0x1c]
xor ebp, ebp
lea ecx, [esp + 0x18]
push ebp
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
cmp eax, ebp
jne 0x42cef3
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
lea eax, [esp + 0x28]
push eax
push ebp
push ecx
push esi
call dword [edx + 0x2c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
sub esp, 0x108
mov ecx, 0x42
lea esi, [esp + 0x138]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0042cbf0
mov eax, dword [esp + 0x144]
test eax, eax
je 0x42cdad
mov ecx, dword [esp + 0x138]
mov edx, dword [ebx + 0x20]
push ecx
push 4
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x42cdad
test ebp, ebp
jne 0x42cec6
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [ebx + 4]
call fcn.004d9ac5
mov ecx, dword [eax]
push edi
push ecx
call fcn.004bda36
add esp, 8
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.004e1e27
test edi, edi
jne 0x42cd8d
mov ebp, 1
jmp 0x42cda1
mov edx, dword [ebx + 0x20]
push esi
push 1
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x42cd51
test ebp, ebp
jne 0x42cec6
mov ebp, dword [esp + 0x13c]
lea esi, [ebx + 4]
test ebp, ebp
jne 0x42cdea
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x14]
push 0xffff0002
push eax
push 0
push 0
push 0
push ecx
push 0
push edx
push 0x23
mov ecx, esi
call fcn.004d9c86
mov edi, eax
jmp 0x42ce34
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x14]
push 0xffff0003
push eax
push 0
push 0
push 0
push ecx
push ebp
push edx
push 0x23
mov ecx, esi
call fcn.004d9c86
cmp ebp, 2
mov edi, eax
jne 0x42ce34
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x134]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0042cf10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42cec6
lea ecx, [ebx + 0x40]
push eax
mov eax, dword [ecx + 8]
push eax
call fcn.004db64a
mov ecx, dword [ebx + 0x48]
xor ebp, ebp
push ecx
push ebp
push ebp
push ebp
push ebp
push ebp
push 4
push edi
mov ecx, esi
call fcn.004d9c38
mov edx, dword [esp + 0x10]
push 5
push 0x55eec0
push edx
mov dword [esp + 0x2c], ebp
call fcn.004bea08
add esp, 0xc
test eax, eax
je 0x42ceb4
mov ecx, dword [esp + 0x10]
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push ebp
push eax
push ebp
push ecx
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoExW]
test eax, eax
jne 0x42ceb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42ceb4
push ebp
push 4
push 4
push ebp
push ebp
push ebp
push 8
push edi
mov ecx, esi
call fcn.004d9c38
mov eax, dword [ebx + 0x68]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42ced8
mov eax, dword [ebx + 0x68]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42cccc
mov eax, dword [ebx + 0x68]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
jmp 0x42cccc
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x42cf01
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x14