Function at 0x10056e50
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x70]
nop
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x70], eax
push dword [esi]
push 0xa
push eax
call fcn.10021730
add esp, 0xc
mov dword [edi + 0x74], eax
test eax, eax
je 0x10057d8f
sub eax, dword [edi + 0x6c]
inc eax
sub dword [esi], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x74]
inc eax
mov dword [edi + 0x6c], eax
sub eax, dword [edi + 0x70]
push eax
push edi
push ebx
call fcn.10057f60
add esp, 0xc
test eax, eax
jne 0x10057dcd
cmp dword [edi + 0x60], 0
mov eax, dword [edi + 0x64]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x74], eax
mov eax, dword [ebx + 0x6dc]
mov dword [edi + 0x78], eax
jne 0x10056edd
cmp dword [edi + 0x68], 5
jbe 0x10056edd
push dword [ebx + 0x6dc]
push esi
push ebx
call fcn.10057e60
add esp, 0xc
test al, al
je 0x10057bed
mov edx, dword [edi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x10057933
cmp al, 0xd
je 0x10057937
mov ecx, dword [edi + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x60], eax
test ecx, ecx
jne 0x100571bb
mov eax, dword [esi + 0x2e0]
mov eax, dword [eax + 0x40]
test al, 3
je 0x10057026
lea ecx, [edi + 0x88]
push ecx
lea ecx, [ebp + 0xb]
push ecx
lea eax, [esi + 0x180]
push eax
lea eax, [ebp - 4]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.100230cb
add esp, 0x18
cmp eax, 1
jne 0x10056f79
cmp dword [ebp - 4], 2
jne 0x10057c1e
lea eax, [edi + 0x88]
push eax
push str._HTTP_2__d
push dword [edi + 0x78]
call fcn.100230cb
add esp, 0xc
cmp eax, 1
jne 0x10057c1e
lea ecx, [esi + 0x180]
mov byte [ebp + 0xb], 0x20
mov dword [ecx], 0
jmp 0x10056f8e
cmp eax, 4
jne 0x10056fc7
cmp byte [ebp + 0xb], 0x20
jne 0x10057c1e
lea ecx, [esi + 0x180]
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [edi + 0xa4], 2
jne 0x10057074
cmp dword [ecx], 0x14
je 0x10057074
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.1004dd00
add esp, 8
lea ecx, [esi + 0x180]
jmp 0x10057074
test eax, eax
jne 0x10057c1e
lea eax, [edi + 0x88]
push eax
push str._HTTP__3d
push dword [edi + 0x78]
call fcn.100230cb
add esp, 0xc
mov dword [esi + 0x180], 0xa
lea ecx, [esi + 0x180]
test eax, eax
jne 0x10057074
push dword [edi + 0x78]
push ebx
call fcn.10057de0
add esp, 8
test al, al
je 0x10057dc7
lea ecx, [esi + 0x180]
mov dword [edi + 0x88], 0xc8
mov dword [ecx], 0xa
jmp 0x10057074
test eax, 0x40000
je 0x10057dc7
lea eax, [edi + 0x88]
push eax
lea ecx, [esi + 0x184]
push ecx
lea eax, [ebp - 0xc]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.100230cb
add esp, 0x14
cmp eax, 3
jne 0x10057dc7
mov eax, dword [ebp - 0xc]
lea ecx, [esi + 0x180]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [esi + 0x184], eax
mov eax, dword [edi + 0x88]
mov dword [ebx + 0x4a18], eax
mov eax, dword [ecx]
mov dword [ebx + 0x4a20], eax
mov eax, dword [ebx + 0x4998]
test eax, eax
je 0x10057096
cmp eax, dword [ecx]
jle 0x1005709e
mov eax, dword [ecx]
mov dword [ebx + 0x4998], eax
cmp byte [ebx + 0x380], 0
je 0x10057102
mov edx, dword [edi + 0x88]
cmp edx, 0x190
jl 0x10057102
cmp edx, 0x191
jne 0x100570c6
cmp byte [esi + 0x2a4], 0
jne 0x10057102
cmp edx, 0x197
jne 0x100570d7
cmp byte [esi + 0x2a5], 0
jne 0x10057102
mov eax, dword [ebx + 0x49b0]
or eax, dword [ebx + 0x49b4]
je 0x10057c38
cmp dword [ebx + 0x288], 1
jne 0x10057c38
cmp edx, 0x1a0
jne 0x10057c38
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x10057121
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.1004dd00
push 1
push esi
call fcn.1004e5a0
add esp, 0x10
jmp 0x10057177
cmp eax, 0x14
je 0x1005716b
cmp dword [edi + 0xa4], 1
jne 0x10057138
cmp dword [edi + 0x88], 0x65
je 0x1005716b
cmp eax, 0xb
jl 0x10057177
cmp byte [esi + 0x29d], 0
jne 0x10057177
cmp dword [esi + 0x560], 0
je 0x10057177
push esi
push ebx
call fcn.1005a350
add esp, 8
test al, al
jne 0x10057177
mov eax, dword [esi + 0x560]
mov dword [eax], 1
jmp 0x10057177
mov eax, dword [esi + 0x560]
mov dword [eax], 2
mov eax, dword [edi + 0x88]
sub eax, 0xcc
je 0x10057189
sub eax, 0x64
jne 0x100571bb
cmp dword [ebx + 0x27c], 0
je 0x10057199
mov byte [ebx + 0x4a28], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0xca], 1
cmp byte [edi + 0xca], 0
jne 0x10057276
cmp byte [ebx + 0x3a7], 0
jne 0x10057276
push 0xf
push dword [edi + 0x78]
push str.Content_Length:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x10057276
mov eax, dword [edi + 0x78]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.10033c3b
mov ecx, dword [ebx + 0x360]
add esp, 0xc
or ecx, dword [ebx + 0x364]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
je 0x10057230
cmp edx, dword [ebx + 0x364]
jg 0x10057c4d
jl 0x10057230
cmp eax, dword [ebx + 0x360]
ja 0x10057c4d
test edx, edx
jl 0x10057255
jg 0x1005723a
test eax, eax
jb 0x10057255
push edx
push eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
call fcn.10058ec0
add esp, 0xc
jmp 0x100578cc
push 2
push esi
call fcn.1004e5a0
push dword [ebp - 8]
push dword [ebp - 0x10]
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.1004dd00
add esp, 0x18
jmp 0x100578cc
push 0xd
push dword [edi + 0x78]
push str.Content_Type:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100572cf
push dword [edi + 0x78]
call fcn.10056910
mov esi, eax
add esp, 4
test esi, esi
je 0x10057c67
cmp byte [esi], 0
jne 0x100572b5
push esi
call dword [0x10196404]
add esp, 4
jmp 0x100578cc
push dword [ebx + 0x4a40]
call dword [0x10196404]
add esp, 4
mov dword [ebx + 0x4a40], esi
jmp 0x100578cc
push 7
push dword [edi + 0x78]
push str.Server:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x1005733b
cmp dword [esi + 0x180], 0x14
jge 0x100578cc
push dword [edi + 0x78]
call fcn.10056910
mov ecx, dword [esi + 0x560]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x1005732c
cmp dword [ecx], 1
jne 0x1005732c
push eax
push ebx
call fcn.1005a150
add esp, 8
test al, al
je 0x10057329
mov eax, dword [esi + 0x560]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 8]
push eax
call dword [0x10196404]
add esp, 4
jmp 0x100578cc
cmp dword [esi + 0x180], 0xa
jne 0x10057381
cmp byte [esi + 0x2a2], 0
je 0x10057381
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x78]
call fcn.10056840
add esp, 0xc
test al, al
je 0x10057381
push 0
push esi
call fcn.1004e5a0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.1004dd00
add esp, 0x10
jmp 0x100578cc
cmp dword [esi + 0x180], 0xb
jne 0x100573c7
cmp byte [esi + 0x2a2], 0
je 0x100573c7
push str.close
push str.Proxy_Connection:
push dword [edi + 0x78]
call fcn.10056840
add esp, 0xc
test al, al
je 0x100573c7
push 1
push esi
call fcn.1004e5a0
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.1004dd00
add esp, 0x10
jmp 0x100578cc
cmp dword [esi + 0x180], 0xa
jne 0x10057404
push str.keep_alive
push str.Connection:
push dword [edi + 0x78]
call fcn.10056840
add esp, 0xc
test al, al
je 0x10057404
push 0
push esi
call fcn.1004e5a0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.1004dd00
add esp, 0x10
jmp 0x100578cc
push str.close
push str.Connection:
push dword [edi + 0x78]
call fcn.10056840
add esp, 0xc
test al, al
je 0x1005742d
push 2
push esi
call fcn.1004e5a0
add esp, 8
jmp 0x100578cc
push 0x12
push dword [edi + 0x78]
push str.Transfer_Encoding:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x10057542
mov esi, dword [edi + 0x78]
add esi, 0x12
lea ecx, [ecx]
mov al, byte [esi]
test al, al
je 0x10057473
movzx eax, al
push eax
call fcn.10023e2b
add esp, 4
test eax, eax
jne 0x1005746b
cmp byte [esi], 0x2c
jne 0x10057473
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10057456
push 7
push esi
push str.chunked
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x1005749c
push dword [ebp + 0xc]
mov byte [edi + 0xdc], 1
call fcn.10071210
add esp, 4
add esi, 7
cmp dword [edi + 0xa8], 0
jne 0x100578cc
push 8
push esi
push str.identity
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100574cc
mov dword [edi + 0xa8], 0
add esi, 8
jmp 0x10057450
push 7
push esi
push str.deflate
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100574f2
mov dword [edi + 0xa8], 1
add esi, 7
jmp 0x10057450
push 4
push esi
push str.gzip
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x10057518
mov dword [edi + 0xa8], 2
add esi, 4
jmp 0x10057450
push 6
push esi
push str.x_gzip
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100578cc
mov dword [edi + 0xa8], 2
add esi, 6
jmp 0x10057450
push 0x11
push dword [edi + 0x78]
push str.Content_Encoding:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x1005760e
cmp dword [ebx + 0x3e4], 0
je 0x1005760e
mov esi, dword [edi + 0x78]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x1005758d
movzx eax, al
push eax
call fcn.10023e2b
add esp, 4
test eax, eax
je 0x1005758d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10057575
push 8
push esi
push str.identity
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100575b0
mov dword [edi + 0xa8], 0
jmp 0x100578cc
push 7
push esi
push str.deflate
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100575d3
mov dword [edi + 0xa8], 1
jmp 0x100578cc
push 4
push esi
push str.gzip
call fcn.1005a610
add esp, 0xc
test eax, eax
jne 0x100575ff
push 6
push esi
push str.x_gzip
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100578cc
mov dword [edi + 0xa8], 2
jmp 0x100578cc
push 0xe
push dword [edi + 0x78]
push str.Content_Range:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100576ba
mov esi, dword [edi + 0x78]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x10057651
movzx eax, al
push eax
call fcn.10023d7b
add esp, 4
test eax, eax
jne 0x10057651
cmp byte [esi], 0x2a
je 0x10057651
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10057634
movzx eax, byte [esi]
push eax
call fcn.10023d7b
add esp, 4
test eax, eax
je 0x100576a1
push 0xa
push 0
push esi
call fcn.10033c3b
mov dword [edi + 0x80], eax
add esp, 0xc
mov dword [edi + 0x84], edx
mov eax, dword [ebx + 0x49b0]
cmp eax, dword [edi + 0x80]
jne 0x100578cc
cmp dword [ebx + 0x49b4], edx
jne 0x100578cc
mov byte [edi + 0x7c], 1
jmp 0x100578cc
mov dword [ebx + 0x49b0], 0
mov dword [ebx + 0x49b4], 0
jmp 0x100578cc
cmp dword [ebx + 0x528], 0
je 0x10057722
push 0xb
push dword [edi + 0x78]
push str.Set_Cookie:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x10057722
push 2
push 2
push ebx
call fcn.1005ae60
mov eax, dword [esi + 0x310]
add esp, 0xc
test eax, eax
jne 0x100576f6
mov eax, dword [esi + 0xa0]
push dword [ebx + 0x49a4]
push eax
mov eax, dword [edi + 0x78]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x528]
push ebx
call fcn.10041550
push 2
push ebx
call fcn.1005aea0
add esp, 0x20
jmp 0x100578cc
push 0xe
push dword [edi + 0x78]
push str.Last_Modified:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x1005778e
cmp dword [ebx + 0x27c], 0
jne 0x1005774a
cmp byte [ebx + 0x379], 0
je 0x1005778e
push 0
call fcn.10023419
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x78]
add eax, 0xe
mov dword [ebp - 0x18], edx
push eax
call fcn.1005a760
add esp, 0xc
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], edx
cmp byte [ebx + 0x379], 0
je 0x100578cc
mov dword [ebx + 0x4a24], eax
jmp 0x100578cc
push 0x11
push dword [edi + 0x78]
push str.WWW_Authenticate:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100577b1
mov eax, dword [edi + 0x88]
cmp eax, 0x191
je 0x100577d4
push 0x13
push dword [edi + 0x78]
push str.Proxy_authenticate:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x1005781c
mov eax, dword [edi + 0x88]
cmp eax, 0x197
jne 0x1005781c
push dword [edi + 0x78]
cmp eax, 0x197
sete byte [ebp - 0x14]
call fcn.10056910
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10057c67
push eax
push dword [ebp - 0x14]
push esi
call fcn.10056bb0
push dword [ebp - 0x10]
mov esi, eax
call dword [0x10196404]
add esp, 0x10
test esi, esi
je 0x100578cc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x88]
cmp eax, 0x12c
jl 0x100578a9
cmp eax, 0x190
jge 0x100578a9
push 9
push dword [edi + 0x78]
push str.Location:
call fcn.1005a610
add esp, 0xc
test eax, eax
je 0x100578a9
cmp dword [ebx + 0x13c], 0
jne 0x100578a9
push dword [edi + 0x78]
call fcn.10056910
add esp, 4
test eax, eax
je 0x10057c67
cmp byte [eax], 0
jne 0x10057877
push eax
call dword [0x10196404]
add esp, 4
jmp 0x100578cc
cmp byte [ebx + 0x382], 0
mov dword [ebx + 0x13c], eax
je 0x100578cc
push eax
call dword [0x1019640c]
add esp, 4
mov dword [ebx + 0x140], eax
test eax, eax
je 0x10057c67
push esi
call fcn.10058120
add esp, 4
jmp 0x100578c4
mov eax, dword [esi + 0x2e0]
test dword [eax + 0x40], 0x40000
je 0x100578cc
push dword [edi + 0x78]
push esi
call fcn.1006dc00
add esp, 8
test eax, eax
jne 0x10057dcd
cmp byte [ebx + 0x385], 0
mov eax, 2
mov esi, dword [ebp + 0xc]
mov ecx, 3
cmovne eax, ecx
cmp byte [ebx + 0x390], 0
mov dword [ebp - 0x10], eax
je 0x10057904
push esi
push dword [edi + 0x68]
push dword [edi + 0x78]
push 1
push ebx
call fcn.1004db50
mov eax, dword [ebp - 0x10]
add esp, 0x14
push dword [edi + 0x68]
push dword [edi + 0x78]
push eax
push esi
call fcn.1004db20
add esp, 0x10
test eax, eax
jne 0x10057dcd
mov eax, dword [edi + 0x68]
add dword [ebx + 0x4a2c], eax
mov eax, dword [edi + 0x68]
add dword [ebx + 0xa0], eax
jmp 0x10057bc8
cmp al, 0xd
jne 0x1005793d
lea eax, [edx + 1]
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x78]
cmp byte [eax], 0xa
jne 0x10057949
inc eax
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x88]
cmp eax, 0x64
jl 0x100579bb
cmp eax, 0xc7
jg 0x100579bb
sub eax, 0x64
je 0x10057989
dec eax
je 0x10057973
mov byte [edi + 0x58], 1
mov dword [edi + 0x60], 0
jmp 0x10057a12
cmp dword [edi + 0xa4], 1
je 0x10057c73
mov byte [edi + 0x58], 0
jmp 0x10057a12
cmp dword [edi + 0xa0], 0
mov byte [edi + 0x58], 1
mov dword [edi + 0x60], 0
jle 0x10057a12
or dword [edi + 0xc4], 2
push 0
push ebx
mov dword [edi + 0xa0], 0
call fcn.1003ebf0
add esp, 8
jmp 0x10057a12
mov eax, dword [edi]
and eax, dword [edi + 4]
mov byte [edi + 0x58], 0
cmp eax, 0xffffffff
jne 0x10057a12
cmp byte [edi + 0xdc], 0
jne 0x10057a12
cmp byte [esi + 0x29d], 0
jne 0x10057a1b
cmp dword [esi + 0x180], 0xb
jne 0x10057a12
mov eax, dword [esi + 0x2e0]
test dword [eax + 0x40], 0x40000
jne 0x10057a12
cmp dword [ebx + 0x288], 5
je 0x10057a12
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.1004dd00
push 2
push esi
call fcn.1004e5a0
add esp, 0x10
cmp byte [esi + 0x29d], 0
je 0x10057a56
mov eax, dword [ebx + 0xf8]
cmp eax, 0x191
jne 0x10057a31
cmp dword [esi + 0x354], 2
je 0x10057a41
cmp eax, 0x197
jne 0x10057a56
cmp dword [esi + 0x36c], 2
jne 0x10057a56
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.1004dd00
add esp, 8
mov byte [ebx + 0x47ac], 1
push esi
call fcn.100582c0
add esp, 4
test eax, eax
jne 0x10057d6f
cmp byte [ebx + 0x385], al
mov ecx, 2
mov edx, dword [edi + 0x78]
mov eax, 3
cmovne ecx, eax
mov eax, dword [ebx + 0x6dc]
sub edx, eax
push edx
push eax
push ecx
push esi
mov dword [ebp - 8], edx
call fcn.1004db20
add esp, 0x10
test eax, eax
jne 0x10057dcd
mov eax, dword [ebp - 8]
add dword [ebx + 0xa0], eax
add dword [ebx + 0x4a2c], eax
mov eax, dword [edi + 0x88]
mov ecx, dword [ebx + 0xa0]
cmp eax, 0x64
jl 0x10057ac3
cmp eax, 0xc7
jle 0x10057ac5
xor ecx, ecx
push esi
mov dword [ebx + 0xa4], ecx
call fcn.100569e0
add esp, 4
test eax, eax
jne 0x10057dcd
cmp dword [edi + 0x88], 0x12c
jl 0x10057bbe
cmp byte [esi + 0x2ae], al
jne 0x10057ba0
cmp byte [esi + 0x29d], al
jne 0x10057ba0
cmp byte [esi + 0x2af], al
jne 0x10057ba9
mov eax, dword [ebx + 0x288]
add eax, 0xfffffffe
cmp eax, 2
ja 0x10057ba0
push 0
push ebx
call fcn.1003ebf0
add esp, 8
cmp byte [edi + 0xc8], 0
jne 0x10057ba0
cmp byte [ebx + 0x381], 0
je 0x10057b69
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebx
call fcn.1004dd00
add esp, 8
cmp dword [edi + 0xa0], 0
jle 0x10057ba0
or dword [edi + 0xc4], 2
mov dword [edi + 0xa0], 0
jmp 0x10057ba0
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.1004dd00
push 2
push esi
call fcn.1004e5a0
and dword [edi + 0xc4], 0xfffffffd
add esp, 0x10
mov byte [edi + 0xc8], 1
cmp byte [ebx + 0x499c], 0
je 0x10057ba0
mov dword [edi + 0xa0], 3
cmp byte [esi + 0x2af], 0
je 0x10057bbe
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.1004dd00
add esp, 8
or dword [edi + 0xc4], 2
cmp byte [edi + 0x58], 0
je 0x10057ca2
mov eax, dword [ebx + 0x6dc]
mov dword [edi + 0x64], eax
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x68], 0
cmp byte [eax], 0
jne 0x10056e60
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov byte [edi + 0x58], 0
cmp dword [ecx], 0
je 0x10057c09
mov dword [edi + 0x5c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x5c], 2
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unsupported_HTTP_version_in_response_n
push ebx
call fcn.1004dc30
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.100584f0
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push ebx
call fcn.1004dc30
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push ebx
call fcn.1004dd00
add esp, 8
mov dword [edi + 0xa4], 2
mov byte [edi + 0x58], 1
mov eax, 1
mov dword [edi + 0x60], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x388], 0
je 0x10057cb3
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10057d04
mov eax, dword [esi + 0x2e0]
test dword [eax + 0x40], 0x40000
je 0x10057ce0
cmp dword [ebx + 0x4b8], 2
jne 0x10057ce0
cmp dword [edi + 4], 0xffffffff
jg 0x10057ce0
jl 0x10057cd8
cmp dword [edi], 0xffffffff
ja 0x10057ce0
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10057d04
cmp byte [edi + 0xdc], 0
je 0x10057d04
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x10057d12
cmp eax, ecx
je 0x10057d28
push eax
push ecx
push ebx
call fcn.10058ec0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x10057d3c
cmp dword [edi + 0x14], 0
jne 0x10057d3c
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10057d44
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10057d4b
and dword [edi + 0xc4], 0xfffffffe
cmp byte [ebx + 0x390], 0
je 0x10057dcb
push esi
push dword [ebp - 8]
push dword [edi + 0x70]
push 1
push ebx
call fcn.1004db50
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x88]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.1004dc30
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
push edi
push ebx
call fcn.10057f60
add esp, 0xc
test eax, eax
jne 0x10057dcd
cmp dword [edi + 0x60], eax
jne 0x10057dcb
cmp dword [edi + 0x68], 5
jbe 0x10057dcb
push dword [ebx + 0x6dc]
push dword [ebp + 0xc]
push ebx
call fcn.10057e60
add esp, 0xc
test al, al
jne 0x10057dcb
mov dword [edi + 0x5c], 2
mov byte [edi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret