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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5c1334]
xor eax, esp
mov dword [esp + 0x18], eax
cmp dword [ebp + 8], 3
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
jne 0x4a7e1b
mov eax, dword [edi + 0x1a0]
cmp eax, 0xffffffff
je 0x4a7dae
cmp dword [edi + 0x19c], eax
jl 0x4a7dae
push eax
push str.Maximum___ld__redirects_followed
push edi
call fcn.00494100
add esp, 0xc
mov eax, 0x2f
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00528802
mov esp, ebp
pop ebp
ret
inc dword [edi + 0x19c]
cmp dword [edi + 0x358], 0
mov dword [edi + 0x8618], 1
je 0x4a7e1b
cmp dword [edi + 0x4cc], 0
je 0x4a7df8
mov eax, dword [edi + 0x4c8]
test eax, eax
je 0x4a7dee
push eax
call dword [0x5c1c7c]
add esp, 4
mov dword [edi + 0x4c8], 0
mov dword [edi + 0x4cc], 0
push dword [edi + 0x4c0]
call dword [0x5c1c80]
add esp, 4
mov dword [edi + 0x4c8], eax
test eax, eax
je 0x4a7e8c
mov dword [edi + 0x4cc], 1
lea eax, [esp + 0xf]
push eax
lea eax, [esp + 0x18]
push eax
push str._15___:_:___c
push esi
call fcn.00476140
add esp, 0x10
cmp eax, 2
je 0x4a7e5b
mov ecx, dword [edi + 0x4c0]
mov edx, esi
call fcn.004a7ba0
mov ebx, eax
test ebx, ebx
je 0x4a7e8c
push esi
call dword [0x5c1c7c]
add esp, 4
mov esi, ebx
xor ebx, ebx
jmp 0x4a7ebc
push 0x20
mov ebx, 1
push esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 8
test eax, eax
je 0x4a7ebc
mov ecx, esi
call fcn.004a7ac0
inc eax
push eax
call dword [0x5c1c74]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4a7ea3
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00528802
mov esp, ebp
pop ebp
ret
mov edx, esi
mov ecx, ebx
call fcn.004a7b10
push esi
call dword [0x5c1c7c]
mov esi, ebx
add esp, 4
mov ebx, dword [esp + 0x10]
cmp dword [ebp + 8], 1
jne 0x4a7edc
mov dword [edi + 0x8fc8], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00528802
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4a7eea
mov dword [edi + 0x8640], 0
cmp dword [edi + 0x4c4], 0
je 0x4a7f07
mov eax, dword [edi + 0x4c0]
test eax, eax
je 0x4a7f07
push eax
call dword [0x5c1c7c]
add esp, 4
push esi
push str.Issue_another_request_to_this_URL:__s_n
push edi
mov dword [edi + 0x4c0], esi
mov dword [edi + 0x4c4], 1
call fcn.00494040
mov eax, dword [edi + 0x8f9c]
add esp, 0xc
sub eax, 0x12d
je 0x4a7faa
sub eax, 1
je 0x4a7f8a
sub eax, 1
jne 0x4a7fdb
cmp dword [edi + 0x2a8], 1
je 0x4a7fdb
test byte [edi + 0x1a4], 4
jne 0x4a7fdb
cmp dword [edi + 0x35c], 0
mov ecx, 0x598a28
mov eax, str.HEAD
mov dword [edi + 0x2a8], 1
cmove eax, ecx
push eax
push str.Disables_POST__goes_with__s_n
push edi
call fcn.00494040
add esp, 0xc
jmp 0x4a7fdb
mov eax, dword [edi + 0x2a8]
cmp eax, 2
je 0x4a7f9a
cmp eax, 3
jne 0x4a7fdb
test byte [edi + 0x1a4], 2
jne 0x4a7fdb
push str.Violate_RFC_2616_10.3.3_and_switch_from_POST_to_GET_n
jmp 0x4a7fc8
mov eax, dword [edi + 0x2a8]
cmp eax, 2
je 0x4a7fba
cmp eax, 3
jne 0x4a7fdb
test byte [edi + 0x1a4], 1
jne 0x4a7fdb
push str.Violate_RFC_2616_10.3.2_and_switch_from_POST_to_GET_n
push edi
call fcn.00494040
mov dword [edi + 0x2a8], 1
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [edi + 0x56c]
mov esi, eax
mov eax, 0x10624dd3
push dword [edi + 0x568]
mul esi
shr edx, 6
imul ecx, edx, 0x3e8
sub esi, ecx
imul eax, esi, 0x3e8
push eax
push edx
call fcn.004a16c0
or dword [edi + 0x518], 0x60
add esp, 0x10
mov ecx, dword [esp + 0x24]
xor eax, eax
movsd qword [edi + 0x560], xmm0
xorps xmm0, xmm0
movups xmmword [edi + 0x538], xmm0
mov dword [edi + 0x4e8], 0
movups xmmword [edi + 0x550], xmm0
mov dword [edi + 0x4ec], 0
mov dword [edi + 0x4f0], 0
mov dword [edi + 0x4f4], 0
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00528802
mov esp, ebp
pop ebp
ret