Function at 0x4b4a80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4b28
mov eax, dword fs:[0]
push eax
mov eax, 0x29b8
call fcn.004bf250
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x34]
mov dword [ebp - 0x2984], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x2974], eax
mov dword [ebp - 0x2988], ecx
mov dword [ebp - 0x296c], 0
mov dword [ebp - 4], 0
test eax, eax
jne 0x4b4ae9
int3
mov ebx, dword [ebp + 0x30]
test bl, bl
je 0x4b4af5
test esi, esi
jne 0x4b4af5
int3
cmp byte [edi + 0xe1], 0
jne 0x4b4b0c
mov ecx, edi
call fcn.0049583d
mov byte [edi + 0xe1], 1
push 0x7ff
lea eax, [ebp - 0x82f]
mov byte [ebp - 0x2966], 0
push 0
push eax
mov byte [ebp - 0x830], 0
call fcn.004bf1a0
add esp, 0xc
mov dword [ebp - 0x2970], 0
lea eax, [ebp - 0x830]
mov dword [ebp - 0x2978], eax
test bl, bl
je 0x4b4b91
cmp byte [esi], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x4b4b65
xor ecx, ecx
jmp 0x4b4b79
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4b70
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004025a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ebx, 1
jmp 0x4b4bd0
push 0
push 0x50c74d
lea ecx, [ebp - 0x2848]
mov dword [ebp - 0x2834], 0xf
mov dword [ebp - 0x2838], 0
mov byte [ebp - 0x2848], 0
call fcn.004025a0
lea eax, [ebp - 0x2848]
mov dword [ebp - 4], 2
mov ebx, 2
mov edx, dword [ebp - 0x2974]
mov dword [ebp - 0x296c], ebx
mov dword [ebp - 0x297c], eax
mov dword [ebp - 0x284c], 0xf
cmp byte [edx], 0
mov dword [ebp - 0x2850], 0
mov byte [ebp - 0x2860], 0
jne 0x4b4c06
xor ecx, ecx
jmp 0x4b4c1e
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x2980], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4c11
sub ecx, dword [ebp - 0x2980]
push ecx
push edx
lea ecx, [ebp - 0x2860]
call fcn.004025a0
lea eax, [ebp - 0x2970]
push eax
push 0x800
lea eax, [ebp - 0x830]
push eax
push dword [ebp + 0x30]
lea eax, [ebp - 0x2860]
push dword [ebp - 0x297c]
push eax
call fcn.004af3e0
add esp, 0x18
test eax, eax
sete byte [ebp - 0x2965]
cmp dword [ebp - 0x284c], 0x10
jb 0x4b4c76
push dword [ebp - 0x2860]
call fcn.00481594
add esp, 4
mov dword [ebp - 0x284c], 0xf
mov dword [ebp - 0x2850], 0
mov byte [ebp - 0x2860], 0
test bl, 2
je 0x4b4cd1
and ebx, 0xfffffffd
cmp dword [ebp - 0x2834], 0x10
mov dword [ebp - 0x296c], ebx
jb 0x4b4cb6
push dword [ebp - 0x2848]
call fcn.00481594
add esp, 4
mov dword [ebp - 0x2834], 0xf
mov dword [ebp - 0x2838], 0
mov byte [ebp - 0x2848], 0
mov dword [ebp - 4], 0
test bl, 1
je 0x4b4cf7
and ebx, 0xfffffffe
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x296c], ebx
jb 0x4b4cf7
push dword [ebp - 0x28]
call fcn.00481594
add esp, 4
cmp byte [ebp - 0x2965], 0
je 0x4b4e4c
mov eax, dword [ebp - 0x2970]
cmp eax, 0x800
jbe 0x4b4e4c
push eax
call fcn.004badc8
add esp, 4
mov dword [ebp - 0x2978], eax
cmp byte [ebp + 0x30], 0
je 0x4b4d41
push esi
lea ecx, [ebp - 0x2860]
call fcn.00401f90
mov esi, eax
mov byte [ebp - 4], 3
or ebx, 4
jmp 0x4b4d5d
push 0x50c74d
lea ecx, [ebp - 0x2848]
call fcn.00401f90
mov esi, eax
mov dword [ebp - 4], 4
or ebx, 8
push dword [ebp - 0x2974]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x296c], ebx
call fcn.00401f90
lea eax, [ebp - 0x2970]
push eax
push dword [ebp - 0x2970]
lea eax, [ebp - 0x28]
push dword [ebp - 0x2978]
push dword [ebp + 0x30]
push esi
push eax
call fcn.004af3e0
add esp, 0x18
test eax, eax
sete byte [ebp - 0x2965]
cmp dword [ebp - 0x14], 0x10
jb 0x4b4dae
push dword [ebp - 0x28]
call fcn.00481594
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test bl, 8
je 0x4b4dfa
and ebx, 0xfffffff7
cmp dword [ebp - 0x2834], 0x10
jb 0x4b4ddf
push dword [ebp - 0x2848]
call fcn.00481594
add esp, 4
mov dword [ebp - 0x2834], 0xf
mov dword [ebp - 0x2838], 0
mov byte [ebp - 0x2848], 0
mov dword [ebp - 4], 0
test bl, 4
je 0x4b4e1d
cmp dword [ebp - 0x284c], 0x10
jb 0x4b4e1d
push dword [ebp - 0x2860]
call fcn.00481594
add esp, 4
cmp byte [ebp - 0x2965], 0
je 0x4b4e4c
push dword [ebp - 0x2978]
call fcn.004bbc06
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x4b4e45
push dword [ebp + 0xc]
call fcn.00481594
add esp, 4
xor eax, eax
jmp 0x4b520f
push 0x3c
xor ebx, ebx
mov dword [ebp - 0x296c], 0
lea eax, [ebp - 0x29c4]
mov dword [ebp - 0x297c], 0
push ebx
push eax
call fcn.004bf1a0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x29c4], 0x3c
mov dword [ebp - 0x29c0], eax
add esp, 0xc
lea eax, [ebp - 0x1830]
mov dword [ebp - 0x29bc], 0x10
mov dword [ebp - 0x29b4], eax
lea eax, [ebp - 0x2830]
mov dword [ebp - 0x29b0], 0x800
mov dword [ebp - 0x2998], eax
mov dword [ebp - 0x2994], 0x800
cmp byte [ebp + 0x30], bl
je 0x4b4f3a
mov ecx, edi
call fcn.004b35f0
cmp dword [eax + 0x14], 0x10
jb 0x4b4ed1
mov eax, dword [eax]
lea ecx, [ebp - 0x2960]
push 3
mov dword [ebp - 0x2964], ecx
lea ecx, [ebp - 0x2964]
push eax
call fcn.0042a97d
mov edx, dword [ebp - 0x2964]
mov byte [ebp - 4], 5
cmp word [edx], 0
jne 0x4b4eff
xor ecx, ecx
jmp 0x4b4f13
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4f04
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0xc]
call fcn.004063e0
mov eax, dword [ebp - 0x2964]
lea ecx, [ebp - 0x2960]
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x4b4f3a
push eax
call fcn.004bbbce
add esp, 4
cmp byte [edi + 0xe1], 0
jne 0x4b4f44
int3
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x29c4]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004957ed
test eax, eax
je 0x4b518c
cmp byte [edi + 0xc4], 0
je 0x4b4f9d
cmp dword [edi + 0xdc], 8
lea eax, [edi + 0xc8]
jb 0x4b4f80
mov eax, dword [eax]
push 0
push 0
push eax
push 3
push str.liebao
mov ecx, edi
call fcn.00495c8a
mov esi, eax
mov dword [ebp - 0x296c], esi
jmp 0x4b4fb9
push 0
push 0
push 0
push 0
push str.liebao
mov ecx, edi
call fcn.00495c8a
mov esi, eax
mov dword [ebp - 0x296c], eax
test esi, esi
je 0x4b518c
push 0x7530
push 0x7530
push 0xea60
push 0
push esi
mov ecx, edi
call fcn.00495d5d
movzx eax, word [ebp - 0x29ac]
mov ecx, edi
push eax
lea eax, [ebp - 0x1830]
push eax
push esi
call fcn.004957ba
mov dword [ebp - 0x297c], eax
test eax, eax
je 0x4b518c
push dword [ebp - 0x29b8]
lea ecx, [ebp - 0x2830]
push ecx
push 0x500d84
push eax
mov ecx, edi
call fcn.00495b39
mov ebx, eax
test ebx, ebx
je 0x4b518c
push str.Connection:_close
push ebx
mov ecx, edi
call fcn.0049575f
push str.Cache_Control:_no_cache
push ebx
mov ecx, edi
call fcn.0049575f
push dword [ebp - 0x2970]
mov ecx, edi
push dword [ebp - 0x2978]
push ebx
call fcn.00495d28
test eax, eax
je 0x4b518c
push ebx
mov ecx, edi
call fcn.00495c9b
test eax, eax
je 0x4b518c
lea eax, [ebp - 0x2980]
mov dword [ebp - 0x2980], 0x800
push eax
lea eax, [ebp - 0x830]
mov ecx, edi
push eax
push 0x13
push ebx
call fcn.00495cdc
test eax, eax
je 0x4b518c
lea eax, [ebp - 0x830]
push eax
call fcn.004bfc61
mov ecx, dword [ebp - 0x2988]
add esp, 4
cmp eax, 0xc8
sete dl
mov byte [ebp - 0x2966], dl
test ecx, ecx
je 0x4b50bc
mov dword [ecx], eax
test dl, dl
je 0x4b518c
cmp dword [ebp - 0x2984], 0
je 0x4b518c
lea eax, [ebp - 0x2974]
mov dword [ebp - 0x2974], 0
push eax
push ebx
mov ecx, edi
call fcn.00495cba
test eax, eax
je 0x4b518c
mov esi, dword [ebp - 0x2974]
mov dword [ebp - 0x2970], 0
test esi, esi
jle 0x4b518c
lea ebx, [ebx]
lea eax, [ebp - 0x2970]
mov ecx, edi
push eax
push 0x7ff
lea eax, [ebp - 0x830]
push eax
push ebx
call fcn.00495d0b
test eax, eax
je 0x4b518c
mov eax, dword [ebp - 0x2970]
cmp eax, 0x800
jae 0x4b522d
mov byte [ebp + eax - 0x830], 0
cmp byte [ebp - 0x830], 0
jne 0x4b5155
xor ecx, ecx
jmp 0x4b5169
lea ecx, [ebp - 0x830]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b5160
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x2984]
lea eax, [ebp - 0x830]
push eax
call fcn.00402270
mov eax, dword [ebp - 0x2970]
cmp esi, eax
jbe 0x4b518c
sub esi, eax
test esi, esi
jg 0x4b5110
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KSReportNet_error_code:__x
lea eax, [ebp - 0x830]
push 0x800
push eax
call fcn.004c67d9
mov eax, dword [ebp - 0x2978]
lea ecx, [ebp - 0x830]
add esp, 0x10
cmp eax, ecx
je 0x4b51c5
push eax
call fcn.004bbc06
add esp, 4
test ebx, ebx
je 0x4b51d1
push ebx
mov ecx, edi
call fcn.00495797
mov eax, dword [ebp - 0x297c]
test eax, eax
je 0x4b51e3
push eax
mov ecx, edi
call fcn.00495797
mov eax, dword [ebp - 0x296c]
test eax, eax
je 0x4b51f5
push eax
mov ecx, edi
call fcn.00495797
cmp dword [ebp + 0x20], 8
movzx esi, byte [ebp - 0x2966]
jb 0x4b520d
push dword [ebp + 0xc]
call fcn.00481594
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc11d
mov esp, ebp
pop ebp
ret 0x30
call fcn.004bfb1c
int3