Function at 0x10073567
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
and dword [ebp - 0x8c], 0
mov eax, dword [ebp + 8]
add eax, 0x80
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4 + 0x148]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x43c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x134]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0xc]
call fcn.10074594
pop ecx
movzx eax, al
test eax, eax
je 0x100735ca
xor eax, eax
jmp 0x100741cd
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1f0], 0
jne 0x10073825
mov eax, dword [ebp - 4]
add eax, 0x1cc
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
xor eax, eax
jne 0x100735f7
mov eax, dword [ebp + 8]
push dword [eax + 0x128]
call dword [0x100b09b8]
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x128], 0
xor eax, eax
jne 0x100735fb
push 0x100000
push dword [ebp - 0x1c]
call fcn.1004f08e
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.100741cf
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10073655
mov eax, dword [ebp - 8]
jmp 0x100741cd
push 1
push dword [ebp - 0x24]
push 0
push str.CONNECT
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.100825b3
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100737f6
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xb4], 1
jne 0x10073691
mov dword [ebp - 0x38], 0x100b30c4
jmp 0x10073698
mov dword [ebp - 0x38], 0x100b30c0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc60], 0
je 0x100736b8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc60]
mov dword [ebp - 0x3c], eax
jmp 0x100736bf
mov dword [ebp - 0x3c], 0x100b77f4
cmp dword [ebp - 0x20], 0
je 0x100736cd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
jmp 0x100736d4
mov dword [ebp - 0x40], 0x100b77ef
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x6c]
push dword [ebp - 0x24]
push str.CONNECT__s_HTTP__s_r_n_s_s
push dword [ebp - 0x1c]
call fcn.1004ee4d
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10073748
push 0xa
push 0x100b3098
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.10081e47
add esp, 0x10
test eax, eax
jne 0x10073748
push 4
pop eax
imul eax, eax, 0x24
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x500], 0
je 0x10073748
push 4
pop eax
imul eax, eax, 0x24
mov ecx, dword [ebp + 8]
push dword [ecx + eax + 0x500]
push 0x100b3084
push dword [ebp - 0x1c]
call fcn.1004ee4d
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1007377c
push 0x10
push 0x100b3070
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.10081e47
add esp, 0x10
test eax, eax
jne 0x1007377c
push 0x1e
push 0x100b3050
push dword [ebp - 0x1c]
call fcn.1004f004
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10073795
push dword [ebp - 0x1c]
push 1
push dword [ebp + 8]
call fcn.10082850
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100737b0
push 2
push 0x100b304c
push dword [ebp - 0x1c]
call fcn.1004f004
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100737e1
push dword [ebp + 0xc]
push 0
push 0
mov eax, dword [ebp + 8]
add eax, 0xcd0
push eax
push dword [ebp + 8]
push dword [ebp - 0x1c]
call fcn.10081a94
add esp, 0x18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [eax + 0x1e0], 0
cmp dword [ebp - 8], 0
je 0x100737f6
push str.Failed_sending_CONNECT_to_proxy
push dword [ebp + 8]
call fcn.10057a8e
pop ecx
pop ecx
push dword [ebp - 0x20]
call dword [0x100b09b8]
pop ecx
push dword [ebp - 0x24]
call dword [0x100b09b8]
pop ecx
cmp dword [ebp - 8], 0
je 0x10073818
mov eax, dword [ebp - 8]
jmp 0x100741cd
mov eax, dword [ebp - 4]
mov dword [eax + 0x1f0], 1
push 1
push 0
push dword [ebp + 8]
call fcn.1005ab82
add esp, 0xc
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0
jg 0x1007386b
jl 0x10073854
cmp dword [ebp - 0x94], 0
ja 0x1007386b
push str.Proxy_CONNECT_aborted_due_to_timeout
push dword [ebp + 8]
call fcn.10057a8e
pop ecx
pop ecx
push 0x1c
pop eax
jmp 0x100741cd
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.10057c99
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x10073892
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x1a0], 0
jne 0x10073892
xor eax, eax
jmp 0x100741cd
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x1a0], 1
jne 0x10073990
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1dc], 0
jne 0x100738f5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x890]
mov dword [eax + 0xb0], ecx
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c4]
push dword [ebp + 8]
call fcn.100761dd
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100738e9
mov eax, dword [ebp - 8]
jmp 0x100741cd
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x1dc], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1dc], 0
je 0x10073986
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x1dc]
mov eax, dword [ebp - 0x18]
push dword [eax + 0xb0]
mov eax, dword [ebp - 0xc]
push dword [eax + 0x2bc]
push dword [ebp + 8]
call fcn.100579ee
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10073954
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
push dword [eax + 0xb0]
push 2
push dword [ebp + 8]
call fcn.10056ab5
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1dc]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1dc], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xb0]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 8]
jmp 0x100741cd
mov eax, dword [ebp - 0x2c]
and dword [eax + 0x1a0], 0
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e4], 0
je 0x10073fbc
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x11]
push eax
push dword [ebp - 0x74]
push dword [ebp + 8]
call fcn.10057931
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x51
jne 0x100739cc
xor eax, eax
jmp 0x100741cd
push dword [ebp + 8]
call fcn.10072fa9
pop ecx
test eax, eax
je 0x100739e1
push 0x2a
pop eax
jmp 0x100741cd
cmp dword [ebp - 8], 0
je 0x100739f8
mov eax, dword [ebp - 4]
and dword [eax + 0x1e4], 0
jmp 0x10073fbc
cmp dword [ebp - 0x58], 0
jg 0x10073a57
mov eax, dword [ebp + 8]
cmp dword [eax + 0x16c], 0
je 0x10073a32
mov eax, dword [ebp + 8]
cmp dword [eax + 0x948], 0
je 0x10073a32
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc60], 0
je 0x10073a32
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25c], 1
xor eax, eax
jne 0x10073a2c
jmp 0x10073a48
mov dword [ebp - 0x68], 1
push str.Proxy_CONNECT_aborted
push dword [ebp + 8]
call fcn.10057a8e
pop ecx
pop ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x1e4], 0
jmp 0x10073fbc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e4], 2
jne 0x10073b2c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax + 0x1e8]
or eax, dword [ecx + 0x1ec]
je 0x10073ae3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1e8]
sub ecx, 1
mov eax, dword [eax + 0x1ec]
sbb eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e8], ecx
mov dword [edx + 0x1ec], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x1ec], 0
jg 0x10073ae1
jl 0x10073ac5
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x1e8], 0
ja 0x10073ae1
mov eax, dword [ebp - 4]
and dword [eax + 0x1e4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x1f0], 2
jmp 0x10073fbc
jmp 0x10073b27
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x78]
push eax
push 1
lea eax, [ebp - 0x11]
push eax
push dword [ebp + 8]
call fcn.1008d0f5
add esp, 0x14
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xffffffff
jne 0x10073b27
xor eax, eax
jne 0x10073b0c
mov eax, dword [ebp - 4]
and dword [eax + 0x1e4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x1f0], 2
jmp 0x10073994
push 1
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp - 4]
add eax, 0x1bc
push eax
call fcn.1004f004
add esp, 0xc
test eax, eax
je 0x10073b5e
push str.CONNECT_response_too_large
push dword [ebp + 8]
call fcn.10057a8e
pop ecx
pop ecx
push 0x38
pop eax
jmp 0x100741cd
movsx eax, byte [ebp - 0x11]
cmp eax, 0xa
je 0x10073b6c
jmp 0x10073994
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1e0], eax
mov eax, dword [ebp - 4]
add eax, 0x1bc
push eax
call fcn.1004f078
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x1bc
push eax
call fcn.1004f0b8
pop ecx
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x10]
push 1
push dword [ebp + 8]
call fcn.10056ab5
add esp, 0x10
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x6c5]
test eax, eax
jne 0x10073c29
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x6ad]
test eax, eax
je 0x10073bdb
mov dword [ebp - 0x4c], 1
jmp 0x10073bdf
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e0], 1
jne 0x10073bf4
mov dword [ebp - 0x50], 4
jmp 0x10073bf8
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x4c]
or eax, 0xa
or eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x30]
push dword [ebp - 0x10]
push dword [ebp - 0x80]
push dword [ebp + 8]
call fcn.10057bee
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10073c29
mov eax, dword [ebp - 8]
jmp 0x100741cd
mov eax, dword [ebp - 0x30]
cdq
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xcc8]
adc edx, dword [ecx + 0xccc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xcc8], eax
mov dword [ecx + 0xccc], edx
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
movsx eax, byte [ecx + eax]
cmp eax, 0xd
je 0x10073c73
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
movsx eax, byte [ecx + eax]
cmp eax, 0xa
jne 0x10073d95
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0x197
jne 0x10073d4f
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc9d]
test eax, eax
jne 0x10073d4f
mov eax, dword [ebp - 4]
mov dword [eax + 0x1e4], 2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + 0x1e8]
or eax, dword [ecx + 0x1ec]
je 0x10073cc5
xor eax, eax
jne 0x10073cbc
jmp 0x10073d4d
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1f4]
test eax, eax
je 0x10073d43
xor eax, eax
jne 0x10073cd3
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xc0], 1
xor eax, eax
inc eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
movsx eax, byte [ecx + eax]
cmp eax, 0xa
jne 0x10073cfa
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x58]
push eax
push 1
mov eax, dword [ebp - 0x10]
inc eax
push eax
push dword [ebp + 8]
call fcn.1008d0f5
add esp, 0x14
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffff
jne 0x10073d41
xor eax, eax
jne 0x10073d26
mov eax, dword [ebp - 4]
and dword [eax + 0x1e4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x1f0], 2
jmp 0x10073d4d
mov eax, dword [ebp - 4]
and dword [eax + 0x1e4], 0
jmp 0x10073d59
mov eax, dword [ebp - 4]
and dword [eax + 0x1e4], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e4], 0
jne 0x10073d8c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax + 0x1e8]
or eax, dword [ecx + 0x1ec]
jne 0x10073d8c
mov eax, dword [ebp - 4]
mov dword [eax + 0x1f0], 2
xor eax, eax
jne 0x10073d8c
jmp 0x10073994
push 0x11
push 0x100b2fbc
push dword [ebp - 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x10073db7
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0x191
je 0x10073de1
push 0x13
push 0x100b2fa8
push dword [ebp - 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x10073e64
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0x197
jne 0x10073e64
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0x197
jne 0x10073df6
mov dword [ebp - 0x60], 1
jmp 0x10073dfa
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
jne 0x10073e06
and dword [ebp - 0x64], 0
jmp 0x10073e0d
mov dword [ebp - 0x64], 1
mov al, byte [ebp - 0x64]
mov byte [ebp - 0x88], al
push dword [ebp - 0x10]
call fcn.1008274a
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10073e30
push 0x1b
pop eax
jmp 0x100741cd
push dword [ebp - 0x34]
push dword [ebp - 0x88]
push dword [ebp + 8]
call fcn.100821d0
add esp, 0xc
mov dword [ebp - 8], eax
push dword [ebp - 0x34]
call dword [0x100b09b8]
pop ecx
cmp dword [ebp - 8], 0
je 0x10073e5f
mov eax, dword [ebp - 8]
jmp 0x100741cd
jmp 0x10073fa8
push 0xf
push 0x100b2f98
push dword [ebp - 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x10073eb5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x70]
cdq
push 0x64
pop ecx
idiv ecx
cmp eax, 2
jne 0x10073e91
xor eax, eax
jne 0x10073e8b
jmp 0x10073eb0
mov eax, dword [ebp - 4]
add eax, 0x1e8
push eax
push 0xa
push 0
xor eax, eax
inc eax
imul eax, eax, 0xf
add eax, dword [ebp - 0x10]
push eax
call fcn.1008b238
add esp, 0x10
jmp 0x10073fa8
push 5
push 0x100b2f90
push 0xb
push 0x100b2f84
push dword [ebp - 0x10]
call fcn.10082c34
add esp, 0x14
movzx eax, al
test eax, eax
je 0x10073ee4
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f5], 1
jmp 0x10073fa8
push 0x12
push 0x100b2f70
push dword [ebp - 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x10073f4a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x70]
cdq
push 0x64
pop ecx
idiv ecx
cmp eax, 2
jne 0x10073f11
xor eax, eax
jne 0x10073f0b
jmp 0x10073f48
push 7
push 0x100b2f68
push 0x12
push 0x100b2f54
push dword [ebp - 0x10]
call fcn.10082c34
add esp, 0x14
movzx eax, al
test eax, eax
je 0x10073f48
xor eax, eax
jne 0x10073f31
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f4], 1
push dword [ebp + 8]
call fcn.1008d665
pop ecx
jmp 0x10073fa8
push 5
push 0x100b2f4c
push 0x11
push 0x100b2f38
push dword [ebp - 0x10]
call fcn.10082c34
add esp, 0x14
movzx eax, al
test eax, eax
je 0x10073f76
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f5], 1
jmp 0x10073fa8
mov eax, dword [ebp - 0x18]
add eax, 0x70
push eax
lea eax, [ebp - 0x8c]
push eax
push str.HTTP_1._d__d
push dword [ebp - 0x10]
call fcn.1000111a
add esp, 0x10
cmp eax, 2
jne 0x10073fa8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x70]
mov dword [eax + 0xcb4], ecx
mov eax, dword [ebp - 4]
add eax, 0x1bc
push eax
call fcn.1004eeb4
pop ecx
jmp 0x10073994
push dword [ebp + 8]
call fcn.10072fa9
pop ecx
test eax, eax
je 0x10073fd1
push 0x2a
pop eax
jmp 0x100741cd
cmp dword [ebp - 0x68], 0
je 0x10073fdf
push 0x38
pop eax
jmp 0x100741cd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xcb4]
cdq
push 0x64
pop ecx
idiv ecx
cmp eax, 2
je 0x10074025
push dword [ebp + 8]
call fcn.10081edf
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007400d
mov eax, dword [ebp - 8]
jmp 0x100741cd
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x25e]
test eax, eax
je 0x10074025
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f5], 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1f5]
test eax, eax
je 0x1007406a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x128], 0
je 0x1007406a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax*4 + 0x148]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.10057e99
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
or dword [ecx + eax*4 + 0x148], 0xffffffff
jmp 0x1007409e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x128], 0
je 0x1007408e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1f0], 2
jne 0x1007408e
push 1
push dword [ebp + 8]
call fcn.100742d1
pop ecx
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x128], 0
jne 0x100735d4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xcb4]
cdq
push 0x64
pop ecx
idiv ecx
cmp eax, 2
je 0x1007415b
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1f5]
test eax, eax
je 0x100740e9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x128], 0
je 0x100740e9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x25c], 1
xor eax, eax
jne 0x100740da
push dword [ebp + 8]
call fcn.10074612
pop ecx
jmp 0x1007410f
mov eax, dword [ebp + 8]
push dword [eax + 0x128]
call dword [0x100b09b8]
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x128], 0
push 2
push dword [ebp - 0xc]
call fcn.1005aaf8
pop ecx
pop ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x1f0], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x25c]
test eax, eax
je 0x1007412e
xor eax, eax
jmp 0x100741cd
mov eax, dword [ebp - 4]
add eax, 0x1bc
push eax
call fcn.1004f0cf
pop ecx
mov eax, dword [ebp + 8]
push dword [eax + 0xf0]
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push dword [ebp + 8]
call fcn.10057a8e
add esp, 0xc
push 0x38
pop eax
jmp 0x100741cd
mov eax, dword [ebp - 4]
mov dword [eax + 0x1f0], 2
mov eax, dword [ebp + 8]
push dword [eax + 0xc60]
call dword [0x100b09b8]
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0xc60], 0
xor eax, eax
jne 0x10074168
mov eax, dword [ebp + 8]
and dword [eax + 0xc60], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x94c], 1
mov eax, dword [ebp + 8]
mov byte [eax + 0x94d], 0
xor eax, eax
jne 0x100741a4
mov eax, dword [ebp + 8]
mov byte [eax + 0x140], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x269], 0
mov eax, dword [ebp - 4]
add eax, 0x1bc
push eax
call fcn.1004f0cf
pop ecx
xor eax, eax
leave
ret