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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf058
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, 0x6830b8
mov byte [ebp - 4], 1
call fcn.005a0de6
lea eax, [ebp - 0x74]
push str.v607b8
mov ecx, 0xb
mov esi, str.https:__secure.internetdownloadmanager.com_
lea edi, [ebp - 0x74]
push eax
push str._sbuy_idm.html__s
push 0x683750
rep movsd dword es:[edi], dword [esi]
call fcn.00599a28
add esp, 0x10
lea ecx, [ebp - 0x74]
push str.v607b8
push ecx
push str._sbuy1.html__s
push 0x68374c
call fcn.00599a28
add esp, 0x10
push str.v607b8
push str.http:__www.internetdownloadmanager.com___s
push 0x683748
call fcn.00599a28
add esp, 0xc
push str.v607b8
push str.http:__www.internetdownloadmanager.com_welcome.html__s
push 0x683744
call fcn.00599a28
add esp, 0xc
push str.v607b8
push str.http:__www.internetdownloadmanager.com_welcome2.html__s
push 0x683740
call fcn.00599a28
add esp, 0xc
mov ecx, 0x6830c0
push str.Internet_20Download_20Manager_20__20very_20cool_20application___
call fcn.005a0de6
push str.download_20from_20
mov ecx, 0x6830bc
call fcn.005a0de6
push str.mailto:_subjectInternet_20Download_20Manager_20__20very_20cool_20application___bodydownload_20from_20http:__www.internetdownloadmanager.com
mov ecx, 0x6830c4
call fcn.005a0de6
mov esi, dword [0x682588]
mov dword [ebp - 0x18], ebx
cmp esi, ebx
jne 0x4ac4bf
mov esi, 0x68258c
mov edx, 0x656fdc
test edx, edx
je 0x4ac5d7
cmp esi, ebx
je 0x4ac5d7
mov eax, str.idmpldr.ini
test eax, eax
je 0x4ac5d7
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.00402800
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.00401ee0
push str.idmpldr.ini
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00403ad0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00401070
mov edi, dword [ebp - 0x30]
cmp edi, ebx
jne 0x4ac533
lea edi, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00401ed0
push eax
call fcn.00584816
push edi
mov ebx, eax
call fcn.00584816
add esi, ebx
lea ebx, [eax + esi + 3]
lea esi, [ebx + ebx]
push esi
call fcn.0059cff9
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [ebp - 0x24], edi
je 0x4ac5b1
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.00401ed0
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.00401ed0
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.00401ed0
push esi
push edi
push eax
mov eax, dword [ebp - 0x24]
push ebx
push eax
call fcn.005847a6
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00584816
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 0x4ac5e1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4ac64a
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x4ac5f7
lea eax, [ebp - 0x20]
push 0x6593e8
push eax
call fcn.00585e7f
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4ac641
push esi
lea edx, [ebp - 0x94]
push 0x20
push edx
call fcn.0058608a
add esp, 0xc
test eax, eax
je 0x4ac641
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x94]
push eax
push 0x659470
push ecx
call fcn.005862cc
add esp, 0xc
cmp eax, 1
je 0x4ac641
mov dword [ebp - 0x18], ebx
push esi
call fcn.00585c98
add esp, 4
push 0x681f78
lea ecx, [ebp - 0x14]
call fcn.005a0ccb
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4ac674
push eax
lea edx, [ebp - 0x14]
push str.c_ld
push edx
call fcn.00599a28
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
push eax
push str.v607b8
push ecx
push str._sbuy_idm.html__s_s
push 0x683750
call fcn.00599a28
mov edx, dword [ebp - 0x14]
add esp, 0x14
lea eax, [ebp - 0x74]
push edx
push str.v607b8
push eax
push str._sbuy1.html__s_s
push 0x68374c
call fcn.00599a28
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
push str.v607b8
push str.http:__www.internetdownloadmanager.com___s_s
push 0x683748
call fcn.00599a28
mov edx, dword [ebp - 0x14]
add esp, 0x10
push edx
push str.v607b8
push str.http:__www.internetdownloadmanager.com_welcome.html__s_s
push 0x683744
call fcn.00599a28
mov eax, dword [ebp - 0x14]
add esp, 0x10
push eax
push str.v607b8
push str.http:__www.internetdownloadmanager.com_welcome2.html__s_s
push 0x683740
call fcn.00599a28
mov eax, dword [ebp - 0x18]
add esp, 0x10
sub eax, 0x32
je 0x4ac715
dec eax
jne 0x4ac727
push str._a_svfs_2c_
jmp 0x4ac71a
push str._a_dc_
push 0x68373c
call fcn.00599a28
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005a0c5d
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