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

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp]
push esi
push edi
mov edi, dword [esp + 0x3c]
lea esi, [edi + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
mov dword [esi + 0x70], eax
mov ecx, dword [ebp]
push ecx
push 0xa
push eax
call fcn.0045e2a0
add esp, 0xc
mov dword [esi + 0x74], eax
mov ebx, edi
test eax, eax
je 0x4a9090
mov edx, dword [esi + 0x6c]
sub edx, eax
dec edx
add dword [ebp], edx
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
call fcn.004a63a0
add esp, 4
test eax, eax
jne 0x4a925d
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x934]
xor ebx, ebx
mov dword [esi + 0x78], ecx
cmp dword [esi + 0x60], ebx
jne 0x4a8434
mov ecx, dword [esi + 0x68]
mov eax, dword [edi + 0x934]
push edi
call fcn.004a6390
add esp, 4
cmp eax, 2
je 0x4a90ea
mov eax, dword [esi + 0x78]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4a8d79
cmp cl, 0xd
je 0x4a8d7e
mov ecx, dword [esi + 0x60]
lea edx, [ecx + 1]
mov dword [esi + 0x60], edx
cmp ecx, ebx
jne 0x4a8741
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x350]
mov ecx, dword [edx + 0x40]
test cl, 3
je 0x4a8572
mov ebx, dword [esp + 0x40]
lea ebp, [esi + 0x88]
push ebp
lea ecx, [esp + 0x40]
push ecx
add ebx, 0x17c
push ebx
lea edx, [esp + 0x20]
push edx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.0045e212
add esp, 0x18
cmp eax, 1
jne 0x4a84d4
cmp dword [esp + 0x14], 2
jne 0x4a9131
mov eax, dword [esi + 0x78]
push ebp
push str._HTTP_2__d
push eax
call fcn.0045e212
add esp, 0xc
cmp eax, 1
jne 0x4a9131
mov dword [ebx], 0
mov byte [esp + 0x3c], 0x20
jmp 0x4a84e4
cmp eax, 4
jne 0x4a851a
cmp byte [esp + 0x3c], 0x20
jne 0x4a9131
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [ebx], ecx
cmp dword [esi + 0xa4], 2
mov eax, dword [ebx]
jne 0x4a85e1
cmp eax, 0x14
je 0x4a85e1
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.004971e0
add esp, 8
jmp 0x4a85e1
test eax, eax
jne 0x4a9131
mov edx, dword [esi + 0x78]
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push edx
call fcn.0045e212
mov ebp, eax
add esp, 0xc
mov dword [ebx], 0xa
test ebp, ebp
jne 0x4a85e1
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x68]
push eax
mov eax, edi
call fcn.004a6320
add esp, 4
cmp eax, 1
jne 0x4a85d9
mov dword [esi + 0x88], 0xc8
mov dword [ebx], 0xa
jmp 0x4a85e1
test ecx, 0x40000
je 0x4a914c
mov ebx, dword [esp + 0x40]
lea ecx, [esi + 0x88]
push ecx
lea ecx, [esp + 0x17]
push ecx
add ebx, 0x180
push ebx
lea edx, [esp + 0x24]
push edx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.0045e212
mov ebp, eax
add esp, 0x18
cmp ebp, 4
jne 0x4a914c
cmp byte [esp + 0x13], 0x20
jne 0x4a914c
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
mov ebx, dword [esp + 0x40]
add ebx, 0x17c
mov dword [ebx], 0xb
test ebp, ebp
je 0x4a914c
mov ecx, dword [esi + 0x88]
mov eax, dword [edi + 0xc64]
mov dword [edi + 0xcf0], ecx
mov edx, dword [ebx]
mov dword [edi + 0xcf8], edx
test eax, eax
je 0x4a8603
cmp eax, dword [ebx]
jle 0x4a860b
mov eax, dword [ebx]
mov dword [edi + 0xc64], eax
mov ecx, dword [edi + 0xc88]
or ecx, dword [edi + 0xc8c]
je 0x4a865e
mov eax, 1
cmp dword [edi + 0x418], eax
jne 0x4a865e
cmp dword [esi + 0x88], 0x1a0
jne 0x4a865e
mov dword [esi + 0xcc], eax
mov ebp, dword [esp + 0x40]
mov ebx, dword [ebx]
cmp ebx, 0xa
jne 0x4a86ae
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.004971e0
push 1
push ebp
call fcn.0049c790
add esp, 0x10
jmp 0x4a8704
cmp dword [edi + 0x558], 0
je 0x4a8638
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x4a8638
mov ebp, dword [esp + 0x40]
cmp eax, 0x191
jne 0x4a8688
cmp dword [ebp + 0x2bc], 0
jne 0x4a863c
cmp eax, 0x197
jne 0x4a8698
cmp dword [ebp + 0x2c0], 0
jne 0x4a863c
push edi
call fcn.004a6450
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
cmp ebx, 0x14
je 0x4a86f8
cmp dword [esi + 0xa4], 1
jne 0x4a86c5
cmp dword [esi + 0x88], 0x65
je 0x4a86f8
cmp ebx, 0xb
jl 0x4a8704
cmp dword [ebp + 0x2a0], 0
jne 0x4a8704
cmp dword [ebp + 0x66c], 0
je 0x4a8704
push ebp
push edi
call fcn.004a9610
add esp, 8
test eax, eax
jne 0x4a8704
mov edx, dword [ebp + 0x66c]
mov dword [edx], 1
jmp 0x4a8704
mov eax, dword [ebp + 0x66c]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x4a8716
sub eax, 0x64
jne 0x4a8745
xor eax, eax
cmp dword [edi + 0x408], eax
je 0x4a872a
mov dword [edi + 0xd08], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xd0], 1
jmp 0x4a8745
mov ebp, dword [esp + 0x40]
cmp dword [esi + 0xd0], 0
jne 0x4a8813
cmp dword [edi + 0x5b8], 0
jne 0x4a8813
mov ecx, dword [esi + 0x78]
push 0xf
push ecx
push str.Content_Length:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a8813
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x28]
push edx
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004b0980
add esp, 0x10
test eax, eax
jne 0x4a87dd
mov ebx, dword [edi + 0x520]
mov edx, dword [edi + 0x524]
mov eax, dword [esp + 0x28]
mov ecx, ebx
or ecx, edx
mov ecx, dword [esp + 0x2c]
je 0x4a87c2
cmp ecx, edx
jg 0x4a915d
jl 0x4a87c2
cmp eax, ebx
ja 0x4a915d
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.004a33c0
add esp, 0xc
jmp 0x4a8d15
cmp eax, 1
jne 0x4a9178
mov edx, dword [edi + 0x520]
or edx, dword [edi + 0x524]
jne 0x4a915d
push 2
push ebp
call fcn.0049c790
push str.Overflow_Content_Length:_value__n
push edi
call fcn.004971e0
add esp, 0x10
jmp 0x4a8d15
mov eax, dword [esi + 0x78]
push 0xd
push eax
push str.Content_Type:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a886f
mov ecx, dword [esi + 0x78]
push ecx
call fcn.004a50a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a9193
cmp byte [ebx], 0
jne 0x4a8854
push ebx
call dword [0x4db00c]
add esp, 4
jmp 0x4a8d15
mov edx, dword [edi + 0xd20]
push edx
call dword [0x4db00c]
add esp, 4
mov dword [edi + 0xd20], ebx
jmp 0x4a8d15
mov eax, dword [esi + 0x78]
push 7
push eax
push str.Server:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a88d9
cmp dword [ebp + 0x17c], 0x14
jge 0x4a8d15
mov ecx, dword [esi + 0x78]
push ecx
call fcn.004a50a0
mov ebx, eax
mov eax, dword [ebp + 0x66c]
add esp, 4
test eax, eax
je 0x4a88ca
cmp dword [eax], 1
jne 0x4a88ca
push ebx
push edi
call fcn.004a9760
add esp, 8
test eax, eax
je 0x4a88ca
mov edx, dword [ebp + 0x66c]
mov dword [edx], 0xffffffff
push ebx
call dword [0x4db00c]
add esp, 4
jmp 0x4a8d15
mov ebx, 0xa
cmp dword [ebp + 0x17c], ebx
jne 0x4a8924
cmp dword [ebp + 0x2b4], 0
je 0x4a8924
mov eax, dword [esi + 0x78]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.004a5e90
add esp, 0xc
test eax, eax
je 0x4a8924
push 0
push ebp
call fcn.0049c790
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.004971e0
add esp, 0x10
jmp 0x4a8d15
cmp dword [ebp + 0x17c], 0xb
jne 0x4a896b
cmp dword [ebp + 0x2b4], 0
je 0x4a896b
mov ecx, dword [esi + 0x78]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.004a5e90
add esp, 0xc
test eax, eax
je 0x4a896b
push 1
push ebp
call fcn.0049c790
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.004971e0
add esp, 0x10
jmp 0x4a8d15
cmp dword [ebp + 0x17c], ebx
jne 0x4a89a8
mov edx, dword [esi + 0x78]
push str.keep_alive
push str.Connection:
push edx
call fcn.004a5e90
add esp, 0xc
test eax, eax
je 0x4a89a8
push 0
push ebp
call fcn.0049c790
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.004971e0
add esp, 0x10
jmp 0x4a8d15
mov eax, dword [esi + 0x78]
push str.close
push str.Connection:
push eax
call fcn.004a5e90
add esp, 0xc
test eax, eax
je 0x4a89d2
push 2
push ebp
call fcn.0049c790
add esp, 8
jmp 0x4a8d15
mov ecx, dword [esi + 0x78]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a89f4
mov edx, dword [esi + 0x78]
push 1
add edx, 0x12
push edx
jmp 0x4a8a1d
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.Content_Encoding:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a8a33
cmp dword [edi + 0x600], 0
je 0x4a8a33
mov ecx, dword [esi + 0x78]
push 0
add ecx, 0x11
push ecx
push ebp
call fcn.0049da00
add esp, 0xc
test eax, eax
jne 0x4a925d
jmp 0x4a8d15
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Content_Range:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a8ae6
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x4a8a7d
jmp 0x4a8a60
movzx eax, al
push eax
call fcn.004ac840
add esp, 4
test eax, eax
jne 0x4a8a7d
cmp byte [ebx], 0x2a
je 0x4a8a7d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4a8a60
movzx ecx, byte [ebx]
push ecx
call fcn.004ac840
add esp, 4
test eax, eax
je 0x4a8ad3
lea ebp, [esi + 0x80]
push ebp
push 0xa
push 0
push ebx
call fcn.004b0980
add esp, 0x10
test eax, eax
jne 0x4a8d15
mov edx, dword [edi + 0xc88]
cmp edx, dword [ebp]
jne 0x4a8d15
mov eax, dword [edi + 0xc8c]
cmp eax, dword [ebp + 4]
jne 0x4a8d15
mov dword [esi + 0x7c], 1
jmp 0x4a8d15
xor eax, eax
mov dword [edi + 0xc88], eax
mov dword [edi + 0xc8c], eax
jmp 0x4a8d15
cmp dword [edi + 0x778], 0
je 0x4a8b57
mov ecx, dword [esi + 0x78]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a8b57
push 2
push 2
push edi
call fcn.0049d680
mov eax, dword [ebp + 0x380]
add esp, 0xc
test eax, eax
je 0x4a8b21
mov ebp, eax
jmp 0x4a8b27
mov ebp, dword [ebp + 0x9c]
mov edx, dword [edi + 0xc70]
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x778]
push edx
push ebp
add eax, 0xb
push eax
push 0
push 1
push ecx
push edi
call fcn.0049a300
push 2
push edi
call fcn.0049d6c0
add esp, 0x24
jmp 0x4a8d15
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Last_Modified:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a8bd5
cmp dword [edi + 0x408], 0
jne 0x4a8b80
cmp dword [edi + 0x53c], 0
je 0x4a8bd5
push 0
call fcn.0045c20a
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
add ecx, 0xe
push ecx
mov dword [esp + 0x40], edx
call fcn.004b0900
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x53c], 0
je 0x4a8d15
mov edx, eax
mov dword [edi + 0xd00], edx
mov eax, dword [esi + 0xb4]
mov dword [edi + 0xd04], eax
jmp 0x4a8d15
mov ecx, dword [esi + 0x78]
push 0x11
push ecx
push str.WWW_Authenticate:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a8bf9
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x4a8c1d
mov edx, dword [esi + 0x78]
push 0x13
push edx
push str.Proxy_authenticate:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a8c6b
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x4a8c6b
mov edx, dword [esi + 0x78]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov dword [esp + 0x20], ecx
call fcn.004a50a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a9193
mov eax, dword [esp + 0x1c]
push ebx
push eax
push ebp
call fcn.004a57c0
push ebx
mov ebp, eax
call dword [0x4db00c]
add esp, 0x10
test ebp, ebp
je 0x4a8d15
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x4a8d02
cmp eax, 0x190
jge 0x4a8d02
mov ecx, dword [esi + 0x78]
push 9
push ecx
push str.Location:
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x4a8d02
cmp dword [edi + 0x144], 0
jne 0x4a8d02
mov edx, dword [esi + 0x78]
push edx
call fcn.004a50a0
add esp, 4
test eax, eax
je 0x4a9193
cmp byte [eax], 0
jne 0x4a8cc8
push eax
call dword [0x4db00c]
add esp, 4
jmp 0x4a8d15
cmp dword [edi + 0x560], 0
mov dword [edi + 0x144], eax
je 0x4a8d15
push eax
call dword [0x4db014]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x4a9193
push ebp
call fcn.004a5350
add esp, 4
test eax, eax
jne 0x4a925d
jmp 0x4a8d15
mov eax, dword [ebp + 0x350]
test dword [eax + 0x40], 0x40000
jne 0x4a91a0
cmp dword [edi + 0x56c], 0
mov ebx, 2
je 0x4a8d28
mov ebx, 3
cmp dword [edi + 0x584], 0
je 0x4a8d44
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x78]
push ecx
push edx
push 1
push edi
call fcn.00497150
add esp, 0x10
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x78]
mov edx, dword [esp + 0x40]
push eax
push ecx
push ebx
push edx
call fcn.00497670
add esp, 0x10
test eax, eax
jne 0x4a925d
mov eax, dword [esi + 0x68]
add dword [edi + 0xd0c], eax
mov ecx, dword [esi + 0x68]
add dword [edi + 0xa0], ecx
jmp 0x4a9040
cmp cl, 0xd
jne 0x4a8d82
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x4a8d8e
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x4a8ec3
cmp eax, 0xc7
jg 0x4a8ec3
sub eax, 0x64
je 0x4a8e91
mov ecx, 1
sub eax, ecx
je 0x4a8e7d
mov dword [esi + 0x58], ecx
mov dword [esi + 0x60], ebx
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x2a0], ebx
je 0x4a8e0e
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x4a8de6
cmp dword [ebp + 0x3fc], 2
je 0x4a8df6
cmp eax, 0x197
jne 0x4a8e0e
cmp dword [ebp + 0x43c], 2
jne 0x4a8e0e
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.004971e0
add esp, 8
mov dword [edi + 0xa78], 1
mov edx, ebp
call fcn.004a5a30
test eax, eax
jne 0x4a91ad
lea ecx, [eax + 2]
cmp dword [edi + 0x56c], ebx
je 0x4a8e2b
lea ecx, [eax + 3]
mov eax, dword [edi + 0x934]
mov ebx, dword [esi + 0x78]
sub ebx, eax
push ebx
push eax
push ecx
push ebp
call fcn.00497670
add esp, 0x10
test eax, eax
jne 0x4a925d
add dword [edi + 0xa0], ebx
add dword [edi + 0xd0c], ebx
mov eax, dword [esi + 0x88]
cmp eax, 0x64
mov ecx, dword [edi + 0xa0]
jl 0x4a8f38
cmp eax, 0xc7
jg 0x4a8f38
mov eax, ecx
jmp 0x4a8f3a
cmp dword [esi + 0xa4], ecx
je 0x4a9065
mov dword [esi + 0x58], ebx
jmp 0x4a8dc4
cmp dword [esi + 0xa0], ebx
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], ebx
jle 0x4a8dc4
or dword [esi + 0xc4], 2
push ebx
push edi
mov dword [esi + 0xa0], ebx
call fcn.00494aa0
add esp, 8
jmp 0x4a8dc4
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x58], ebx
cmp eax, 0xffffffff
jne 0x4a8dc4
cmp dword [esi + 0xe4], ebx
jne 0x4a8dc4
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x2a0], ebx
jne 0x4a8dd0
cmp dword [ebp + 0x17c], 0xb
jne 0x4a8dc8
mov ecx, dword [ebp + 0x350]
test dword [ecx + 0x40], 0x40000
jne 0x4a8dc8
cmp dword [edi + 0x418], 6
je 0x4a8dc8
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.004971e0
push 2
push ebp
call fcn.0049c790
add esp, 0x10
jmp 0x4a8dc8
xor eax, eax
push ebp
mov dword [edi + 0xa4], eax
call fcn.004a64f0
add esp, 4
test eax, eax
jne 0x4a925d
cmp dword [esi + 0x88], 0x12c
jl 0x4a9036
cmp dword [ebp + 0x2e4], eax
jne 0x4a9018
cmp dword [ebp + 0x2a0], eax
jne 0x4a9018
cmp dword [ebp + 0x2e8], eax
jne 0x4a9021
mov eax, dword [edi + 0x418]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4a9018
push 0
push edi
call fcn.00494aa0
add esp, 8
cmp dword [esi + 0xc8], 0
jne 0x4a9018
cmp dword [edi + 0x55c], 0
je 0x4a8fde
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.004971e0
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x4a9018
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x4a9018
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.004971e0
push 2
push ebp
call fcn.0049c790
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0xc68], 0
je 0x4a9018
mov dword [esi + 0xa0], 3
cmp dword [ebp + 0x2e8], 0
je 0x4a9036
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.004971e0
add esp, 8
or dword [esi + 0xc4], 2
cmp dword [esi + 0x58], 0
je 0x4a91cf
mov edx, dword [edi + 0x934]
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], edx
cmp byte [eax], 0
je 0x4a925b
mov ebp, dword [esp + 0x44]
jmp 0x4a83c0
push str.Received_101_n
push edi
call fcn.004971e0
add esp, 8
pop edi
mov eax, 1
mov dword [esi + 0x60], ebx
mov dword [esi + 0xa4], 2
mov dword [esi + 0x58], eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [ebp]
push eax
call fcn.004a63a0
add esp, 4
test eax, eax
jne 0x4a925d
cmp dword [esi + 0x60], eax
jne 0x4a925b
mov ecx, dword [esi + 0x68]
mov eax, dword [edi + 0x934]
push edi
call fcn.004a6390
add esp, 4
cmp eax, 2
jne 0x4a925b
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], eax
call fcn.0049c790
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x40]
push 2
push edx
call fcn.0049c790
add esp, 8
mov dword [esi + 0x58], ebx
cmp dword [ebp], ebx
je 0x4a9112
pop edi
mov dword [esi + 0x5c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x5c], 2
mov dword [ebp], eax
pop edi
mov dword [esi + 0x6c], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.00497270
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
pop edi
mov dword [esi + 0x58], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.00497270
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x28
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.00497270
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x28
ret
mov edx, dword [esi + 0x88]
push edx
push str.The_requested_URL_returned_error:__d
push edi
call fcn.00497270
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
cmp dword [edi + 0x578], 0
mov ebp, dword [esp + 0x48]
je 0x4a91e5
mov dword [ebp], 1
jmp 0x4a91fc
cmp dword [esi + 0xe4], 0
je 0x4a91fc
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x4a920a
cmp ecx, eax
je 0x4a9220
push ecx
push eax
push edi
call fcn.004a33c0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp dword [esi + 0x10], 0
jne 0x4a9235
cmp dword [esi + 0x14], 0
jne 0x4a9235
mov dword [ebp], 1
jmp 0x4a923b
cmp dword [ebp], 0
je 0x4a9242
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x584], 0
je 0x4a925b
mov edx, dword [esi + 0x70]
push ebx
push edx
push 1
push edi
call fcn.00497150
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret