Function at 0x650f90
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x650f99
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
call fcn.00408f58
xor eax, eax
push ebp
push 0x6512fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebx], eax
mov eax, dword [ebp + 0x18]
mov word [eax], 0
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0041f5ac
mov eax, dword [ebp - 8]
test eax, eax
je 0x651004
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x1d
je 0x6510eb
call fcn.0062af78
test eax, eax
je 0x6510eb
mov eax, 0xc
call fcn.00406ba0
mov edi, eax
mov eax, 0x104
call fcn.00406ba0
imul edi, eax
mov eax, 0x7d2
call fcn.00406ba0
add edi, eax
mov eax, 0xc8
call fcn.00406ba0
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004200d8
add edi, eax
mov dword [esi], edi
mov eax, 0x7b
call fcn.00406ba0
mov edi, eax
mov eax, 0x58
call fcn.00406ba0
imul edi, eax
mov eax, 0x16
call fcn.00406ba0
add edi, eax
mov eax, 0xc8
call fcn.00406ba0
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004200d8
add edi, eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edi
imul eax, dword [esi], 0x16d
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov ecx, edx
shl edx, 5
sub edx, ecx
add eax, edx
mov ecx, 0x16e
cdq
idiv ecx
mov dword [ebx], eax
mov eax, 8
call fcn.00406ba0
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
call sub.kernel32.dll_GetTickCount_1
mov ecx, 0x87
xor edx, edx
div ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, 0x26
call fcn.00406ba0
mov edx, dword [ebp + 8]
mov dword [edx], eax
jmp 0x6512d3
lea eax, [ebp - 0x10]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a0b8
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov ecx, 5
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.0040a0b8
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov ecx, 5
mov edx, 0xd
mov eax, dword [ebp - 4]
call fcn.0040a0b8
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 5
mov edx, 0x13
mov eax, dword [ebp - 4]
call fcn.0040a0b8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
mov ecx, 5
mov edx, 0x19
mov eax, dword [ebp - 4]
call fcn.0040a0b8
push dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 5
call fcn.00409fd0
mov eax, dword [ebp - 8]
test eax, eax
je 0x651181
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x19
jne 0x6512d3
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1e]
movzx edx, ax
sub edx, 0x41
add edx, 0x7d1
mov dword [esi], edx
cmp ax, 0x39
jne 0x6511ab
mov dword [esi], 0x7d9
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x20]
movzx edx, ax
sub edx, 0x41
inc edx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
cmp ax, 0x39
jne 0x6511cd
mov eax, dword [ebp - 0xc]
mov dword [eax], 9
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x22]
mov edx, eax
sub edx, 0x41
inc edx
mov dword [ebx], edx
cmp dword [ebx], 0
jge 0x6511e9
sub eax, 0x31
add eax, 0x1b
mov dword [ebx], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x30]
mov edx, dword [ebp + 0x18]
mov word [edx], ax
lea eax, [ebp - 0x28]
push eax
mov ecx, 3
mov edx, 0x16
mov eax, dword [ebp - 8]
call fcn.0040a0b8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x651318
call fcn.00409f48
mov eax, dword [ebp - 0x24]
or edx, 0xffffffff
call fcn.004200d8
add eax, 0xc8
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x28]
call fcn.00409d04
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x651318
call fcn.00409f48
mov eax, dword [ebp - 0x2c]
or edx, 0xffffffff
call fcn.004200d8
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, 2
mov edx, 0x13
mov eax, dword [ebp - 8]
call fcn.0040a0b8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x651318
call fcn.00409f48
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.004200d8
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
call fcn.006271bc
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0xc8
jge 0x6512d3
xor eax, eax
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
xor eax, eax
mov dword [ebx], eax
mov eax, dword [ebp + 0x18]
mov word [eax], 0
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x651302
lea eax, [ebp - 0x38]
mov edx, 0xb
call fcn.00408ed4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ed4
ret