Function at 0x1004c900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call dword [0x10094100]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x1004c97c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.10068c40
mov esi, esp
test esi, esi
je 0x1004c979
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push ecx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [ebp - 0x10]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
jmp 0x1004c97e
mov edi, dword [ebp - 0x10]
xor esi, esi
call fcn.1004b170
test eax, eax
je 0x1004cb93
xor eax, eax
mov dword [ebp + 0xc], eax
lea edx, [ebp + 0xc]
push edx
push esi
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.1004b8c0
test eax, eax
je 0x1004cb89
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x1004c9b5
xor esi, esi
mov dword [ebp - 0x14], esi
jmp 0x1004c9e0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.10068c40
mov ecx, dword [ebp - 0x18]
mov eax, esp
push ecx
push esi
push ebx
push eax
call fcn.10001260
mov dword [ebp - 0x14], eax
mov esi, eax
push esi
mov ecx, edi
call fcn.1004c2c0
test eax, eax
je 0x1004cac3
lea edx, [ebp - 0x1c]
push esi
push edx
call fcn.1004b660
add esp, 8
add edi, 0x80
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10028740
lea eax, [ebp - 0x1c]
mov bl, 2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1003b700
push str..html
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
mov dword [ebp - 0x20], esi
jne 0x1004ca3f
push 0x8007000e
call fcn.10001330
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1003b700
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
mov byte [ebp - 4], bl
call edi
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x1004ca66
xor eax, eax
jmp 0x1004ca8c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and eax, 0xfffffffc
call fcn.10068c40
mov edx, dword [ebp - 0x18]
mov eax, esp
push edx
push ebx
push esi
push eax
call fcn.10001260
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1004cab5
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push edx
push esi
push eax
call dword [ecx + 0x2c]
push esi
call edi
mov eax, dword [ebp - 0x1c]
push eax
call edi
jmp 0x1004cb74
push 0
push str.RSS_Feed
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov dword [ebp + 0x18], eax
je 0x1004cb6e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004cae0
sub eax, edx
lea esi, [eax + 2]
push esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], esi
call fcn.10067994
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004cb6e
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esi - 2]
mov esi, dword [ebp - 0x14]
mov eax, ecx
shr ecx, 2
lea edi, [ebx + 1]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
test eax, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp + 0x1c], 0
je 0x1004cb51
mov edx, dword [eax]
lea ecx, [ebp + 0x1c]
push ecx
push eax
call dword [edx + 0x94]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x2c]
push edx
push eax
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call fcn.1006917d
add esp, 4
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x20]
push eax
mov word [edx], 0xffff
call edi
mov eax, 1
jmp 0x1004cb95
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
lea esp, [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c