Function at 0x1019e0b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xd74
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0xd70], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x7c], eax
mov eax, ebx
mov esi, dword [ebp + 0x1c]
shr ebx, 1
mov edi, dword [ebp + 0xc]
and eax, 1
and ebx, 1
cmp dword [esp + 0x9c], 1
mov dword [esp + 0x88], edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x80], 3
mov dword [esp + 0x90], eax
mov dword [ebp + 0x24], ebx
mov dword [esp + 0x98], 1
mov dword [esp + 0xac], 0
mov byte [esp + 0xf8], 0
jge 0x1019e1eb
mov eax, dword [esp + 0x70]
push str.Redirection_limit_reached__aborting
push edx
push eax
call sym.php5.dll_php_stream_wrapper_log_error
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd70]
xor ecx, esp
call fcn.10311bec
mov esp, ebp
pop ebp
ret
push edi
call sym.php5.dll_php_url_parse
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
je 0x1019e1d4
push 5
push str.http
push dword [eax]
call dword [sym.imp.MSVCR110.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x1019e2bb
mov eax, dword [esp + 0x5c]
push 6
push str.https
push dword [eax]
call dword [sym.imp.MSVCR110.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x1019e2bb
test esi, esi
je 0x1019e288
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x74]
push str.proxy
mov eax, dword [eax]
push dword [eax + 0x14]
push esi
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
cmp eax, 0xffffffff
je 0x1019e288
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 6
jne 0x1019e288
mov esi, dword [eax + 4]
test esi, esi
jle 0x1019e284
mov dword [esp + 0x78], 1
mov dword [esp + 0x8c], 0
jmp 0x1019e3a7
mov esi, dword [esp + 0x58]
push dword [esp + 0x5c]
call sym.php5.dll_php_url_free
push esi
push 0
push 8
push dword [esp + 0xb8]
push edi
call sym.php5.dll__php_stream_open_wrapper_ex
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd70]
xor ecx, esp
call fcn.10311bec
mov esp, ebp
pop ebp
ret
push str.awx
push dword [esp + 0xac]
call dword [sym.imp.MSVCR110.dll_strpbrk]
add esp, 8
test eax, eax
je 0x1019e30a
mov eax, dword [esp + 0x70]
push str.HTTP_wrapper_does_not_support_writeable_connections
push dword [esp + 0x70]
push eax
call sym.php5.dll_php_stream_wrapper_log_error
push dword [esp + 0x68]
call sym.php5.dll_php_url_free
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd70]
xor ecx, esp
call fcn.10311bec
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x5c]
mov edx, dword [esi]
test edx, edx
je 0x1019e351
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019e320
sub ecx, esi
mov esi, dword [esp + 0x5c]
cmp ecx, 4
jbe 0x1019e351
cmp byte [edx + 4], 0x73
jne 0x1019e351
cmp word [esi + 0x10], 0
mov dword [esp + 0x8c], 1
jne 0x1019e36c
mov eax, 0x1bb
jmp 0x1019e368
cmp word [esi + 0x10], 0
mov dword [esp + 0x8c], 0
jne 0x1019e36c
mov eax, 0x50
mov word [esi + 0x10], ax
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1019e3c7
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x74]
push str.proxy
mov eax, dword [eax]
push dword [eax + 0x14]
push ecx
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019e3c7
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 6
jne 0x1019e3c7
mov esi, dword [eax + 4]
test esi, esi
jle 0x1019e3c3
push esi
push dword [eax]
mov dword [esp + 0x7c], 1
call sym.php5.dll__estrndup
add esp, 8
mov dword [esp + 0xa0], eax
jmp 0x1019e3fe
mov esi, dword [esp + 0x5c]
movzx eax, word [esi + 0x10]
cmp dword [esp + 0x8c], 0
push eax
push dword [esi + 0xc]
mov ecx, 0x10548fa4
mov eax, 0x105471f4
cmove eax, ecx
push eax
push str._s:___s:_d
lea eax, [esp + 0xb0]
push 0
push eax
call sym.php5.dll_spprintf
add esp, 0x18
mov esi, eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1019e576
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x74]
push str.timeout
mov eax, dword [eax]
push dword [eax + 0x14]
push ecx
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019e576
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax + 8], 1
jbe 0x1019e48c
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov edx, eax
add esp, 4
mov dword [edx + 0x10], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [edx + 0xc], al
mov dword [edx + 8], 1
mov byte [edx + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], edx
cmp byte [edx + 0xc], 3
jbe 0x1019e48c
push edx
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 2
je 0x1019e504
cmp byte [eax + 0xd], 0
jne 0x1019e4f6
cmp dword [eax + 8], 1
jbe 0x1019e4f6
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov edx, eax
add esp, 4
mov dword [edx + 0x10], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [edx + 0xc], al
mov dword [edx + 8], 1
mov byte [edx + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], edx
cmp byte [edx + 0xc], 3
jbe 0x1019e4f6
push edx
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov eax, dword [esp + 0x44]
push dword [eax]
call sym.php5.dll_convert_to_double
add esp, 4
mov edx, dword [esp + 0x44]
fnstcw word [esp + 0x50]
mov eax, dword [edx]
cvttsd2si ecx, qword [eax]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov dword [esp + 0xc4], ecx
mov eax, dword [edx]
movsd xmm1, qword [eax]
movzx eax, word [esp + 0x50]
subsd xmm1, xmm0
or eax, 0xc00
mulsd xmm1, qword [0x10549378]
movsd qword [esp + 0xd8], xmm1
fld qword [esp + 0xd8]
mov dword [esp + 0xd8], eax
fldcw word [esp + 0xd8]
fistp qword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xc8], eax
fldcw word [esp + 0x50]
jmp 0x1019e58d
mov eax, dword [0x10660b6c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov ecx, dword [esp + 0x58]
push 0
lea eax, [esp + 0xa8]
push eax
push ecx
lea eax, [esp + 0xd0]
push eax
push 0
push 2
push dword [esp + 0x84]
push esi
push dword [esp + 0xc0]
call sym.php5.dll__php_stream_xport_create
mov esi, eax
add esp, 0x24
mov dword [esp + 0x50], esi
test esi, esi
je 0x1019e5de
lea eax, [esp + 0xc4]
push eax
push 0
push 4
push esi
call sym.php5.dll__php_stream_set_option
add esp, 0x10
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x1019e616
push eax
push 0x1053ad10
push dword [esp + 0x74]
push dword [esp + 0x7c]
call sym.php5.dll_php_stream_wrapper_log_error
push dword [esp + 0xb4]
call sym.php5.dll__efree
add esp, 0x14
mov dword [esp + 0xa4], 0
push dword [esp + 0xa0]
call sym.php5.dll__efree
add esp, 4
test esi, esi
je 0x1019ed4e
cmp dword [esp + 0x74], 0
je 0x1019ed5f
cmp dword [esp + 0x8c], 0
je 0x1019ed5f
mov eax, dword [esp + 0x58]
xor edi, edi
xorps xmm0, xmm0
mov dword [esp + 0x48], edi
movq qword [esp + 0xdc], xmm0
test eax, eax
je 0x1019e67d
lea ecx, [esp + 0x44]
push ecx
push str.peer_name
push 0x105471f4
push eax
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1019e6d8
push 0x18
call sym.php5.dll__emalloc
mov esi, eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x10], edi
mov dword [esi + 8], 1
mov byte [esi + 0xd], 0
mov edx, dword [eax + 0xc]
mov ecx, edx
add esp, 4
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019e6a3
sub ecx, edi
push ecx
push edx
mov dword [esi + 4], ecx
call sym.php5.dll__estrndup
push esi
mov dword [esi], eax
mov eax, dword [esp + 0x5c]
push str.peer_name
mov byte [esi + 0xc], 6
push 0x105471f4
push dword [eax + 0x58]
call sym.php5.dll_php_stream_context_set_option
add esp, 0x18
xor edi, edi
test edi, edi
jne 0x1019e6ef
xor esi, esi
push esi
push 0x4f
lea ebx, [edi + 8]
mov dword [esp + 0x5c], 0x4e
push esi
jmp 0x1019e717
mov esi, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
lea ebx, [esi + 8]
mov dword [esp + 0x54], eax
cmp ebx, eax
jb 0x1019e725
lea eax, [ebx + 0x80]
mov dword [esp + 0x54], eax
push 0
inc eax
push eax
push edi
call sym.php5.dll__erealloc
mov edi, eax
mov dword [esp + 0x54], edi
add esp, 0xc
mov eax, dword [str.CONNECT]
mov dword [esi + edi], eax
mov eax, dword [0x104e9064]
mov dword [esi + edi + 4], eax
mov eax, dword [esp + 0x5c]
test edi, edi
jne 0x1019e76b
mov esi, dword [eax + 0xc]
xor ebx, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1019e746
sub esi, ecx
mov eax, 0x4e
cmp esi, 0x4e
jb 0x1019e75f
lea eax, [esi + 0x80]
mov dword [esp + 0x54], eax
push 0
inc eax
push eax
push 0
jmp 0x1019e792
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019e771
sub ecx, edx
lea esi, [ecx + ebx]
cmp esi, dword [esp + 0x54]
jb 0x1019e7a0
lea eax, [esi + 0x80]
mov dword [esp + 0x54], eax
push 0
inc eax
push eax
push edi
call sym.php5.dll__erealloc
mov ecx, eax
mov dword [esp + 0x54], ecx
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0xc]
mov ecx, edx
lea edi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019e7b0
sub ecx, edi
mov edi, dword [esp + 0x48]
push ecx
push edx
lea eax, [ebx + edi]
push eax
call sub.MSVCR110.dll_memcpy
add esp, 0xc
test edi, edi
jne 0x1019e7e6
push edi
mov esi, 1
push 0x4f
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], 0x4e
push edi
jmp 0x1019e800
inc esi
mov dword [esp + 0x4c], esi
cmp esi, dword [esp + 0x54]
jb 0x1019e80e
lea eax, [esi + 0x80]
mov dword [esp + 0x54], eax
push 0
inc eax
push eax
push edi
call sym.php5.dll__erealloc
mov edi, eax
mov dword [esp + 0x54], edi
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov byte [esi + edi - 1], 0x3a
movzx ebx, word [eax + 0x10]
lea edi, [esp + 0xf7]
mov byte [esp + 0xf7], 0
lea ebx, [ebx]
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov al, dl
shl al, 2
dec edi
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [edi], bl
mov ebx, edx
test ebx, ebx
jne 0x1019e830
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x1019e88b
lea esi, [esp + 0xf7]
sub esi, edi
lea eax, [edx + 0x4e]
cmp esi, 0x4e
jb 0x1019e871
lea eax, [esi + 0x80]
mov dword [esp + 0x54], eax
push 0
inc eax
push eax
push 0
call sym.php5.dll__erealloc
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x48], ecx
jmp 0x1019e8bf
mov eax, esi
sub eax, edi
lea esi, [esp + 0xf7]
add esi, eax
cmp esi, dword [esp + 0x54]
jb 0x1019e8bb
lea eax, [esi + 0x80]
mov dword [esp + 0x54], eax
push 0
inc eax
push eax
push ecx
call sym.php5.dll__erealloc
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x48], ecx
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0xf7]
sub eax, edi
push eax
push edi
mov edi, dword [esp + 0x50]
lea eax, [ebx + edi]
push eax
call sub.MSVCR110.dll_memcpy
add esp, 0xc
test edi, edi
jne 0x1019e8f6
xor esi, esi
push esi
push 0x4f
mov dword [esp + 0x54], 0xb
mov dword [esp + 0x5c], 0x4e
push esi
jmp 0x1019e911
lea ebx, [esi + 0xb]
mov dword [esp + 0x4c], ebx
cmp ebx, dword [esp + 0x54]
jb 0x1019e91f
sub ebx, 0xffffff80
push 0
lea eax, [ebx + 1]
push eax
mov dword [esp + 0x5c], ebx
push edi
call sym.php5.dll__erealloc
mov edi, eax
mov dword [esp + 0x54], edi
add esp, 0xc
movq xmm0, qword [str._HTTP_1.0_r_n]
movq qword [esi + edi], xmm0
mov ax, word [0x104e9074]
mov word [esi + edi + 8], ax
mov al, byte [0x104e9076]
mov byte [esi + edi + 0xa], al
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1019ea9a
lea ecx, [esp + 0x44]
push ecx
push str.header
push str.http
push eax
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019ea9a
mov eax, dword [esp + 0x44]
mov edi, dword [eax]
mov al, byte [edi + 0xc]
cmp al, 4
jne 0x1019eb86
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0xdc], 0
push dword [edi]
call sym.php5.dll_zend_hash_internal_pointer_reset_ex
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xe4]
push eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
push dword [eax]
call sym.php5.dll_zend_hash_get_current_data_ex
add esp, 0x14
test eax, eax
jne 0x1019ea96
nop
mov eax, dword [esp + 0xd8]
mov edi, dword [eax]
cmp byte [edi + 0xc], 6
jne 0x1019ea59
mov edi, dword [edi]
mov al, byte [edi]
cmp al, 0x20
je 0x1019e9df
cmp al, 9
jne 0x1019e9e2
inc edi
jmp 0x1019e9d5
mov al, byte [edi]
mov esi, edi
test al, al
je 0x1019ea04
lea ebx, [ebx]
cmp al, 0x3a
je 0x1019ea09
cmp al, 0xd
je 0x1019ea04
cmp al, 0xa
je 0x1019ea04
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1019e9f0
cmp byte [esi], 0x3a
jne 0x1019ea41
inc esi
mov eax, esi
sub eax, edi
cmp eax, 0x14
jne 0x1019ea2b
push eax
push str.Proxy_Authorization:
push eax
push edi
call sym.php5.dll_zend_binary_strcasecmp
add esp, 0x10
test eax, eax
je 0x1019eab8
mov al, byte [esi]
test al, al
je 0x1019ea41
cmp al, 0xd
je 0x1019ea41
cmp al, 0xa
je 0x1019ea41
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1019ea31
mov edi, esi
mov al, byte [edi]
cmp al, 0xd
je 0x1019ea4d
cmp al, 0xa
jne 0x1019ea50
inc edi
jmp 0x1019ea43
cmp byte [edi], 0
jne 0x1019e9d5
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push dword [eax]
call sym.php5.dll_zend_hash_move_forward_ex
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xe4]
push eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
push dword [eax]
call sym.php5.dll_zend_hash_get_current_data_ex
add esp, 0x14
test eax, eax
je 0x1019e9c0
mov edi, dword [esp + 0x48]
test edi, edi
jne 0x1019ec42
push edi
push 0x4f
push edi
lea esi, [edi + 2]
call sym.php5.dll__erealloc
add esp, 0xc
xor ebx, ebx
jmp 0x1019ec61
mov al, byte [esi]
test al, al
je 0x1019ead0
mov edi, edi
cmp al, 0xd
je 0x1019ead0
cmp al, 0xa
je 0x1019ead0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1019eac0
mov ecx, dword [esp + 0x48]
mov ebx, esi
sub ebx, edi
test ecx, ecx
jne 0x1019eaf9
lea eax, [ecx + 0x4e]
mov dword [esp + 0x4c], ecx
cmp ebx, eax
jb 0x1019eaed
lea eax, [ebx + 0x80]
mov dword [esp + 0x54], eax
push 0
inc eax
push eax
push 0
jmp 0x1019eb12
add ebx, dword [esp + 0x4c]
cmp ebx, dword [esp + 0x54]
jb 0x1019eb20
lea eax, [ebx + 0x80]
mov dword [esp + 0x54], eax
push 0
inc eax
push eax
push ecx
call sym.php5.dll__erealloc
mov ecx, eax
mov dword [esp + 0x54], ecx
add esp, 0xc
mov eax, dword [esp + 0x4c]
sub esi, edi
push esi
push edi
mov edi, dword [esp + 0x50]
add eax, edi
push eax
call sub.MSVCR110.dll_memcpy
add esp, 0xc
test edi, edi
jne 0x1019eb53
xor ebx, ebx
push ebx
push 0x4f
mov dword [esp + 0x54], 2
mov dword [esp + 0x5c], 0x4e
push ebx
jmp 0x1019eb6e
lea esi, [ebx + 2]
mov dword [esp + 0x4c], esi
cmp esi, dword [esp + 0x54]
jb 0x1019eb78
sub esi, 0xffffff80
push 0
lea eax, [esi + 1]
push eax
mov dword [esp + 0x5c], esi
push edi
call sym.php5.dll__erealloc
mov edi, eax
add esp, 0xc
mov eax, 0xa0d
mov word [ebx + edi], ax
jmp 0x1019ea9a
cmp al, 6
jne 0x1019ea96
cmp dword [edi + 4], 0
je 0x1019ea96
mov edi, dword [edi]
lea ebx, [ebx]
mov al, byte [edi]
cmp al, 0x20
je 0x1019ebaa
cmp al, 9
jne 0x1019ebad
inc edi
jmp 0x1019eba0
mov al, byte [edi]
mov esi, edi
test al, al
je 0x1019ebc9
cmp al, 0x3a
je 0x1019ebce
cmp al, 0xd
je 0x1019ebc9
cmp al, 0xa
je 0x1019ebc9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1019ebb5
cmp byte [esi], 0x3a
jne 0x1019ec02
inc esi
mov eax, esi
sub eax, edi
cmp eax, 0x14
jne 0x1019ebec
push eax
push str.Proxy_Authorization:
push eax
push edi
call sym.php5.dll_zend_binary_strcasecmp
add esp, 0x10
test eax, eax
je 0x1019ec1b
mov al, byte [esi]
test al, al
je 0x1019ec02
cmp al, 0xd
je 0x1019ec02
cmp al, 0xa
je 0x1019ec02
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1019ebf2
mov edi, esi
mov al, byte [edi]
cmp al, 0xd
je 0x1019ec0e
cmp al, 0xa
jne 0x1019ec11
inc edi
jmp 0x1019ec04
cmp byte [edi], 0
jne 0x1019eba0
jmp 0x1019ea96
mov al, byte [esi]
test al, al
je 0x1019ead0
cmp al, 0xd
je 0x1019ead0
cmp al, 0xa
je 0x1019ead0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1019ec25
jmp 0x1019ead0
mov ebx, dword [esp + 0x4c]
lea esi, [ebx + 2]
cmp esi, dword [esp + 0x54]
jb 0x1019ec63
push 0
lea eax, [esi + 0x81]
push eax
push edi
call sym.php5.dll__erealloc
add esp, 0xc
mov edi, eax
mov eax, 0xa0d
push esi
mov word [ebx + edi], ax
mov ebx, dword [esp + 0x54]
push edi
push ebx
call sym.php5.dll__php_stream_write
add esp, 0xc
cmp eax, esi
je 0x1019eca4
push str.Cannot_connect_to_HTTPS_server_through_proxy
push dword [esp + 0x70]
push dword [esp + 0x78]
call sym.php5.dll_php_stream_wrapper_log_error
push 3
push ebx
call sym.php5.dll__php_stream_free
add esp, 0x14
xor esi, esi
mov dword [esp + 0x50], esi
jmp 0x1019eca8
mov esi, dword [esp + 0x50]
test edi, edi
je 0x1019ecb5
push edi
call sym.php5.dll__efree
add esp, 4
test esi, esi
je 0x1019ed4e
push 0
push 0x3ff
lea eax, [esp + 0x980]
push eax
push esi
call sym.php5.dll__php_stream_get_line
add esp, 0x10
test eax, eax
je 0x1019ed0f
lea esp, [esp]
mov al, byte [esp + 0x978]
cmp al, 0xa
je 0x1019ed0f
cmp al, 0xd
je 0x1019ed0f
test al, al
je 0x1019ed0f
push 0
push 0x3ff
lea eax, [esp + 0x980]
push eax
push esi
call sym.php5.dll__php_stream_get_line
add esp, 0x10
test eax, eax
jne 0x1019ece0
push 0
push 0x39
push esi
call sym.php5.dll_php_stream_xport_crypto_setup
add esp, 0xc
test eax, eax
js 0x1019ed2f
push 1
push esi
call sym.php5.dll_php_stream_xport_crypto_enable
add esp, 8
test eax, eax
jns 0x1019ed55
push str.Cannot_connect_to_HTTPS_server_through_proxy
push dword [esp + 0x70]
push dword [esp + 0x78]
call sym.php5.dll_php_stream_wrapper_log_error
push 3
push esi
call sym.php5.dll__php_stream_free
add esp, 0x14
xor esi, esi
xor edi, edi
jmp 0x101a048a
mov edi, dword [esp + 0x88]
mov ebx, dword [ebp + 0x24]
test byte [esp + 0x6c], 0x20
je 0x1019ed7c
push 0
push 1
push 5
push esi
call sym.php5.dll__php_stream_set_option
add esp, 0x10
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 0x5c]
mov ecx, eax
and eax, 0xfffffff3
mov dword [esi + 0x5c], eax
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
and ecx, 0xc
push esi
push eax
mov dword [esp + 0xdc], ecx
call sym.php5.dll_php_stream_context_set
add esp, 8
test esi, esi
je 0x1019edc3
cmp dword [esi], 0
je 0x1019edc3
push 0
push 0
push 0
push 0
push 0
push 0
push 2
push esi
call sym.php5.dll_php_stream_notification_notify
add esp, 0x20
cmp dword [esp + 0x90], 0
je 0x1019eede
test esi, esi
je 0x1019f0cf
lea eax, [esp + 0x44]
push eax
push str.max_redirects
push str.http
push esi
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019eede
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax + 8], 1
jbe 0x1019ee57
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov edx, eax
add esp, 4
mov dword [edx + 0x10], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [edx + 0xc], al
mov dword [edx + 8], 1
mov byte [edx + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], edx
cmp byte [edx + 0xc], 3
jbe 0x1019ee57
push edx
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 1
je 0x1019eecf
cmp byte [eax + 0xd], 0
jne 0x1019eec1
cmp dword [eax + 8], 1
jbe 0x1019eec1
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov edx, eax
add esp, 4
mov dword [edx + 0x10], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [edx + 0xc], al
mov dword [edx + 8], 1
mov byte [edx + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], edx
cmp byte [edx + 0xc], 3
jbe 0x1019eec1
push edx
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov eax, dword [esp + 0x44]
push dword [eax]
call sym.php5.dll_convert_to_long
add esp, 4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x9c], eax
test esi, esi
je 0x1019f0cf
lea eax, [esp + 0x44]
push eax
push str.method
push str.http
push esi
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019ef9c
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 6
jne 0x1019ef9c
mov edx, dword [eax + 4]
test edx, edx
jle 0x1019ef9c
test ebx, ebx
je 0x1019ef4f
cmp edx, 3
jne 0x1019ef40
mov ecx, dword [eax]
mov ebx, 0x4547
cmp bx, word [ecx]
jne 0x1019ef40
mov ebx, 0x54
cmp bl, byte [ecx + 2]
je 0x1019ef4f
cmp edx, 4
jne 0x1019ef9c
mov eax, dword [eax]
cmp dword [eax], 0x44414548
jne 0x1019ef9c
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019ef54
sub ecx, esi
lea ebx, [edx + 0x1d]
add ebx, ecx
push ebx
mov dword [esp + 0x68], ebx
call sym.php5.dll__emalloc
mov ecx, dword [esp + 0x48]
mov esi, eax
mov edx, dword [ecx]
mov dword [esp + 0x6c], esi
mov ecx, dword [edx + 4]
inc ecx
push ecx
push dword [edx]
push esi
call sym.php5.dll_php_strlcpy
push 1
push 0x10549470
push esi
call dword [sym.imp.MSVCR110.dll_strncat]
mov esi, dword [esp + 0x74]
add esp, 0x1c
jmp 0x1019ef9e
xor ebx, ebx
lea eax, [esp + 0x44]
push eax
push str.protocol_version
push str.http
push esi
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019f0c8
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax + 8], 1
jbe 0x1019f01c
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov esi, eax
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov al, byte [eax + 0xc]
mov byte [esi + 0xc], al
mov dword [esi + 8], 1
mov byte [esi + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], esi
cmp byte [esi + 0xc], 3
jbe 0x1019f01c
push esi
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 2
je 0x1019f094
cmp byte [eax + 0xd], 0
jne 0x1019f086
cmp dword [eax + 8], 1
jbe 0x1019f086
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov esi, eax
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov al, byte [eax + 0xc]
mov byte [esi + 0xc], al
mov dword [esi + 8], 1
mov byte [esi + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], esi
cmp byte [esi + 0xc], 3
jbe 0x1019f086
push esi
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov eax, dword [esp + 0x44]
push dword [eax]
call sym.php5.dll_convert_to_double
add esp, 4
mov eax, dword [esp + 0x44]
sub esp, 8
mov eax, dword [eax]
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
push str._.1F
lea eax, [esp + 0xa0]
push 0
push eax
call sym.php5.dll_spprintf
mov esi, dword [esp + 0x6c]
add esp, 0x14
mov dword [esp + 0x80], eax
cmp dword [esp + 0x68], 0
jne 0x1019f107
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f0d4
mov ebx, dword [esp + 0x80]
sub ecx, edx
add ebx, 0x1d
add ebx, ecx
push ebx
mov dword [esp + 0x68], ebx
call sym.php5.dll__emalloc
push ebx
push str.GET
push eax
mov dword [esp + 0x78], eax
call dword [sym.imp.MSVCR110.dll_strncpy]
add esp, 0x10
cmp dword [esp + 0x78], 0
jne 0x1019f1fd
test esi, esi
je 0x1019f1b3
lea eax, [esp + 0x44]
push eax
push str.request_fulluri
push str.http
push esi
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019f1b3
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
movq xmm0, qword [eax]
movq qword [esp + 0xd8], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xe0], xmm0
cmp byte [esp + 0xe4], 3
jbe 0x1019f175
lea eax, [esp + 0xd8]
push eax
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
lea eax, [esp + 0xd8]
push eax
call sym.php5.dll_convert_to_boolean
xor ebx, ebx
add esp, 4
cmp byte [esp + 0xd8], bl
setne bl
cmp byte [esp + 0xe4], 3
jbe 0x1019f1ab
lea eax, [esp + 0xd8]
push eax
call sym.php5.dll__zval_dtor_func
add esp, 4
test ebx, ebx
mov ebx, dword [esp + 0x64]
jne 0x1019f1fd
mov esi, dword [esp + 0x5c]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1019f1c7
cmp byte [eax], 0
je 0x1019f1c7
push ebx
push eax
jmp 0x1019f1cd
push ebx
push 0x10622d94
mov edi, dword [esp + 0x70]
push edi
call sym.php5.dll_php_strlcat
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1019f232
push ebx
push 0x104e9104
push edi
call sym.php5.dll_php_strlcat
push ebx
push dword [esi + 0x18]
mov esi, edi
push esi
call sym.php5.dll_php_strlcat
add esp, 0x18
jmp 0x1019f236
mov esi, edi
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x1019f200
sub edi, esi
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x68]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1019f215
mov eax, dword [esp + 0x88]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x94], 0
push ebx
je 0x1019f26b
push str._HTTP_
push esi
call sym.php5.dll_php_strlcat
push ebx
push dword [esp + 0xa4]
push esi
call sym.php5.dll_php_strlcat
push ebx
push 0x10548574
push esi
call sym.php5.dll_php_strlcat
add esp, 0x24
jmp 0x1019f279
push str._HTTP_1.0_r_n
push esi
call sym.php5.dll_php_strlcat
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f280
sub ecx, edx
push ecx
push esi
push dword [esp + 0x58]
call sym.php5.dll__php_stream_write
mov ebx, dword [esp + 0x64]
add esp, 0xc
test ebx, ebx
je 0x1019f825
lea eax, [esp + 0x44]
push eax
push str.header
push str.http
push ebx
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019f825
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov eax, dword [eax]
mov dword [esp + 0x4c], ebx
cmp byte [eax + 0xc], 4
jne 0x1019f45d
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x58], ebx
push dword [eax]
xorps xmm0, xmm0
movq qword [esp + 0xe4], xmm0
call sym.php5.dll_zend_hash_internal_pointer_reset_ex
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
push dword [eax]
call sym.php5.dll_zend_hash_get_current_data_ex
mov esi, dword [esp + 0xf0]
add esp, 0x14
test eax, eax
jne 0x1019f41c
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x48], esi
nop
mov eax, dword [esp + 0x54]
mov esi, dword [eax]
cmp byte [esi + 0xc], 6
jne 0x1019f3de
mov esi, dword [esi + 4]
test ebx, ebx
jne 0x1019f363
mov dword [esp + 0x48], ebx
lea edi, [ebx + 0x4e]
cmp esi, 0x4e
jb 0x1019f359
lea edi, [esi + 0x80]
push 0
lea eax, [edi + 1]
push eax
push 0
jmp 0x1019f378
add esi, dword [esp + 0x48]
cmp esi, edi
jb 0x1019f382
lea edi, [esi + 0x80]
push 0
lea eax, [edi + 1]
push eax
push ebx
call sym.php5.dll__erealloc
mov ebx, eax
add esp, 0xc
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
push dword [eax + 4]
push dword [eax]
mov eax, dword [esp + 0x50]
add eax, ebx
push eax
call sub.MSVCR110.dll_memcpy
add esp, 0xc
test ebx, ebx
jne 0x1019f3b3
xor esi, esi
push esi
push 0x4f
mov dword [esp + 0x50], 2
lea edi, [ebx + 0x4e]
push esi
jmp 0x1019f3cb
lea eax, [esi + 2]
mov dword [esp + 0x48], eax
cmp eax, edi
jb 0x1019f3d5
lea edi, [eax + 0x80]
push 0
lea eax, [edi + 1]
push eax
push ebx
call sym.php5.dll__erealloc
mov ebx, eax
add esp, 0xc
mov eax, 0xa0d
mov word [esi + ebx], ax
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push dword [eax]
call sym.php5.dll_zend_hash_move_forward_ex
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
push dword [eax]
call sym.php5.dll_zend_hash_get_current_data_ex
add esp, 0x14
test eax, eax
je 0x1019f330
mov esi, dword [esp + 0x48]
test ebx, ebx
je 0x1019f45b
mov ecx, ebx
mov byte [esi + ebx], 0
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f430
push 3
push 0
push 0
sub ecx, edx
push 0
push ecx
push ebx
call sym.php5.dll_php_trim
push ebx
mov dword [esp + 0x68], eax
call sym.php5.dll__efree
mov ebx, dword [esp + 0x68]
add esp, 0x1c
jmp 0x1019f45d
xor ebx, ebx
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
cmp byte [ecx + 0xc], 6
jne 0x1019f489
mov eax, dword [ecx + 4]
test eax, eax
je 0x1019f489
push 3
push 0
push 0
push 0
push eax
push dword [ecx]
call sym.php5.dll_php_trim
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x4c], ebx
test ebx, ebx
je 0x1019f821
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f496
sub ecx, edx
je 0x1019f818
push ebx
call sym.php5.dll__estrdup
mov edx, ebx
mov edi, eax
add esp, 4
mov dword [esp + 0x7c], edi
lea esi, [edx + 1]
lea esp, [esp]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1019f4c0
sub edx, esi
push edx
push ebx
call sym.php5.dll_php_strtolower
mov esi, dword [sym.imp.MSVCR110.dll_strstr]
add esp, 8
cmp dword [esp + 0x90], 0
jne 0x1019f5f7
push str.content_length:
push ebx
call esi
mov esi, dword [sym.imp.MSVCR110.dll_strchr]
mov edi, eax
mov eax, dword [esp + 0x54]
mov ebx, edi
sub ebx, eax
add ebx, dword [esp + 0x84]
add esp, 8
test edi, edi
je 0x1019f56f
cmp edi, eax
je 0x1019f517
cmp byte [edi - 1], 0xa
jne 0x1019f56f
push 0xa
push edi
call esi
mov ecx, eax
add esp, 8
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x1019f565
mov esi, ecx
lea edx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x1019f530
sub esi, edx
push esi
lea eax, [ecx + 1]
push eax
push edi
call dword [sym.imp.MSVCR110.dll_memmove]
mov eax, dword [esp + 0x84]
sub eax, edi
inc eax
push esi
add eax, ebx
push eax
push ebx
call dword [sym.imp.MSVCR110.dll_memmove]
mov esi, dword [sym.imp.MSVCR110.dll_strchr]
add esp, 0x18
jmp 0x1019f56b
mov byte [edi], 0
mov byte [ebx], 0
mov eax, dword [esp + 0x4c]
push str.content_type:
push eax
call dword [sym.imp.MSVCR110.dll_strstr]
mov edi, eax
mov eax, dword [esp + 0x54]
mov ebx, edi
sub ebx, eax
add ebx, dword [esp + 0x84]
add esp, 8
test edi, edi
je 0x1019f5e9
cmp edi, eax
je 0x1019f59d
cmp byte [edi - 1], 0xa
jne 0x1019f5e9
push 0xa
push edi
call esi
mov ecx, eax
add esp, 8
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x1019f5e3
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1019f5b4
sub esi, edx
push esi
lea eax, [ecx + 1]
push eax
push edi
call dword [sym.imp.MSVCR110.dll_memmove]
mov eax, dword [esp + 0x84]
sub eax, edi
inc eax
push esi
add eax, ebx
push eax
push ebx
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0x18
jmp 0x1019f5e9
mov byte [edi], 0
mov byte [ebx], 0
mov edi, dword [esp + 0x7c]
mov esi, dword [sym.imp.MSVCR110.dll_strstr]
mov ebx, dword [esp + 0x4c]
push str.user_agent:
push ebx
call esi
add esp, 8
test eax, eax
je 0x1019f625
cmp eax, ebx
je 0x1019f61d
mov al, byte [eax - 1]
cmp al, 0xd
je 0x1019f61d
cmp al, 0xa
je 0x1019f61d
cmp al, 9
je 0x1019f61d
cmp al, 0x20
jne 0x1019f625
mov dword [esp + 0x60], 1
push str.host:
push ebx
call esi
add esp, 8
test eax, eax
je 0x1019f650
cmp eax, ebx
je 0x1019f64b
mov al, byte [eax - 1]
cmp al, 0xd
je 0x1019f64b
cmp al, 0xa
je 0x1019f64b
cmp al, 9
je 0x1019f64b
cmp al, 0x20
jne 0x1019f650
or dword [esp + 0x60], 2
push str.from:
push ebx
call esi
add esp, 8
test eax, eax
je 0x1019f67b
cmp eax, ebx
je 0x1019f676
mov al, byte [eax - 1]
cmp al, 0xd
je 0x1019f676
cmp al, 0xa
je 0x1019f676
cmp al, 9
je 0x1019f676
cmp al, 0x20
jne 0x1019f67b
or dword [esp + 0x60], 8
push str.authorization:
push ebx
call esi
add esp, 8
test eax, eax
je 0x1019f6a6
cmp eax, ebx
je 0x1019f6a1
mov al, byte [eax - 1]
cmp al, 0xd
je 0x1019f6a1
cmp al, 0xa
je 0x1019f6a1
cmp al, 9
je 0x1019f6a1
cmp al, 0x20
jne 0x1019f6a6
or dword [esp + 0x60], 4
push str.content_length:
push ebx
call esi
add esp, 8
test eax, eax
je 0x1019f6d1
cmp eax, ebx
je 0x1019f6cc
mov al, byte [eax - 1]
cmp al, 0xd
je 0x1019f6cc
cmp al, 0xa
je 0x1019f6cc
cmp al, 9
je 0x1019f6cc
cmp al, 0x20
jne 0x1019f6d1
or dword [esp + 0x60], 0x10
push str.content_type:
push ebx
call esi
add esp, 8
test eax, eax
je 0x1019f6fc
cmp eax, ebx
je 0x1019f6f7
mov al, byte [eax - 1]
cmp al, 0xd
je 0x1019f6f7
cmp al, 0xa
je 0x1019f6f7
cmp al, 9
je 0x1019f6f7
cmp al, 0x20
jne 0x1019f6fc
or dword [esp + 0x60], 0x20
push str.connection:
push ebx
call esi
add esp, 8
test eax, eax
je 0x1019f727
cmp eax, ebx
je 0x1019f722
mov al, byte [eax - 1]
cmp al, 0xd
je 0x1019f722
cmp al, 0xa
je 0x1019f722
cmp al, 9
je 0x1019f722
cmp al, 0x20
jne 0x1019f727
or dword [esp + 0x60], 0x40
cmp dword [esp + 0x74], 0
je 0x1019f818
cmp dword [esp + 0x8c], 0
je 0x1019f818
push str.proxy_authorization:
push ebx
call esi
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x1019f818
cmp ecx, ebx
je 0x1019f770
mov al, byte [ecx - 1]
cmp al, 0xd
je 0x1019f770
cmp al, 0xa
je 0x1019f770
cmp al, 9
je 0x1019f770
cmp al, 0x20
jne 0x1019f818
lea edx, [ecx + 0x14]
cmp ecx, ebx
jbe 0x1019f787
mov al, byte [ecx - 1]
cmp al, 0x20
je 0x1019f782
cmp al, 9
jne 0x1019f787
dec ecx
cmp ecx, ebx
ja 0x1019f777
mov al, byte [edx]
test al, al
je 0x1019f7a0
lea ecx, [ecx]
cmp al, 0xd
je 0x1019f7aa
cmp al, 0xa
je 0x1019f7a0
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x1019f790
mov al, byte [edx]
cmp al, 0xd
je 0x1019f7aa
cmp al, 0xa
jne 0x1019f7ad
inc edx
jmp 0x1019f7a0
cmp byte [edx], 0
jne 0x1019f7ec
cmp ecx, ebx
jne 0x1019f7c9
push edi
call sym.php5.dll__efree
add esp, 4
mov dword [esp + 0x7c], 0
jmp 0x1019f818
jbe 0x1019f7e4
jmp 0x1019f7d0
mov al, byte [ecx - 1]
lea edx, [ecx - 1]
cmp al, 0xd
je 0x1019f7de
cmp al, 0xa
jne 0x1019f7e4
mov ecx, edx
cmp ecx, ebx
ja 0x1019f7d0
sub ecx, ebx
mov byte [ecx + edi], 0
jmp 0x1019f818
mov esi, edx
lea edi, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1019f7f1
sub esi, edi
sub edx, ebx
add edx, dword [esp + 0x7c]
lea eax, [esi + 1]
push eax
sub ecx, ebx
add ecx, dword [esp + 0x80]
push edx
push ecx
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
push ebx
call sym.php5.dll__efree
add esp, 4
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
test al, 4
jne 0x1019f969
mov esi, dword [esp + 0x5c]
mov edx, dword [esi + 4]
test edx, edx
je 0x1019f969
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f845
sub ecx, esi
push ecx
push edx
call sym.php5.dll_php_url_decode
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
mov ecx, dword [esi + 4]
add esp, 8
mov edx, edi
mov al, byte [ecx]
mov byte [edx], al
lea ecx, [ecx + 1]
lea edx, [edx + 1]
test al, al
jne 0x1019f865
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x1019f874
mov ax, word [0x10549488]
mov word [edi], ax
mov edx, dword [esi + 8]
test edx, edx
je 0x1019f8d6
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f893
sub ecx, esi
push ecx
push edx
call sym.php5.dll_php_url_decode
mov eax, dword [esp + 0x64]
add esp, 8
mov edx, dword [eax + 8]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1019f8b0
mov edi, dword [esp + 0x68]
sub edx, esi
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1019f8c0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x68]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f8e0
sub ecx, edx
push 0
push ecx
push esi
call sym.php5.dll_php_base64_encode
mov edi, dword [esp + 0x70]
mov esi, eax
push esi
push str.Authorization:_Basic__s_r_n
push edi
push dword [esp + 0x80]
call sym.php5.dll_ap_php_snprintf
add esp, 0x1c
test eax, eax
jle 0x1019f95a
mov ecx, dword [esp + 0x68]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f920
sub ecx, edx
push ecx
push dword [esp + 0x6c]
push dword [esp + 0x58]
call sym.php5.dll__php_stream_write
add esp, 0xc
test ebx, ebx
je 0x1019f95a
cmp dword [ebx], 0
je 0x1019f95a
push 0
push 0
push 0
push 0
push 0
push 0
push 3
push ebx
call sym.php5.dll_php_stream_notification_notify
add esp, 0x20
push esi
call sym.php5.dll__efree
mov eax, dword [esp + 0x64]
add esp, 4
jmp 0x1019f96d
mov edi, dword [esp + 0x64]
test al, 8
jne 0x1019f9b1
mov eax, dword [0x10660b74]
test eax, eax
je 0x1019f9b7
mov esi, dword [esp + 0x68]
push eax
push str.From:__s_r_n
push edi
push esi
call sym.php5.dll_ap_php_snprintf
add esp, 0x10
test eax, eax
jle 0x1019f9b7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019f997
sub ecx, edx
push ecx
push esi
mov esi, dword [esp + 0x58]
push esi
call sym.php5.dll__php_stream_write
add esp, 0xc
jmp 0x1019f9bb
mov esi, dword [esp + 0x50]
jmp 0x1019f9bf
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
test al, 2
jne 0x1019fa28
cmp dword [esp + 0x8c], 0
mov eax, dword [esp + 0x5c]
movzx eax, word [eax + 0x10]
je 0x1019faa6
mov ecx, 0x1bb
cmp ax, cx
je 0x1019f9ec
test ax, ax
jne 0x1019fab8
mov eax, dword [esp + 0x5c]
push dword [eax + 0xc]
push str.Host:__s_r_n
push edi
mov edi, dword [esp + 0x74]
push edi
call sym.php5.dll_ap_php_snprintf
add esp, 0x10
test eax, eax
jle 0x1019fa24
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019fa10
sub ecx, edx
push ecx
push edi
push esi
call sym.php5.dll__php_stream_write
add esp, 0xc
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x1019fa6c
test al, 0x40
jne 0x1019fa6c
mov edx, dword [esp + 0x80]
mov eax, 3
cmp edx, eax
cmovl eax, edx
push eax
push 0x10472734
push ecx
call dword [sym.imp.MSVCR110.dll_strncmp]
add esp, 0xc
test eax, eax
jle 0x1019fa6c
push 0x13
push str.Connection:_close_r_n
push esi
call sym.php5.dll__php_stream_write
add esp, 0xc
test ebx, ebx
je 0x1019faef
lea eax, [esp + 0xc0]
push eax
push str.user_agent
push str.http
push ebx
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019faef
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
cmp byte [eax + 0xc], 6
jne 0x1019faef
mov ecx, dword [eax]
jmp 0x1019fafe
cmp eax, 0x50
je 0x1019f9ec
test ax, ax
je 0x1019f9ec
movzx eax, ax
push eax
mov eax, dword [esp + 0x60]
push dword [eax + 0xc]
push str.Host:__s:_i_r_n
push edi
mov edi, dword [esp + 0x78]
push edi
call sym.php5.dll_ap_php_snprintf
add esp, 0x14
test eax, eax
jle 0x1019fa24
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019fae3
jmp 0x1019fa17
mov eax, dword [0x10660b70]
test eax, eax
mov ecx, 0
cmovne ecx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], ecx
test al, 1
jne 0x1019fb7c
test ecx, ecx
je 0x1019fb7c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019fb15
sub ecx, edx
lea edi, [ecx + 0x11]
cmp edi, 0x11
jbe 0x1019fb78
lea eax, [edi + 1]
push eax
call sym.php5.dll__emalloc
mov esi, eax
mov eax, dword [esp + 0x7c]
push eax
push str.User_Agent:__s_r_n
push edi
push esi
call sym.php5.dll_ap_php_slprintf
add esp, 0x14
test eax, eax
je 0x1019fb5a
push eax
push esi
push dword [esp + 0x58]
mov byte [esi + eax], 0
call sym.php5.dll__php_stream_write
jmp 0x1019fb68
push str.Cannot_construct_User_agent_header
push 2
push 0
call sym.php5.dll_php_error_docref0
add esp, 0xc
test esi, esi
je 0x1019fb78
push esi
call sym.php5.dll__efree
add esp, 4
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x1019fc2d
cmp dword [esp + 0x90], 0
je 0x1019fbfb
test ebx, ebx
je 0x1019fbfb
test al, 0x10
jne 0x1019fbfb
lea eax, [esp + 0x44]
push eax
push 0x104bd0d4
push str.http
push ebx
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019fbfb
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 6
jne 0x1019fbfb
mov eax, dword [eax + 4]
test eax, eax
jle 0x1019fbfb
mov esi, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push str.Content_Length:__d_r_n
push eax
push esi
call sym.php5.dll_ap_php_slprintf
push eax
push esi
mov esi, dword [esp + 0x68]
push esi
mov dword [esp + 0x80], eax
call sym.php5.dll__php_stream_write
add esp, 0x1c
or dword [esp + 0x60], 0x10
jmp 0x1019fbff
mov esi, dword [esp + 0x50]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019fc04
sub ecx, edx
push ecx
push edi
push esi
call sym.php5.dll__php_stream_write
push 2
push 0x10548574
push esi
call sym.php5.dll__php_stream_write
push edi
call sym.php5.dll__efree
add esp, 0x1c
jmp 0x1019fc31
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x90]
test edi, edi
je 0x1019fcf9
test ebx, ebx
je 0x1019fcf9
lea eax, [esp + 0x44]
push eax
push 0x104bd0d4
push str.http
push ebx
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019fcf9
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 6
jne 0x1019fcf9
mov eax, dword [eax + 4]
test eax, eax
jle 0x1019fcf9
test byte [esp + 0x60], 0x10
jne 0x1019fcb1
mov edi, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push str.Content_Length:__d_r_n
push eax
push edi
call sym.php5.dll_ap_php_slprintf
push eax
push edi
push esi
call sym.php5.dll__php_stream_write
mov edi, dword [esp + 0xac]
add esp, 0x1c
test byte [esp + 0x60], 0x20
jne 0x1019fcd6
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push esi
call sym.php5.dll__php_stream_write
push str.Content_type_not_specified_assuming_application_x_www_form_urlencoded
push 8
push 0
call sym.php5.dll_php_error_docref0
add esp, 0x18
push 2
push 0x10548574
push esi
call sym.php5.dll__php_stream_write
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
push dword [eax + 4]
push dword [eax]
push esi
call sym.php5.dll__php_stream_write
add esp, 0x18
jmp 0x1019fd09
push 2
push 0x10548574
push esi
call sym.php5.dll__php_stream_write
add esp, 0xc
cmp dword [0x106691e0], 0
mov byte [esp + 0x178], 0
jne 0x1019fd1f
call sym.php5.dll_zend_rebuild_symbol_table
test edi, edi
je 0x1019fe30
push 0x18
call sym.php5.dll__emalloc
mov dword [esp + 0x50], eax
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x50]
push 0
mov dword [eax + 8], 1
mov eax, dword [esp + 0x54]
mov byte [eax + 0xd], 0
push dword [esp + 0x54]
call sym.php5.dll__array_init
lea eax, [esp + 0x8c]
push eax
push 0x15
push str.http_response_header
push dword [0x106691e0]
call sym.php5.dll_zend_hash_find
add esp, 0x1c
test eax, eax
jne 0x1019fdfd
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x1019fdfd
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x4c]
mov byte [eax + 0xd], 1
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
cmp byte [eax + 0xc], 3
jbe 0x1019fdc0
push eax
call sym.php5.dll__zval_dtor_func
mov ecx, dword [esp + 0x84]
add esp, 4
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx]
movq xmm0, qword [eax]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
mov eax, dword [esp + 0x4c]
test dword [eax + 0x10], 0xfffffffc
je 0x1019fdf2
push eax
call sym.php5.dll_gc_remove_zval_from_buffer
mov eax, dword [esp + 0x50]
add esp, 4
push eax
call sym.php5.dll__efree
add esp, 4
jmp 0x1019fe30
mov eax, dword [esp + 0x4c]
push 1
mov byte [eax + 0xd], 0
mov eax, dword [esp + 0x50]
push 0
mov dword [eax + 8], 1
push 4
lea eax, [esp + 0x58]
push eax
push 0x15
push str.http_response_header
push dword [0x106691e0]
call sym.php5.dll__zend_hash_add_or_update
add esp, 0x1c
lea eax, [esp + 0x78]
push eax
push 0x15
push str.http_response_header
push dword [0x106691e0]
call sym.php5.dll_zend_hash_find
add esp, 0x10
test eax, eax
jne 0x101a09ab
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
cmp byte [eax + 0xc], 4
jne 0x101a09ab
mov edi, eax
push esi
inc dword [edi + 8]
mov dword [esp + 0x4c], edi
call sym.php5.dll__php_stream_eof
add esp, 4
test eax, eax
jne 0x101a0991
lea eax, [esp + 0x64]
push eax
push 0x7f
lea eax, [esp + 0x100]
push eax
push esi
call sym.php5.dll__php_stream_get_line
mov ebx, dword [sym.imp.MSVCR110.dll_atoi]
add esp, 0x10
test eax, eax
je 0x101a002c
mov ecx, dword [esp + 0x64]
cmp ecx, 9
jbe 0x1019fec0
lea eax, [esp + 0x101]
push eax
call ebx
mov ecx, dword [esp + 0x68]
add esp, 4
mov edi, eax
jmp 0x1019fec2
xor edi, edi
mov edx, dword [esp + 0x58]
test edx, edx
je 0x1019ff0d
lea eax, [esp + 0x44]
push eax
push str.ignore_errors
push str.http
push edx
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x1019ff05
mov eax, dword [esp + 0x44]
push dword [eax]
call sym.php5.dll_zend_is_true
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0xd0], eax
jmp 0x1019ff0f
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
xor eax, eax
test dword [esp + 0x6c], 0x200
jne 0x1019ff1d
test eax, eax
je 0x1019ff28
mov dword [esp + 0xb0], 1
lea eax, [edi - 0xc8]
cmp eax, 0xc7
ja 0x1019ff42
mov dword [esp + 0xb0], 1
jmp 0x1019ffaa
cmp edi, 0x193
je 0x1019ff7a
movzx eax, byte [esp + 0xf8]
xor esi, esi
test ecx, ecx
cmove eax, esi
mov byte [esp + 0xf8], al
test edx, edx
je 0x1019ffaa
cmp dword [edx], esi
je 0x1019ffaa
push esi
push esi
push esi
push edi
lea eax, [esp + 0x108]
push eax
push 2
push 9
jmp 0x1019ff9a
test edx, edx
je 0x1019ffaa
cmp dword [edx], 0
je 0x1019ffaa
push 0
push 0
push 0
push 0x193
lea eax, [esp + 0x108]
push eax
push 2
push 0xa
push edx
call sym.php5.dll_php_stream_notification_notify
mov ecx, dword [esp + 0x84]
add esp, 0x20
cmp byte [esp + ecx + 0xf7], 0xa
jne 0x1019ffc8
dec ecx
mov dword [esp + 0x64], ecx
cmp byte [esp + ecx + 0xf7], 0xd
jne 0x1019ffc8
dec ecx
mov dword [esp + 0x64], ecx
push 0x18
call sym.php5.dll__emalloc
mov dword [esp + 0x78], eax
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x78]
mov dword [eax + 8], 1
mov eax, dword [esp + 0x78]
mov byte [eax + 0xd], 0
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x78]
push eax
mov dword [esi + 4], eax
lea eax, [esp + 0x100]
push eax
call sym.php5.dll__estrndup
push 4
push 0
mov dword [esi], eax
push 4
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x64]
mov byte [esi + 0xc], 6
push 0
push dword [eax]
call sym.php5.dll__zend_hash_index_update_or_next_insert
add esp, 0x24
jmp 0x101a0033
mov edi, dword [esp + 0xbc]
push 0x400
call sym.php5.dll__emalloc
mov esi, eax
add esp, 4
mov dword [esp + 0x84], esi
lea esp, [esp]
push dword [esp + 0x50]
call sym.php5.dll__php_stream_eof
add esp, 4
test eax, eax
jne 0x101a04f6
lea eax, [esp + 0x64]
push eax
push 0x400
push esi
push dword [esp + 0x5c]
call sym.php5.dll__php_stream_get_line
add esp, 0x10
test eax, eax
je 0x101a04f6
mov al, byte [esi]
cmp al, 0xa
je 0x101a04f6
cmp al, 0xd
je 0x101a04f6
mov eax, dword [esp + 0x64]
dec eax
add eax, esi
cmp byte [eax], 0xa
je 0x101a00d0
lea eax, [esp + 0x64]
push eax
push 0x400
push esi
push dword [esp + 0x5c]
call sym.php5.dll__php_stream_get_line
add esp, 0x10
test eax, eax
je 0x101a046d
mov eax, dword [esp + 0x64]
cmp byte [eax + esi - 1], 0xa
jne 0x101a00a1
jmp 0x101a0459
mov cl, byte [eax]
cmp cl, 0xa
je 0x101a00dc
cmp cl, 0xd
jne 0x101a00df
dec eax
jmp 0x101a00d0
sub eax, esi
push 0xa
inc eax
push 0x104e933c
mov dword [esp + 0x6c], eax
push esi
mov byte [eax + esi], 0
call dword [sym.imp.MSVCR110.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x101a0265
mov eax, dword [esp + 0x58]
test eax, eax
je 0x101a0216
lea ecx, [esp + 0x44]
push ecx
push str.follow_location
push str.http
push eax
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x101a0216
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax + 8], 1
jbe 0x101a018d
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov esi, eax
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov al, byte [eax + 0xc]
mov byte [esi + 0xc], al
mov dword [esi + 8], 1
mov byte [esi + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], esi
cmp byte [esi + 0xc], 3
jbe 0x101a018d
push esi
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp byte [eax + 0xc], 1
je 0x101a0205
cmp byte [eax + 0xd], 0
jne 0x101a01f7
cmp dword [eax + 8], 1
jbe 0x101a01f7
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov esi, eax
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov al, byte [eax + 0xc]
mov byte [esi + 0xc], al
mov dword [esi + 8], 1
mov byte [esi + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], esi
cmp byte [esi + 0xc], 3
jbe 0x101a01f7
push esi
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov eax, dword [esp + 0x44]
push dword [eax]
call sym.php5.dll_convert_to_long
add esp, 4
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x84]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x101a0240
cmp edi, 0x12c
jl 0x101a0226
cmp edi, 0x130
jl 0x101a0247
cmp edi, 0x133
je 0x101a0247
mov eax, dword [esp + 0x98]
xor ecx, ecx
cmp edi, 0x134
cmovne eax, ecx
mov dword [esp + 0x98], eax
push 0x400
lea eax, [esi + 0xa]
push eax
lea eax, [esp + 0x180]
push eax
call sym.php5.dll_php_strlcpy
add esp, 0xc
jmp 0x101a03ee
push 0xe
push 0x104e9358
push esi
call dword [sym.imp.MSVCR110.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x101a02a8
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x101a03ee
cmp dword [ecx], eax
je 0x101a03ee
push eax
push eax
push eax
push eax
lea eax, [esi + 0xe]
push eax
push 0
push 4
push ecx
call sym.php5.dll_php_stream_notification_notify
add esp, 0x20
jmp 0x101a03ee
push 0x10
push 0x104e9368
push esi
call dword [sym.imp.MSVCR110.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x101a02fc
lea eax, [esi + 0x10]
push eax
call ebx
mov ecx, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0xcc], eax
test ecx, ecx
je 0x101a03ee
cmp dword [ecx], 0
je 0x101a03ee
push 0
push eax
push 0
push 0
push esi
push 0
push 5
push ecx
call sym.php5.dll_php_stream_notification_notify
add esp, 0x20
jmp 0x101a03ee
push 0x1b
push str.Transfer_Encoding:_chunked
push esi
call dword [sym.imp.MSVCR110.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x101a03ee
test dword [esp + 0x6c], 0x200
jne 0x101a03ee
mov eax, dword [esp + 0x58]
test eax, eax
je 0x101a03cd
lea ecx, [esp + 0x44]
push ecx
push str.auto_decode
push str.http
push eax
call sym.php5.dll_php_stream_context_get_option
add esp, 0x10
test eax, eax
jne 0x101a03cd
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp dword [eax + 8], 1
jbe 0x101a03b4
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
mov esi, eax
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov al, byte [eax + 0xc]
mov byte [esi + 0xc], al
mov dword [esi + 8], 1
mov byte [esi + 0xd], 0
mov eax, dword [esp + 0x44]
mov dword [eax], esi
cmp byte [esi + 0xc], 3
jbe 0x101a03ad
push esi
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x44]
push dword [eax]
call sym.php5.dll_convert_to_boolean
mov eax, dword [esp + 0x48]
add esp, 4
mov eax, dword [eax]
cmp dword [eax], 0
je 0x101a03ee
mov eax, dword [esp + 0x50]
push dword [eax + 0x30]
push 0
push str.dechunk
call sym.php5.dll_php_stream_filter_create
add esp, 0xc
mov dword [esp + 0xac], eax
test eax, eax
jne 0x101a0459
cmp byte [esi], 0
je 0x101a04f6
push 0x18
call sym.php5.dll__emalloc
mov dword [esp + 0x78], eax
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x78]
mov dword [eax + 8], 1
mov eax, dword [esp + 0x78]
mov byte [eax + 0xd], 0
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x78]
push eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0x8c]
push eax
call sym.php5.dll__estrndup
push 4
push 0
mov dword [esi], eax
push 4
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x64]
mov byte [esi + 0xc], 6
push 0
push dword [eax]
call sym.php5.dll__zend_hash_index_update_or_next_insert
add esp, 0x24
xor eax, eax
jne 0x101a04f6
mov esi, dword [esp + 0x84]
jmp 0x101a0050
push str.Failed_to_read_HTTP_headers
push dword [esp + 0x70]
push dword [esp + 0x78]
call sym.php5.dll_php_stream_wrapper_log_error
add esp, 0xc
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x94]
test eax, eax
je 0x101a04a2
push eax
call sym.php5.dll__efree
add esp, 4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x101a04b6
push eax
call sym.php5.dll__efree
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x101a04c7
push eax
call sym.php5.dll__efree
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x101a04d8
push eax
call sym.php5.dll_php_url_free
add esp, 4
test esi, esi
je 0x101a0a7c
cmp dword [esp + 0x90], 0
je 0x101a09c7
mov dword [esi + 0x28], edi
jmp 0x101a09ce
cmp dword [esp + 0xb0], 0
mov al, byte [esp + 0x178]
je 0x101a050f
test al, al
je 0x101a0482
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x101a0482
test dword [esp + 0x6c], 0x200
jne 0x101a0532
cmp dword [esp + 0xd0], 0
je 0x101a0540
cmp dword [esp + 0x9c], 1
jle 0x101a0482
mov ebx, dword [esp + 0x58]
test al, al
je 0x101a056e
test ebx, ebx
je 0x101a056e
cmp dword [ebx], 0
je 0x101a056e
push 0
push 0
push 0
push 0
lea eax, [esp + 0x188]
push eax
push 0
push 6
push ebx
call sym.php5.dll_php_stream_notification_notify
add esp, 0x20
push 3
push dword [esp + 0x54]
call sym.php5.dll__php_stream_free
mov dl, byte [esp + 0x180]
xor esi, esi
add esp, 8
mov dword [esp + 0x50], esi
test dl, dl
je 0x101a096b
lea ecx, [esp + 0x178]
mov byte [esp + 0x578], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101a05a3
sub ecx, esi
cmp ecx, 8
jb 0x101a062e
mov esi, dword [sym.imp.MSVCR110.dll__strnicmp]
push 7
lea eax, [esp + 0x17c]
push str.http:__
push eax
call esi
add esp, 0xc
test eax, eax
je 0x101a0684
push 8
lea eax, [esp + 0x17c]
push str.https:__
push eax
call esi
add esp, 0xc
test eax, eax
je 0x101a0684
push 6
lea eax, [esp + 0x17c]
push str.ftp:__
push eax
call esi
add esp, 0xc
test eax, eax
je 0x101a0684
push 7
lea eax, [esp + 0x17c]
push str.ftps:__
push eax
call esi
add esp, 0xc
test eax, eax
je 0x101a0684
mov dl, byte [esp + 0x178]
cmp dl, 0x2f
je 0x101a0718
cmp byte [esp + 0x179], 0
je 0x101a06f4
mov esi, dword [esp + 0x5c]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x101a06f4
push 0x2f
push eax
call dword [sym.imp.MSVCR110.dll_strrchr]
add esp, 8
test eax, eax
jne 0x101a06a9
mov eax, dword [esi + 0x14]
cmp byte [eax], 0
jne 0x101a06a6
push eax
call sym.php5.dll__efree
push 0x10622d94
call sym.php5.dll__estrdup
add esp, 8
mov dword [esi + 0x14], eax
jmp 0x101a06a9
push 0x400
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x580]
push eax
call sym.php5.dll_php_strlcpy
add esp, 0xc
jmp 0x101a0786
mov byte [eax], 0x2f
mov byte [eax + 1], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x101a06cf
cmp byte [eax], 0x2f
jne 0x101a06cf
cmp byte [eax + 1], 0
jne 0x101a06cf
lea ecx, [esp + 0x178]
push ecx
push eax
push str._s_s
jmp 0x101a06dd
lea ecx, [esp + 0x178]
push ecx
push eax
push 0x10622048
lea eax, [esp + 0x984]
push 0x3ff
push eax
call sym.php5.dll_ap_php_snprintf
add esp, 0x14
jmp 0x101a0735
lea eax, [esp + 0x178]
push eax
push 0x104e93c0
lea eax, [esp + 0x980]
push 0x3ff
push eax
call sym.php5.dll_ap_php_snprintf
add esp, 0x10
jmp 0x101a0735
push 0x400
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x980]
push eax
call sym.php5.dll_php_strlcpy
add esp, 0xc
cmp dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x5c]
movzx eax, word [ecx + 0x10]
je 0x101a07d3
mov edx, 0x1bb
cmp ax, dx
jne 0x101a07d8
lea eax, [esp + 0x978]
push eax
push dword [ecx + 0xc]
lea eax, [esp + 0x580]
push dword [ecx]
push str._s:___s_s
push 0x3ff
push eax
call sym.php5.dll_ap_php_snprintf
add esp, 0x18
mov esi, dword [sym.imp.MSVCR110.dll__strnicmp]
push dword [esp + 0x5c]
call sym.php5.dll_php_url_free
lea eax, [esp + 0x57c]
push eax
call sym.php5.dll_php_url_parse
mov edi, eax
add esp, 8
mov dword [esp + 0x5c], edi
lea eax, [esp + 0x578]
test edi, edi
jne 0x101a0808
push eax
push str.Invalid_redirect_URL___s
push dword [esp + 0x74]
push dword [esp + 0x7c]
call sym.php5.dll_php_stream_wrapper_log_error
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
add esp, 0x10
jmp 0x101a048e
cmp eax, 0x50
je 0x101a0759
movzx eax, ax
lea edx, [esp + 0x978]
push edx
push eax
push dword [ecx + 0xc]
lea eax, [esp + 0x584]
push dword [ecx]
push str._s:___s:_d_s
push 0x3ff
push eax
call sym.php5.dll_ap_php_snprintf
add esp, 0x1c
jmp 0x101a0780
push 7
push str.http:__
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x101a0835
push 8
lea eax, [esp + 0x57c]
push str.https:__
push eax
call esi
add esp, 0xc
test eax, eax
je 0x101a0909
mov edx, dword [edi + 4]
mov edi, dword [sym.imp.MSVCR110.dll_iscntrl]
test edx, edx
je 0x101a087e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101a0847
sub ecx, esi
push ecx
push edx
call sym.php5.dll_php_url_decode
mov esi, dword [esp + 0x64]
add esp, 8
mov esi, dword [esi + 4]
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x101a087e
movzx eax, byte [esi]
push eax
call edi
add esp, 4
test eax, eax
jne 0x101a0949
inc esi
cmp esi, ebx
jb 0x101a0868
mov ebx, dword [esp + 0x5c]
mov edx, dword [ebx + 8]
test edx, edx
je 0x101a08ca
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101a0890
sub ecx, esi
push ecx
push edx
call sym.php5.dll_php_url_decode
mov esi, dword [ebx + 8]
add esp, 8
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x101a08c6
lea ecx, [ecx]
movzx eax, byte [esi]
push eax
call edi
add esp, 4
test eax, eax
jne 0x101a0949
inc esi
cmp esi, ebx
jb 0x101a08b0
mov ebx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x101a0905
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101a08d6
sub ecx, esi
push ecx
push edx
call sym.php5.dll_php_url_decode
mov esi, dword [ebx + 0x14]
add esp, 8
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x101a0905
movzx eax, byte [esi]
push eax
call edi
add esp, 4
test eax, eax
jne 0x101a0949
inc esi
cmp esi, ebx
jb 0x101a08f3
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x9c]
push 2
dec eax
push eax
push ebx
push dword [esp + 0xc8]
lea eax, [esp + 0x588]
push dword [esp + 0x7c]
push dword [esp + 0xbc]
push eax
push dword [esp + 0x8c]
call fcn.1019e0b0
mov edi, dword [esp + 0x68]
add esp, 0x20
mov esi, eax
jmp 0x101a048e
lea eax, [esp + 0x578]
push eax
push str.Invalid_redirect_URL___s
push dword [esp + 0x74]
push dword [esp + 0x7c]
call sym.php5.dll_php_stream_wrapper_log_error
add esp, 0x10
jmp 0x101a0482
lea eax, [esp + 0xf8]
push eax
push str.HTTP_request_failed___s
push dword [esp + 0x74]
push dword [esp + 0x7c]
call sym.php5.dll_php_stream_wrapper_log_error
mov edi, dword [esp + 0x58]
add esp, 0x10
jmp 0x101a048e
push str.HTTP_request_failed__unexpected_end_of_socket_
push dword [esp + 0x70]
push dword [esp + 0x78]
call sym.php5.dll_php_stream_wrapper_log_error
add esp, 0xc
jmp 0x101a048e
push str.HTTP_request_failed__http_response_header_overwritten
push dword [esp + 0x70]
push dword [esp + 0x78]
call sym.php5.dll_php_stream_wrapper_log_error
add esp, 0xc
xor edi, edi
jmp 0x101a048e
test edi, edi
je 0x101a09ce
dec dword [edi + 8]
test ebx, ebx
je 0x101a0a0c
mov eax, dword [ebx]
test eax, eax
je 0x101a0a0c
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0x10], 0
mov eax, dword [ebx]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx]
or dword [eax + 0xc], 1
cmp dword [ebx], 0
je 0x101a0a0c
push 0
push ecx
push 0
push 0
push 0
push 0
push 7
push ebx
call sym.php5.dll_php_stream_notification_notify
add esp, 0x20
test byte [esp + 0x6c], 0x20
je 0x101a0a27
push 0
push dword [esp + 0xbc]
push 5
push esi
call sym.php5.dll__php_stream_set_option
add esp, 0x10
mov eax, dword [esp + 0xd4]
or dword [esi + 0x5c], eax
push 0x10
push dword [esp + 0xac]
lea eax, [esi + 0x34]
push eax
mov dword [esi + 0x60], 0
call sym.php5.dll_php_strlcpy
mov eax, dword [esp + 0xb8]
add esp, 0xc
test eax, eax
je 0x101a0a97
push eax
lea eax, [esi + 8]
push eax
call sym.php5.dll__php_stream_filter_append
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd70]
xor ecx, esp
call fcn.10311bec
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x101a0a83
dec dword [edi + 8]
mov eax, dword [esp + 0xac]
test eax, eax
je 0x101a0a97
push eax
call sym.php5.dll_php_stream_filter_free
add esp, 4
mov ecx, dword [esp + 0xd7c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10311bec
mov esp, ebp
pop ebp
ret