Function at 0x50e6c1
Capabilities:
Check http status code

Disassembly:
mov eax, 0x4cec08
call 0x555c54
sub esp, 0x4ec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
xor ebx, ebx
push 0x4fb2b0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], ebx
call 0x56c491
mov eax, dword [0x508bf4]
mov dword [ebp - 0x60], 0x501d24
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], ebx
call 0x56cf04
lea eax, [ebp + 0xc]
lea ecx, [edi + 0x18]
push eax
mov byte [ebp - 4], 5
call 0x56c55c
lea eax, [ebp + 8]
lea ecx, [edi + 0x1c]
push eax
call 0x56c55c
push ebx
push 0x1021
push dword [ebp + 0xc]
lea ecx, [ebp - 0xb0]
call 0x56d016
test eax, eax
jne 0x50e605
call dword [fcn.004d5200]
push ebx
lea ecx, [ebp - 0x14]
push ebx
push ecx
push 0x400
push eax
push ebx
push 0x1300
mov dword [edi + 0x10], eax
call dword [0x4d538c]
test eax, eax
je 0x50e5f1
push 0xd
push dword [ebp - 0x14]
call 0x556f31
pop ecx
cmp eax, ebx
pop ecx
je 0x50e5db
mov byte [eax], bl
push dword [ebp - 0x14]
lea ecx, [edi + 0xc]
call 0x56c5ac
push dword [ebp - 0x14]
call dword [0x4d5390]
jmp 0x50e5fe
push 0x4fd8f4
lea ecx, [edi + 0xc]
call 0x56c5ac
mov dword [ebp - 0x14], 5
lea eax, [ebp - 0x46]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp + 8]
call 0x578ad5
push 0x2f
lea ecx, [ebp - 0x1c]
call 0x56957e
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call 0x56c198
cmp esi, 0xffffffff
mov byte [ebp - 4], 6
je 0x50e670
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call 0x56948a
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call 0x56c55c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call 0x56c423
lea eax, [ebp - 0x24]
lea ecx, [edi + 0x20]
push eax
call 0x56c55c
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x24]
push eax
call 0x56c55c
cmp dword [ebp - 0x14], ebx
jne 0x50ec0b
mov esi, dword [ebp + 0x20]
mov byte [ebp - 4], 8
cmp esi, ebx
mov dword [ebp - 0x20], ebx
je 0x50e6b5
push esi
call 0x555d00
test eax, eax
pop ecx
jbe 0x50e6b3
mov dword [ebp - 0x20], 3
jmp 0x50e6b5
xor esi, esi
push ebx
push ebx
push esi
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x20]
push 2
push 0x501cb4
call fcn.0050f11c
push dword [ebp + 0x14]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], edi
mov byte [ebp - 4], 0xa
push dword [ebp + 0x10]
push dword [ebp + 0x24]
push dword [ebp - 0x24]
call 0x578d01
cmp dword [ebp + 0x30], ebx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0xb
mov eax, 0x24000000
je 0x50e706
mov eax, 0x84c0d000
cmp dword [ebp + 0x2c], ebx
jne 0x50e70f
or al, 2
jmp 0x50e711
or al, 1
push eax
lea eax, [ebp - 0x60]
push ebx
push eax
push 1
push ebx
push dword [ebp - 0x1c]
push 1
call 0x5796d0
push ebx
push ebx
push ebx
push ebx
mov ecx, eax
mov dword [ebp + 0x20], eax
mov byte [ebp - 4], 0xc
call 0x57985a
cmp eax, ebx
jne 0x50e746
mov dword [ebp - 0x14], 4
jmp 0x50ead6
mov ecx, dword [ebp + 0x20]
lea esi, [edi + 0x14]
push esi
call 0x5798c4
cmp dword [esi], 0x197
jne 0x50e7e2
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x50e794
push esi
call 0x555d00
test eax, eax
pop ecx
jbe 0x50e794
push ebx
push esi
call dword [0x4d51f4]
push eax
push esi
push 0x2b
lea ecx, [ebp - 0xa0]
call 0x578d49
cmp eax, ebx
jne 0x50e794
call dword [fcn.004d5200]
mov dword [edi + 0x10], eax
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
je 0x50e7ca
push esi
call 0x555d00
test eax, eax
pop ecx
jbe 0x50e7ca
push ebx
push esi
call dword [0x4d51f4]
push eax
push esi
push 0x2c
lea ecx, [ebp - 0xa0]
call 0x578d49
cmp eax, ebx
jne 0x50e7ca
call dword [fcn.004d5200]
mov dword [edi + 0x10], eax
mov ecx, dword [ebp + 0x20]
push ebx
push ebx
push ebx
push ebx
call 0x57985a
mov ecx, dword [ebp + 0x20]
lea eax, [edi + 0x14]
push eax
call 0x5798c4
mov eax, dword [edi + 0x14]
cmp eax, 0xc8
jne 0x50ea86
mov ecx, dword [ebp + 0x20]
or dword [ebp + 0x18], 0xffffffff
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0xf8]
push eax
push 5
mov dword [ebp - 0x3c], 0x20
call 0x5798a8
cmp eax, ebx
je 0x50e82c
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x2c], 1
push eax
call 0x555ff4
pop ecx
mov dword [ebp + 0x18], eax
call dword [0x4d536c]
mov dword [ebp - 0x38], eax
mov dword [ebp + 0x1c], eax
mov eax, dword [0x508bf4]
mov dword [ebp + 0x10], ebx
fldz
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], eax
fstp qword [ebp - 0x80]
mov dword [ebp - 0x44], 0x400
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x24], ebx
mov ecx, dword [ebp + 0x20]
push dword [ebp - 0x44]
lea edx, [ebp - 0x4f8]
mov byte [ebp - 4], 0xe
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
mov dword [ebp + 0x10], eax
jmp 0x50e8a8
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0xd
jne 0x50ea65
cmp dword [ebp + 0x10], ebx
je 0x50ea78
cmp dword [edi + 8], ebx
jne 0x50ea65
lea ecx, [ebp - 0xc0]
call 0x56caee
push dword [ebp + 0x10]
lea eax, [ebp - 0x4f8]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x11
push eax
call 0x56d16d
jmp 0x50e935
mov dword [ebp - 4], 0xd
call 0x56cb2c
cmp dword [ebp - 0x14], ebx
jne 0x50ea65
cmp dword [edi + 8], ebx
jne 0x50ea65
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x10]
cmp dword [ebp + 0x24], ebx
mov dword [ebp + 0x14], eax
jne 0x50e964
mov dword [ebp + 0x24], eax
call dword [0x4d536c]
mov esi, eax
sub eax, dword [ebp + 0x1c]
cmp eax, 0x3e8
jbe 0x50ea23
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ebx
fild qword [ebp - 0x50]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ebx
fstp qword [ebp - 0x34]
fild qword [ebp - 0x70]
mov dword [ebp + 0x24], ecx
push 0x50d798
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x1c], esi
fsubr qword [ebp - 0x34]
fild qword [ebp - 0x88]
fdivp st(1)
fstp qword [ebp - 0x80]
call 0x56c5ac
or dword [ebp + 0x2c], 0xffffffff
cmp dword [ebp - 0x2c], ebx
je 0x50ea23
cmp dword [ebp + 0x14], ebx
je 0x50ea23
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x58]
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 0x18]
fild qword [ebp - 0x68]
sub eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], ebx
fsubp st(1)
mov dword [ebp - 0x78], eax
fdiv qword [ebp - 0x34]
fild qword [ebp - 0x78]
fmulp st(1)
fmul qword [0x4d9728]
call 0x55760c
push 0x3c
xor edx, edx
pop ecx
mov dword [ebp + 0x2c], eax
div ecx
push edx
push eax
lea eax, [ebp + 0x30]
push 0x501cc8
push eax
call 0x569926
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x50d798
call 0x56c491
push ecx
lea eax, [ebp + 0x30]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 0x13
call 0x56c198
push dword [ebp + 0x2c]
mov eax, dword [edi]
fld qword [ebp - 0x80]
push ecx
push ecx
mov ecx, edi
mov byte [ebp - 4], 0xd
fstp qword [esp]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
call dword [eax + 4]
cmp dword [ebp + 0x10], ebx
je 0x50ea78
cmp dword [edi + 8], ebx
jne 0x50ea78
cmp dword [ebp - 0x14], ebx
je 0x50e858
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xc
call 0x56c423
jmp 0x50ead6
push eax
lea eax, [edi + 0xc]
push 0x501c84
push eax
mov dword [ebp - 0x14], 6
call 0x569926
add esp, 0xc
jmp 0x50ead6
cmp dword [ebp + 0x20], ebx
mov dword [ebp - 4], 0xb
je 0x50eb2c
mov esi, dword [ebp + 0x20]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
jmp 0x50eb2c
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xa
je 0x50eb82
mov esi, dword [ebp - 0x20]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
jmp 0x50eb82
push ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 9
call 0x578d84
lea ecx, [ebp - 0xa0]
call 0x578cab
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.0050f188
jmp 0x50ebe6
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 6
call 0x56d231
cmp dword [ebp - 0x14], ebx
jne 0x50ec02
cmp dword [edi + 8], ebx
je 0x50ec0b
push dword [ebp + 0xc]
call dword [0x4d5410]
push 0x50d798
lea ecx, [edi + 0x18]
call 0x56c5ac
cmp dword [edi + 8], ebx
je 0x50ec29
cmp dword [ebp - 0x14], ebx
jne 0x50ec29
mov dword [ebp - 0x14], 9
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call 0x56c423
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call 0x56cf59
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call 0x56c423
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call 0x56c423
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call 0x56c423
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call 0x56c423
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call 0x56c423
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x2c