Function at 0x4a8340
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.0045e250
add esp, 0xc
mov dword [esi + 0x74], eax
mov ebx, edi
test eax, eax
je 0x4a9030
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.004a6340
add esp, 4
test eax, eax
jne 0x4a91fd
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 0x4a83d4
mov ecx, dword [esi + 0x68]
mov eax, dword [edi + 0x934]
push edi
call fcn.004a6330
add esp, 4
cmp eax, 2
je 0x4a908a
mov eax, dword [esi + 0x78]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4a8d19
cmp cl, 0xd
je 0x4a8d1e
mov ecx, dword [esi + 0x60]
lea edx, [ecx + 1]
mov dword [esi + 0x60], edx
cmp ecx, ebx
jne 0x4a86e1
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x350]
mov ecx, dword [edx + 0x40]
test cl, 3
je 0x4a8512
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.0045e1c2
add esp, 0x18
cmp eax, 1
jne 0x4a8474
cmp dword [esp + 0x14], 2
jne 0x4a90d1
mov eax, dword [esi + 0x78]
push ebp
push str._HTTP_2__d
push eax
call fcn.0045e1c2
add esp, 0xc
cmp eax, 1
jne 0x4a90d1
mov dword [ebx], 0
mov byte [esp + 0x3c], 0x20
jmp 0x4a8484
cmp eax, 4
jne 0x4a84ba
cmp byte [esp + 0x3c], 0x20
jne 0x4a90d1
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 0x4a8581
cmp eax, 0x14
je 0x4a8581
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.00497180
add esp, 8
jmp 0x4a8581
test eax, eax
jne 0x4a90d1
mov edx, dword [esi + 0x78]
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push edx
call fcn.0045e1c2
mov ebp, eax
add esp, 0xc
mov dword [ebx], 0xa
test ebp, ebp
jne 0x4a8581
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x68]
push eax
mov eax, edi
call fcn.004a62c0
add esp, 4
cmp eax, 1
jne 0x4a8579
mov dword [esi + 0x88], 0xc8
mov dword [ebx], 0xa
jmp 0x4a8581
test ecx, 0x40000
je 0x4a90ec
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.0045e1c2
mov ebp, eax
add esp, 0x18
cmp ebp, 4
jne 0x4a90ec
cmp byte [esp + 0x13], 0x20
jne 0x4a90ec
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 0x4a90ec
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 0x4a85a3
cmp eax, dword [ebx]
jle 0x4a85ab
mov eax, dword [ebx]
mov dword [edi + 0xc64], eax
mov ecx, dword [edi + 0xc88]
or ecx, dword [edi + 0xc8c]
je 0x4a85fe
mov eax, 1
cmp dword [edi + 0x418], eax
jne 0x4a85fe
cmp dword [esi + 0x88], 0x1a0
jne 0x4a85fe
mov dword [esi + 0xcc], eax
mov ebp, dword [esp + 0x40]
mov ebx, dword [ebx]
cmp ebx, 0xa
jne 0x4a864e
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.00497180
push 1
push ebp
call fcn.0049c740
add esp, 0x10
jmp 0x4a86a4
cmp dword [edi + 0x558], 0
je 0x4a85d8
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x4a85d8
mov ebp, dword [esp + 0x40]
cmp eax, 0x191
jne 0x4a8628
cmp dword [ebp + 0x2bc], 0
jne 0x4a85dc
cmp eax, 0x197
jne 0x4a8638
cmp dword [ebp + 0x2c0], 0
jne 0x4a85dc
push edi
call fcn.004a63f0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
cmp ebx, 0x14
je 0x4a8698
cmp dword [esi + 0xa4], 1
jne 0x4a8665
cmp dword [esi + 0x88], 0x65
je 0x4a8698
cmp ebx, 0xb
jl 0x4a86a4
cmp dword [ebp + 0x2a0], 0
jne 0x4a86a4
cmp dword [ebp + 0x66c], 0
je 0x4a86a4
push ebp
push edi
call fcn.004a95b0
add esp, 8
test eax, eax
jne 0x4a86a4
mov edx, dword [ebp + 0x66c]
mov dword [edx], 1
jmp 0x4a86a4
mov eax, dword [ebp + 0x66c]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x4a86b6
sub eax, 0x64
jne 0x4a86e5
xor eax, eax
cmp dword [edi + 0x408], eax
je 0x4a86ca
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 0x4a86e5
mov ebp, dword [esp + 0x40]
cmp dword [esi + 0xd0], 0
jne 0x4a87b3
cmp dword [edi + 0x5b8], 0
jne 0x4a87b3
mov ecx, dword [esi + 0x78]
push 0xf
push ecx
push str.Content_Length:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a87b3
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x28]
push edx
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004b0920
add esp, 0x10
test eax, eax
jne 0x4a877d
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 0x4a8762
cmp ecx, edx
jg 0x4a90fd
jl 0x4a8762
cmp eax, ebx
ja 0x4a90fd
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.004a3360
add esp, 0xc
jmp 0x4a8cb5
cmp eax, 1
jne 0x4a9118
mov edx, dword [edi + 0x520]
or edx, dword [edi + 0x524]
jne 0x4a90fd
push 2
push ebp
call fcn.0049c740
push str.Overflow_Content_Length:_value__n
push edi
call fcn.00497180
add esp, 0x10
jmp 0x4a8cb5
mov eax, dword [esi + 0x78]
push 0xd
push eax
push str.Content_Type:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a880f
mov ecx, dword [esi + 0x78]
push ecx
call fcn.004a5040
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a9133
cmp byte [ebx], 0
jne 0x4a87f4
push ebx
call dword [0x4db00c]
add esp, 4
jmp 0x4a8cb5
mov edx, dword [edi + 0xd20]
push edx
call dword [0x4db00c]
add esp, 4
mov dword [edi + 0xd20], ebx
jmp 0x4a8cb5
mov eax, dword [esi + 0x78]
push 7
push eax
push str.Server:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a8879
cmp dword [ebp + 0x17c], 0x14
jge 0x4a8cb5
mov ecx, dword [esi + 0x78]
push ecx
call fcn.004a5040
mov ebx, eax
mov eax, dword [ebp + 0x66c]
add esp, 4
test eax, eax
je 0x4a886a
cmp dword [eax], 1
jne 0x4a886a
push ebx
push edi
call fcn.004a9700
add esp, 8
test eax, eax
je 0x4a886a
mov edx, dword [ebp + 0x66c]
mov dword [edx], 0xffffffff
push ebx
call dword [0x4db00c]
add esp, 4
jmp 0x4a8cb5
mov ebx, 0xa
cmp dword [ebp + 0x17c], ebx
jne 0x4a88c4
cmp dword [ebp + 0x2b4], 0
je 0x4a88c4
mov eax, dword [esi + 0x78]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.004a5e30
add esp, 0xc
test eax, eax
je 0x4a88c4
push 0
push ebp
call fcn.0049c740
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.00497180
add esp, 0x10
jmp 0x4a8cb5
cmp dword [ebp + 0x17c], 0xb
jne 0x4a890b
cmp dword [ebp + 0x2b4], 0
je 0x4a890b
mov ecx, dword [esi + 0x78]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.004a5e30
add esp, 0xc
test eax, eax
je 0x4a890b
push 1
push ebp
call fcn.0049c740
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.00497180
add esp, 0x10
jmp 0x4a8cb5
cmp dword [ebp + 0x17c], ebx
jne 0x4a8948
mov edx, dword [esi + 0x78]
push str.keep_alive
push str.Connection:
push edx
call fcn.004a5e30
add esp, 0xc
test eax, eax
je 0x4a8948
push 0
push ebp
call fcn.0049c740
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.00497180
add esp, 0x10
jmp 0x4a8cb5
mov eax, dword [esi + 0x78]
push str.close
push str.Connection:
push eax
call fcn.004a5e30
add esp, 0xc
test eax, eax
je 0x4a8972
push 2
push ebp
call fcn.0049c740
add esp, 8
jmp 0x4a8cb5
mov ecx, dword [esi + 0x78]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a8994
mov edx, dword [esi + 0x78]
push 1
add edx, 0x12
push edx
jmp 0x4a89bd
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.Content_Encoding:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a89d3
cmp dword [edi + 0x600], 0
je 0x4a89d3
mov ecx, dword [esi + 0x78]
push 0
add ecx, 0x11
push ecx
push ebp
call fcn.0049d9b0
add esp, 0xc
test eax, eax
jne 0x4a91fd
jmp 0x4a8cb5
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Content_Range:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a8a86
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x4a8a1d
jmp 0x4a8a00
movzx eax, al
push eax
call fcn.004ac7e0
add esp, 4
test eax, eax
jne 0x4a8a1d
cmp byte [ebx], 0x2a
je 0x4a8a1d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4a8a00
movzx ecx, byte [ebx]
push ecx
call fcn.004ac7e0
add esp, 4
test eax, eax
je 0x4a8a73
lea ebp, [esi + 0x80]
push ebp
push 0xa
push 0
push ebx
call fcn.004b0920
add esp, 0x10
test eax, eax
jne 0x4a8cb5
mov edx, dword [edi + 0xc88]
cmp edx, dword [ebp]
jne 0x4a8cb5
mov eax, dword [edi + 0xc8c]
cmp eax, dword [ebp + 4]
jne 0x4a8cb5
mov dword [esi + 0x7c], 1
jmp 0x4a8cb5
xor eax, eax
mov dword [edi + 0xc88], eax
mov dword [edi + 0xc8c], eax
jmp 0x4a8cb5
cmp dword [edi + 0x778], 0
je 0x4a8af7
mov ecx, dword [esi + 0x78]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a8af7
push 2
push 2
push edi
call fcn.0049d630
mov eax, dword [ebp + 0x380]
add esp, 0xc
test eax, eax
je 0x4a8ac1
mov ebp, eax
jmp 0x4a8ac7
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.0049a2b0
push 2
push edi
call fcn.0049d670
add esp, 0x24
jmp 0x4a8cb5
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Last_Modified:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a8b75
cmp dword [edi + 0x408], 0
jne 0x4a8b20
cmp dword [edi + 0x53c], 0
je 0x4a8b75
push 0
call fcn.0045c1ba
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.004b08a0
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x53c], 0
je 0x4a8cb5
mov edx, eax
mov dword [edi + 0xd00], edx
mov eax, dword [esi + 0xb4]
mov dword [edi + 0xd04], eax
jmp 0x4a8cb5
mov ecx, dword [esi + 0x78]
push 0x11
push ecx
push str.WWW_Authenticate:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a8b99
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x4a8bbd
mov edx, dword [esi + 0x78]
push 0x13
push edx
push str.Proxy_authenticate:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a8c0b
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x4a8c0b
mov edx, dword [esi + 0x78]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov dword [esp + 0x20], ecx
call fcn.004a5040
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a9133
mov eax, dword [esp + 0x1c]
push ebx
push eax
push ebp
call fcn.004a5760
push ebx
mov ebp, eax
call dword [0x4db00c]
add esp, 0x10
test ebp, ebp
je 0x4a8cb5
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x4a8ca2
cmp eax, 0x190
jge 0x4a8ca2
mov ecx, dword [esi + 0x78]
push 9
push ecx
push str.Location:
call fcn.0049d380
add esp, 0xc
test eax, eax
je 0x4a8ca2
cmp dword [edi + 0x144], 0
jne 0x4a8ca2
mov edx, dword [esi + 0x78]
push edx
call fcn.004a5040
add esp, 4
test eax, eax
je 0x4a9133
cmp byte [eax], 0
jne 0x4a8c68
push eax
call dword [0x4db00c]
add esp, 4
jmp 0x4a8cb5
cmp dword [edi + 0x560], 0
mov dword [edi + 0x144], eax
je 0x4a8cb5
push eax
call dword [0x4db014]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x4a9133
push ebp
call fcn.004a52f0
add esp, 4
test eax, eax
jne 0x4a91fd
jmp 0x4a8cb5
mov eax, dword [ebp + 0x350]
test dword [eax + 0x40], 0x40000
jne 0x4a9140
cmp dword [edi + 0x56c], 0
mov ebx, 2
je 0x4a8cc8
mov ebx, 3
cmp dword [edi + 0x584], 0
je 0x4a8ce4
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x78]
push ecx
push edx
push 1
push edi
call fcn.004970f0
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.00497610
add esp, 0x10
test eax, eax
jne 0x4a91fd
mov eax, dword [esi + 0x68]
add dword [edi + 0xd0c], eax
mov ecx, dword [esi + 0x68]
add dword [edi + 0xa0], ecx
jmp 0x4a8fe0
cmp cl, 0xd
jne 0x4a8d22
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x4a8d2e
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x4a8e63
cmp eax, 0xc7
jg 0x4a8e63
sub eax, 0x64
je 0x4a8e31
mov ecx, 1
sub eax, ecx
je 0x4a8e1d
mov dword [esi + 0x58], ecx
mov dword [esi + 0x60], ebx
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x2a0], ebx
je 0x4a8dae
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x4a8d86
cmp dword [ebp + 0x3fc], 2
je 0x4a8d96
cmp eax, 0x197
jne 0x4a8dae
cmp dword [ebp + 0x43c], 2
jne 0x4a8dae
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.00497180
add esp, 8
mov dword [edi + 0xa78], 1
mov edx, ebp
call fcn.004a59d0
test eax, eax
jne 0x4a914d
lea ecx, [eax + 2]
cmp dword [edi + 0x56c], ebx
je 0x4a8dcb
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.00497610
add esp, 0x10
test eax, eax
jne 0x4a91fd
add dword [edi + 0xa0], ebx
add dword [edi + 0xd0c], ebx
mov eax, dword [esi + 0x88]
cmp eax, 0x64
mov ecx, dword [edi + 0xa0]
jl 0x4a8ed8
cmp eax, 0xc7
jg 0x4a8ed8
mov eax, ecx
jmp 0x4a8eda
cmp dword [esi + 0xa4], ecx
je 0x4a9005
mov dword [esi + 0x58], ebx
jmp 0x4a8d64
cmp dword [esi + 0xa0], ebx
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], ebx
jle 0x4a8d64
or dword [esi + 0xc4], 2
push ebx
push edi
mov dword [esi + 0xa0], ebx
call fcn.00494a50
add esp, 8
jmp 0x4a8d64
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x58], ebx
cmp eax, 0xffffffff
jne 0x4a8d64
cmp dword [esi + 0xe4], ebx
jne 0x4a8d64
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x2a0], ebx
jne 0x4a8d70
cmp dword [ebp + 0x17c], 0xb
jne 0x4a8d68
mov ecx, dword [ebp + 0x350]
test dword [ecx + 0x40], 0x40000
jne 0x4a8d68
cmp dword [edi + 0x418], 6
je 0x4a8d68
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.00497180
push 2
push ebp
call fcn.0049c740
add esp, 0x10
jmp 0x4a8d68
xor eax, eax
push ebp
mov dword [edi + 0xa4], eax
call fcn.004a6490
add esp, 4
test eax, eax
jne 0x4a91fd
cmp dword [esi + 0x88], 0x12c
jl 0x4a8fd6
cmp dword [ebp + 0x2e4], eax
jne 0x4a8fb8
cmp dword [ebp + 0x2a0], eax
jne 0x4a8fb8
cmp dword [ebp + 0x2e8], eax
jne 0x4a8fc1
mov eax, dword [edi + 0x418]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4a8fb8
push 0
push edi
call fcn.00494a50
add esp, 8
cmp dword [esi + 0xc8], 0
jne 0x4a8fb8
cmp dword [edi + 0x55c], 0
je 0x4a8f7e
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.00497180
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x4a8fb8
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x4a8fb8
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.00497180
push 2
push ebp
call fcn.0049c740
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0xc68], 0
je 0x4a8fb8
mov dword [esi + 0xa0], 3
cmp dword [ebp + 0x2e8], 0
je 0x4a8fd6
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.00497180
add esp, 8
or dword [esi + 0xc4], 2
cmp dword [esi + 0x58], 0
je 0x4a916f
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 0x4a91fb
mov ebp, dword [esp + 0x44]
jmp 0x4a8360
push str.Received_101_n
push edi
call fcn.00497180
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.004a6340
add esp, 4
test eax, eax
jne 0x4a91fd
cmp dword [esi + 0x60], eax
jne 0x4a91fb
mov ecx, dword [esi + 0x68]
mov eax, dword [edi + 0x934]
push edi
call fcn.004a6330
add esp, 4
cmp eax, 2
jne 0x4a91fb
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], eax
call fcn.0049c740
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.0049c740
add esp, 8
mov dword [esi + 0x58], ebx
cmp dword [ebp], ebx
je 0x4a90b2
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.00497210
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.00497210
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.00497210
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.00497210
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 0x4a9185
mov dword [ebp], 1
jmp 0x4a919c
cmp dword [esi + 0xe4], 0
je 0x4a919c
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 0x4a91aa
cmp ecx, eax
je 0x4a91c0
push ecx
push eax
push edi
call fcn.004a3360
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 0x4a91d5
cmp dword [esi + 0x14], 0
jne 0x4a91d5
mov dword [ebp], 1
jmp 0x4a91db
cmp dword [ebp], 0
je 0x4a91e2
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x584], 0
je 0x4a91fb
mov edx, dword [esi + 0x70]
push ebx
push edx
push 1
push edi
call fcn.004970f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret