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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, dword [esp + 0x3c]
lea esi, [edi + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], eax
mov dword [esi + 0x64], eax
mov ecx, dword [ebx]
push ecx
push 0xa
push eax
call fcn.1004d610
add esp, 0xc
mov dword [esi + 0x68], eax
test eax, eax
je 0x1002fabd
mov edx, dword [esi + 0x60]
sub edx, eax
dec edx
add dword [ebx], edx
mov eax, dword [esi + 0x68]
inc eax
mov dword [esi + 0x60], eax
sub eax, dword [esi + 0x64]
mov ebx, edi
push eax
call fcn.1002ca10
add esp, 4
test eax, eax
jne 0x1002fcf7
cmp dword [esi + 0x54], 0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0xc54]
mov dword [esi + 0x6c], ecx
jne 0x1002ed2b
mov edx, dword [ebp + 0x2b8]
test dword [edx + 0x40], 0x40000
mov ebx, dword [esi + 0x5c]
mov eax, dword [edi + 0xc54]
je 0x1002ed17
cmp ebx, 5
sbb ebp, ebp
inc ebp
mov dword [esp + 0x18], 2
cmp ebx, 5
jbe 0x1002ecfc
mov ebx, 5
push ebx
push eax
push str.RTSP_
call fcn.10013f10
add esp, 0xc
test eax, eax
mov eax, ebp
jne 0x1002ed22
mov eax, dword [esp + 0x18]
jmp 0x1002ed22
push eax
mov eax, edi
call fcn.1002c900
add esp, 4
cmp eax, 2
je 0x1002fb37
mov eax, dword [esi + 0x6c]
mov cl, byte [eax]
cmp cl, 0xa
je 0x1002f6f2
cmp cl, 0xd
je 0x1002f6f7
mov ecx, dword [esi + 0x54]
lea edx, [ecx + 1]
mov dword [esi + 0x54], edx
test ecx, ecx
jne 0x1002f023
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x2b8]
mov ecx, dword [edx + 0x40]
test cl, 3
je 0x1002ee64
mov ebp, dword [esp + 0x40]
lea ebx, [esi + 0x78]
push ebx
lea ecx, [esp + 0x40]
push ecx
add ebp, 0x180
push ebp
lea edx, [esp + 0x20]
push edx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.10051274
add esp, 0x18
cmp eax, 1
jne 0x1002edc9
cmp dword [esp + 0x14], 2
jne 0x1002fb91
mov eax, dword [esi + 0x6c]
push ebx
push str._HTTP_2__d
push eax
call fcn.10051274
add esp, 0xc
cmp eax, 1
jne 0x1002fb91
mov dword [ebp], 0
mov byte [esp + 0x3c], 0x20
jmp 0x1002edd9
cmp eax, 4
jne 0x1002ee11
cmp byte [esp + 0x3c], 0x20
jne 0x1002fb91
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [ebp], ecx
cmp dword [esi + 0x94], 2
mov eax, dword [ebp]
jne 0x1002eed6
cmp eax, 0x14
je 0x1002eed6
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.100148c0
add esp, 8
jmp 0x1002eed6
test eax, eax
jne 0x1002fb91
mov edx, dword [esi + 0x6c]
push ebx
push str._HTTP__3d
push edx
call fcn.10051274
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [ebp], 0xa
test eax, eax
jne 0x1002eed6
mov eax, dword [esi + 0x6c]
mov ebx, dword [esi + 0x5c]
push eax
mov eax, edi
call fcn.1002c900
add esp, 4
cmp eax, 1
jne 0x1002eecb
mov dword [esi + 0x78], 0xc8
mov dword [ebp], 0xa
jmp 0x1002eed6
test ecx, 0x40000
je 0x1002fbc2
mov ebx, dword [esp + 0x40]
lea ecx, [esi + 0x78]
push ecx
lea ecx, [esp + 0x17]
push ecx
add ebx, 0x184
push ebx
lea edx, [esp + 0x28]
push edx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.10051274
add esp, 0x18
mov dword [esp + 0x18], eax
cmp eax, 4
jne 0x1002fbc2
cmp byte [esp + 0x13], 0x20
jne 0x1002fbc2
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
add ebp, 0x180
mov dword [ebp], 0xb
cmp dword [esp + 0x18], 0
je 0x1002fbc2
mov ecx, dword [esi + 0x78]
mov eax, dword [edi + 0xedc]
mov dword [edi + 0xf78], ecx
mov edx, dword [ebp]
xor ebx, ebx
mov dword [edi + 0xf80], edx
cmp eax, ebx
je 0x1002eef9
cmp eax, dword [ebp]
jle 0x1002ef02
mov eax, dword [ebp]
mov dword [edi + 0xedc], eax
mov ecx, dword [edi + 0xee8]
or ecx, dword [edi + 0xeec]
je 0x1002ef2b
cmp dword [edi + 0x828], 1
jne 0x1002ef2b
cmp dword [esi + 0x78], 0x1a0
jne 0x1002ef2b
or dword [esi + 0x500], 8
jmp 0x1002ef71
test byte [edi + 0xa8e], 1
je 0x1002ef71
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x1002ef71
cmp eax, 0x191
jne 0x1002ef52
mov edx, dword [esp + 0x40]
test byte [edx + 0x294], 0x80
jne 0x1002ef71
cmp eax, 0x197
jne 0x1002fbac
mov eax, dword [esp + 0x40]
test dword [eax + 0x294], 0x100
je 0x1002fbac
mov ebp, dword [ebp]
cmp ebp, 0xa
jne 0x1002ef95
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.100148c0
mov ecx, dword [esp + 0x48]
push 1
push ecx
call fcn.1001ab80
add esp, 0x10
jmp 0x1002eff3
cmp ebp, 0x14
je 0x1002efe3
cmp dword [esi + 0x94], 1
jne 0x1002efa9
cmp dword [esi + 0x78], 0x65
je 0x1002efe3
cmp ebp, 0xb
jl 0x1002eff3
mov edx, dword [esp + 0x40]
test byte [edx + 0x294], 1
jne 0x1002eff3
mov eax, edx
cmp dword [eax + 0x584], ebx
je 0x1002eff3
mov ebp, eax
push ebp
push edi
call fcn.10032350
add esp, 8
test eax, eax
jne 0x1002eff3
mov ecx, dword [ebp + 0x584]
mov dword [ecx], 1
jmp 0x1002eff3
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x584]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x1002f011
sub eax, 0x64
jne 0x1002f023
cmp dword [edi + 0x81c], ebx
je 0x1002f011
or dword [edi + 0x102c], 1
or dword [esi + 0x500], 0x10
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov al, 0x10
test byte [esi + 0x500], al
jne 0x1002f0f5
test byte [edi + 0xa90], al
jne 0x1002f0f5
mov ecx, dword [esi + 0x6c]
push 0xf
push ecx
push str.Content_Length:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f0f5
mov eax, dword [esi + 0x6c]
lea edx, [esp + 0x28]
push edx
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1003e280
add esp, 0x10
test eax, eax
jne 0x1002f0bb
mov ebx, dword [edi + 0x8f8]
mov edx, dword [edi + 0x8fc]
mov eax, dword [esp + 0x28]
mov ecx, ebx
or ecx, edx
mov ecx, dword [esp + 0x2c]
je 0x1002f0a0
cmp ecx, edx
jg 0x1002fbd3
jl 0x1002f0a0
cmp eax, ebx
ja 0x1002fbd3
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.10036770
add esp, 0xc
jmp 0x1002f67e
cmp eax, 1
jne 0x1002fbee
mov edx, dword [edi + 0x8f8]
or edx, dword [edi + 0x8fc]
jne 0x1002fbd3
mov eax, dword [esp + 0x40]
push 2
push eax
call fcn.1001ab80
push str.Overflow_Content_Length:_value__n
push edi
call fcn.100148c0
add esp, 0x10
jmp 0x1002f67e
mov ecx, dword [esi + 0x6c]
push 0xd
push ecx
push str.Content_Type:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f151
mov edx, dword [esi + 0x6c]
push edx
call fcn.1002b640
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002fc09
cmp byte [ebx], 0
jne 0x1002f136
push ebx
call dword [0x1007b004]
add esp, 4
jmp 0x1002f67e
mov eax, dword [edi + 0xfac]
push eax
call dword [0x1007b004]
add esp, 4
mov dword [edi + 0xfac], ebx
jmp 0x1002f67e
mov ecx, dword [esi + 0x6c]
push 7
push ecx
push str.Server:
call fcn.10013f10
mov ebp, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
je 0x1002f1bf
cmp dword [ebp + 0x180], 0x14
jge 0x1002f67e
mov edx, dword [esi + 0x6c]
push edx
call fcn.1002b640
mov ebx, eax
mov eax, dword [ebp + 0x584]
add esp, 4
test eax, eax
je 0x1002f1b0
cmp dword [eax], 1
jne 0x1002f1b0
push ebx
push edi
call fcn.100324b0
add esp, 8
test eax, eax
je 0x1002f1b0
mov eax, dword [ebp + 0x584]
mov dword [eax], 0xffffffff
push ebx
call dword [0x1007b004]
add esp, 4
jmp 0x1002f67e
mov ebx, 0xa
cmp dword [ebp + 0x180], ebx
jne 0x1002f20a
test byte [ebp + 0x294], 0x20
je 0x1002f20a
mov ecx, dword [esi + 0x6c]
push str.keep_alive
push str.Proxy_Connection:
push ecx
call fcn.1002c4f0
add esp, 0xc
test eax, eax
je 0x1002f20a
push 0
push ebp
call fcn.1001ab80
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.100148c0
add esp, 0x10
jmp 0x1002f67e
cmp dword [ebp + 0x180], 0xb
jne 0x1002f251
test byte [ebp + 0x294], 0x20
je 0x1002f251
mov edx, dword [esi + 0x6c]
push str.close
push str.Proxy_Connection:
push edx
call fcn.1002c4f0
add esp, 0xc
test eax, eax
je 0x1002f251
push 1
push ebp
call fcn.1001ab80
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.100148c0
add esp, 0x10
jmp 0x1002f67e
cmp dword [ebp + 0x180], ebx
jne 0x1002f28e
mov eax, dword [esi + 0x6c]
push str.keep_alive
push str.Connection:
push eax
call fcn.1002c4f0
add esp, 0xc
test eax, eax
je 0x1002f28e
push 0
push ebp
call fcn.1001ab80
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.100148c0
add esp, 0x10
jmp 0x1002f67e
mov ecx, dword [esi + 0x6c]
push str.close
push str.Connection:
push ecx
call fcn.1002c4f0
add esp, 0xc
test eax, eax
je 0x1002f2b8
push 2
push ebp
call fcn.1001ab80
add esp, 8
jmp 0x1002f67e
mov edx, dword [esi + 0x6c]
push 0x12
push edx
push str.Transfer_Encoding:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f2e6
mov eax, dword [esi + 0x6c]
push 1
add eax, 0x12
push eax
push ebp
call fcn.100142c0
add esp, 0xc
jmp 0x1002f676
mov ecx, dword [esi + 0x6c]
push 0x11
push ecx
push str.Content_Encoding:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f31d
cmp dword [edi + 0x950], 0
je 0x1002f31d
mov edx, dword [esi + 0x6c]
push 0
add edx, 0x11
push edx
push ebp
call fcn.100142c0
add esp, 0xc
jmp 0x1002f676
mov eax, dword [esi + 0x6c]
push 0xe
push eax
push str.Content_Range:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f3c8
mov ebx, dword [esi + 0x6c]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x1002f362
movzx ecx, al
push ecx
call fcn.10037aa0
add esp, 4
test eax, eax
jne 0x1002f362
cmp byte [ebx], 0x2a
je 0x1002f362
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1002f345
movzx edx, byte [ebx]
push edx
call fcn.10037aa0
add esp, 4
test eax, eax
je 0x1002f3b5
lea ebp, [esi + 0x70]
push ebp
push 0xa
push 0
push ebx
call fcn.1003e280
add esp, 0x10
test eax, eax
jne 0x1002f67e
mov eax, dword [edi + 0xee8]
cmp eax, dword [ebp]
jne 0x1002f67e
mov ecx, dword [edi + 0xeec]
cmp ecx, dword [ebp + 4]
jne 0x1002f67e
or dword [esi + 0x500], 2
jmp 0x1002f67e
xor eax, eax
mov dword [edi + 0xee8], eax
mov dword [edi + 0xeec], eax
jmp 0x1002f67e
cmp dword [edi + 0xaac], 0
je 0x1002f444
mov edx, dword [esi + 0x6c]
push 0xb
push edx
push str.Set_Cookie:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f444
push 2
push 2
push edi
call fcn.10013f20
mov eax, dword [ebp + 0x300]
add esp, 0xc
test eax, eax
jne 0x1002f405
mov eax, dword [ebp + 0x9c]
mov ecx, dword [ebp + 0x2b8]
mov edx, dword [ecx + 0x40]
mov ecx, dword [edi + 0xf38]
shr edx, 1
and edx, 1
push edx
mov edx, dword [esi + 0x6c]
push ecx
push eax
mov eax, dword [edi + 0xaac]
add edx, 0xb
push edx
push 0
push 1
push eax
push edi
call fcn.10012530
push 2
push edi
call fcn.10013f60
add esp, 0x28
jmp 0x1002f67e
mov ecx, dword [esi + 0x6c]
push 0xe
push ecx
push str.Last_Modified:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f4c8
cmp dword [edi + 0x81c], 0
jne 0x1002f470
test dword [edi + 0xa8c], 0x200
je 0x1002f4c8
push 0
call fcn.1004edbb
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x34]
push edx
add eax, 0xe
push eax
call fcn.1003e200
add esp, 0xc
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], edx
test dword [edi + 0xa8c], 0x200
je 0x1002f67e
mov ecx, eax
mov dword [edi + 0xf88], ecx
mov edx, dword [esi + 0xa4]
mov dword [edi + 0xf8c], edx
jmp 0x1002f67e
mov eax, dword [esi + 0x6c]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f4e9
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x1002f50a
mov ecx, dword [esi + 0x6c]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f558
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x1002f558
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x6c]
sete dl
push eax
mov dword [esp + 0x1c], edx
call fcn.1002b640
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002fc09
mov ecx, dword [esp + 0x18]
push ebx
push ecx
push ebp
call fcn.1002bdd0
push ebx
mov ebp, eax
call dword [0x1007b004]
add esp, 0x10
test ebp, ebp
je 0x1002f67e
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, dword [esi + 0x6c]
push 0xf
push edx
push str.Persistent_Auth
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f5cb
cmp dword [edi + 0xcdc], 4
jne 0x1002f67e
mov eax, dword [esi + 0x6c]
push eax
call fcn.1002b640
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002fc09
push 5
push ebx
push str.false
call fcn.10013f10
push ebx
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push edi
mov dword [ebp + 0x434], eax
mov dword [ebp + 0x438], 1
call fcn.100148c0
push ebx
call dword [0x1007b004]
add esp, 0x20
jmp 0x1002f67e
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x1002f65a
cmp eax, 0x190
jge 0x1002f65a
mov ecx, dword [esi + 0x6c]
push 9
push ecx
push str.Location:
call fcn.10013f10
add esp, 0xc
test eax, eax
je 0x1002f65a
cmp dword [edi + 0x144], 0
jne 0x1002f65a
mov edx, dword [esi + 0x6c]
push edx
call fcn.1002b640
add esp, 4
test eax, eax
je 0x1002fc09
cmp byte [eax], 0
jne 0x1002f625
push eax
call dword [0x1007b004]
add esp, 4
jmp 0x1002f67e
test dword [edi + 0xa8c], 0x40000
mov dword [edi + 0x144], eax
je 0x1002f67e
push eax
call dword [0x1007b00c]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x1002fc09
push ebp
call fcn.1002b8f0
add esp, 4
jmp 0x1002f676
mov eax, dword [ebp + 0x2b8]
test dword [eax + 0x40], 0x40000
je 0x1002f67e
mov ecx, dword [esi + 0x6c]
push ecx
push ebp
call fcn.1001c320
add esp, 8
test eax, eax
jne 0x1002fcf7
mov eax, dword [edi + 0xa8c]
mov ebx, 2
test eax, 0x200000
je 0x1002f695
mov ebx, 3
test eax, 0x4000000
je 0x1002f6af
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x6c]
push edx
push eax
push 1
push edi
call fcn.10014830
add esp, 0x10
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x40]
push ecx
push edx
push ebx
push ebp
call fcn.10014e80
add esp, 0x10
test eax, eax
jne 0x1002fcf7
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xf90], eax
adc dword [edi + 0xf94], edx
mov eax, dword [esi + 0x5c]
cdq
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
jmp 0x1002fa64
cmp cl, 0xd
jne 0x1002f6fb
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp byte [eax], 0xa
jne 0x1002f707
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x1002f8e0
cmp eax, 0xc7
jg 0x1002f8e0
sub eax, 0x64
je 0x1002f8ac
mov ebx, 1
sub eax, ebx
je 0x1002f894
or dword [esi + 0x500], ebx
mov dword [esi + 0x54], 0
mov ebp, dword [esp + 0x40]
test byte [ebp + 0x294], 1
je 0x1002f7d1
mov eax, dword [edi + 0x108]
cmp eax, 0x191
jne 0x1002f768
cmp dword [ebp + 0x374], 2
je 0x1002f778
cmp eax, 0x197
jne 0x1002f78d
cmp dword [ebp + 0x3b4], 2
jne 0x1002f78d
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.100148c0
add esp, 8
or dword [edi + 0xf4c], 0x20
test byte [ebp + 0x294], 1
je 0x1002f7d1
mov eax, dword [edi + 0x108]
cmp eax, 0x191
jne 0x1002f7ac
cmp dword [ebp + 0x3f4], 1
je 0x1002f7bc
cmp eax, 0x197
jne 0x1002f7d1
cmp dword [ebp + 0x444], 1
jne 0x1002f7d1
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.100148c0
add esp, 8
or dword [edi + 0xf4c], 0x20
mov ebx, 3
cmp dword [ebp + 0x3f4], ebx
jne 0x1002f7f4
cmp dword [edi + 0x108], 0x191
je 0x1002f7f4
mov dword [ebp + 0x3f4], 4
cmp dword [ebp + 0x444], ebx
jne 0x1002f812
cmp dword [edi + 0x108], 0x197
je 0x1002f812
mov dword [ebp + 0x444], 4
mov edx, ebp
call fcn.1002c020
test eax, eax
jne 0x1002fc16
test dword [edi + 0xa8c], 0x200000
lea ecx, [eax + 2]
je 0x1002f832
mov ecx, ebx
mov eax, dword [edi + 0xc54]
mov ebx, dword [esi + 0x6c]
sub ebx, eax
push ebx
push eax
push ecx
push ebp
call fcn.10014e80
add esp, 0x10
test eax, eax
jne 0x1002fcf7
mov eax, ebx
cdq
add dword [edi + 0xf90], eax
adc dword [edi + 0xf94], edx
add dword [edi + 0xb0], eax
adc dword [edi + 0xb4], edx
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x1002f95c
cmp eax, 0xc7
jg 0x1002f95c
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
jmp 0x1002f960
cmp dword [esi + 0x94], ebx
je 0x1002fa8e
and dword [esi + 0x500], 0xfffffffe
jmp 0x1002f741
or dword [esi + 0x500], 1
xor eax, eax
cmp dword [esi + 0x90], eax
mov dword [esi + 0x54], eax
jle 0x1002f741
or dword [esi + 0xb0], 2
push eax
push edi
mov dword [esi + 0x90], eax
call fcn.10017aa0
add esp, 8
jmp 0x1002f741
mov ecx, dword [esi]
and ecx, dword [esi + 4]
and dword [esi + 0x500], 0xfffffffe
mov eax, dword [esi + 0x500]
mov ebp, dword [esp + 0x40]
cmp ecx, 0xffffffff
jne 0x1002f745
test al, 0x20
jne 0x1002f745
test byte [ebp + 0x294], 1
jne 0x1002f752
cmp dword [ebp + 0x180], 0xb
jne 0x1002f745
mov edx, dword [ebp + 0x2b8]
test dword [edx + 0x40], 0x40000
jne 0x1002f745
cmp dword [edi + 0x828], 6
je 0x1002f745
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.100148c0
push 2
push ebp
call fcn.1001ab80
add esp, 0x10
jmp 0x1002f745
xor eax, eax
xor ecx, ecx
push ebp
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
call fcn.1002cb60
add esp, 4
test eax, eax
jne 0x1002fcf7
cmp dword [esi + 0x78], 0x12c
jl 0x1002fa57
mov eax, dword [ebp + 0x294]
test eax, 0x18000
jne 0x1002fa39
test al, 1
jne 0x1002fa39
mov eax, dword [edi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1002fa39
push 0
push edi
call fcn.10017aa0
add esp, 8
test byte [esi + 0x500], 4
jne 0x1002fa39
test dword [edi + 0xa8c], 0x20000
je 0x1002f9ff
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.100148c0
add esp, 8
cmp dword [esi + 0x90], 0
jle 0x1002fa39
or dword [esi + 0xb0], 2
mov dword [esi + 0x90], 0
jmp 0x1002fa39
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.100148c0
push 2
push ebp
call fcn.1001ab80
or dword [esi + 0x500], 4
and dword [esi + 0xb0], 0xfffffffd
add esp, 0x10
test dword [edi + 0xf4c], 0x100
je 0x1002fa39
mov dword [esi + 0x90], 3
test byte [ebp + 0x296], 1
je 0x1002fa57
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.100148c0
add esp, 8
or dword [esi + 0xb0], 2
test byte [esi + 0x500], 1
je 0x1002fc35
mov eax, dword [edi + 0xc54]
mov ebx, dword [esp + 0x44]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], 0
cmp byte [eax], 0
jne 0x1002ec76
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
push str.Received_101_n
push edi
call fcn.100148c0
add esp, 8
or dword [esi + 0x500], ebx
pop edi
mov dword [esi + 0x94], 2
mov dword [esi + 0x54], 0
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x28
ret
mov ecx, dword [ebx]
push ecx
mov ebx, edi
call fcn.1002ca10
add esp, 4
test eax, eax
jne 0x1002fcf7
cmp dword [esi + 0x54], eax
jne 0x1002fcf5
mov edx, dword [esi + 0x5c]
mov eax, dword [edi + 0xc54]
push edi
mov ecx, ebp
call fcn.1002c9b0
add esp, 4
cmp eax, 2
jne 0x1002fcf5
and dword [esi + 0x500], 0xfffffffe
push eax
push ebp
mov dword [esi + 0x50], eax
call fcn.1001ab80
add esp, 8
test dword [edi + 0xa90], 0x8000000
jne 0x1002fcf5
push str.Received_HTTP_0.9_when_not_allowed_n
push edi
call fcn.100149a0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x40]
push 2
push edx
call fcn.1001ab80
add esp, 8
test dword [edi + 0xa90], 0x8000000
je 0x1002fb1c
mov eax, dword [esp + 0x44]
and dword [esi + 0x500], 0xfffffffe
cmp dword [eax], 0
je 0x1002fb73
pop edi
mov dword [esi + 0x50], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x50], 2
pop edi
mov dword [eax], ecx
mov dword [esi + 0x60], edx
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.100149a0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
push edi
call fcn.1002cac0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
and dword [esi + 0x500], 0xfffffffe
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.100149a0
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.100149a0
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
mov eax, dword [esi + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
push edi
call fcn.100149a0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x28
ret
test byte [edi + 0xa8f], 1
mov edx, dword [esp + 0x48]
je 0x1002fc4d
mov dword [edx], 1
or ebp, 0xffffffff
jmp 0x1002fc92
mov ecx, dword [ebp + 0x2b8]
test dword [ecx + 0x40], 0x40000
je 0x1002fc7b
cmp dword [edi + 0xa34], 2
jne 0x1002fc7b
or ebp, 0xffffffff
cmp dword [esi + 4], ebp
jg 0x1002fc7e
jl 0x1002fc73
cmp dword [esi], ebp
ja 0x1002fc7e
mov dword [edx], 1
jmp 0x1002fc92
or ebp, 0xffffffff
test byte [esi + 0x500], 0x20
je 0x1002fc92
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ebp
jne 0x1002fc9f
cmp ecx, ebp
je 0x1002fcb9
push ecx
push eax
push edi
call fcn.10036770
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x54]
add esp, 0xc
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
jne 0x1002fccd
cmp dword [esi + 0xc], 0
jne 0x1002fccd
mov dword [edx], 1
jmp 0x1002fcd2
cmp dword [edx], 0
je 0x1002fcd9
and dword [esi + 0xb0], 0xfffffffe
test dword [edi + 0xa8c], 0x4000000
je 0x1002fcf5
mov ecx, dword [esi + 0x64]
push ebx
push ecx
push 1
push edi
call fcn.10014830
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret