Function at 0x5feb50
Capabilities:
Check http status code
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x2d], cl
mov esi, edx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
call fcn.00409918
mov eax, dword [ebp + 0x1c]
call fcn.00409918
mov eax, dword [ebp + 0x18]
call fcn.00409918
mov eax, dword [ebp + 0x14]
call fcn.00409918
mov eax, dword [ebp + 0x10]
call fcn.00409918
xor eax, eax
push ebp
push 0x5fefb5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x20]
mov edx, 0x5fefd8
call fcn.00409c5c
call fcn.005f7210
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
xor edx, edx
push ebp
push 0x5fef67
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6a]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
call fcn.005fe7fc
push 0
push 0
push 0
push 0
push 0
call fcn.005fe7a0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x54], 0x1388
push 4
lea eax, [ebp - 0x54]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call fcn.005fe624
push 4
lea eax, [ebp - 0x54]
push eax
push 8
mov eax, dword [ebp - 0xc]
push eax
call fcn.005fe624
push 4
lea eax, [ebp - 0x54]
push eax
push 7
mov eax, dword [ebp - 0xc]
push eax
call fcn.005fe624
push 0
push 0
push 3
mov eax, dword [ebp + 0x10]
call fcn.0040a3d8
push eax
mov eax, dword [ebp + 0x14]
call fcn.0040a3d8
push eax
movzx eax, word [ebp - 0x6a]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040a3d8
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.005fe504
mov dword [ebp - 8], eax
push 4
lea eax, [ebp - 0x54]
push eax
push 8
mov eax, dword [ebp - 8]
push eax
call fcn.005fe624
push 4
lea eax, [ebp - 0x54]
push eax
push 7
mov eax, dword [ebp - 8]
push eax
call fcn.005fe624
call fcn.005f6db0
cmp byte [ebp - 0x2d], 0
je 0x5fecba
mov eax, 0x5ff02c
mov dword [ebp - 0x40], eax
jmp 0x5fecc2
mov eax, 0x5ff038
mov dword [ebp - 0x40], eax
cmp byte [ebp + 0xc], 0
je 0x5feccc
xor edi, edi
jmp 0x5fecd1
mov edi, 0x80000000
cmp dword [ebp - 0x44], 4
jne 0x5fecdd
or edi, 0x800000
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, 0x5ff04c
call fcn.0040a62c
push 2
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x5feafc]
call fcn.0040ba04
add esp, 4
mov eax, dword [ebp - 0x1c]
call fcn.0040a3d8
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax + 4], edx
push 0
push edi
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp + 0x1c]
call fcn.0040a3d8
push eax
push 0x5ff060
mov eax, dword [ebp - 0x18]
call fcn.0040a3d8
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.005fe684
mov dword [ebp - 4], eax
call fcn.005f6db0
cmp byte [ebp - 0x2d], 0
je 0x5fee06
lea eax, [ebp - 0x24]
mov edx, 0x5ff080
call fcn.00409c5c
test esi, esi
je 0x5fedd6
mov eax, esi
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5fed76
cmp eax, 0
je 0x5fedd6
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.005f8fcc
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x5fed8e
sub edi, 4
mov edi, dword [edi]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x5feda5
mov eax, dword [ebp - 0x70]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push edi
mov eax, dword [ebp - 0x24]
call fcn.0040a3d8
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.005fe6e4
test eax, eax
jne 0x5fee33
call fcn.005f6db0
test eax, eax
je 0x5fee33
push 0
call fcn.005f6e10
jmp 0x5fee33
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x5fede2
sub edi, 4
mov edi, dword [edi]
push 0
push 0
push edi
mov eax, dword [ebp - 0x24]
call fcn.0040a3d8
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.005fe6e4
test eax, eax
jne 0x5fee33
push 0
call fcn.005f6e10
jmp 0x5fee33
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.005fe6e4
test eax, eax
jne 0x5fee33
push ebp
call fcn.005feb24
pop ecx
mov byte [ebp - 0x2e], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5fef71
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x20000013
mov eax, dword [ebp - 4]
push eax
call fcn.005fe744
test eax, eax
je 0x5fee66
cmp dword [ebp - 0x34], 0xc8
je 0x5fee7e
push ebp
call fcn.005feb24
pop ecx
mov byte [ebp - 0x2e], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5fef71
cmp byte [ebp - 0x2d], 0
je 0x5fee9c
mov byte [ebp - 0x2e], 1
push ebp
call fcn.005feb24
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5fef71
mov dword [ebp - 0x38], 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x20000005
mov eax, dword [ebp - 4]
push eax
call fcn.005fe744
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x2e], al
cmp byte [ebp - 0x2e], 0
test esi, esi
je 0x5fef56
push 0
push 0
mov eax, esi
call fcn.005f8d84
test ebx, ebx
jle 0x5fef1b
call fcn.005f7210
xor edx, edx
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x5fef02
cmp eax, dword [esp]
pop edx
pop eax
jae 0x5fef1b
jmp 0x5fef06
pop edx
pop eax
jge 0x5fef1b
push ebp
call fcn.005feb24
pop ecx
mov byte [ebp - 0x2e], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5fef71
lea eax, [ebp - 0x48]
push eax
push 0x101
lea eax, [ebp - 0x171]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.005fe5c4
test eax, eax
je 0x5fef56
cmp dword [ebp - 0x48], 0
jne 0x5fef44
mov byte [ebp - 0x2e], 1
jmp 0x5fef56
lea edx, [ebp - 0x171]
mov ecx, dword [ebp - 0x48]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
jmp 0x5feedd
push ebp
call fcn.005feb24
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5fef71
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fefbc
lea eax, [ebp - 0x2c]
mov edx, dword [0x4046c0]
call fcn.0040bb28
lea eax, [ebp - 0x28]
mov edx, dword [0x5feafc]
call fcn.0040bb28
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00409894
lea eax, [ebp + 0x10]
mov edx, 4
call fcn.00409894
ret