Function at 0x497008
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c94
mov eax, dword [ebp - 8]
call fcn.00404c94
xor eax, eax
push ebp
push 0x49723b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a1a0c]
mov eax, dword [eax]
mov edx, 0x497254
call fcn.004811d8
mov ebx, eax
test ebx, ebx
je 0x4971f9
lea edx, [ebp - 0x24]
mov eax, 0x49726c
call fcn.00480408
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov ecx, 0x49727c
call fcn.00404af0
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.0047d88c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebx + 0x6c]
jne 0x497098
cmp eax, dword [ebx + 0x68]
je 0x497189
call fcn.00484b88
cmp dword [ebp - 0xc], 0x1bb
jne 0x4970cb
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x497294
call fcn.00409eec
jmp 0x4970f5
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x3c]
mov ecx, 1
mov eax, 0x4972c4
call fcn.00409eec
mov eax, dword [ebp - 0x10]
call fcn.00404ca4
mov ebx, eax
push ebx
call sub.wininet.dll_DeleteUrlCacheEntryA
push 0
push 0
lea eax, [ebp - 0x40]
mov ecx, 0x4972f4
mov edx, dword [ebp - 8]
call fcn.00404af0
mov eax, dword [ebp - 0x40]
call fcn.00404ca4
push eax
push ebx
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
je 0x497138
mov ebx, 0xe
jmp 0x4971fe
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x3c]
mov ecx, 1
mov eax, 0x49730c
call fcn.00409eec
inc ebx
mov eax, dword [ebp - 0x14]
call fcn.004095e0
test al, al
jne 0x49713a
lea eax, [ebp - 0x44]
mov ecx, 0x4972f4
mov edx, dword [ebp - 8]
call fcn.00404af0
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
call fcn.004966e0
mov eax, dword [ebp - 0x14]
call fcn.004848a8
mov ebx, eax
test ebx, ebx
jne 0x4971fe
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049680c
mov eax, dword [0x4a172c]
cmp byte [eax], 0
je 0x4971d4
mov eax, dword [0x4a1af4]
mov eax, dword [eax + 4]
push eax
push 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
mov eax, dword [0x4a1a94]
mov eax, dword [eax]
call eax
mov ebx, eax
jmp 0x4971fe
mov eax, dword [0x4a1af4]
mov eax, dword [eax + 4]
push eax
push 3
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
mov eax, dword [0x4a1a94]
mov eax, dword [eax]
call eax
mov ebx, eax
jmp 0x4971fe
mov ebx, 0xf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497242
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004047ec
lea eax, [ebp - 0x24]
call fcn.004047c8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047ec
ret