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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
lea eax, [ebp - 0x170]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x104
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x370]
lea edx, [ebp - 0x470]
push ecx
lea eax, [ebp - 0x270]
push edx
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp - 0x170]
push ecx
push edx
call fcn.0056d0ac
mov eax, dword [0x65ec1c]
add esp, 0x14
mov dword [ebp - 0x1c], eax
push str.mailto:support_internetdownloadmanager.com
mov ecx, 0x664110
mov byte [ebp - 4], 1
call fcn.00588849
mov ecx, 0xb
mov esi, str.http:__pop.b.haoyouqun.com_
lea edi, [ebp - 0x4c]
push str.v605b5
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
push 0x641a9c
push 0x6647a8
call fcn.0058148b
add esp, 0x10
lea edx, [ebp - 0x4c]
push str.v605b5
push edx
push str._sbuy1.html__s
push 0x6647a4
call fcn.0058148b
add esp, 0x10
push str.v605b5
push str.http:__www.internetdownloadmanager.com___s
push 0x6647a0
call fcn.0058148b
add esp, 0xc
push str.v605b5
push str.http:__www.internetdownloadmanager.com_welcome.html__s
push 0x66479c
call fcn.0058148b
add esp, 0xc
push str.v605b5
push str.http:__www.internetdownloadmanager.com_welcome2.html__s
push 0x664798
call fcn.0058148b
add esp, 0xc
mov ecx, 0x664118
push str.Internet_20Download_20Manager_20__20very_20cool_20application___
call fcn.00588849
push str.download_20from_20
mov ecx, 0x664114
call fcn.00588849
push str.mailto:_subjectInternet_20Download_20Manager_20__20very_20cool_20application___bodydownload_20from_20http:__www.internetdownloadmanager.com
mov ecx, 0x66411c
call fcn.00588849
lea eax, [ebp - 0x270]
push str.idmpldr.ini
lea ecx, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0x18], ebx
push 0x6399cc
lea edx, [ebp - 0x1c]
push edx
call fcn.0058148b
mov eax, dword [ebp - 0x1c]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x49cda0
mov ecx, dword [ebp - 0x1c]
push 0x63b074
push ecx
call fcn.0056dabf
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x49cd97
push esi
lea edx, [ebp - 0x6c]
push 0x20
push edx
call fcn.0056dc9a
add esp, 0xc
test eax, eax
je 0x49cd97
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x6c]
push eax
push 0x63b0d8
push ecx
call fcn.0056deb3
add esp, 0xc
cmp eax, 1
je 0x49cd97
mov dword [ebp - 0x18], ebx
push esi
call fcn.0056d8d8
add esp, 4
push 0x663188
lea ecx, [ebp - 0x14]
call fcn.0058872e
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x49cdca
push eax
lea edx, [ebp - 0x14]
push str.c_ld
push edx
call fcn.0058148b
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
push eax
push str.v605b5
push ecx
push 0x6418e0
push 0x6647a8
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0x14
lea eax, [ebp - 0x4c]
push edx
push str.v605b5
push eax
push str._sbuy1.html__s_s
push 0x6647a4
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
push str.v605b5
push str.http:__www.internetdownloadmanager.com___s_s
push 0x6647a0
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0x10
push edx
push str.v605b5
push str.http:__www.internetdownloadmanager.com_welcome.html__s_s
push 0x66479c
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0x10
push eax
push str.v605b5
push str.http:__www.internetdownloadmanager.com_welcome2.html__s_s
push 0x664798
call fcn.0058148b
mov eax, dword [ebp - 0x18]
add esp, 0x10
sub eax, 0x32
je 0x49ce6b
dec eax
jne 0x49ce7d
push str._a_svfs_2c_
jmp 0x49ce70
push str._a_dc_
push 0x664794
call fcn.0058148b
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.005886c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret