Function at 0x50e0f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c9a41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0xd], 0
push 1
push 1
call fcn.0050d210
add esp, 4
push eax
push 0x6f1c68
lea eax, [ebp - 0x40]
push eax
call fcn.004218d0
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00523eb0
mov ecx, dword [ebp - 0x20]
call fcn.0050d050
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
sub eax, 0x10
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.00523770
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x18]
test edx, edx
je 0x50e309
mov dword [ebp - 0x14], 0x800000
mov eax, dword [ebp - 0x14]
or eax, 0x1000
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
or ecx, 0x2000
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
or edx, 0x4000000
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
or eax, 0x80000
mov dword [ebp - 0x14], eax
push 0
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0050d240
add esp, 8
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x14], 8
jb 0x50e1f9
mov dword [ebp - 0x28], 1
jmp 0x50e200
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x50e21c
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
push str.HTTP_1.0
push 0x6e60cc
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.0043f5e0
add esp, 0x20
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.005248c0
cmp dword [ebp - 0x18], 0
je 0x50e2fd
mov dword [ebp - 0x5c], 4
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0x1f
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0043f6e0
add esp, 0x10
mov edx, dword [ebp - 0x1c]
or edx, 0x100
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
or eax, 0x80
mov dword [ebp - 0x1c], eax
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x1f
mov edx, dword [ebp - 0x18]
push edx
call fcn.0043f400
add esp, 0x10
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.0043f300
add esp, 0x14
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x60], 4
push 0
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x20000013
mov eax, dword [ebp - 0x18]
push eax
call fcn.0043e290
add esp, 0x14
cmp dword [ebp - 0x30], 0xc8
jne 0x50e2fd
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0043e390
add esp, 4
mov ecx, dword [ebp - 0x20]
call fcn.0050d1b0
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret