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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3ab0
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.0056b52c
mov eax, dword [0x65ca8c]
add esp, 0x14
mov dword [ebp - 0x1c], eax
push str.mailto:support_internetdownloadmanager.com
mov ecx, 0x661f78
mov byte [ebp - 4], 1
call fcn.00586cbc
mov ecx, 0xb
mov esi, str.https:__secure.internetdownloadmanager.com_
lea edi, [ebp - 0x4c]
push str.v605
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
push str._sbuy_idm.html__s
push 0x662610
call fcn.0057f8fb
add esp, 0x10
lea edx, [ebp - 0x4c]
push str.v605
push edx
push str._sbuy1.html__s
push 0x66260c
call fcn.0057f8fb
add esp, 0x10
push str.v605
push str.http:__www.internetdownloadmanager.com___s
push 0x662608
call fcn.0057f8fb
add esp, 0xc
push str.v605
push str.http:__www.internetdownloadmanager.com_welcome.html__s
push 0x662604
call fcn.0057f8fb
add esp, 0xc
push str.v605
push str.http:__www.internetdownloadmanager.com_welcome2.html__s
push 0x662600
call fcn.0057f8fb
add esp, 0xc
mov ecx, 0x661f80
push str.Internet_20Download_20Manager_20__20very_20cool_20application___
call fcn.00586cbc
push str.download_20from_20
mov ecx, 0x661f7c
call fcn.00586cbc
push str.mailto:_subjectInternet_20Download_20Manager_20__20very_20cool_20application___bodydownload_20from_20http:__www.internetdownloadmanager.com
mov ecx, 0x661f84
call fcn.00586cbc
lea eax, [ebp - 0x270]
push str.idmpldr.ini
lea ecx, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0x18], ebx
push 0x6379c4
lea edx, [ebp - 0x1c]
push edx
call fcn.0057f8fb
mov eax, dword [ebp - 0x1c]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x49bfb0
mov ecx, dword [ebp - 0x1c]
push 0x639060
push ecx
call fcn.0056bf3f
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x49bfa7
push esi
lea edx, [ebp - 0x6c]
push 0x20
push edx
call fcn.0056c11a
add esp, 0xc
test eax, eax
je 0x49bfa7
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x6c]
push eax
push 0x6390c4
push ecx
call fcn.0056c333
add esp, 0xc
cmp eax, 1
je 0x49bfa7
mov dword [ebp - 0x18], ebx
push esi
call fcn.0056bd58
add esp, 4
push 0x660ff8
lea ecx, [ebp - 0x14]
call fcn.00586ba1
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x49bfda
push eax
lea edx, [ebp - 0x14]
push str.c_ld
push edx
call fcn.0057f8fb
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
push eax
push str.v605
push ecx
push str._sbuy_idm.html__s_s
push 0x662610
call fcn.0057f8fb
mov edx, dword [ebp - 0x14]
add esp, 0x14
lea eax, [ebp - 0x4c]
push edx
push str.v605
push eax
push str._sbuy1.html__s_s
push 0x66260c
call fcn.0057f8fb
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
push str.v605
push str.http:__www.internetdownloadmanager.com___s_s
push 0x662608
call fcn.0057f8fb
mov edx, dword [ebp - 0x14]
add esp, 0x10
push edx
push str.v605
push str.http:__www.internetdownloadmanager.com_welcome.html__s_s
push 0x662604
call fcn.0057f8fb
mov eax, dword [ebp - 0x14]
add esp, 0x10
push eax
push str.v605
push str.http:__www.internetdownloadmanager.com_welcome2.html__s_s
push 0x662600
call fcn.0057f8fb
mov eax, dword [ebp - 0x18]
add esp, 0x10
sub eax, 0x32
je 0x49c07b
dec eax
jne 0x49c08d
push str._a_svfs_2c_
jmp 0x49c080
push str._a_dc_
push 0x6625fc
call fcn.0057f8fb
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret