Function at 0x416160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x751f00]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [ebp + 8], 3
push ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
jne 0x416226
mov eax, dword [esi + 0x160]
cmp eax, 0xffffffff
je 0x4161c3
cmp dword [esi + 0x15c], eax
jl 0x4161c3
push eax
push str.Maximum___ld__redirects_followed
mov eax, esi
call fcn.0040f9d0
add esp, 8
mov eax, 0x2f
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0055e7fd
mov esp, ebp
pop ebp
ret
mov ebx, 1
add dword [esi + 0x15c], ebx
cmp dword [esi + 0x3ac], 0
mov dword [esi + 0x86d8], ebx
je 0x41622b
cmp dword [esi + 0x56c], 0
je 0x416204
mov eax, dword [esi + 0x568]
push eax
call dword [0x75cccc]
add esp, 4
xor eax, eax
mov dword [esi + 0x568], eax
mov dword [esi + 0x56c], eax
mov ecx, dword [esi + 0x560]
push ecx
call dword [0x75ccd4]
add esp, 4
mov dword [esi + 0x568], eax
test eax, eax
je 0x41625b
mov dword [esi + 0x56c], ebx
jmp 0x41622b
mov ebx, 1
lea edx, [esp + 0xf]
push edx
lea eax, [esp + 0x18]
push eax
push str._15___:_:___c
push edi
call fcn.00562348
add esp, 0x10
mov ecx, edi
cmp eax, 2
je 0x416271
mov eax, dword [esi + 0x560]
call fcn.00415fb0
mov ebx, eax
test ebx, ebx
jne 0x416294
mov eax, 0x1b
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0055e7fd
mov esp, ebp
pop ebp
ret
call fcn.00415ec0
inc eax
push eax
mov dword [esp + 0x14], ebx
call dword [0x75ccc8]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41625b
mov eax, edi
mov ecx, ebx
call fcn.00415f00
push edi
call dword [0x75cccc]
add esp, 4
cmp dword [ebp + 8], 1
mov edi, ebx
jne 0x4162bf
mov dword [esi + 0x8860], edi
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0055e7fd
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp dword [esp + 0x10], ebx
je 0x4162cd
mov dword [esi + 0x8704], ebx
cmp dword [esi + 0x564], ebx
je 0x4162f1
mov ecx, dword [esi + 0x560]
push ecx
call dword [0x75cccc]
add esp, 4
mov dword [esi + 0x560], ebx
mov dword [esi + 0x564], ebx
push edi
push str.Issue_another_request_to_this_URL:__s_n
mov ecx, esi
mov dword [esi + 0x560], edi
mov dword [esi + 0x564], 1
call fcn.0040f940
mov eax, dword [esi + 0x8834]
add esp, 8
sub eax, 0x12d
je 0x4163a3
mov edi, 1
sub eax, edi
je 0x416376
sub eax, edi
jne 0x4163d5
cmp dword [esi + 0x268], edi
je 0x4163d5
test byte [esi + 0x164], 4
jne 0x4163d5
mov dword [esi + 0x268], edi
mov eax, str.HEAD
cmp dword [esi + 0x3b0], ebx
jne 0x416364
mov eax, 0x72009c
push eax
push str.Disables_POST__goes_with__s_n
mov ecx, esi
call fcn.0040f940
add esp, 8
jmp 0x4163d5
mov eax, dword [esi + 0x268]
cmp eax, 2
je 0x416386
cmp eax, 3
jne 0x4163d5
test byte [esi + 0x164], 2
jne 0x4163d5
push str.Switch_from_POST_to_GET_n
mov ecx, esi
call fcn.0040f940
mov dword [esi + 0x268], edi
jmp 0x4163d2
mov eax, dword [esi + 0x268]
cmp eax, 2
je 0x4163b3
cmp eax, 3
jne 0x4163d5
test byte [esi + 0x164], 1
jne 0x4163d5
push str.Switch_from_POST_to_GET_n
mov ecx, esi
call fcn.0040f940
mov dword [esi + 0x268], 1
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
mov eax, dword [esi + 0x60c]
imul ecx, ecx, 0x3e8
push eax
mov eax, dword [esi + 0x608]
push eax
push ecx
push edx
call fcn.00410630
mov ecx, dword [esp + 0x34]
and dword [esi + 0x5b8], 0xffffff9f
fstp qword [esi + 0x600]
fldz
add esp, 0x10
pop edi
fst qword [esi + 0x5d8]
mov dword [esi + 0x588], ebx
fst qword [esi + 0x5e0]
mov dword [esi + 0x58c], ebx
fst qword [esi + 0x5f0]
mov dword [esi + 0x590], ebx
fstp qword [esi + 0x5f8]
mov dword [esi + 0x594], ebx
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0055e7fd
mov esp, ebp
pop ebp
ret