Function at 0x50bf7e
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
push 0x14
push 0x56c8a6
call fcn.004bfde0
add esp, 8
mov dword [ebp - 4], eax
push 0x14
push 0x56c8a8
call fcn.004bfde0
add esp, 8
mov dword [ebp - 0x10], eax
push 0x14
push 0x56c8aa
call fcn.004bfde0
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [0x567364]
mov eax, dword [ebp + 8]
mov eax, dword [edx + eax*4 + 0x18]
mov dword [ebp - 8], eax
mov esi, 1
jmp 0x50bfec
mov eax, dword [ebp - 4]
mov dword [eax + esi*4 + 0x18], 0
add esi, 1
cmp esi, 0x13
jle 0x50bfde
mov edx, dword [0x56734c]
mov eax, dword [ebp + 8]
mov eax, dword [edx + eax*4 + 0x18]
cmp eax, 0xa
sete al
movzx eax, al
cmp eax, 0
je 0x50c01a
mov eax, dword [0x5676d0]
cmp eax, 0
sete al
movzx eax, al
cmp eax, 0
je 0x50c5cc
push 0x56c8ac
call fcn.0054a5a5
add esp, 4
add dword [0x5673cc], 1
push 0
push 0
push 9
mov edx, dword [0x5672b8]
mov eax, dword [ebp - 8]
push dword [edx + eax*4 + 0x18]
mov edx, dword [0x5672b0]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x18]
add eax, dword [0x5672a8]
push eax
push 0x64
call fcn.004e22b3
add esp, 0x18
mov dword [0x566fd4], 0
mov edx, dword [0x56739c]
mov eax, dword [ebp + 8]
mov dword [edx + eax*4 + 0x18], 1
mov edx, dword [0x5672b0]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x18]
add eax, dword [0x5672a8]
push eax
push 0xe
call fcn.004f5411
add esp, 8
mov edx, dword [0x5672b0]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x18]
add eax, dword [0x5672a8]
push eax
push 7
call fcn.004f5411
add esp, 8
push 9
push 0xb
mov edx, dword [0x5672b8]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x18]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
sub esp, 4
fstp dword [esp]
mov edx, dword [0x5672b0]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x18]
add eax, dword [0x5672a8]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
sub esp, 4
fstp dword [esp]
call fcn.00517015
add esp, 0x10
cmp ebx, 0
je 0x50c11e
cmp ebx, 1
je 0x50c127
cmp ebx, 2
je 0x50c130
cmp ebx, 3
je 0x50c139
cmp ebx, 4
je 0x50c142
jmp 0x50c14b
mov dword [ebp - 0x14], 0x50
jmp 0x50c14b
mov dword [ebp - 0x14], 0x82
jmp 0x50c14b
mov dword [ebp - 0x14], 0xb4
jmp 0x50c14b
mov dword [ebp - 0x14], 0xe6
jmp 0x50c14b
mov dword [ebp - 0x14], 0x118
jmp 0x50c14b
push 0
push 0
push 0x2951
mov edx, dword [0x5672b8]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x18]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
sub esp, 4
fstp dword [esp]
mov edx, dword [0x5672b0]
mov eax, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x18]
add eax, dword [0x5672a8]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
sub esp, 4
fstp dword [esp]
call fcn.005172a3
add esp, 0x14
mov esi, 1
jmp 0x50c5c0
mov eax, dword [0x5672c0]
mov eax, dword [eax + esi*4 + 0x18]
cmp eax, 0
setg al
movzx eax, al
cmp eax, 0
je 0x50c1c7
mov eax, dword [0x5672b0]
mov eax, dword [eax + esi*4 + 0x18]
cmp eax, 0x1e
setg al
movzx eax, al
cmp eax, 0
je 0x50c1de
mov eax, dword [0x5672b8]
mov eax, dword [eax + esi*4 + 0x18]
cmp eax, 0x3c
setg al
movzx eax, al
cmp eax, 0
je 0x50c5bd
mov eax, 1
mov ecx, dword [0x56734c]
mov edx, dword [0x5672fc]
mov edx, dword [edx + esi*4 + 0x18]
mov edx, dword [ecx + edx*4 + 0x18]
cmp edx, 0x3e7
je 0x50c20a
jmp 0x50c211
mov eax, 0
jmp 0x50c211
cmp eax, 1
jne 0x50c5bd
mov eax, dword [0x5672b0]
mov edx, dword [eax + esi*4 + 0x18]
mov ecx, dword [0x5672b0]
mov eax, dword [ebp - 8]
sub edx, dword [ecx + eax*4 + 0x18]
mov eax, dword [0x5672b8]
mov eax, dword [eax + esi*4 + 0x18]
mov ebx, dword [0x5672b8]
mov ecx, dword [ebp - 8]
sub eax, dword [ebx + ecx*4 + 0x18]
imul edx, edx
imul eax, eax
add edx, eax
mov dword [ebp - 0x18], edx
fild dword [ebp - 0x18]
sub esp, 8
fstp qword [esp]
call fcn.004bcd70
add esp, 8
sub esp, 8
fstp qword [esp]
call fcn.005504d4
add esp, 8
mov edi, eax
mov ebx, dword [0x567384]
fld dword [0x56c8c4]
mov dword [ebp - 0x18], edi
fild dword [ebp - 0x18]
fmul dword [0x56c8c8]
fsubp st(1)
sub esp, 8
fstp qword [esp]
call fcn.005504d4
add esp, 8
mov dword [ebx + esi*4 + 0x18], eax
mov edx, dword [0x567384]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
cmp dword [edx + eax*4 + 0x18], 0
jge 0x50c2cb
mov edx, dword [0x567384]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov dword [edx + eax*4 + 0x18], 0
mov edx, dword [0x567384]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
cmp dword [edx + eax*4 + 0x18], 0x1e
jle 0x50c2f8
mov edx, dword [0x567384]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov dword [edx + eax*4 + 0x18], 0x1e
cmp edi, dword [ebp - 0x14]
jge 0x50c5bd
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
cmp dword [edx + eax*4 + 0x18], 0xa
je 0x50c3af
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov eax, dword [edx + eax*4 + 0x18]
mov ecx, dword [0x56734c]
mov edx, dword [0x5672fc]
mov edx, dword [edx + esi*4 + 0x18]
mov ecx, dword [ecx + edx*4 + 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x18]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + eax*4 + 0x18], ecx
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov eax, dword [edx + eax*4 + 0x18]
mov ecx, dword [0x56733c]
mov edx, dword [0x5672fc]
mov edx, dword [edx + esi*4 + 0x18]
mov ecx, dword [ecx + edx*4 + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [edx + eax*4 + 0x18], ecx
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov eax, dword [edx + eax*4 + 0x18]
mov ecx, dword [0x567344]
mov edx, dword [0x5672fc]
mov edx, dword [edx + esi*4 + 0x18]
mov ecx, dword [ecx + edx*4 + 0x18]
mov edx, dword [ebp - 0xc]
mov dword [edx + eax*4 + 0x18], ecx
push esi
call fcn.0050b665
add esp, 4
mov edx, dword [0x56739c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
cmp dword [edx + eax*4 + 0x18], 0
jne 0x50c3e4
push 2
push dword [ebp + 8]
mov eax, dword [0x5672fc]
push dword [eax + esi*4 + 0x18]
call fcn.0050bf7e
add esp, 0xc
mov dword [0x566f6c], 0
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov eax, dword [edx + eax*4 + 0x18]
cmp eax, 7
sete al
movzx eax, al
cmp eax, 0
jne 0x50c42b
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov eax, dword [edx + eax*4 + 0x18]
cmp eax, 8
sete al
movzx eax, al
cmp eax, 0
je 0x50c441
mov eax, dword [0x5672fc]
push dword [eax + esi*4 + 0x18]
call fcn.0050c611
add esp, 4
mov edx, dword [0x5673a4]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
cmp dword [edx + eax*4 + 0x18], 0
jle 0x50c468
mov eax, dword [0x5672fc]
push dword [eax + esi*4 + 0x18]
call fcn.0050c8da
add esp, 4
cmp dword [0x566f6c], 0
jne 0x50c5bd
mov eax, 0
mov ecx, dword [0x56734c]
mov edx, dword [0x5672fc]
mov edx, dword [edx + esi*4 + 0x18]
mov edx, dword [ecx + edx*4 + 0x18]
cmp edx, 0xd
je 0x50c4a4
cmp edx, 0xe
je 0x50c4a4
cmp edx, 0xf
je 0x50c4a4
cmp edx, 0x10
je 0x50c4a4
jmp 0x50c4ab
mov eax, 1
jmp 0x50c4ab
cmp eax, 1
jne 0x50c50b
push 0
push 0
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov eax, dword [edx + eax*4 + 0x18]
add eax, 0x834
sub eax, 0xd
add eax, 1
push eax
mov eax, dword [0x5672b8]
mov eax, dword [eax + esi*4 + 0x18]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
sub esp, 4
fstp dword [esp]
mov eax, dword [0x5672b0]
mov eax, dword [eax + esi*4 + 0x18]
add eax, dword [0x5672a8]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
sub esp, 4
fstp dword [esp]
call fcn.005172a3
add esp, 0x14
push 0
push 0
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov eax, dword [edx + eax*4 + 0x18]
add eax, 0x2710
push eax
mov eax, dword [0x5672b8]
mov eax, dword [eax + esi*4 + 0x18]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
sub esp, 4
fstp dword [esp]
mov eax, dword [0x5672b0]
mov eax, dword [eax + esi*4 + 0x18]
add eax, dword [0x5672a8]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
sub esp, 4
fstp dword [esp]
call fcn.005172a3
add esp, 0x14
mov edx, dword [0x566894]
mov eax, dword [0x566688]
mov ebx, dword [0x566894]
mov ecx, dword [0x566688]
mov ecx, dword [ebx + ecx*4 + 0x18]
add ecx, 1
mov dword [edx + eax*4 + 0x18], ecx
mov edx, dword [0x567364]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov dword [edx + eax*4 + 0x18], 0
mov edx, dword [0x56734c]
mov eax, dword [0x5672fc]
mov eax, dword [eax + esi*4 + 0x18]
mov dword [edx + eax*4 + 0x18], 0
mov eax, dword [0x5672fc]
mov dword [eax + esi*4 + 0x18], 0
add esi, 1
cmp esi, 0xc8
jle 0x50c19e
mov esi, 1
jmp 0x50c5fe
mov eax, dword [ebp - 4]
cmp dword [eax + esi*4 + 0x18], 0
jle 0x50c5fb
mov eax, dword [ebp - 4]
push dword [eax + esi*4 + 0x18]
push esi
mov eax, dword [ebp - 0xc]
push dword [eax + esi*4 + 0x18]
mov eax, dword [ebp - 0x10]
push dword [eax + esi*4 + 0x18]
call fcn.00510bf8
add esp, 0x10
add esi, 1
cmp esi, 0x13
jle 0x50c5d3
mov eax, 0
jmp 0x50c60a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret