Function at 0x49fa70
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.00454b60
add esp, 0xc
mov dword [esi + 0x74], eax
mov ebx, edi
test eax, eax
je 0x4a0760
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.0049da60
add esp, 4
test eax, eax
jne 0x4a092d
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 0x49fb04
mov ecx, dword [esi + 0x68]
mov eax, dword [edi + 0x934]
push edi
call fcn.0049da50
add esp, 4
cmp eax, 2
je 0x4a07ba
mov eax, dword [esi + 0x78]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4a0449
cmp cl, 0xd
je 0x4a044e
mov ecx, dword [esi + 0x60]
lea edx, [ecx + 1]
mov dword [esi + 0x60], edx
cmp ecx, ebx
jne 0x49fe11
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x350]
mov ecx, dword [edx + 0x40]
test cl, 3
je 0x49fc42
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.00454ad2
add esp, 0x18
cmp eax, 1
jne 0x49fba4
cmp dword [esp + 0x14], 2
jne 0x4a0801
mov eax, dword [esi + 0x78]
push ebp
push str._HTTP_2__d
push eax
call fcn.00454ad2
add esp, 0xc
cmp eax, 1
jne 0x4a0801
mov dword [ebx], 0
mov byte [esp + 0x3c], 0x20
jmp 0x49fbb4
cmp eax, 4
jne 0x49fbea
cmp byte [esp + 0x3c], 0x20
jne 0x4a0801
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 0x49fcb1
cmp eax, 0x14
je 0x49fcb1
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.0048e8b0
add esp, 8
jmp 0x49fcb1
test eax, eax
jne 0x4a0801
mov edx, dword [esi + 0x78]
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push edx
call fcn.00454ad2
mov ebp, eax
add esp, 0xc
mov dword [ebx], 0xa
test ebp, ebp
jne 0x49fcb1
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x68]
push eax
mov eax, edi
call fcn.0049d9e0
add esp, 4
cmp eax, 1
jne 0x49fca9
mov dword [esi + 0x88], 0xc8
mov dword [ebx], 0xa
jmp 0x49fcb1
test ecx, 0x40000
je 0x4a081c
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.00454ad2
mov ebp, eax
add esp, 0x18
cmp ebp, 4
jne 0x4a081c
cmp byte [esp + 0x13], 0x20
jne 0x4a081c
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 0x4a081c
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 0x49fcd3
cmp eax, dword [ebx]
jle 0x49fcdb
mov eax, dword [ebx]
mov dword [edi + 0xc64], eax
mov ecx, dword [edi + 0xc88]
or ecx, dword [edi + 0xc8c]
je 0x49fd2e
mov eax, 1
cmp dword [edi + 0x418], eax
jne 0x49fd2e
cmp dword [esi + 0x88], 0x1a0
jne 0x49fd2e
mov dword [esi + 0xcc], eax
mov ebp, dword [esp + 0x40]
mov ebx, dword [ebx]
cmp ebx, 0xa
jne 0x49fd7e
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.0048e8b0
push 1
push ebp
call fcn.00493e60
add esp, 0x10
jmp 0x49fdd4
cmp dword [edi + 0x558], 0
je 0x49fd08
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x49fd08
mov ebp, dword [esp + 0x40]
cmp eax, 0x191
jne 0x49fd58
cmp dword [ebp + 0x2bc], 0
jne 0x49fd0c
cmp eax, 0x197
jne 0x49fd68
cmp dword [ebp + 0x2c0], 0
jne 0x49fd0c
push edi
call fcn.0049db10
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
cmp ebx, 0x14
je 0x49fdc8
cmp dword [esi + 0xa4], 1
jne 0x49fd95
cmp dword [esi + 0x88], 0x65
je 0x49fdc8
cmp ebx, 0xb
jl 0x49fdd4
cmp dword [ebp + 0x2a0], 0
jne 0x49fdd4
cmp dword [ebp + 0x66c], 0
je 0x49fdd4
push ebp
push edi
call fcn.004a0ce0
add esp, 8
test eax, eax
jne 0x49fdd4
mov edx, dword [ebp + 0x66c]
mov dword [edx], 1
jmp 0x49fdd4
mov eax, dword [ebp + 0x66c]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x49fde6
sub eax, 0x64
jne 0x49fe15
xor eax, eax
cmp dword [edi + 0x408], eax
je 0x49fdfa
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 0x49fe15
mov ebp, dword [esp + 0x40]
cmp dword [esi + 0xd0], 0
jne 0x49fee3
cmp dword [edi + 0x5b8], 0
jne 0x49fee3
mov ecx, dword [esi + 0x78]
push 0xf
push ecx
push str.Content_Length:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x49fee3
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x28]
push edx
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004a8050
add esp, 0x10
test eax, eax
jne 0x49fead
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 0x49fe92
cmp ecx, edx
jg 0x4a082d
jl 0x49fe92
cmp eax, ebx
ja 0x4a082d
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.0049aa80
add esp, 0xc
jmp 0x4a03e5
cmp eax, 1
jne 0x4a0848
mov edx, dword [edi + 0x520]
or edx, dword [edi + 0x524]
jne 0x4a082d
push 2
push ebp
call fcn.00493e60
push str.Overflow_Content_Length:_value__n
push edi
call fcn.0048e8b0
add esp, 0x10
jmp 0x4a03e5
mov eax, dword [esi + 0x78]
push 0xd
push eax
push str.Content_Type:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x49ff3f
mov ecx, dword [esi + 0x78]
push ecx
call fcn.0049c760
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a0863
cmp byte [ebx], 0
jne 0x49ff24
push ebx
call dword [0x4d2024]
add esp, 4
jmp 0x4a03e5
mov edx, dword [edi + 0xd20]
push edx
call dword [0x4d2024]
add esp, 4
mov dword [edi + 0xd20], ebx
jmp 0x4a03e5
mov eax, dword [esi + 0x78]
push 7
push eax
push str.Server:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x49ffa9
cmp dword [ebp + 0x17c], 0x14
jge 0x4a03e5
mov ecx, dword [esi + 0x78]
push ecx
call fcn.0049c760
mov ebx, eax
mov eax, dword [ebp + 0x66c]
add esp, 4
test eax, eax
je 0x49ff9a
cmp dword [eax], 1
jne 0x49ff9a
push ebx
push edi
call fcn.004a0e30
add esp, 8
test eax, eax
je 0x49ff9a
mov edx, dword [ebp + 0x66c]
mov dword [edx], 0xffffffff
push ebx
call dword [0x4d2024]
add esp, 4
jmp 0x4a03e5
mov ebx, 0xa
cmp dword [ebp + 0x17c], ebx
jne 0x49fff4
cmp dword [ebp + 0x2b4], 0
je 0x49fff4
mov eax, dword [esi + 0x78]
push str.keep_alive
push str.Proxy_Connection:
push eax
call fcn.0049d550
add esp, 0xc
test eax, eax
je 0x49fff4
push 0
push ebp
call fcn.00493e60
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.0048e8b0
add esp, 0x10
jmp 0x4a03e5
cmp dword [ebp + 0x17c], 0xb
jne 0x4a003b
cmp dword [ebp + 0x2b4], 0
je 0x4a003b
mov ecx, dword [esi + 0x78]
push str.close
push str.Proxy_Connection:
push ecx
call fcn.0049d550
add esp, 0xc
test eax, eax
je 0x4a003b
push 1
push ebp
call fcn.00493e60
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.0048e8b0
add esp, 0x10
jmp 0x4a03e5
cmp dword [ebp + 0x17c], ebx
jne 0x4a0078
mov edx, dword [esi + 0x78]
push str.keep_alive
push str.Connection:
push edx
call fcn.0049d550
add esp, 0xc
test eax, eax
je 0x4a0078
push 0
push ebp
call fcn.00493e60
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.0048e8b0
add esp, 0x10
jmp 0x4a03e5
mov eax, dword [esi + 0x78]
push str.close
push str.Connection:
push eax
call fcn.0049d550
add esp, 0xc
test eax, eax
je 0x4a00a2
push 2
push ebp
call fcn.00493e60
add esp, 8
jmp 0x4a03e5
mov ecx, dword [esi + 0x78]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x4a00c4
mov edx, dword [esi + 0x78]
push 1
add edx, 0x12
push edx
jmp 0x4a00ed
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.Content_Encoding:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x4a0103
cmp dword [edi + 0x600], 0
je 0x4a0103
mov ecx, dword [esi + 0x78]
push 0
add ecx, 0x11
push ecx
push ebp
call fcn.004950d0
add esp, 0xc
test eax, eax
jne 0x4a092d
jmp 0x4a03e5
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Content_Range:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x4a01b6
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x4a014d
jmp 0x4a0130
movzx eax, al
push eax
call fcn.004a3f10
add esp, 4
test eax, eax
jne 0x4a014d
cmp byte [ebx], 0x2a
je 0x4a014d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4a0130
movzx ecx, byte [ebx]
push ecx
call fcn.004a3f10
add esp, 4
test eax, eax
je 0x4a01a3
lea ebp, [esi + 0x80]
push ebp
push 0xa
push 0
push ebx
call fcn.004a8050
add esp, 0x10
test eax, eax
jne 0x4a03e5
mov edx, dword [edi + 0xc88]
cmp edx, dword [ebp]
jne 0x4a03e5
mov eax, dword [edi + 0xc8c]
cmp eax, dword [ebp + 4]
jne 0x4a03e5
mov dword [esi + 0x7c], 1
jmp 0x4a03e5
xor eax, eax
mov dword [edi + 0xc88], eax
mov dword [edi + 0xc8c], eax
jmp 0x4a03e5
cmp dword [edi + 0x778], 0
je 0x4a0227
mov ecx, dword [esi + 0x78]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x4a0227
push 2
push 2
push edi
call fcn.00494d50
mov eax, dword [ebp + 0x380]
add esp, 0xc
test eax, eax
je 0x4a01f1
mov ebp, eax
jmp 0x4a01f7
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.004919d0
push 2
push edi
call fcn.00494d90
add esp, 0x24
jmp 0x4a03e5
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Last_Modified:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x4a02a5
cmp dword [edi + 0x408], 0
jne 0x4a0250
cmp dword [edi + 0x53c], 0
je 0x4a02a5
push 0
call fcn.00452f7f
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.004a7fd0
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x53c], 0
je 0x4a03e5
mov edx, eax
mov dword [edi + 0xd00], edx
mov eax, dword [esi + 0xb4]
mov dword [edi + 0xd04], eax
jmp 0x4a03e5
mov ecx, dword [esi + 0x78]
push 0x11
push ecx
push str.WWW_Authenticate:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x4a02c9
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x4a02ed
mov edx, dword [esi + 0x78]
push 0x13
push edx
push str.Proxy_authenticate:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x4a033b
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x4a033b
mov edx, dword [esi + 0x78]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov dword [esp + 0x20], ecx
call fcn.0049c760
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a0863
mov eax, dword [esp + 0x1c]
push ebx
push eax
push ebp
call fcn.0049ce80
push ebx
mov ebp, eax
call dword [0x4d2024]
add esp, 0x10
test ebp, ebp
je 0x4a03e5
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x4a03d2
cmp eax, 0x190
jge 0x4a03d2
mov ecx, dword [esi + 0x78]
push 9
push ecx
push str.Location:
call fcn.00494aa0
add esp, 0xc
test eax, eax
je 0x4a03d2
cmp dword [edi + 0x144], 0
jne 0x4a03d2
mov edx, dword [esi + 0x78]
push edx
call fcn.0049c760
add esp, 4
test eax, eax
je 0x4a0863
cmp byte [eax], 0
jne 0x4a0398
push eax
call dword [0x4d2024]
add esp, 4
jmp 0x4a03e5
cmp dword [edi + 0x560], 0
mov dword [edi + 0x144], eax
je 0x4a03e5
push eax
call dword [0x4d202c]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x4a0863
push ebp
call fcn.0049ca10
add esp, 4
test eax, eax
jne 0x4a092d
jmp 0x4a03e5
mov eax, dword [ebp + 0x350]
test dword [eax + 0x40], 0x40000
jne 0x4a0870
cmp dword [edi + 0x56c], 0
mov ebx, 2
je 0x4a03f8
mov ebx, 3
cmp dword [edi + 0x584], 0
je 0x4a0414
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x78]
push ecx
push edx
push 1
push edi
call fcn.0048e820
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.0048ed40
add esp, 0x10
test eax, eax
jne 0x4a092d
mov eax, dword [esi + 0x68]
add dword [edi + 0xd0c], eax
mov ecx, dword [esi + 0x68]
add dword [edi + 0xa0], ecx
jmp 0x4a0710
cmp cl, 0xd
jne 0x4a0452
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x4a045e
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x4a0593
cmp eax, 0xc7
jg 0x4a0593
sub eax, 0x64
je 0x4a0561
mov ecx, 1
sub eax, ecx
je 0x4a054d
mov dword [esi + 0x58], ecx
mov dword [esi + 0x60], ebx
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x2a0], ebx
je 0x4a04de
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x4a04b6
cmp dword [ebp + 0x3fc], 2
je 0x4a04c6
cmp eax, 0x197
jne 0x4a04de
cmp dword [ebp + 0x43c], 2
jne 0x4a04de
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.0048e8b0
add esp, 8
mov dword [edi + 0xa78], 1
mov edx, ebp
call fcn.0049d0f0
test eax, eax
jne 0x4a087d
lea ecx, [eax + 2]
cmp dword [edi + 0x56c], ebx
je 0x4a04fb
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.0048ed40
add esp, 0x10
test eax, eax
jne 0x4a092d
add dword [edi + 0xa0], ebx
add dword [edi + 0xd0c], ebx
mov eax, dword [esi + 0x88]
cmp eax, 0x64
mov ecx, dword [edi + 0xa0]
jl 0x4a0608
cmp eax, 0xc7
jg 0x4a0608
mov eax, ecx
jmp 0x4a060a
cmp dword [esi + 0xa4], ecx
je 0x4a0735
mov dword [esi + 0x58], ebx
jmp 0x4a0494
cmp dword [esi + 0xa0], ebx
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], ebx
jle 0x4a0494
or dword [esi + 0xc4], 2
push ebx
push edi
mov dword [esi + 0xa0], ebx
call fcn.0048c180
add esp, 8
jmp 0x4a0494
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x58], ebx
cmp eax, 0xffffffff
jne 0x4a0494
cmp dword [esi + 0xe4], ebx
jne 0x4a0494
mov ebp, dword [esp + 0x40]
cmp dword [ebp + 0x2a0], ebx
jne 0x4a04a0
cmp dword [ebp + 0x17c], 0xb
jne 0x4a0498
mov ecx, dword [ebp + 0x350]
test dword [ecx + 0x40], 0x40000
jne 0x4a0498
cmp dword [edi + 0x418], 6
je 0x4a0498
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.0048e8b0
push 2
push ebp
call fcn.00493e60
add esp, 0x10
jmp 0x4a0498
xor eax, eax
push ebp
mov dword [edi + 0xa4], eax
call fcn.0049dbb0
add esp, 4
test eax, eax
jne 0x4a092d
cmp dword [esi + 0x88], 0x12c
jl 0x4a0706
cmp dword [ebp + 0x2e4], eax
jne 0x4a06e8
cmp dword [ebp + 0x2a0], eax
jne 0x4a06e8
cmp dword [ebp + 0x2e8], eax
jne 0x4a06f1
mov eax, dword [edi + 0x418]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4a06e8
push 0
push edi
call fcn.0048c180
add esp, 8
cmp dword [esi + 0xc8], 0
jne 0x4a06e8
cmp dword [edi + 0x55c], 0
je 0x4a06ae
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.0048e8b0
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x4a06e8
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x4a06e8
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.0048e8b0
push 2
push ebp
call fcn.00493e60
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0xc68], 0
je 0x4a06e8
mov dword [esi + 0xa0], 3
cmp dword [ebp + 0x2e8], 0
je 0x4a0706
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.0048e8b0
add esp, 8
or dword [esi + 0xc4], 2
cmp dword [esi + 0x58], 0
je 0x4a089f
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 0x4a092b
mov ebp, dword [esp + 0x44]
jmp 0x49fa90
push str.Received_101_n
push edi
call fcn.0048e8b0
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.0049da60
add esp, 4
test eax, eax
jne 0x4a092d
cmp dword [esi + 0x60], eax
jne 0x4a092b
mov ecx, dword [esi + 0x68]
mov eax, dword [edi + 0x934]
push edi
call fcn.0049da50
add esp, 4
cmp eax, 2
jne 0x4a092b
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], eax
call fcn.00493e60
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.00493e60
add esp, 8
mov dword [esi + 0x58], ebx
cmp dword [ebp], ebx
je 0x4a07e2
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.0048e940
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.0048e940
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.0048e940
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.0048e940
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 0x4a08b5
mov dword [ebp], 1
jmp 0x4a08cc
cmp dword [esi + 0xe4], 0
je 0x4a08cc
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 0x4a08da
cmp ecx, eax
je 0x4a08f0
push ecx
push eax
push edi
call fcn.0049aa80
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 0x4a0905
cmp dword [esi + 0x14], 0
jne 0x4a0905
mov dword [ebp], 1
jmp 0x4a090b
cmp dword [ebp], 0
je 0x4a0912
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x584], 0
je 0x4a092b
mov edx, dword [esi + 0x70]
push ebx
push edx
push 1
push edi
call fcn.0048e820
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret