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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586b00
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.0054ea7c
mov eax, dword [0x639ad4]
add esp, 0x14
mov dword [ebp - 0x1c], eax
push str.mailto:support_internetdownloadmanager.com
mov ecx, 0x63eea0
mov byte [ebp - 4], 1
call fcn.0056a289
mov ecx, 0xb
mov esi, str.https:__secure.internetdownloadmanager.com_
lea edi, [ebp - 0x4c]
push str.v518b2
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
push str._sbuy_idm.html__s
push 0x63f558
call fcn.00562ecb
add esp, 0x10
lea edx, [ebp - 0x4c]
push str.v518b2
push edx
push str._sbuy1.html__s
push 0x63f554
call fcn.00562ecb
add esp, 0x10
push str.v518b2
push str.http:__www.internetdownloadmanager.com___s
push 0x63f550
call fcn.00562ecb
add esp, 0xc
push str.v518b2
push str.http:__www.internetdownloadmanager.com_welcome.html__s
push 0x63f54c
call fcn.00562ecb
add esp, 0xc
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push str.idmpldr.ini
push eax
push ecx
push 0x6168c4
push edx
mov dword [ebp - 0x18], ebx
call fcn.00562ecb
mov eax, dword [ebp - 0x1c]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4930cc
mov ecx, dword [ebp - 0x1c]
push 0x617dcc
push ecx
call fcn.0054f48f
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4930c3
push esi
lea edx, [ebp - 0x6c]
push 0x20
push edx
call fcn.0054f62d
add esp, 0xc
test eax, eax
je 0x4930c3
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x6c]
push eax
push 0x617e30
push ecx
call fcn.0054f846
add esp, 0xc
cmp eax, 1
je 0x4930c3
mov dword [ebp - 0x18], ebx
push esi
call fcn.0054f2a8
add esp, 4
push 0x63e040
lea ecx, [ebp - 0x14]
call fcn.0056a16e
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4930f6
push eax
lea edx, [ebp - 0x14]
push str.c_ld
push edx
call fcn.00562ecb
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
push eax
push str.v518b2
push ecx
push str._sbuy_idm.html__s_s
push 0x63f558
call fcn.00562ecb
mov edx, dword [ebp - 0x14]
add esp, 0x14
lea eax, [ebp - 0x4c]
push edx
push str.v518b2
push eax
push str._sbuy1.html__s_s
push 0x63f554
call fcn.00562ecb
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
push str.v518b2
push str.http:__www.internetdownloadmanager.com___s_s
push 0x63f550
call fcn.00562ecb
mov edx, dword [ebp - 0x14]
add esp, 0x10
push edx
push str.v518b2
push str.http:__www.internetdownloadmanager.com_welcome.html__s_s
push 0x63f54c
call fcn.00562ecb
mov eax, dword [ebp - 0x18]
add esp, 0x10
sub eax, 0x32
je 0x49317c
dec eax
jne 0x49318e
push str._a_svfs_2c_
jmp 0x493181
push str._a_dc_
push 0x63f548
call fcn.00562ecb
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0056a100
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0056a100
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret