Function at 0x10061dd0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0x90
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x1a8]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x560]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10062fa0
add esp, 4
movzx eax, al
test eax, eax
je 0x10061e2d
xor eax, eax
jmp 0x10062c57
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x284]
and edx, 0xff7fffff
mov eax, dword [ebp + 8]
mov dword [eax + 0x284], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4018], 0
jne 0x100621cd
xor edx, edx
jne 0x10061e55
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x148]
push ecx
call dword [0x10097940]
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x148], 0
call fcn.1006ace0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10061e91
mov eax, 0x1b
jmp 0x10062c57
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str._s:_d
call fcn.1005cc50
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10061ec5
lea edx, [ebp - 0x14]
push edx
call fcn.1006ad00
add esp, 4
mov eax, 0x1b
jmp 0x10062c57
push 1
mov eax, dword [ebp - 0x28]
push eax
push str.CONNECT
mov ecx, dword [ebp + 8]
push ecx
call fcn.1006a130
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x28]
push edx
call dword [0x10097940]
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x10062199
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x4c], 0x1009d817
mov dword [ebp - 0x50], 0x1009d816
mov eax, dword [ebp + 8]
cmp dword [eax + 0xf0], 1
jne 0x10061f20
mov dword [ebp - 0x38], 0x1009936c
jmp 0x10061f27
mov dword [ebp - 0x38], 0x10099368
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x284]
shr eax, 9
and eax, 1
mov byte [ebp - 0xd], al
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0x9c]
je 0x10061f8b
push 0x3a
mov eax, dword [ebp + 0x10]
push eax
call fcn.100095c0
add esp, 8
test eax, eax
je 0x10061f68
mov dword [ebp - 0x3c], 1
jmp 0x10061f6f
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
jne 0x10061f7e
mov dword [ebp - 0x40], 0
jmp 0x10061f85
mov dword [ebp - 0x40], 1
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x10061f9c
mov dword [ebp - 0x44], 0x10099364
jmp 0x10061fa3
mov dword [ebp - 0x44], 0x1009d815
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10061fb4
mov dword [ebp - 0x48], 0x10099360
jmp 0x10061fbb
mov dword [ebp - 0x48], 0x1009d814
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push str._s_s_s:_d
call fcn.1005cc50
add esp, 0x14
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10061ff7
lea edx, [ebp - 0x14]
push edx
call fcn.1006ad00
add esp, 4
mov eax, 0x1b
jmp 0x10062c57
push 0x1009934c
mov eax, dword [ebp + 8]
push eax
call fcn.10069860
add esp, 8
test eax, eax
jne 0x10062049
mov ecx, dword [ebp - 0x24]
push ecx
push str.Host:__s_r_n
call fcn.1005cc50
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10062049
mov edx, dword [ebp - 0x24]
push edx
call dword [0x10097940]
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.1006ad00
add esp, 4
mov eax, 0x1b
jmp 0x10062c57
push 0x1009932c
mov ecx, dword [ebp + 8]
push ecx
call fcn.10069860
add esp, 8
test eax, eax
jne 0x10062065
mov dword [ebp - 0x4c], 0x1009930c
push 0x10099300
mov edx, dword [ebp + 8]
push edx
call fcn.10069860
add esp, 8
test eax, eax
jne 0x1006209b
mov eax, 4
imul ecx, eax, 0x26
mov edx, dword [ebp - 8]
cmp dword [edx + ecx + 0x92c], 0
je 0x1006209b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d8]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2d4], 0
je 0x100620b5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d4]
mov dword [ebp - 0x54], ecx
jmp 0x100620bc
mov dword [ebp - 0x54], 0x1009d813
cmp dword [ebp - 0x20], 0
je 0x100620ca
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x58], edx
jmp 0x100620d1
mov dword [ebp - 0x58], 0x1009d812
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
lea eax, [ebp - 0x14]
push eax
call fcn.1006a070
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x20], 0
je 0x10062110
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x10097940]
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call dword [0x10097940]
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x10062138
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.1006a430
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10062152
push 0x100992dc
lea edx, [ebp - 0x14]
push edx
call fcn.1006a070
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1006217b
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
add ecx, 0xf98
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.1006a9e0
add esp, 0x14
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0xc], 0
je 0x10062199
push str.Failed_sending_CONNECT_to_proxy
mov ecx, dword [ebp - 8]
push ecx
call fcn.10045db0
add esp, 8
lea edx, [ebp - 0x14]
push edx
call fcn.1006ad00
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x100621b3
mov eax, dword [ebp - 0xc]
jmp 0x10062c57
mov eax, dword [ebp - 4]
mov dword [eax + 0x4018], 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4000], 0
push 1
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.100490e0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0
jg 0x10062218
jl 0x100621fd
cmp dword [ebp - 0x94], 0
ja 0x10062218
push str.Proxy_CONNECT_aborted_due_to_timeout
mov eax, dword [ebp - 8]
push eax
call fcn.10045db0
add esp, 8
mov eax, 0x1c
jmp 0x10062c57
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10046280
add esp, 8
movzx eax, al
test eax, eax
jne 0x10062236
xor eax, eax
jmp 0x10062c57
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4004], 0
je 0x100629d0
cmp dword [ebp - 0x34], 0
jne 0x100629d0
mov edx, 1
shl edx, 0xe
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x400c], edx
jb 0x10062288
push str.CONNECT_response_too_large_
mov ecx, dword [ebp - 8]
push ecx
call fcn.10045db0
add esp, 8
mov eax, 0x38
jmp 0x10062c57
lea edx, [ebp - 0x68]
push edx
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x400c]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10045ac0
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x51
jne 0x100622b8
xor eax, eax
jmp 0x10062c57
mov ecx, dword [ebp + 8]
push ecx
call fcn.10063fc0
add esp, 4
test eax, eax
je 0x100622d2
mov eax, 0x2a
jmp 0x10062c57
cmp dword [ebp - 0xc], 0
je 0x100622ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x4004], 0
jmp 0x100629d0
cmp dword [ebp - 0x68], 0
jg 0x10062351
mov eax, dword [ebp - 8]
cmp dword [eax + 0x5c0], 0
je 0x10062327
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xcf0], 0
je 0x10062327
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x284]
or eax, 0x800000
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x284], eax
xor edx, edx
jne 0x10062321
jmp 0x1006233f
mov dword [ebp - 0x34], 1
push str.Proxy_CONNECT_aborted
mov eax, dword [ebp - 8]
push eax
call fcn.10045db0
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4004], 0
jmp 0x100629d0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4004], 1
jle 0x10062441
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x400c], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [eax + 0x4010]
or edx, dword [ecx + 0x4014]
je 0x100623ec
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4010]
sub ecx, 1
mov edx, dword [eax + 0x4014]
sbb edx, 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4010], ecx
mov dword [eax + 0x4014], edx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x4014], 0
jg 0x100623ea
jl 0x100623cb
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x4010], 0
ja 0x100623ea
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4004], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4018], 2
jmp 0x100629d0
jmp 0x1006243c
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
push eax
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x400c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10080bc0
add esp, 0x10
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffff
jne 0x1006243c
xor ecx, ecx
jne 0x1006241e
mov edx, dword [ebp - 4]
mov dword [edx + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4018], 2
jmp 0x1006223d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4000]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x4000], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x400c]
movsx eax, byte [edx]
cmp eax, 0xa
je 0x10062481
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x400c]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x400c], edx
jmp 0x1006223d
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x10062496
mov eax, dword [ebp - 0xc]
jmp 0x10062c57
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8c]
shr edx, 0x1a
and edx, 1
je 0x100624c9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4000]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4008]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
call fcn.10044cf0
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa90]
shr eax, 0x13
and eax, 1
jne 0x10062530
mov dword [ebp - 0x2c], 2
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8c]
shr edx, 0x15
and edx, 1
je 0x100624fb
mov eax, dword [ebp - 0x2c]
or eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4000]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10045fa0
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10062530
mov eax, dword [ebp - 0xc]
jmp 0x10062c57
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x4000]
cdq
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0xf90]
adc edx, dword [ecx + 0xf94]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xf90], eax
mov dword [ecx + 0xf94], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4000]
cdq
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0xb0]
adc edx, dword [ecx + 0xb4]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xb0], eax
mov dword [ecx + 0xb4], edx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4008]
movsx eax, byte [edx + eax]
cmp eax, 0xd
je 0x100625b8
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
movsx edx, byte [ecx + edx]
cmp edx, 0xa
jne 0x10062709
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x400c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x78], 0x197
jne 0x100626d0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xf4c]
shr ecx, 5
and ecx, 1
jne 0x100626d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4004], 2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x64]
mov eax, dword [ecx + 0x4010]
or eax, dword [edx + 0x4014]
je 0x10062619
xor ecx, ecx
jne 0x10062610
jmp 0x100626ce
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
and eax, 1
je 0x100626c1
xor ecx, ecx
jne 0x1006262b
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x500]
or eax, 8
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x500], eax
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
movsx edx, byte [ecx + edx]
cmp edx, 0xa
jne 0x10062673
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x4008], ecx
lea eax, [ebp - 0x68]
push eax
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4008]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10080bc0
add esp, 0x10
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xffffffff
jne 0x100626bf
xor ecx, ecx
jne 0x100626a1
mov edx, dword [ebp - 4]
mov dword [edx + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4018], 2
jmp 0x100626ce
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4004], 0
jmp 0x100626dd
mov edx, dword [ebp - 4]
mov dword [edx + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ecx + 0x4010]
or eax, dword [edx + 0x4014]
jne 0x10062704
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4018], 2
jmp 0x1006223d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4000]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4008]
mov byte [edx + eax], 0
push 0x11
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
push ecx
push 0x1009924c
call fcn.1005a820
add esp, 0xc
test eax, eax
je 0x10062748
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x78], 0x191
je 0x10062779
push 0x13
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
push ecx
push 0x10099238
call fcn.1005a820
add esp, 0xc
test eax, eax
je 0x1006280e
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x78], 0x197
jne 0x1006280e
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x78], 0x197
jne 0x1006278e
mov dword [ebp - 0x70], 1
jmp 0x10062795
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0
jne 0x100627a4
mov dword [ebp - 0x74], 0
jmp 0x100627ab
mov dword [ebp - 0x74], 1
mov cl, byte [ebp - 0x74]
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4008]
push eax
call fcn.1006a300
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100627d6
mov eax, 0x1b
jmp 0x10062c57
mov ecx, dword [ebp - 0x30]
push ecx
movzx edx, byte [ebp - 0x19]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10069c90
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [0x10097940]
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x10062809
mov eax, dword [ebp - 0xc]
jmp 0x10062c57
jmp 0x100629a0
push 0xf
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4008]
push eax
push 0x10099228
call fcn.1005a820
add esp, 0xc
test eax, eax
je 0x10062870
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x78]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x10062844
xor edx, edx
jne 0x1006283e
jmp 0x1006286b
mov eax, dword [ebp - 4]
add eax, 0x4010
push eax
push 0xa
push 0
mov ecx, 1
imul edx, ecx, 0xf
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x4008]
push edx
call fcn.100706c0
add esp, 0x10
jmp 0x100629a0
push 0x10099220
push 0x10099214
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4008]
push edx
call fcn.1006a8a0
add esp, 0xc
movzx eax, al
test eax, eax
je 0x100628ad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x401c]
or edx, 2
mov eax, dword [ebp - 4]
mov dword [eax + 0x401c], edx
jmp 0x100629a0
push 0x12
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4008]
push edx
push 0x10099200
call fcn.1005a820
add esp, 0xc
test eax, eax
je 0x1006292d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x100628e3
xor edx, edx
jne 0x100628dd
jmp 0x1006292b
push 0x100991f8
push 0x100991e4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
push ecx
call fcn.1006a8a0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x1006292b
xor eax, eax
jne 0x10062906
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x401c]
or edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x401c], edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.100812e0
add esp, 4
jmp 0x100629a0
push 0x100991dc
push 0x100991c8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4008]
push eax
call fcn.1006a8a0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x10062967
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
or eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x401c], eax
jmp 0x100629a0
mov edx, dword [ebp - 0x18]
add edx, 0x78
push edx
lea eax, [ebp - 0x8c]
push eax
push str.HTTP_1._d__d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4008]
push edx
call fcn.100061f0
add esp, 0x10
cmp eax, 2
jne 0x100629a0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x78]
mov dword [eax + 0xf7c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x4000], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x400c], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x400c]
mov dword [eax + 0x4008], edx
jmp 0x1006223d
mov eax, dword [ebp + 8]
push eax
call fcn.10063fc0
add esp, 4
test eax, eax
je 0x100629ea
mov eax, 0x2a
jmp 0x10062c57
cmp dword [ebp - 0x34], 0
je 0x100629fa
mov eax, 0x38
jmp 0x10062c57
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0xf7c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x10062a50
mov edx, dword [ebp + 8]
push edx
call fcn.10069940
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10062a2d
mov eax, dword [ebp - 0xc]
jmp 0x10062c57
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x284]
and ecx, 1
je 0x10062a50
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
or eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x401c], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
shr eax, 1
and eax, 1
je 0x10062a99
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x148], 0
je 0x10062a99
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x1a8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10046480
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x1a8], 0xffffffff
jmp 0x10062acf
mov edx, dword [ebp - 8]
cmp dword [edx + 0x148], 0
je 0x10062abf
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4018], 2
jne 0x10062abf
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.10062c90
add esp, 8
mov edx, dword [ebp - 8]
cmp dword [edx + 0x148], 0
jne 0x10061e45
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xf7c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x10062bd1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
shr eax, 1
and eax, 1
je 0x10062b2e
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x148], 0
je 0x10062b2e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x284]
or eax, 0x800000
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x284], eax
xor edx, edx
jne 0x10062b1c
mov eax, dword [ebp + 8]
push eax
call fcn.10062c60
add esp, 4
jmp 0x10062b87
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x148]
push edx
call dword [0x10097940]
add esp, 4
mov eax, dword [ebp - 8]
mov dword [eax + 0x148], 0
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.10049030
add esp, 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x1a8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10046480
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x1a8], 0xffffffff
mov edx, dword [ebp - 4]
mov dword [edx + 0x4018], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x284]
shr ecx, 0x17
and ecx, 1
je 0x10062bac
xor eax, eax
jmp 0x10062c57
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
mov ecx, dword [ebp - 8]
push ecx
call fcn.10045db0
add esp, 0xc
mov eax, 0x38
jmp 0x10062c57
mov edx, dword [ebp - 4]
mov dword [edx + 0x4018], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d4]
push ecx
call dword [0x10097940]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x2d4], 0
xor eax, eax
jne 0x10062bde
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2d4], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xcf4]
or eax, 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xcf4], eax
xor edx, edx
jne 0x10062c24
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x590]
and ecx, 0xfffffff7
mov edx, dword [ebp - 8]
mov dword [edx + 0x590], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x284]
and ecx, 0xfffeffff
mov edx, dword [ebp + 8]
mov dword [edx + 0x284], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret