Function at 0x4b5080
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x44]
mov eax, dword [ebp]
lea esi, [edi + 0x88]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x2c], eax
mov dword [esi + 0x54], eax
push dword [ebp]
push 0xa
push eax
call dword [sym.imp.MSVCRT.dll_memchr]
add esp, 0xc
mov dword [esi + 0x58], eax
test eax, eax
je 0x4b5fd4
mov ecx, dword [esi + 0x50]
sub ecx, eax
dec ecx
add dword [ebp], ecx
mov eax, dword [esi + 0x58]
inc eax
mov dword [esi + 0x50], eax
sub eax, dword [esi + 0x54]
push eax
push esi
push edi
call fcn.004b6340
add esp, 0xc
test eax, eax
jne 0x4b5e30
cmp dword [esi + 0x44], 0
mov eax, dword [esi + 0x48]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0xc00]
mov dword [esi + 0x5c], eax
jne 0x4b511a
push dword [esi + 0x4c]
push dword [edi + 0xc00]
push edi
call fcn.004b6120
add esp, 0xc
cmp eax, 2
je 0x4b5e02
mov edx, dword [esi + 0x5c]
mov al, byte [edx]
cmp al, 0xa
je 0x4b5abf
cmp al, 0xd
je 0x4b5ac3
mov ecx, dword [esi + 0x44]
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
test ecx, ecx
jne 0x4b53f9
mov eax, dword [ebx + 0x2c0]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4b526d
lea eax, [esi + 0x68]
push eax
lea eax, [esp + 0x48]
push eax
lea ebp, [ebx + 0x184]
push ebp
lea eax, [esp + 0x24]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x18
cmp eax, 1
jne 0x4b51b6
cmp dword [esp + 0x18], 2
jl 0x4b5e57
lea eax, [esi + 0x68]
push eax
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push dword [esi + 0x5c]
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 2
jne 0x4b5e57
mov dword [ebp], 0
mov byte [esp + 0x44], 0x20
jmp 0x4b51c6
cmp eax, 4
jne 0x4b5219
cmp byte [esp + 0x44], 0x20
jne 0x4b5e57
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebp], eax
cmp dword [esi + 0x78], 2
jne 0x4b51f0
cmp dword [ebp], 0x14
je 0x4b52cc
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.004a9840
add esp, 8
cmp dword [ebp], 0x14
jge 0x4b52cc
mov eax, dword [ebx + 0x544]
push str.Mark_bundle_as_not_supporting_multiuse_n
push edi
mov dword [eax], 0xffffffff
call fcn.004a9840
add esp, 8
jmp 0x4b52cc
test eax, eax
jne 0x4b5e57
lea eax, [esi + 0x68]
push eax
push str._HTTP__3d
push dword [esi + 0x5c]
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov dword [ebp], 0xa
test eax, eax
jne 0x4b52cc
push dword [esi + 0x4c]
push dword [esi + 0x5c]
push edi
call fcn.004b6120
add esp, 0xc
cmp eax, 1
jne 0x4b5e88
mov dword [esi + 0x68], 0xc8
mov dword [ebp], 0xa
jmp 0x4b52cc
test eax, 0x40000
je 0x4b5e88
lea eax, [esi + 0x68]
push eax
lea eax, [esp + 0x17]
push eax
lea ebp, [ebx + 0x188]
push ebp
lea eax, [esp + 0x28]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x18
cmp eax, 4
jne 0x4b5e88
cmp byte [esp + 0x13], 0x20
jne 0x4b5e88
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x184], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebp], eax
lea ebp, [ebx + 0x184]
mov eax, dword [esi + 0x68]
mov dword [edi + 0xe80], eax
mov eax, dword [ebp]
mov dword [edi + 0xe88], eax
mov eax, dword [edi + 0xdfc]
test eax, eax
je 0x4b52ed
cmp eax, dword [ebp]
jle 0x4b52f6
mov eax, dword [ebp]
mov dword [edi + 0xdfc], eax
mov eax, dword [edi + 0xe08]
or eax, dword [edi + 0xe0c]
je 0x4b531f
cmp dword [edi + 0x804], 1
jne 0x4b531f
cmp dword [esi + 0x68], 0x1a0
jne 0x4b531f
mov byte [esi + 0x4df], 1
jmp 0x4b535a
cmp byte [edi + 0xa87], 0
je 0x4b535a
mov eax, dword [esi + 0x68]
cmp eax, 0x190
jl 0x4b535a
cmp eax, 0x191
jne 0x4b5342
cmp byte [ebx + 0x290], 0
jne 0x4b535a
cmp eax, 0x197
jne 0x4b5e72
cmp byte [ebx + 0x291], 0
je 0x4b5e72
mov eax, dword [ebp]
cmp eax, 0xa
jne 0x4b537a
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.004a9840
push 1
push ebx
call fcn.004afe90
add esp, 0x10
jmp 0x4b5397
cmp eax, 0x14
je 0x4b538b
cmp dword [esi + 0x78], 1
jne 0x4b5397
cmp dword [esi + 0x68], 0x65
jne 0x4b5397
mov eax, dword [ebx + 0x544]
mov dword [eax], 2
mov ecx, dword [esi + 0x68]
cmp ecx, 0x64
jl 0x4b53ae
cmp ecx, 0xc8
jge 0x4b53ae
mov eax, 1
jmp 0x4b53b0
xor eax, eax
test eax, eax
setne al
mov byte [esi + 0x4e0], al
sub ecx, 0xcc
je 0x4b53d7
sub ecx, 0x64
jne 0x4b53f9
cmp dword [edi + 0x7fc], ecx
je 0x4b53d7
mov byte [edi + 0xf38], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x4e0], 1
cmp byte [esi + 0x4e0], 0
jne 0x4b54c6
cmp byte [edi + 0xa97], 0
jne 0x4b54c6
push 0xf
push dword [esi + 0x5c]
push str.Content_Length:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b54c6
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x5c]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004be750
add esp, 0x10
test eax, eax
jne 0x4b5490
mov ebp, dword [edi + 0x8e8]
mov eax, ebp
mov edx, dword [edi + 0x8ec]
or eax, edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
je 0x4b5475
cmp ecx, edx
jg 0x4b5e99
jl 0x4b5475
cmp eax, ebp
ja 0x4b5e99
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
call fcn.004b9ed0
add esp, 0xc
jmp 0x4b5a55
cmp eax, 1
jne 0x4b5eb4
mov eax, dword [edi + 0x8e8]
or eax, dword [edi + 0x8ec]
jne 0x4b5e99
push 2
push ebx
call fcn.004afe90
push str.Overflow_Content_Length:_value__n
push edi
call fcn.004a9840
add esp, 0x10
jmp 0x4b5a55
push 0xd
push dword [esi + 0x5c]
push str.Content_Type:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b5520
push dword [esi + 0x5c]
call fcn.004b49c0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4b5ecf
cmp byte [ebp], 0
jne 0x4b5506
push ebp
call dword [0x51f60c]
add esp, 4
jmp 0x4b5a55
push dword [edi + 0xeac]
call dword [0x51f60c]
add esp, 4
mov dword [edi + 0xeac], ebp
jmp 0x4b5a55
cmp dword [ebx + 0x184], 0xa
jne 0x4b5566
cmp byte [ebx + 0x28e], 0
je 0x4b5566
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x5c]
call fcn.004b48f0
add esp, 0xc
test al, al
je 0x4b5566
push 0
push ebx
call fcn.004afe90
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.004a9840
add esp, 0x10
jmp 0x4b5a55
cmp dword [ebx + 0x184], 0xb
jne 0x4b55ac
cmp byte [ebx + 0x28e], 0
je 0x4b55ac
push str.close
push str.Proxy_Connection:
push dword [esi + 0x5c]
call fcn.004b48f0
add esp, 0xc
test al, al
je 0x4b55ac
push 1
push ebx
call fcn.004afe90
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.004a9840
add esp, 0x10
jmp 0x4b5a55
cmp dword [ebx + 0x184], 0xa
jne 0x4b55e9
push str.keep_alive
push str.Connection:
push dword [esi + 0x5c]
call fcn.004b48f0
add esp, 0xc
test al, al
je 0x4b55e9
push 0
push ebx
call fcn.004afe90
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.004a9840
add esp, 0x10
jmp 0x4b5a55
push str.close
push str.Connection:
push dword [esi + 0x5c]
call fcn.004b48f0
add esp, 0xc
test al, al
je 0x4b5612
push 2
push ebx
call fcn.004afe90
add esp, 8
jmp 0x4b5a55
cmp byte [esi + 0x4e0], 0
jne 0x4b5682
push 0x12
push dword [esi + 0x5c]
push str.Transfer_Encoding:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b563b
mov eax, dword [esi + 0x5c]
push 1
add eax, 0x12
jmp 0x4b566b
cmp byte [esi + 0x4e0], 0
jne 0x4b5682
push 0x11
push dword [esi + 0x5c]
push str.Content_Encoding:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b5682
cmp dword [edi + 0x934], 0
je 0x4b5682
mov eax, dword [esi + 0x5c]
push 0
add eax, 0x11
push eax
push ebx
call fcn.004b2000
add esp, 0xc
test eax, eax
jne 0x4b5e30
jmp 0x4b5a55
push 0xc
push dword [esi + 0x5c]
push str.Retry_After:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b5710
mov eax, dword [esi + 0x5c]
add eax, 0xc
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x38], 0
call fcn.004be810
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
jne 0x4b56ef
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0x5c]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.004be750
mov edx, dword [esp + 0x44]
add esp, 0x10
mov eax, dword [esp + 0x30]
mov dword [edi + 0xeb8], eax
mov dword [edi + 0xebc], edx
jmp 0x4b5a55
push 0
call dword [0x51f758]
add esp, 4
sub ebp, eax
mov eax, ebp
cdq
mov dword [edi + 0xeb8], eax
mov dword [edi + 0xebc], edx
jmp 0x4b5a55
cmp byte [esi + 0x4e0], 0
jne 0x4b57cf
push 0xe
push dword [esi + 0x5c]
push str.Content_Range:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b57cf
mov ebp, dword [esi + 0x5c]
add ebp, 0xe
mov al, byte [ebp]
test al, al
je 0x4b5762
movzx eax, al
push eax
call fcn.004be3d0
add esp, 4
test eax, eax
jne 0x4b5762
cmp byte [ebp], 0x2a
je 0x4b5762
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x4b5744
movzx eax, byte [ebp]
push eax
call fcn.004be3d0
add esp, 4
test eax, eax
je 0x4b57b6
lea eax, [esi + 0x60]
push eax
push 0xa
push 0
push ebp
call fcn.004be750
add esp, 0x10
test eax, eax
jne 0x4b5a55
mov eax, dword [edi + 0xe08]
cmp eax, dword [esi + 0x60]
jne 0x4b5a55
mov eax, dword [edi + 0xe0c]
cmp eax, dword [esi + 0x64]
jne 0x4b5a55
mov byte [esi + 0x4dd], 1
jmp 0x4b5a55
mov dword [edi + 0xe08], 0
mov dword [edi + 0xe0c], 0
jmp 0x4b5a55
cmp dword [edi + 0xac4], 0
je 0x4b5853
cmp byte [edi + 0xe7a], 0
je 0x4b5853
push 0xb
push dword [esi + 0x5c]
push str.Set_Cookie:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b5853
push 2
push 2
push edi
call fcn.004b2420
mov ecx, dword [ebx + 0x2fc]
add esp, 0xc
test ecx, ecx
jne 0x4b5814
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x2c0]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [edi + 0xe58]
mov eax, dword [esi + 0x5c]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [edi + 0xac4]
push edi
call fcn.004a4cb0
push 2
push edi
call fcn.004b2460
add esp, 0x28
jmp 0x4b5a55
cmp byte [esi + 0x4e0], 0
jne 0x4b58b1
push 0xe
push dword [esi + 0x5c]
push str.Last_Modified:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b58b1
cmp dword [edi + 0x7fc], 0
jne 0x4b5884
cmp byte [edi + 0xa81], 0
je 0x4b58b1
mov eax, dword [esi + 0x5c]
add eax, 0xe
push eax
call fcn.004be810
add esp, 4
mov dword [esi + 0x80], eax
cmp byte [edi + 0xa81], 0
je 0x4b5a55
mov dword [edi + 0xe8c], eax
jmp 0x4b5a55
push 0x11
push dword [esi + 0x5c]
push str.WWW_Authenticate:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b58d1
mov eax, dword [esi + 0x68]
cmp eax, 0x191
je 0x4b58f1
push 0x13
push dword [esi + 0x5c]
push str.Proxy_authenticate:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b593a
mov eax, dword [esi + 0x68]
cmp eax, 0x197
jne 0x4b593a
push dword [esi + 0x5c]
cmp eax, 0x197
sete byte [esp + 0x24]
call fcn.004b49c0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4b5ecf
push ebp
push dword [esp + 0x24]
push ebx
call fcn.004b4d30
push ebp
mov dword [esp + 0x34], eax
call dword [0x51f60c]
mov eax, dword [esp + 0x34]
add esp, 0x10
test eax, eax
jne 0x4b5e30
jmp 0x4b5a55
push 0xf
push dword [esi + 0x5c]
push str.Persistent_Auth
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b59b0
cmp dword [edi + 0xc84], 4
jne 0x4b5a55
push dword [esi + 0x5c]
call fcn.004b49c0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4b5ecf
push 5
push ebp
push str.false
call fcn.004b2410
test eax, eax
mov byte [ebx + 0x429], 1
push ebp
setne al
mov byte [ebx + 0x428], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push edi
call fcn.004a9840
push ebp
call dword [0x51f60c]
add esp, 0x20
jmp 0x4b5a55
mov eax, dword [esi + 0x68]
cmp eax, 0x12c
jl 0x4b5a42
cmp eax, 0x190
jge 0x4b5a42
push 9
push dword [esi + 0x5c]
push str.Location:
call fcn.004b2410
add esp, 0xc
test eax, eax
je 0x4b5a42
cmp dword [edi + 0x118], 0
jne 0x4b5a42
push dword [esi + 0x5c]
call fcn.004b49c0
add esp, 4
test eax, eax
je 0x4b5ecf
cmp byte [eax], 0
jne 0x4b5a08
push eax
call dword [0x51f60c]
add esp, 4
jmp 0x4b5a55
cmp byte [edi + 0xa89], 0
mov dword [edi + 0x118], eax
je 0x4b5a55
push eax
call dword [0x51f614]
add esp, 4
mov dword [edi + 0x11c], eax
test eax, eax
je 0x4b5ecf
push ebx
call fcn.004b6550
add esp, 4
test eax, eax
jne 0x4b5e30
jmp 0x4b5a55
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x40], 0x40000
jne 0x4b5edc
cmp byte [edi + 0xa8c], 0
mov ebp, 2
je 0x4b5a68
mov ebp, 3
cmp byte [edi + 0xa91], 0
je 0x4b5a82
push dword [esi + 0x4c]
push dword [esi + 0x5c]
push 1
push edi
call fcn.004a96f0
add esp, 0x10
push dword [esi + 0x4c]
push dword [esi + 0x5c]
push ebp
push ebx
call fcn.004a96c0
add esp, 0x10
test eax, eax
jne 0x4b5e30
mov eax, dword [esi + 0x4c]
cdq
add dword [edi + 0xe90], eax
adc dword [edi + 0xe94], edx
mov eax, dword [esi + 0x4c]
cdq
add dword [edi + 0xa8], eax
adc dword [edi + 0xac], edx
jmp 0x4b5de1
cmp al, 0xd
jne 0x4b5ac9
lea eax, [edx + 1]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0xa
jne 0x4b5ad5
inc eax
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x68]
cmp eax, 0x64
jl 0x4b5b44
cmp eax, 0xc7
jg 0x4b5b44
sub eax, 0x64
je 0x4b5b15
dec eax
je 0x4b5aff
mov byte [esi + 0x4dc], 1
mov dword [esi + 0x44], 0
jmp 0x4b5b9e
cmp dword [esi + 0x78], 1
je 0x4b5ee9
mov byte [esi + 0x4dc], 0
jmp 0x4b5b9e
cmp dword [esi + 0x74], 0
mov byte [esi + 0x4dc], 1
mov dword [esi + 0x44], 0
jle 0x4b5b9e
or dword [esi + 0x8c], 2
push 0
push edi
mov dword [esi + 0x74], 0
call fcn.004aa280
add esp, 8
jmp 0x4b5b9e
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x4dc], 0
cmp eax, 0xffffffff
jne 0x4b5b9e
cmp byte [esi + 0x4e1], 0
jne 0x4b5b9e
cmp byte [ebx + 0x288], 0
jne 0x4b5ba7
cmp dword [ebx + 0x184], 0xb
jne 0x4b5b9e
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x40], 0x40000
jne 0x4b5b9e
cmp dword [edi + 0x804], 6
je 0x4b5b9e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.004a9840
push 2
push ebx
call fcn.004afe90
add esp, 0x10
cmp byte [ebx + 0x288], 0
je 0x4b5c26
mov eax, dword [edi + 0xf0]
cmp eax, 0x191
jne 0x4b5bbd
cmp dword [ebx + 0x358], 2
je 0x4b5bcd
cmp eax, 0x197
jne 0x4b5be2
cmp dword [ebx + 0x35c], 2
jne 0x4b5be2
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.004a9840
add esp, 8
mov byte [edi + 0xe71], 1
cmp byte [ebx + 0x288], 0
je 0x4b5c26
mov eax, dword [edi + 0xf0]
cmp eax, 0x191
jne 0x4b5c01
cmp dword [ebx + 0x3e0], 1
je 0x4b5c11
cmp eax, 0x197
jne 0x4b5c26
cmp dword [ebx + 0x3e4], 1
jne 0x4b5c26
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.004a9840
add esp, 8
mov byte [edi + 0xe71], 1
cmp dword [ebx + 0x3e0], 3
jne 0x4b5c45
cmp dword [edi + 0xf0], 0x191
je 0x4b5c45
mov dword [ebx + 0x3e0], 4
cmp dword [ebx + 0x3e4], 3
jne 0x4b5c64
cmp dword [edi + 0xf0], 0x197
je 0x4b5c64
mov dword [ebx + 0x3e4], 4
push ebx
call fcn.004b6770
add esp, 4
test eax, eax
jne 0x4b5fb6
lea ecx, [eax + 2]
cmp byte [edi + 0xa8c], al
je 0x4b5c83
lea ecx, [eax + 3]
mov eax, dword [edi + 0xc00]
mov ebp, dword [esi + 0x5c]
sub ebp, eax
push ebp
push eax
push ecx
push ebx
call fcn.004a96c0
add esp, 0x10
test eax, eax
jne 0x4b5e30
mov eax, ebp
cdq
add dword [edi + 0xe90], eax
adc dword [edi + 0xe94], edx
add dword [edi + 0xa8], eax
adc dword [edi + 0xac], edx
mov eax, dword [esi + 0x68]
cmp eax, 0x64
jl 0x4b5cda
cmp eax, 0xc7
jg 0x4b5cda
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xac]
jmp 0x4b5cde
xor eax, eax
xor ecx, ecx
push ebx
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], ecx
call fcn.004b4a80
add esp, 4
test eax, eax
jne 0x4b5e30
cmp dword [esi + 0x68], 0x12c
jl 0x4b5dd4
cmp byte [ebx + 0x298], al
jne 0x4b5db6
cmp byte [ebx + 0x288], al
jne 0x4b5db6
cmp byte [ebx + 0x299], al
jne 0x4b5dbf
mov eax, dword [edi + 0x804]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4b5db6
push 0
push edi
call fcn.004aa280
add esp, 8
cmp byte [esi + 0x4de], 0
jne 0x4b5db6
cmp byte [edi + 0xa88], 0
je 0x4b5d7b
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.004a9840
add esp, 8
cmp dword [esi + 0x74], 0
jle 0x4b5db6
or dword [esi + 0x8c], 2
mov dword [esi + 0x74], 0
jmp 0x4b5db6
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.004a9840
push 2
push ebx
call fcn.004afe90
push esi
push ebx
call fcn.004c4280
add esp, 0x18
test eax, eax
jne 0x4b5e30
mov byte [esi + 0x4de], 1
cmp byte [edi + 0xe74], al
je 0x4b5db6
mov dword [esi + 0x74], 3
cmp byte [ebx + 0x299], 0
je 0x4b5dd4
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.004a9840
add esp, 8
or dword [esi + 0x8c], 2
cmp byte [esi + 0x4dc], 0
je 0x4b5f19
mov eax, dword [edi + 0xc00]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x4c], 0
cmp byte [eax], 0
je 0x4b5e2e
mov ebp, dword [esp + 0x4c]
jmp 0x4b50a7
push 2
push ebx
call fcn.004afe90
add esp, 8
cmp byte [edi + 0xaad], 0
je 0x4b602e
mov byte [esi + 0x4dc], 0
cmp dword [ebp], 0
je 0x4b5e38
mov dword [esi + 0x40], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x28]
mov dword [esi + 0x40], 2
mov dword [ebp], eax
mov eax, dword [esp + 0x2c]
pop edi
mov dword [esi + 0x50], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Unsupported_HTTP_version_in_response
push edi
call fcn.004a9780
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push edi
call fcn.004b6a00
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
mov byte [esi + 0x4dc], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.004a9780
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.004a9780
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x30
ret
push str.Received_101_n
push edi
call fcn.004a9840
add esp, 8
mov dword [esi + 0x78], 2
mov byte [esi + 0x4dc], 1
mov eax, 1
mov dword [esi + 0x44], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
cmp byte [edi + 0xa8f], 0
mov ebx, dword [esp + 0x50]
je 0x4b5f2b
mov byte [ebx], 1
jmp 0x4b5f4f
cmp byte [esi + 0x4e1], 0
je 0x4b5f4f
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x4b5f5d
cmp eax, ecx
je 0x4b5f73
push eax
push ecx
push edi
call fcn.004b9ed0
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
jne 0x4b5f84
cmp dword [esi + 0xc], 0
jne 0x4b5f84
mov byte [ebx], 1
jmp 0x4b5f89
cmp byte [ebx], 0
je 0x4b5f90
and dword [esi + 0x8c], 0xfffffffe
cmp byte [edi + 0xa91], 0
je 0x4b5e2e
push ebp
push dword [esi + 0x54]
push 1
push edi
call fcn.004a96f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [esi + 0x68]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.004a9780
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [ebp]
push esi
push edi
call fcn.004b6340
add esp, 0xc
test eax, eax
jne 0x4b5e30
cmp dword [esi + 0x44], eax
jne 0x4b5e2e
push dword [esi + 0x4c]
push dword [edi + 0xc00]
push edi
call fcn.004b6120
add esp, 0xc
cmp eax, 2
jne 0x4b5e2e
push eax
push ebx
mov byte [esi + 0x4dc], 0
mov dword [esi + 0x40], eax
call fcn.004afe90
add esp, 8
cmp byte [edi + 0xaad], 0
jne 0x4b5e2e
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.004a9780
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret