Function at 0x50f6a0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov ecx, dword [eax]
push edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xdc]
lea ebp, [esi + 0x70]
mov dword [esi + 0xe0], ecx
mov edi, ecx
push dword [eax]
mov dword [esp + 0x28], ecx
push 0xa
push ecx
call fcn.004c3fb0
mov ebx, dword [esp + 0x4c]
add esp, 0xc
mov dword [esi + 0xe4], eax
test eax, eax
je 0x510653
sub edi, eax
mov eax, dword [esp + 0x44]
dec edi
add dword [eax], edi
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.00510860
add esp, 0xc
test eax, eax
jne 0x5106a3
cmp dword [esi + 0xd0], 0
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x884]
mov dword [esi + 0xe8], eax
jne 0x50f799
mov eax, dword [ebx + 0x2c8]
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0x884]
test dword [eax + 0x40], 0x40000
je 0x50f780
cmp ecx, 5
mov eax, 5
mov ebp, 2
sbb edi, edi
inc edi
cmp ecx, 5
cmova ecx, eax
push ecx
push edx
push str.RTSP_
call fcn.00507250
add esp, 0xc
test eax, eax
cmovne ebp, edi
jmp 0x50f78d
push ecx
push edx
push esi
call fcn.005106b0
add esp, 0xc
mov ebp, eax
cmp ebp, 2
je 0x5103c9
lea ebp, [esi + 0x70]
mov edx, dword [esi + 0xe8]
mov al, byte [edx]
cmp al, 0xa
je 0x5100e4
cmp al, 0xd
je 0x5100e8
mov ecx, dword [esi + 0xd0]
lea eax, [ecx + 1]
mov dword [esi + 0xd0], eax
test ecx, ecx
jne 0x50fa7c
mov eax, dword [ebx + 0x2c8]
mov eax, dword [eax + 0x40]
test al, 3
je 0x50f8d7
lea ebp, [esi + 0xf8]
push ebp
lea eax, [esp + 0x40]
push eax
lea edi, [ebx + 0x17c]
push edi
lea eax, [esp + 0x20]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.004130f5
add esp, 0x18
cmp eax, 1
jne 0x50f839
cmp dword [esp + 0x14], 2
jne 0x51041c
push ebp
push str._HTTP_2__d
push dword [esi + 0xe8]
call fcn.004130f5
add esp, 0xc
cmp eax, 1
jne 0x51041c
mov dword [edi], 0
mov byte [esp + 0x3c], 0x20
jmp 0x50f849
cmp eax, 4
jne 0x50f880
cmp byte [esp + 0x3c], 0x20
jne 0x51041c
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi], eax
cmp dword [esi + 0x114], 2
jne 0x50f937
cmp eax, 0x14
je 0x50f937
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.00504920
add esp, 8
jmp 0x50f937
test eax, eax
jne 0x51041c
push ebp
push str._HTTP__3d
push dword [esi + 0xe8]
call fcn.004130f5
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x50f937
push dword [esi + 0xd8]
push dword [esi + 0xe8]
push esi
call fcn.005106b0
add esp, 0xc
cmp eax, 1
jne 0x5104c9
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x50f937
test eax, 0x40000
je 0x5104c9
lea ebp, [esi + 0xf8]
push ebp
lea eax, [esp + 0x17]
push eax
lea edi, [ebx + 0x180]
push edi
lea eax, [esp + 0x24]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004130f5
add esp, 0x18
cmp eax, 4
jne 0x5104c9
cmp byte [esp + 0x13], 0x20
jne 0x5104c9
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x17c], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebx + 0x17c]
mov eax, dword [ebp]
mov dword [esi + 0xc20], eax
mov eax, dword [edi]
mov dword [esi + 0xc28], eax
mov eax, dword [esi + 0xba0]
test eax, eax
je 0x50f956
cmp eax, dword [edi]
jle 0x50f95e
mov eax, dword [edi]
mov dword [esi + 0xba0], eax
mov eax, dword [esi + 0xbb8]
or eax, dword [esi + 0xbbc]
je 0x50f987
cmp dword [esi + 0x400], 1
jne 0x50f987
cmp dword [ebp], 0x1a0
jne 0x50f987
mov byte [esi + 0x139], 1
jmp 0x50f9c2
cmp byte [esi + 0x500], 0
je 0x50f9c2
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x50f9c2
cmp eax, 0x191
jne 0x50f9aa
cmp byte [ebx + 0x288], 0
jne 0x50f9c2
cmp eax, 0x197
jne 0x510437
cmp byte [ebx + 0x289], 0
je 0x510437
mov eax, dword [edi]
cmp eax, 0xa
jne 0x50f9e1
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.00504920
push 1
push ebx
call fcn.005053d0
add esp, 0x10
jmp 0x50fa34
cmp eax, 0x14
je 0x50fa28
cmp dword [esi + 0x114], 1
jne 0x50f9f5
cmp dword [ebp], 0x65
je 0x50fa28
cmp eax, 0xb
jl 0x50fa34
cmp byte [ebx + 0x281], 0
jne 0x50fa34
cmp dword [ebx + 0x5d4], 0
je 0x50fa34
push ebx
push esi
call fcn.00513290
add esp, 8
test al, al
jne 0x50fa34
mov eax, dword [ebx + 0x5d4]
mov dword [eax], 1
jmp 0x50fa34
mov eax, dword [ebx + 0x5d4]
mov dword [eax], 2
mov eax, dword [ebp]
sub eax, 0xcc
je 0x50fa43
sub eax, 0x64
jne 0x50fa7c
cmp dword [esi + 0x3f0], 0
je 0x50fa53
mov byte [esi + 0xc38], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov byte [esi + 0x13a], 1
cmp byte [esi + 0x13a], 0
jne 0x50fb56
cmp byte [esi + 0x527], 0
jne 0x50fb56
push 0xf
push dword [esi + 0xe8]
push str.Content_Length:
call fcn.00507250
add esp, 0xc
test eax, eax
je 0x50fb56
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0xe8]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.00513b00
add esp, 0x10
test eax, eax
jne 0x50fb20
mov edi, dword [esi + 0x4e0]
mov eax, edi
mov edx, dword [esi + 0x4e4]
or eax, edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
je 0x50fafe
cmp ecx, edx
jg 0x5104da
jl 0x50fafe
cmp eax, edi
ja 0x5104da
push ecx
push eax
push esi
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
call fcn.00511c90
add esp, 0xc
jmp 0x510073
cmp eax, 1
jne 0x5104f5
mov eax, dword [esi + 0x4e0]
or eax, dword [esi + 0x4e4]
jne 0x5104da
push 2
push ebx
call fcn.005053d0
push str.Overflow_Content_Length:_value__n
push esi
call fcn.00504920
add esp, 0x10
jmp 0x510073
push 0xd
push dword [esi + 0xe8]
push str.Content_Type:
call fcn.00507250
mov ecx, dword [esi + 0xe8]
add esp, 0xc
test eax, eax
je 0x50fbb6
push ecx
call fcn.0050f060
mov edi, eax
add esp, 4
test edi, edi
je 0x510510
cmp byte [edi], 0
jne 0x50fb9c
push edi
call dword [0x600ab4]
add esp, 4
jmp 0x510073
push dword [esi + 0xc50]
call dword [0x600ab4]
add esp, 4
mov dword [esi + 0xc50], edi
jmp 0x510073
push 7
push ecx
push str.Server:
call fcn.00507250
mov ecx, dword [ebx + 0x17c]
add esp, 0xc
test eax, eax
je 0x50fc21
cmp ecx, 0x14
jge 0x510073
push dword [esi + 0xe8]
call fcn.0050f060
mov ecx, dword [ebx + 0x5d4]
add esp, 4
mov edi, eax
test ecx, ecx
je 0x50fc12
cmp dword [ecx], 1
jne 0x50fc12
push edi
push esi
call fcn.005130a0
add esp, 8
test al, al
je 0x50fc12
mov eax, dword [ebx + 0x5d4]
mov dword [eax], 0xffffffff
push edi
call dword [0x600ab4]
add esp, 4
jmp 0x510073
cmp ecx, 0xa
jne 0x50fc66
cmp byte [ebx + 0x286], 0
je 0x50fc66
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xe8]
call fcn.0050efa0
add esp, 0xc
test al, al
je 0x50fc66
push 0
push ebx
call fcn.005053d0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.00504920
add esp, 0x10
jmp 0x510073
cmp dword [ebx + 0x17c], 0xb
jne 0x50fcaf
cmp byte [ebx + 0x286], 0
je 0x50fcaf
push str.close
push str.Proxy_Connection:
push dword [esi + 0xe8]
call fcn.0050efa0
add esp, 0xc
test al, al
je 0x50fcaf
push 1
push ebx
call fcn.005053d0
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.00504920
add esp, 0x10
jmp 0x510073
cmp dword [ebx + 0x17c], 0xa
jne 0x50fcef
push str.keep_alive
push str.Connection:
push dword [esi + 0xe8]
call fcn.0050efa0
add esp, 0xc
test al, al
je 0x50fcef
push 0
push ebx
call fcn.005053d0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.00504920
add esp, 0x10
jmp 0x510073
push str.close
push str.Connection:
push dword [esi + 0xe8]
call fcn.0050efa0
add esp, 0xc
test al, al
je 0x50fd1b
push 2
push ebx
call fcn.005053d0
add esp, 8
jmp 0x510073
push 0x12
push dword [esi + 0xe8]
push str.Transfer_Encoding:
call fcn.00507250
mov ecx, dword [esi + 0xe8]
add esp, 0xc
test eax, eax
je 0x50fd4e
push 1
lea eax, [ecx + 0x12]
push eax
push ebx
call fcn.005075a0
add esp, 0xc
jmp 0x51006b
push 0x11
push ecx
push str.Content_Encoding:
call fcn.00507250
add esp, 0xc
test eax, eax
je 0x50fd85
cmp dword [esi + 0x564], 0
je 0x50fd85
mov eax, dword [esi + 0xe8]
push 0
add eax, 0x11
push eax
push ebx
call fcn.005075a0
add esp, 0xc
jmp 0x51006b
push 0xe
push dword [esi + 0xe8]
push str.Content_Range:
call fcn.00507250
add esp, 0xc
test eax, eax
je 0x50fe3d
mov edi, dword [esi + 0xe8]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x50fdce
movzx eax, al
push eax
call fcn.005078a0
add esp, 4
test eax, eax
jne 0x50fdce
cmp byte [edi], 0x2a
je 0x50fdce
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x50fdb1
movzx eax, byte [edi]
push eax
call fcn.005078a0
add esp, 4
test eax, eax
je 0x50fe24
lea ebp, [esi + 0xf0]
push ebp
push 0xa
push 0
push edi
call fcn.00513b00
add esp, 0x10
test eax, eax
jne 0x510073
mov eax, dword [esi + 0xbb8]
cmp eax, dword [ebp]
jne 0x510073
mov eax, dword [esi + 0xbbc]
cmp eax, dword [ebp + 4]
jne 0x510073
mov byte [esi + 0xec], 1
jmp 0x510073
mov dword [esi + 0xbb8], 0
mov dword [esi + 0xbbc], 0
jmp 0x510073
cmp dword [esi + 0x6c8], 0
je 0x50fead
push 0xb
push dword [esi + 0xe8]
push str.Set_Cookie:
call fcn.00507250
add esp, 0xc
test eax, eax
je 0x50fead
push 2
push 2
push esi
call fcn.005077c0
mov eax, dword [ebx + 0x2f8]
add esp, 0xc
test eax, eax
jne 0x50fe7c
mov eax, dword [ebx + 0x9c]
push dword [esi + 0xbac]
push eax
mov eax, dword [esi + 0xe8]
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0x6c8]
push esi
call fcn.004f7880
push 2
push esi
call fcn.00507800
add esp, 0x24
jmp 0x510073
push 0xe
push dword [esi + 0xe8]
push str.Last_Modified:
call fcn.00507250
add esp, 0xc
test eax, eax
je 0x50ff2a
cmp dword [esi + 0x3f0], 0
jne 0x50fed8
cmp byte [esi + 0x4f9], 0
je 0x50ff2a
push 0
call fcn.004d6b88
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0xe8]
add eax, 0xe
mov dword [esp + 0x3c], edx
push eax
call fcn.005133a0
add esp, 0xc
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], edx
cmp byte [esi + 0x4f9], 0
je 0x510073
mov dword [esi + 0xc30], eax
mov eax, edx
mov dword [esi + 0xc34], eax
jmp 0x510073
push 0x11
push dword [esi + 0xe8]
push str.WWW_Authenticate:
call fcn.00507250
add esp, 0xc
test eax, eax
je 0x50ff51
mov edi, dword [esi + 0xf8]
cmp edi, 0x191
je 0x50ff78
push 0x13
push dword [esi + 0xe8]
push str.Proxy_authenticate:
call fcn.00507250
add esp, 0xc
test eax, eax
je 0x50ffc2
mov edi, dword [esi + 0xf8]
cmp edi, 0x197
jne 0x50ffc2
push dword [esi + 0xe8]
call fcn.0050f060
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x510510
cmp edi, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.0050f320
push ebp
mov edi, eax
call dword [0x600ab4]
add esp, 0x10
test edi, edi
je 0x510073
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0xf8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x51004d
push 9
push dword [esi + 0xe8]
push str.Location:
call fcn.00507250
add esp, 0xc
test eax, eax
je 0x51004d
cmp dword [esi + 0x13c], 0
jne 0x51004d
push dword [esi + 0xe8]
call fcn.0050f060
add esp, 4
test eax, eax
je 0x510510
cmp byte [eax], 0
jne 0x51001b
push eax
call dword [0x600ab4]
add esp, 4
jmp 0x510073
cmp byte [esi + 0x502], 0
mov dword [esi + 0x13c], eax
je 0x510073
push eax
call dword [0x600abc]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x510510
push ebx
call fcn.00510920
add esp, 4
jmp 0x51006b
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x510073
push dword [esi + 0xe8]
push ebx
call fcn.005260d0
add esp, 8
test eax, eax
jne 0x5106a3
xor eax, eax
cmp byte [esi + 0x505], al
setne al
add eax, 2
cmp byte [esi + 0x510], 0
mov dword [esp + 0x1c], eax
je 0x5100a9
push dword [esi + 0xd8]
push dword [esi + 0xe8]
push 1
push esi
call fcn.005047b0
mov eax, dword [esp + 0x2c]
add esp, 0x10
push dword [esi + 0xd8]
push dword [esi + 0xe8]
push eax
push ebx
call fcn.00504780
add esp, 0x10
test eax, eax
jne 0x5106a3
mov eax, dword [esi + 0xd8]
add dword [esi + 0xc3c], eax
mov eax, dword [esi + 0xd8]
add dword [esi + 0xa0], eax
jmp 0x510388
cmp al, 0xd
jne 0x5100f1
inc edx
mov dword [esi + 0xe8], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x5100fe
lea eax, [edx + 1]
mov dword [esi + 0xe8], eax
mov ecx, dword [esi + 0xf8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x51017d
sub ecx, 0x64
je 0x510145
sub ecx, 1
je 0x51012c
mov byte [esi + 0xc8], 1
mov dword [esi + 0xd0], 0
jmp 0x5101d8
cmp dword [esi + 0x114], 1
je 0x51051d
mov byte [esi + 0xc8], 0
jmp 0x5101d8
cmp dword [esi + 0x110], 0
mov byte [esi + 0xc8], 1
mov dword [esi + 0xd0], 0
jle 0x5101d8
or dword [esi + 0x134], 2
push 0
push esi
mov dword [esi + 0x110], 0
call fcn.004f4d40
add esp, 8
jmp 0x5101d8
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [esi + 0xc8], 0
cmp eax, 0xffffffff
jne 0x5101d8
cmp byte [esi + 0x14c], 0
jne 0x5101d8
cmp byte [ebx + 0x281], 0
jne 0x5101e1
cmp dword [ebx + 0x17c], 0xb
jne 0x5101d8
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
jne 0x5101d8
cmp dword [esi + 0x400], 6
je 0x5101d8
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.00504920
push 2
push ebx
call fcn.005053d0
add esp, 0x10
cmp byte [ebx + 0x281], 0
je 0x51021e
mov eax, dword [esi + 0xf8]
cmp eax, 0x191
jne 0x5101f9
cmp dword [ebx + 0x370], 2
je 0x510209
jmp 0x51021e
cmp eax, 0x197
jne 0x51021e
cmp dword [ebx + 0x3b0], 2
jne 0x51021e
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.00504920
add esp, 8
mov byte [esi + 0x9b4], 1
push ebx
call fcn.00510ad0
add esp, 4
test eax, eax
jne 0x510632
mov eax, dword [esi + 0x884]
mov ebp, dword [esi + 0xe8]
sub ebp, eax
push ebp
push eax
xor eax, eax
cmp byte [esi + 0x505], al
setne al
add eax, 2
push eax
push ebx
call fcn.00504780
add esp, 0x10
test eax, eax
jne 0x5106a3
add dword [esi + 0xa0], ebp
xor edx, edx
add dword [esi + 0xc3c], ebp
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0xa0]
sub eax, 0x64
cmp eax, 0x63
push ebx
cmova ecx, edx
mov dword [esi + 0xa4], ecx
call fcn.0050f130
add esp, 4
test eax, eax
jne 0x5106a3
cmp dword [esi + 0xf8], 0x12c
jl 0x51037b
cmp byte [ebx + 0x292], al
jne 0x51035d
cmp byte [ebx + 0x281], al
jne 0x51035d
cmp byte [ebx + 0x293], al
jne 0x510366
mov eax, dword [esi + 0x400]
add eax, 0xfffffffe
cmp eax, 3
ja 0x51035d
push 0
push esi
call fcn.004f4d40
add esp, 8
cmp byte [esi + 0x138], 0
jne 0x51035d
cmp byte [esi + 0x501], 0
je 0x510326
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.00504920
add esp, 8
cmp dword [esi + 0x110], 0
jle 0x51035d
or dword [esi + 0x134], 2
mov dword [esi + 0x110], 0
jmp 0x51035d
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.00504920
push 2
push ebx
call fcn.005053d0
and dword [esi + 0x134], 0xfffffffd
add esp, 0x10
mov byte [esi + 0x138], 1
cmp byte [esi + 0xba4], 0
je 0x51035d
mov dword [esi + 0x110], 3
cmp byte [ebx + 0x293], 0
je 0x51037b
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.00504920
add esp, 8
or dword [esi + 0x134], 2
cmp byte [esi + 0xc8], 0
je 0x510553
mov eax, dword [esi + 0x884]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], 0
mov edi, dword [esi + 0xdc]
cmp byte [edi], 0
je 0x5106a1
mov eax, dword [esp + 0x44]
mov dword [esi + 0xe0], edi
push dword [eax]
push 0xa
push edi
call fcn.004c3fb0
lea ebp, [esi + 0x70]
jmp 0x50f6d8
push 2
push ebx
call fcn.005053d0
mov eax, dword [esp + 0x4c]
add esp, 8
mov byte [esi + 0xc8], 0
cmp dword [eax], 0
je 0x5103f8
pop edi
mov dword [esi + 0xcc], 1
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xcc], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
pop edi
mov dword [esi + 0xdc], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Unsupported_HTTP_version_in_response_n
push esi
call fcn.00504840
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edi, dword [esi + 0xe8]
push 4
push str.HTTP
push edi
call fcn.004d6570
add esp, 0xc
test eax, eax
jne 0x510632
push 0x20
push edi
call fcn.004c3bc0
mov edi, eax
add esp, 8
test edi, edi
je 0x510632
inc edi
cmp byte [edi], 0
je 0x510632
push 0xd
push edi
mov byte [esp + 0x4c], 0xd
call fcn.004c3bc0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5104a4
push 0xa
push edi
mov byte [esp + 0x4c], 0xa
call fcn.004c3bc0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x510632
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.00504840
mov al, byte [esp + 0x50]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
mov byte [esi + 0xc8], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.00504840
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.00504840
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
push str.Received_101_n
push esi
call fcn.00504920
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, 0x28
ret
cmp byte [esi + 0x508], 0
mov edi, dword [esp + 0x48]
jne 0x5105b3
mov eax, dword [ebx + 0x2c8]
test dword [eax + 0x40], 0x40000
je 0x510586
cmp dword [esi + 0x64c], 2
jne 0x510586
cmp dword [esi + 0x74], 0xffffffff
jl 0x5105b3
jg 0x510586
cmp dword [esi + 0x70], 0xffffffff
jbe 0x5105b3
cmp byte [esi + 0x14c], 0
je 0x5105b6
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x84], 0xffffffff
jmp 0x5105b6
mov byte [edi], 1
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
cmp ecx, 0xffffffff
jne 0x5105d3
cmp eax, ecx
jne 0x5105d3
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
jmp 0x5105f0
push eax
push ecx
push esi
call fcn.00511c90
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 0x5105fd
test eax, eax
jne 0x5105fd
mov byte [edi], 1
jmp 0x510602
cmp byte [edi], 0
je 0x510609
and dword [esi + 0x134], 0xfffffffe
cmp byte [esi + 0x510], 0
je 0x5106a1
push ebp
push dword [esi + 0xe0]
push 1
push esi
call fcn.005047b0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push dword [esi + 0xf8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.00504840
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x44]
push dword [eax]
push ebp
push esi
call fcn.00510860
add esp, 0xc
test eax, eax
jne 0x5106a3
cmp dword [esi + 0xd0], eax
jne 0x5106a1
push dword [esi + 0xd8]
push dword [esi + 0x884]
push ebx
push esi
call fcn.00510760
add esp, 0x10
cmp eax, 2
jne 0x5106a1
push eax
push ebx
mov byte [esi + 0xc8], 0
mov dword [esi + 0xcc], eax
call fcn.005053d0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret