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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x20], bx
push str.mailto:support_internetdownloadmanager.com
mov ecx, 0x67ab08
mov byte [ebp - 4], 1
call fcn.0059aec6
lea eax, [ebp - 0x74]
push str.v606b8
mov ecx, 0xb
mov esi, str.https:__secure.internetdownloadmanager.com_
lea edi, [ebp - 0x74]
push eax
push str._sbuy_idm.html__s
push 0x67b1a0
rep movsd dword es:[edi], dword [esi]
call fcn.00593b08
add esp, 0x10
lea ecx, [ebp - 0x74]
push str.v606b8
push ecx
push str._sbuy1.html__s
push 0x67b19c
call fcn.00593b08
add esp, 0x10
push str.v606b8
push str.http:__www.internetdownloadmanager.com___s
push 0x67b198
call fcn.00593b08
add esp, 0xc
push str.v606b8
push str.http:__www.internetdownloadmanager.com_welcome.html__s
push 0x67b194
call fcn.00593b08
add esp, 0xc
push str.v606b8
push str.http:__www.internetdownloadmanager.com_welcome2.html__s
push 0x67b190
call fcn.00593b08
add esp, 0xc
mov ecx, 0x67ab10
push str.Internet_20Download_20Manager_20__20very_20cool_20application___
call fcn.0059aec6
push str.download_20from_20
mov ecx, 0x67ab0c
call fcn.0059aec6
push str.mailto:_subjectInternet_20Download_20Manager_20__20very_20cool_20application___bodydownload_20from_20http:__www.internetdownloadmanager.com
mov ecx, 0x67ab14
call fcn.0059aec6
mov esi, dword [0x679ff8]
mov dword [ebp - 0x18], ebx
cmp esi, ebx
jne 0x4a8b5f
mov esi, 0x679ffc
mov edx, 0x64f028
test edx, edx
je 0x4a8c77
cmp esi, ebx
je 0x4a8c77
mov eax, str.idmpldr.ini
test eax, eax
je 0x4a8c77
push ebx
push edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x38], bx
call fcn.004028d0
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x2c], bx
call fcn.00401fb0
push str.idmpldr.ini
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00403ba0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00401070
mov edi, dword [ebp - 0x30]
cmp edi, ebx
jne 0x4a8bd3
lea edi, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00401fa0
push eax
call fcn.0057e90a
push edi
mov ebx, eax
call fcn.0057e90a
add esi, ebx
lea ebx, [eax + esi + 3]
lea esi, [ebx + ebx]
push esi
call fcn.005970d9
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [ebp - 0x24], edi
je 0x4a8c51
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x48]
call fcn.00401fa0
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.00401fa0
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.00401fa0
push esi
push edi
push eax
mov eax, dword [ebp - 0x24]
push ebx
push eax
call fcn.0057e89a
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00401070
xor ebx, ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x4a8c81
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4a8cea
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x4a8c97
lea eax, [ebp - 0x20]
push 0x651430
push eax
call fcn.0057ff6f
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4a8ce1
push esi
lea edx, [ebp - 0x94]
push 0x20
push edx
call fcn.0058017a
add esp, 0xc
test eax, eax
je 0x4a8ce1
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x94]
push eax
push 0x6514a8
push ecx
call fcn.005803bc
add esp, 0xc
cmp eax, 1
je 0x4a8ce1
mov dword [ebp - 0x18], ebx
push esi
call fcn.0057fd88
add esp, 4
push 0x679a18
lea ecx, [ebp - 0x14]
call fcn.0059adab
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4a8d14
push eax
lea edx, [ebp - 0x14]
push str.c_ld
push edx
call fcn.00593b08
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
push eax
push str.v606b8
push ecx
push str._sbuy_idm.html__s_s
push 0x67b1a0
call fcn.00593b08
mov edx, dword [ebp - 0x14]
add esp, 0x14
lea eax, [ebp - 0x74]
push edx
push str.v606b8
push eax
push str._sbuy1.html__s_s
push 0x67b19c
call fcn.00593b08
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
push str.v606b8
push str.http:__www.internetdownloadmanager.com___s_s
push 0x67b198
call fcn.00593b08
mov edx, dword [ebp - 0x14]
add esp, 0x10
push edx
push str.v606b8
push str.http:__www.internetdownloadmanager.com_welcome.html__s_s
push 0x67b194
call fcn.00593b08
mov eax, dword [ebp - 0x14]
add esp, 0x10
push eax
push str.v606b8
push str.http:__www.internetdownloadmanager.com_welcome2.html__s_s
push 0x67b190
call fcn.00593b08
mov eax, dword [ebp - 0x18]
add esp, 0x10
sub eax, 0x32
je 0x4a8db5
dec eax
jne 0x4a8dc7
push str._a_svfs_2c_
jmp 0x4a8dba
push str._a_dc_
push 0x67b18c
call fcn.00593b08
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0059ad3d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret