Function at 0x4bc900
Capabilities:
Check http status code

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov ecx, dword [eax]
push edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xdc]
lea ebp, [esi + 0x70]
mov dword [esi + 0xe0], ecx
mov ebx, ecx
push dword [eax]
mov dword [esp + 0x24], ecx
push 0xa
push ecx
call fcn.0054da30
mov edi, dword [esp + 0x48]
add esp, 0xc
mov dword [esi + 0xe4], eax
test eax, eax
je 0x4bd87e
sub ebx, eax
mov eax, dword [esp + 0x40]
dec ebx
add dword [eax], ebx
mov eax, dword [esi + 0xe4]
inc eax
mov dword [esi + 0xdc], eax
sub eax, dword [esi + 0xe0]
push eax
push ebp
push esi
call fcn.004bda40
add esp, 0xc
test eax, eax
jne 0x4bd8ca
cmp dword [esi + 0xd0], 0
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x87c]
mov dword [esi + 0xe8], eax
jne 0x4bc9e0
cmp dword [esi + 0xd8], 5
jbe 0x4bc9e0
mov eax, dword [edi + 0x2c8]
mov ecx, dword [esi + 0x87c]
test dword [eax + 0x40], 0x40000
je 0x4bc9ce
push 5
push ecx
push str.RTSP_
call fcn.004b5c00
add esp, 0xc
test eax, eax
setne al
jmp 0x4bc9d8
push ecx
push esi
call fcn.004bd8e0
add esp, 8
test al, al
je 0x4bd610
mov edx, dword [esi + 0xe8]
mov al, byte [edx]
cmp al, 0xa
je 0x4bd32b
cmp al, 0xd
je 0x4bd32f
mov ecx, dword [esi + 0xd0]
lea eax, [ecx + 1]
mov dword [esi + 0xd0], eax
test ecx, ecx
jne 0x4bccc4
mov eax, dword [edi + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4bcb17
lea ebp, [esi + 0xf8]
push ebp
lea eax, [esp + 0x3c]
push eax
lea ebx, [edi + 0x180]
push ebx
lea eax, [esp + 0x20]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.004a80a0
add esp, 0x18
cmp eax, 1
jne 0x4bca80
cmp dword [esp + 0x14], 2
jne 0x4bd658
push ebp
push str._HTTP_2__d
push dword [esi + 0xe8]
call fcn.004a80a0
add esp, 0xc
cmp eax, 1
jne 0x4bd658
mov dword [ebx], 0
mov byte [esp + 0x38], 0x20
jmp 0x4bca90
cmp eax, 4
jne 0x4bcac7
cmp byte [esp + 0x38], 0x20
jne 0x4bd658
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*2]
mov dword [ebx], eax
cmp dword [esi + 0x114], 2
jne 0x4bcb77
cmp eax, 0x14
je 0x4bcb77
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.004b32d0
add esp, 8
jmp 0x4bcb77
test eax, eax
jne 0x4bd658
push ebp
push str._HTTP__3d
push dword [esi + 0xe8]
call fcn.004a80a0
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x4bcb77
push dword [esi + 0xe8]
push esi
call fcn.004bd8e0
add esp, 8
test al, al
je 0x4bd8c1
mov dword [ebp], 0xc8
mov dword [ebx], 0xa
jmp 0x4bcb77
test eax, 0x40000
je 0x4bd8c1
lea ebp, [esi + 0xf8]
push ebp
lea eax, [esp + 0x17]
push eax
lea ebx, [edi + 0x184]
push ebx
lea eax, [esp + 0x24]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004a80a0
add esp, 0x18
cmp eax, 4
jne 0x4bd8c1
cmp byte [esp + 0x13], 0x20
jne 0x4bd8c1
mov eax, dword [esp + 0x18]
mov dword [edi + 0x180], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
lea ebx, [edi + 0x180]
mov eax, dword [ebp]
mov dword [esi + 0x4c18], eax
mov eax, dword [ebx]
mov dword [esi + 0x4c20], eax
mov eax, dword [esi + 0x4b98]
test eax, eax
je 0x4bcb96
cmp eax, dword [ebx]
jle 0x4bcb9e
mov eax, dword [ebx]
mov dword [esi + 0x4b98], eax
mov eax, dword [esi + 0x4bb0]
or eax, dword [esi + 0x4bb4]
je 0x4bcbc7
cmp dword [esi + 0x400], 1
jne 0x4bcbc7
cmp dword [ebp], 0x1a0
jne 0x4bcbc7
mov byte [esi + 0x139], 1
jmp 0x4bcc02
cmp byte [esi + 0x4f8], 0
je 0x4bcc02
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x4bcc02
cmp eax, 0x191
jne 0x4bcbea
cmp byte [edi + 0x288], 0
jne 0x4bcc02
cmp eax, 0x197
jne 0x4bd673
cmp byte [edi + 0x289], 0
je 0x4bd673
mov eax, dword [ebx]
cmp eax, 0xa
jne 0x4bcc21
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.004b32d0
push 1
push edi
call fcn.004b3d80
add esp, 0x10
jmp 0x4bcc74
cmp eax, 0x14
je 0x4bcc68
cmp dword [esi + 0x114], 1
jne 0x4bcc35
cmp dword [ebp], 0x65
je 0x4bcc68
cmp eax, 0xb
jl 0x4bcc74
cmp byte [edi + 0x281], 0
jne 0x4bcc74
cmp dword [edi + 0x5d4], 0
je 0x4bcc74
push edi
push esi
call fcn.004c0470
add esp, 8
test al, al
jne 0x4bcc74
mov eax, dword [edi + 0x5d4]
mov dword [eax], 1
jmp 0x4bcc74
mov eax, dword [edi + 0x5d4]
mov dword [eax], 2
mov eax, dword [ebp]
sub eax, 0xcc
je 0x4bcc83
sub eax, 0x64
jne 0x4bccc1
cmp dword [esi + 0x3f0], 0
je 0x4bcc93
mov byte [esi + 0x4c30], 1
lea ebp, [esi + 0x70]
mov dword [esi + 0x80], 0
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [esi + 0x84], 0
mov byte [esi + 0x13a], 1
jmp 0x4bccc4
lea ebp, [esi + 0x70]
cmp byte [esi + 0x13a], 0
jne 0x4bcd9e
cmp byte [esi + 0x51f], 0
jne 0x4bcd9e
push 0xf
push dword [esi + 0xe8]
push str.Content_Length:
call fcn.004b5c00
add esp, 0xc
test eax, eax
je 0x4bcd9e
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 0xe8]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004c2180
add esp, 0x10
test eax, eax
jne 0x4bcd68
mov ebx, dword [esi + 0x4d8]
mov eax, ebx
mov edx, dword [esi + 0x4dc]
or eax, edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
je 0x4bcd46
cmp ecx, edx
jg 0x4bd705
jl 0x4bcd46
cmp eax, ebx
ja 0x4bd705
push ecx
push eax
push esi
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
call fcn.004bee90
add esp, 0xc
jmp 0x4bd2c2
cmp eax, 1
jne 0x4bd720
mov eax, dword [esi + 0x4d8]
or eax, dword [esi + 0x4dc]
jne 0x4bd705
push 2
push edi
call fcn.004b3d80
push str.Overflow_Content_Length:_value__n
push esi
call fcn.004b32d0
add esp, 0x10
jmp 0x4bd2c2
push 0xd
push dword [esi + 0xe8]
push str.Content_Type:
call fcn.004b5c00
mov ecx, dword [esi + 0xe8]
add esp, 0xc
test eax, eax
je 0x4bcdfe
push ecx
call fcn.004bc2f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4bd73b
cmp byte [ebx], 0
jne 0x4bcde4
push ebx
call dword [0x6091ec]
add esp, 4
jmp 0x4bd2c2
push dword [esi + 0x4c48]
call dword [0x6091ec]
add esp, 4
mov dword [esi + 0x4c48], ebx
jmp 0x4bd2c2
push 7
push ecx
push str.Server:
call fcn.004b5c00
mov ecx, dword [edi + 0x180]
add esp, 0xc
test eax, eax
je 0x4bce69
cmp ecx, 0x14
jge 0x4bd2c2
push dword [esi + 0xe8]
call fcn.004bc2f0
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x5d4]
test eax, eax
je 0x4bce5a
cmp dword [eax], 1
jne 0x4bce5a
push ebx
push esi
call fcn.004c0280
add esp, 8
test al, al
je 0x4bce5a
mov eax, dword [edi + 0x5d4]
mov dword [eax], 0xffffffff
push ebx
call dword [0x6091ec]
add esp, 4
jmp 0x4bd2c2
cmp ecx, 0xa
jne 0x4bceae
cmp byte [edi + 0x286], 0
je 0x4bceae
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xe8]
call fcn.004bc230
add esp, 0xc
test al, al
je 0x4bceae
push 0
push edi
call fcn.004b3d80
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.004b32d0
add esp, 0x10
jmp 0x4bd2c2
cmp dword [edi + 0x180], 0xb
jne 0x4bcef7
cmp byte [edi + 0x286], 0
je 0x4bcef7
push str.close
push str.Proxy_Connection:
push dword [esi + 0xe8]
call fcn.004bc230
add esp, 0xc
test al, al
je 0x4bcef7
push 1
push edi
call fcn.004b3d80
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.004b32d0
add esp, 0x10
jmp 0x4bd2c2
cmp dword [edi + 0x180], 0xa
jne 0x4bcf37
push str.keep_alive
push str.Connection:
push dword [esi + 0xe8]
call fcn.004bc230
add esp, 0xc
test al, al
je 0x4bcf37
push 0
push edi
call fcn.004b3d80
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.004b32d0
add esp, 0x10
jmp 0x4bd2c2
push str.close
push str.Connection:
push dword [esi + 0xe8]
call fcn.004bc230
add esp, 0xc
test al, al
je 0x4bcf63
push 2
push edi
call fcn.004b3d80
add esp, 8
jmp 0x4bd2c2
push 0x12
push dword [esi + 0xe8]
push str.Transfer_Encoding:
call fcn.004b5c00
mov ecx, dword [esi + 0xe8]
add esp, 0xc
test eax, eax
je 0x4bcf96
push 1
lea eax, [ecx + 0x12]
push eax
push edi
call fcn.004b5f50
add esp, 0xc
jmp 0x4bd2ba
push 0x11
push ecx
push str.Content_Encoding:
call fcn.004b5c00
add esp, 0xc
test eax, eax
je 0x4bcfcd
cmp dword [esi + 0x55c], 0
je 0x4bcfcd
mov eax, dword [esi + 0xe8]
push 0
add eax, 0x11
push eax
push edi
call fcn.004b5f50
add esp, 0xc
jmp 0x4bd2ba
push 0xe
push dword [esi + 0xe8]
push str.Content_Range:
call fcn.004b5c00
add esp, 0xc
test eax, eax
je 0x4bd08c
mov ebx, dword [esi + 0xe8]
add ebx, 0xe
mov al, byte [ebx]
test al, al
je 0x4bd01d
nop dword [eax]
movzx eax, al
push eax
call fcn.004d65d0
add esp, 4
test eax, eax
jne 0x4bd01d
cmp byte [ebx], 0x2a
je 0x4bd01d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4bd000
movzx eax, byte [ebx]
push eax
call fcn.004d65d0
add esp, 4
test eax, eax
je 0x4bd073
lea ebp, [esi + 0xf0]
push ebp
push 0xa
push 0
push ebx
call fcn.004c2180
add esp, 0x10
test eax, eax
jne 0x4bd2c2
mov eax, dword [esi + 0x4bb0]
cmp eax, dword [ebp]
jne 0x4bd2c2
mov eax, dword [esi + 0x4bb4]
cmp eax, dword [ebp + 4]
jne 0x4bd2c2
mov byte [esi + 0xec], 1
jmp 0x4bd2c2
mov dword [esi + 0x4bb0], 0
mov dword [esi + 0x4bb4], 0
jmp 0x4bd2c2
cmp dword [esi + 0x6c0], 0
je 0x4bd0fc
push 0xb
push dword [esi + 0xe8]
push str.Set_Cookie:
call fcn.004b5c00
add esp, 0xc
test eax, eax
je 0x4bd0fc
push 2
push 2
push esi
call fcn.004b6170
mov eax, dword [edi + 0x2f8]
add esp, 0xc
test eax, eax
jne 0x4bd0cb
mov eax, dword [edi + 0xa0]
push dword [esi + 0x4ba4]
push eax
mov eax, dword [esi + 0xe8]
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0x6c0]
push esi
call fcn.004a6380
push 2
push esi
call fcn.004b61b0
add esp, 0x24
jmp 0x4bd2c2
push 0xe
push dword [esi + 0xe8]
push str.Last_Modified:
call fcn.004b5c00
add esp, 0xc
test eax, eax
je 0x4bd179
cmp dword [esi + 0x3f0], 0
jne 0x4bd127
cmp byte [esi + 0x4f1], 0
je 0x4bd179
push 0
call fcn.0055f90c
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0xe8]
add eax, 0xe
mov dword [esp + 0x38], edx
push eax
call fcn.004c1a20
add esp, 0xc
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], edx
cmp byte [esi + 0x4f1], 0
je 0x4bd2c2
mov dword [esi + 0x4c28], eax
mov eax, edx
mov dword [esi + 0x4c2c], eax
jmp 0x4bd2c2
push 0x11
push dword [esi + 0xe8]
push str.WWW_Authenticate:
call fcn.004b5c00
add esp, 0xc
test eax, eax
je 0x4bd1a0
mov ebx, dword [esi + 0xf8]
cmp ebx, 0x191
je 0x4bd1c7
push 0x13
push dword [esi + 0xe8]
push str.Proxy_authenticate:
call fcn.004b5c00
add esp, 0xc
test eax, eax
je 0x4bd211
mov ebx, dword [esi + 0xf8]
cmp ebx, 0x197
jne 0x4bd211
push dword [esi + 0xe8]
call fcn.004bc2f0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4bd73b
cmp ebx, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.004bc580
push ebp
mov ebx, eax
call dword [0x6091ec]
add esp, 0x10
test ebx, ebx
je 0x4bd2c2
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret
mov eax, dword [esi + 0xf8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4bd29c
push 9
push dword [esi + 0xe8]
push str.Location:
call fcn.004b5c00
add esp, 0xc
test eax, eax
je 0x4bd29c
cmp dword [esi + 0x13c], 0
jne 0x4bd29c
push dword [esi + 0xe8]
call fcn.004bc2f0
add esp, 4
test eax, eax
je 0x4bd73b
cmp byte [eax], 0
jne 0x4bd26a
push eax
call dword [0x6091ec]
add esp, 4
jmp 0x4bd2c2
cmp byte [esi + 0x4fa], 0
mov dword [esi + 0x13c], eax
je 0x4bd2c2
push eax
call dword [0x6091f4]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x4bd73b
push edi
call fcn.004bdb00
add esp, 4
jmp 0x4bd2ba
mov eax, dword [edi + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x4bd2c2
push dword [esi + 0xe8]
push edi
call fcn.004d0ef0
add esp, 8
test eax, eax
jne 0x4bd8ca
xor ebx, ebx
cmp byte [esi + 0x4fd], bl
setne bl
add ebx, 2
cmp byte [esi + 0x508], 0
je 0x4bd2f0
push dword [esi + 0xd8]
push dword [esi + 0xe8]
push 1
push esi
call fcn.004b3160
add esp, 0x10
push dword [esi + 0xd8]
push dword [esi + 0xe8]
push ebx
push edi
call fcn.004b3130
add esp, 0x10
test eax, eax
jne 0x4bd8ca
mov eax, dword [esi + 0xd8]
add dword [esi + 0x4c34], eax
mov eax, dword [esi + 0xd8]
add dword [esi + 0xa0], eax
jmp 0x4bd5cf
cmp al, 0xd
jne 0x4bd338
inc edx
mov dword [esi + 0xe8], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x4bd345
lea eax, [edx + 1]
mov dword [esi + 0xe8], eax
mov ecx, dword [esi + 0xf8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x4bd3c4
sub ecx, 0x64
je 0x4bd38c
sub ecx, 1
je 0x4bd373
mov byte [esi + 0xc8], 1
mov dword [esi + 0xd0], 0
jmp 0x4bd41f
cmp dword [esi + 0x114], 1
je 0x4bd748
mov byte [esi + 0xc8], 0
jmp 0x4bd41f
cmp dword [esi + 0x110], 0
mov byte [esi + 0xc8], 1
mov dword [esi + 0xd0], 0
jle 0x4bd41f
or dword [esi + 0x134], 2
push 0
push esi
mov dword [esi + 0x110], 0
call fcn.004a3790
add esp, 8
jmp 0x4bd41f
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [esi + 0xc8], 0
cmp eax, 0xffffffff
jne 0x4bd41f
cmp byte [esi + 0x14c], 0
jne 0x4bd41f
cmp byte [edi + 0x281], 0
jne 0x4bd428
cmp dword [edi + 0x180], 0xb
jne 0x4bd41f
mov eax, dword [edi + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x4bd41f
cmp dword [esi + 0x400], 6
je 0x4bd41f
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.004b32d0
push 2
push edi
call fcn.004b3d80
add esp, 0x10
cmp byte [edi + 0x281], 0
je 0x4bd465
mov eax, dword [esi + 0xf8]
cmp eax, 0x191
jne 0x4bd440
cmp dword [edi + 0x370], 2
je 0x4bd450
jmp 0x4bd465
cmp eax, 0x197
jne 0x4bd465
cmp dword [edi + 0x3b0], 2
jne 0x4bd465
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.004b32d0
add esp, 8
mov byte [esi + 0x49ac], 1
push edi
call fcn.004bdcb0
add esp, 4
test eax, eax
jne 0x4bd85d
mov eax, dword [esi + 0x87c]
mov ebp, dword [esi + 0xe8]
sub ebp, eax
push ebp
push eax
xor eax, eax
cmp byte [esi + 0x4fd], al
setne al
add eax, 2
push eax
push edi
call fcn.004b3130
add esp, 0x10
test eax, eax
jne 0x4bd8ca
add dword [esi + 0xa0], ebp
xor edx, edx
add dword [esi + 0x4c34], ebp
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0xa0]
sub eax, 0x64
cmp eax, 0x63
push edi
cmova ecx, edx
mov dword [esi + 0xa4], ecx
call fcn.004bc3c0
add esp, 4
test eax, eax
jne 0x4bd8ca
cmp dword [esi + 0xf8], 0x12c
jl 0x4bd5c2
cmp byte [edi + 0x292], al
jne 0x4bd5a4
cmp byte [edi + 0x281], al
jne 0x4bd5a4
cmp byte [edi + 0x293], al
jne 0x4bd5ad
mov eax, dword [esi + 0x400]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4bd5a4
push 0
push esi
call fcn.004a3790
add esp, 8
cmp byte [esi + 0x138], 0
jne 0x4bd5a4
cmp byte [esi + 0x4f9], 0
je 0x4bd56d
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.004b32d0
add esp, 8
cmp dword [esi + 0x110], 0
jle 0x4bd5a4
or dword [esi + 0x134], 2
mov dword [esi + 0x110], 0
jmp 0x4bd5a4
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.004b32d0
push 2
push edi
call fcn.004b3d80
and dword [esi + 0x134], 0xfffffffd
add esp, 0x10
mov byte [esi + 0x138], 1
cmp byte [esi + 0x4b9c], 0
je 0x4bd5a4
mov dword [esi + 0x110], 3
cmp byte [edi + 0x293], 0
je 0x4bd5c2
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.004b32d0
add esp, 8
or dword [esi + 0x134], 2
cmp byte [esi + 0xc8], 0
je 0x4bd77e
mov eax, dword [esi + 0x87c]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], 0
mov ebx, dword [esi + 0xdc]
cmp byte [ebx], 0
je 0x4bd8c8
mov eax, dword [esp + 0x40]
mov dword [esi + 0xe0], ebx
push dword [eax]
push 0xa
push ebx
call fcn.0054da30
lea ebp, [esi + 0x70]
jmp 0x4bc938
mov eax, dword [esp + 0x40]
mov byte [esi + 0xc8], 0
cmp dword [eax], 0
je 0x4bd634
pop edi
mov dword [esi + 0xcc], 1
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xcc], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
pop edi
mov dword [esi + 0xdc], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push str.Unsupported_HTTP_version_in_response_n
push esi
call fcn.004b31f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edi, dword [esi + 0xe8]
push 4
push str.HTTP
push edi
call fcn.005668d0
add esp, 0xc
test eax, eax
jne 0x4bd85d
push 0x20
push edi
call fcn.0054f350
mov edi, eax
add esp, 8
test edi, edi
je 0x4bd85d
inc edi
cmp byte [edi], 0
je 0x4bd85d
push 0xd
push edi
mov byte [esp + 0x48], 0xd
call fcn.0054f350
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4bd6e0
push 0xa
push edi
mov byte [esp + 0x48], 0xa
call fcn.0054f350
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4bd85d
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.004b31f0
mov al, byte [esp + 0x4c]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.004b31f0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.004b31f0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x24
ret
push str.Received_101_n
push esi
call fcn.004b32d0
add esp, 8
mov dword [esi + 0x114], 2
mov byte [esi + 0xc8], 1
mov eax, 1
mov dword [esi + 0xd0], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
cmp byte [esi + 0x500], 0
mov ebx, dword [esp + 0x44]
jne 0x4bd7de
mov eax, dword [edi + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x4bd7b1
cmp dword [esi + 0x640], 2
jne 0x4bd7b1
cmp dword [esi + 0x74], 0xffffffff
jl 0x4bd7de
jg 0x4bd7b1
cmp dword [esi + 0x70], 0xffffffff
jbe 0x4bd7de
cmp byte [esi + 0x14c], 0
je 0x4bd7e1
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x84], 0xffffffff
jmp 0x4bd7e1
mov byte [ebx], 1
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
cmp ecx, 0xffffffff
jne 0x4bd7fe
cmp eax, ecx
jne 0x4bd7fe
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
jmp 0x4bd81b
push eax
push ecx
push esi
call fcn.004bee90
mov ecx, dword [esi + 0x70]
add esp, 0xc
mov eax, dword [esi + 0x74]
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], eax
test ecx, ecx
jne 0x4bd828
test eax, eax
jne 0x4bd828
mov byte [ebx], 1
jmp 0x4bd82d
cmp byte [ebx], 0
je 0x4bd834
and dword [esi + 0x134], 0xfffffffe
cmp byte [esi + 0x508], 0
je 0x4bd8c8
push ebp
push dword [esi + 0xe0]
push 1
push esi
call fcn.004b3160
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push dword [esi + 0xf8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.004b31f0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x40]
push dword [eax]
push ebp
push esi
call fcn.004bda40
add esp, 0xc
test eax, eax
jne 0x4bd8ca
cmp dword [esi + 0xd0], eax
jne 0x4bd8c8
cmp dword [esi + 0xd8], 5
jbe 0x4bd8c8
push dword [esi + 0x87c]
push edi
push esi
call fcn.004bd960
add esp, 0xc
test al, al
jne 0x4bd8c8
mov dword [esi + 0xcc], 2
mov byte [esi + 0xc8], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret