Function at 0x48d300
Capabilities:
Check for time delay via gettickcount
Check http status code
Get common file path
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1090
call fcn.00517f10
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x26d8]
mov ebx, dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x26cc]
mov dword [esi + 0x26d0], eax
mov dword [ebx + 0x2c], 0
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
jne 0x48d387
cmp dword [ebx], 0
je 0x48d5ca
lea eax, [ebx + 0x806c]
push 0x65313c
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x48d590
mov byte [esi + 0x26f0], 0
mov byte [ebx + 0x30], 0
mov dword [esi + 0x26d4], 0x8000000
jmp 0x48d590
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x48d3dc
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1094], 0
mov dword [ebp - 0x1098], 4
lea ecx, [ebp - 0x1094]
lea edx, [ebp - 0x1098]
lea edi, [ebp - 0x1058]
push ecx
push edx
push edi
mov edi, dword [ebp + 8]
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x48d3dc
mov eax, dword [ebp - 0x1058]
jmp 0x48d3de
xor eax, eax
mov dword [esi + 0x26c8], eax
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x48d3f7
mov dword [ecx + 0x2450], eax
mov eax, dword [esi + 0x26c8]
cmp eax, 0xc8
jne 0x48d583
cmp byte [ebx + 0x24], 0
jne 0x48d468
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x48d452
mov dword [ebp - 0x1058], 0x208
mov dword [ebp - 0x1094], 0
lea edi, [esi + 0x62898]
lea ecx, [ebp - 0x1094]
lea edx, [ebp - 0x1058]
push ecx
push edx
push edi
push 0x2f
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x48d452
push edi
call fcn.0048fb00
add esp, 4
test al, al
jne 0x48d468
lea eax, [esi + 0x62898]
push 0x208
push 0
push eax
call fcn.006030b0
add esp, 0xc
mov ecx, esi
push ebx
call fcn.0048e9e0
mov ecx, esi
push ebx
call fcn.0048eaf0
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x48d4d6
cmp byte [esi + 0x62cb0], 0
jne 0x48d4d6
mov dword [ebp - 0x1094], 0
mov dword [ebp - 0x1098], 0x10
lea ecx, [ebp - 0x1094]
lea edx, [ebp - 0x1098]
lea edi, [ebp - 0x1058]
push ecx
push edx
push edi
push 0x4000000b
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x48d4d6
lea eax, [esi + 0x62ca8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov byte [esi + 0x62cb0], 1
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
je 0x48d513
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1094], 0x206
lea eax, [esi + 0x62aa0]
lea ecx, [ebp - 0x1058]
lea edx, [ebp - 0x1094]
push ecx
push edx
push eax
push 1
push dword [ebx + 0x1c]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [esi + 0x5d100]
mov eax, dword [esi + 0x5d104]
mov edx, dword [ebx + 0x3c]
xor edx, eax
mov edi, dword [ebx + 0x38]
xor edi, ecx
or edi, edx
mov edi, dword [ebp + 8]
jne 0x48d583
cmp byte [esi + 0x2690], 0
je 0x48d53f
cmp byte [ebx + 0x30], 0
je 0x48d583
mov dword [ebp - 0x109c], eax
mov eax, dword [esi + 0x5d108]
mov edi, dword [esi + 0x5d10c]
mov edx, eax
or edx, edi
je 0x48d829
xor eax, ecx
xor edi, dword [ebp - 0x109c]
or edi, eax
je 0x48d829
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x48d579
mov byte [eax + 0x244c], 1
mov ecx, esi
push dword [ebp + 8]
jmp 0x48d814
cmp byte [esi + 0x2690], 0
je 0x48d613
mov dword [ebx + 0x28], 0
mov ecx, esi
push 1
push edi
call fcn.0048e8c0
mov bl, 1
test al, al
jne 0x48d5b1
mov ecx, esi
push edi
call fcn.0048e7f0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
add esp, 0x1090
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x48d353
mov dword [ebx + 0x1c], eax
mov ecx, esi
push ebx
call fcn.0048e9e0
mov eax, dword [esi + 0x5d104]
xor eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 0x5d100]
xor ecx, dword [ebx + 0x38]
or ecx, eax
jne 0x48d590
cmp byte [esi + 0x2690], 0
mov al, byte [ebx + 0x30]
je 0x48d608
test al, al
mov al, 1
je 0x48d590
mov byte [esi + 0x26f0], al
jmp 0x48d956
mov eax, dword [esi + 0x26c8]
cmp eax, 0x194
je 0x48d7f9
cmp eax, 0x12e
jne 0x48d590
lea eax, [ebp - 0x1058]
push 0x1048
push 0
push eax
call fcn.006030b0
add esp, 0xc
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x48d5a7
mov dword [ebp - 0x1094], 0
mov dword [ebp - 0x1098], 0x1047
lea edx, [ebp - 0x1094]
lea ecx, [ebp - 0x1098]
push edx
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push 0x21
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x48d5a7
mov edi, dword [ebx + 0x20]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1088], xmm0
push 0x2454
push 0
push edi
call fcn.006030b0
add esp, 0xc
mov dword [ebp - 0x1094], 0x3c
lea eax, [edi + 8]
mov dword [ebp - 0x1090], eax
mov dword [ebp - 0x108c], 0x20
lea eax, [edi + 0x2148]
mov dword [ebp - 0x1084], eax
mov dword [ebp - 0x1080], 0x100
lea eax, [edi + 0x48]
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x1064], 0x800
lea eax, [edi + 0x1048]
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x105c], 0x800
lea eax, [edi + 0x2348]
mov dword [ebp - 0x1078], eax
mov dword [ebp - 0x1074], 0x80
lea eax, [edi + 0x2048]
mov dword [ebp - 0x1070], eax
mov dword [ebp - 0x106c], 0x80
lea eax, [ebp - 0x1058]
push eax
call fcn.006208d5
add esp, 4
lea ecx, [ebp - 0x1094]
push ecx
push 0
push eax
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x48d9fd
mov eax, dword [ebp - 0x1088]
cmp eax, 4
ja 0x48d9fd
mov ecx, 0x1a
bt ecx, eax
jae 0x48d9fd
mov dword [edi + 0x2448], 0
mov byte [edi + 0x244c], 0
movzx ecx, word [ebp - 0x107c]
mov word [edi], cx
mov dword [edi + 4], eax
mov dword [edi + 0x2450], 0xffffffff
cmp byte [ebx + 0x24], 0
jne 0x48d7d8
lea edi, [esi + 0x5f5c0]
push 0x1048
push 0
push edi
call fcn.006030b0
add esp, 0xc
lea eax, [ebp - 0x1058]
push eax
push 0x639712
push 0x823
push edi
call fcn.00405a12
add esp, 0x10
mov ecx, esi
push 0
call fcn.0048c460
test al, al
mov edi, dword [ebp + 8]
je 0x48d5a7
mov ecx, esi
push edi
call fcn.0048e7f0
jmp 0x48da1f
mov dword [esi + 0x2470], 1
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x48d811
mov byte [eax + 0x244c], 1
mov ecx, esi
push edi
call fcn.0048e7f0
mov ecx, esi
push 0
call fcn.0048c460
mov ebx, eax
jmp 0x48d5b1
mov al, byte [ebx + 0x30]
mov byte [esi + 0x26f0], al
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x48d956
mov dword [ebp - 0x1094], 0
lea eax, [ebp - 0x1058]
push 0x208
push 0
push eax
call fcn.006030b0
add esp, 0xc
mov dword [ebp - 0x1098], 0x103
lea eax, [ebp - 0x1094]
lea ecx, [ebp - 0x1098]
push eax
push ecx
lea eax, [ebp - 0x1058]
push eax
push 1
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x48d956
push str.application_metalinkxml
lea eax, [ebp - 0x1058]
push eax
call fcn.006207b6
add esp, 8
test eax, eax
jne 0x48d956
mov byte [esi + 0x2690], 1
mov byte [esi + 0x247c], 0
mov byte [esi + 0x26f0], 0
mov byte [ebx + 0x30], 0
mov dword [esi + 0x5d100], 0xffffffff
mov dword [esi + 0x5d104], 0xffffffff
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x3c], 0xffffffff
lea edi, [esi + 0x5d120]
lea eax, [esi + 0x5d328]
push edi
push 0x639712
push 0x103
push eax
call fcn.00405a6e
add esp, 0x10
push 0x208
push 0
push edi
call fcn.006030b0
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x1058]
push eax
call fcn.006030b0
add esp, 0xc
lea eax, [ebp - 0x1058]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push eax
push 0x6398ea
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x48d978
cmp dword [eax + 0x2448], 0xffffffff
jne 0x48d978
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x20]
mov dword [ecx + 0x2448], eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebx + 0x1c]
push 2
call dword [eax + 4]
test al, al
je 0x48d5af
mov eax, dword [esi]
mov ecx, esi
push 0
push 3
call dword [eax + 4]
test al, al
je 0x48d5af
mov ecx, esi
call fcn.0048ec00
test al, al
mov edi, dword [ebp + 8]
je 0x48d5a7
mov eax, dword [esi]
mov ecx, esi
push 0
push 4
call dword [eax + 4]
test al, al
je 0x48d5af
cmp byte [esi + 0x26f0], 0
je 0x48da05
mov eax, dword [esi + 0x5d104]
xor eax, dword [esi + 0x5d114]
mov ecx, dword [esi + 0x5d100]
xor ecx, dword [esi + 0x5d110]
or ecx, eax
jne 0x48da26
mov ecx, esi
push edi
call fcn.0048e7f0
mov dword [esi + 0x5d0f8], 7
jmp 0x48da1f
mov edi, dword [ebp + 8]
jmp 0x48d5a7
mov eax, dword [esi]
mov ecx, esi
push 0
push 5
call dword [eax + 4]
test al, al
je 0x48d5af
mov dword [ebx + 0x28], 8
mov bl, 1
jmp 0x48d5b1
mov dword [ebp - 0x1058], 0x4e20
lea eax, [ebp - 0x1058]
push 4
push eax
push 6
push dword [ebx + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
call fcn.0048c780
test al, al
je 0x48d7ec
mov eax, dword [ebx + 0x8040]
mov ecx, dword [eax + 8]
or ecx, dword [eax + 0xc]
je 0x48da7b
mov dword [ebx + 0x28], 4
mov ecx, esi
push 0
push edi
call fcn.0048e8c0
jmp 0x48da86
mov byte [eax + 1], 1
mov dword [ebx + 0x28], 8
cmp byte [esi + 0x2690], 0
jne 0x48dab5
cmp dword [esi + 0x2468], 2
jb 0x48dab5
mov edi, 1
mov ecx, esi
push 4
call fcn.0048c460
test al, al
je 0x48dab5
add edi, 1
cmp edi, dword [esi + 0x2468]
jb 0x48da9d
mov eax, dword [esi]
mov ecx, esi
push 0
push 5
call dword [eax + 4]
mov ebx, eax
jmp 0x48d5b1