Function at 0x100c3c60
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.100c4e60
add esp, 4
movzx eax, al
test eax, eax
je 0x100c3cbd
xor eax, eax
jmp 0x100c4b1c
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 0x100c405d
xor edx, edx
jne 0x100c3ce5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x148]
push ecx
call dword [0x101099b8]
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x148], 0
call fcn.100cc8f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100c3d21
mov eax, 0x1b
jmp 0x100c4b1c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str._s:_d
call fcn.100bec30
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100c3d55
lea edx, [ebp - 0x14]
push edx
call fcn.100cc910
add esp, 4
mov eax, 0x1b
jmp 0x100c4b1c
push 1
mov eax, dword [ebp - 0x28]
push eax
push str.CONNECT
mov ecx, dword [ebp + 8]
push ecx
call fcn.100cbd20
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x28]
push edx
call dword [0x101099b8]
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x100c4029
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x4c], 0x10111eac
mov dword [ebp - 0x50], 0x10111eab
mov eax, dword [ebp + 8]
cmp dword [eax + 0xf0], 1
jne 0x100c3db0
mov dword [ebp - 0x38], 0x1010b4e4
jmp 0x100c3db7
mov dword [ebp - 0x38], 0x1010b4e0
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 0x100c3e1b
push 0x3a
mov eax, dword [ebp + 0x10]
push eax
call fcn.1004dcc0
add esp, 8
test eax, eax
je 0x100c3df8
mov dword [ebp - 0x3c], 1
jmp 0x100c3dff
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
jne 0x100c3e0e
mov dword [ebp - 0x40], 0
jmp 0x100c3e15
mov dword [ebp - 0x40], 1
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100c3e2c
mov dword [ebp - 0x44], 0x1010b4dc
jmp 0x100c3e33
mov dword [ebp - 0x44], 0x10111eaa
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x100c3e44
mov dword [ebp - 0x48], 0x1010b4d8
jmp 0x100c3e4b
mov dword [ebp - 0x48], 0x10111ea9
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.100bec30
add esp, 0x14
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100c3e87
lea edx, [ebp - 0x14]
push edx
call fcn.100cc910
add esp, 4
mov eax, 0x1b
jmp 0x100c4b1c
push 0x1010b4c4
mov eax, dword [ebp + 8]
push eax
call fcn.100cb450
add esp, 8
test eax, eax
jne 0x100c3ed9
mov ecx, dword [ebp - 0x24]
push ecx
push str.Host:__s_r_n
call fcn.100bec30
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100c3ed9
mov edx, dword [ebp - 0x24]
push edx
call dword [0x101099b8]
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.100cc910
add esp, 4
mov eax, 0x1b
jmp 0x100c4b1c
push 0x1010b4a4
mov ecx, dword [ebp + 8]
push ecx
call fcn.100cb450
add esp, 8
test eax, eax
jne 0x100c3ef5
mov dword [ebp - 0x4c], 0x1010b484
push 0x1010b478
mov edx, dword [ebp + 8]
push edx
call fcn.100cb450
add esp, 8
test eax, eax
jne 0x100c3f2b
mov eax, 4
imul ecx, eax, 0x26
mov edx, dword [ebp - 8]
cmp dword [edx + ecx + 0x92c], 0
je 0x100c3f2b
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 0x100c3f45
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d4]
mov dword [ebp - 0x54], ecx
jmp 0x100c3f4c
mov dword [ebp - 0x54], 0x10111ea8
cmp dword [ebp - 0x20], 0
je 0x100c3f5a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x58], edx
jmp 0x100c3f61
mov dword [ebp - 0x58], 0x10111e97
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.100cbc80
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x20], 0
je 0x100c3fa0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x101099b8]
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call dword [0x101099b8]
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x100c3fc8
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.100cc020
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100c3fe2
push 0x1010b454
lea edx, [ebp - 0x14]
push edx
call fcn.100cbc80
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100c400b
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.100cc5f0
add esp, 0x14
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0xc], 0
je 0x100c4029
push str.Failed_sending_CONNECT_to_proxy
mov ecx, dword [ebp - 8]
push ecx
call fcn.100a71d0
add esp, 8
lea edx, [ebp - 0x14]
push edx
call fcn.100cc910
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x100c4043
mov eax, dword [ebp - 0xc]
jmp 0x100c4b1c
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.100aa5a0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 0
jg 0x100c40a8
jl 0x100c408d
cmp dword [ebp - 0x94], 0
ja 0x100c40a8
push str.Proxy_CONNECT_aborted_due_to_timeout
mov eax, dword [ebp - 8]
push eax
call fcn.100a71d0
add esp, 8
mov eax, 0x1c
jmp 0x100c4b1c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100a7740
add esp, 8
movzx eax, al
test eax, eax
jne 0x100c40c6
xor eax, eax
jmp 0x100c4b1c
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4004], 0
je 0x100c4895
cmp dword [ebp - 0x34], 0
jne 0x100c4895
mov edx, 1
shl edx, 0xe
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x400c], edx
jb 0x100c4118
push str.CONNECT_response_too_large_
mov ecx, dword [ebp - 8]
push ecx
call fcn.100a71d0
add esp, 8
mov eax, 0x38
jmp 0x100c4b1c
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.100a6ee0
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x51
jne 0x100c4148
xor eax, eax
jmp 0x100c4b1c
mov ecx, dword [ebp + 8]
push ecx
call fcn.100c5dd0
add esp, 4
test eax, eax
je 0x100c4162
mov eax, 0x2a
jmp 0x100c4b1c
cmp dword [ebp - 0xc], 0
je 0x100c417c
mov edx, dword [ebp - 4]
mov dword [edx + 0x4004], 0
jmp 0x100c4895
cmp dword [ebp - 0x68], 0
jg 0x100c41e1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x5c0], 0
je 0x100c41b7
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xcf0], 0
je 0x100c41b7
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 0x100c41b1
jmp 0x100c41cf
mov dword [ebp - 0x34], 1
push str.Proxy_CONNECT_aborted
mov eax, dword [ebp - 8]
push eax
call fcn.100a71d0
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4004], 0
jmp 0x100c4895
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4004], 1
jle 0x100c42d1
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 0x100c427c
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 0x100c427a
jl 0x100c425b
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x4010], 0
ja 0x100c427a
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4004], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4018], 2
jmp 0x100c4895
jmp 0x100c42cc
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.100e11e0
add esp, 0x10
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffff
jne 0x100c42cc
xor ecx, ecx
jne 0x100c42ae
mov edx, dword [ebp - 4]
mov dword [edx + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4018], 2
jmp 0x100c40cd
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 0x100c4311
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x400c]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x400c], edx
jmp 0x100c40cd
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x100c4326
mov eax, dword [ebp - 0xc]
jmp 0x100c4b1c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8c]
shr edx, 0x1a
and edx, 1
je 0x100c4359
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.100a5f10
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa90]
shr eax, 0x13
and eax, 1
jne 0x100c43c0
mov dword [ebp - 0x2c], 2
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8c]
shr edx, 0x15
and edx, 1
je 0x100c438b
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.100a7320
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100c43c0
mov eax, dword [ebp - 0xc]
jmp 0x100c4b1c
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 0x100c4448
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 0x100c4599
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 0x100c4560
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xf4c]
shr ecx, 5
and ecx, 1
jne 0x100c4560
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 0x100c44a9
xor ecx, ecx
jne 0x100c44a0
jmp 0x100c455e
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
and eax, 1
je 0x100c4551
xor ecx, ecx
jne 0x100c44bb
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 0x100c4503
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.100e11e0
add esp, 0x10
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xffffffff
jne 0x100c454f
xor ecx, ecx
jne 0x100c4531
mov edx, dword [ebp - 4]
mov dword [edx + 0x4004], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4018], 2
jmp 0x100c455e
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4004], 0
jmp 0x100c456d
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 0x100c4594
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4018], 2
jmp 0x100c40cd
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 0x1010b3c4
call fcn.10062340
add esp, 4
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
push ecx
push 0x1010b3b0
call fcn.100bc780
add esp, 0xc
test eax, eax
je 0x100c45e4
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x78], 0x191
je 0x100c4621
push 0x1010b39c
call fcn.10062340
add esp, 4
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
push ecx
push 0x1010b388
call fcn.100bc780
add esp, 0xc
test eax, eax
je 0x100c46b6
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x78], 0x197
jne 0x100c46b6
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x78], 0x197
jne 0x100c4636
mov dword [ebp - 0x70], 1
jmp 0x100c463d
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0
jne 0x100c464c
mov dword [ebp - 0x74], 0
jmp 0x100c4653
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.100cbef0
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100c467e
mov eax, 0x1b
jmp 0x100c4b1c
mov ecx, dword [ebp - 0x30]
push ecx
movzx edx, byte [ebp - 0x19]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100cb860
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [0x101099b8]
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x100c46b1
mov eax, dword [ebp - 0xc]
jmp 0x100c4b1c
jmp 0x100c4865
push 0x1010b378
call fcn.10062340
add esp, 4
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4008]
push eax
push 0x1010b368
call fcn.100bc780
add esp, 0xc
test eax, eax
je 0x100c4729
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x78]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x100c46f8
xor edx, edx
jne 0x100c46f2
jmp 0x100c4724
mov eax, dword [ebp - 4]
add eax, 0x4010
push eax
push 0xa
push 0
push 0x1010b358
call fcn.10062340
add esp, 4
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x4008]
push eax
call fcn.100d2450
add esp, 0x10
jmp 0x100c4865
push 0x1010b350
push 0x1010b344
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4008]
push eax
call fcn.100cc4f0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x100c4766
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
or eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x401c], eax
jmp 0x100c4865
push 0x1010b330
call fcn.10062340
add esp, 4
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4008]
push eax
push 0x1010b31c
call fcn.100bc780
add esp, 0xc
test eax, eax
je 0x100c47f2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x78]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
jne 0x100c47a8
xor edx, edx
jne 0x100c47a2
jmp 0x100c47f0
push 0x1010b314
push 0x1010b300
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4008]
push ecx
call fcn.100cc4f0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x100c47f0
xor eax, eax
jne 0x100c47cb
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.100e1900
add esp, 4
jmp 0x100c4865
push 0x1010b2f8
push 0x1010b2e4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4008]
push eax
call fcn.100cc4f0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x100c482c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
or eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x401c], eax
jmp 0x100c4865
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.1002a610
add esp, 0x10
cmp eax, 2
jne 0x100c4865
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 0x100c40cd
mov eax, dword [ebp + 8]
push eax
call fcn.100c5dd0
add esp, 4
test eax, eax
je 0x100c48af
mov eax, 0x2a
jmp 0x100c4b1c
cmp dword [ebp - 0x34], 0
je 0x100c48bf
mov eax, 0x38
jmp 0x100c4b1c
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0xf7c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x100c4915
mov edx, dword [ebp + 8]
push edx
call fcn.100cb510
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100c48f2
mov eax, dword [ebp - 0xc]
jmp 0x100c4b1c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x284]
and ecx, 1
je 0x100c4915
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 0x100c495e
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x148], 0
je 0x100c495e
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.100a7940
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x1a8], 0xffffffff
jmp 0x100c4994
mov edx, dword [ebp - 8]
cmp dword [edx + 0x148], 0
je 0x100c4984
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4018], 2
jne 0x100c4984
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.100c4b50
add esp, 8
mov edx, dword [ebp - 8]
cmp dword [edx + 0x148], 0
jne 0x100c3cd5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xf7c]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x100c4a96
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x401c]
shr eax, 1
and eax, 1
je 0x100c49f3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x148], 0
je 0x100c49f3
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 0x100c49e1
mov eax, dword [ebp + 8]
push eax
call fcn.100c4b20
add esp, 4
jmp 0x100c4a4c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x148]
push edx
call dword [0x101099b8]
add esp, 4
mov eax, dword [ebp - 8]
mov dword [eax + 0x148], 0
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.100aa4f0
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.100a7940
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 0x100c4a71
xor eax, eax
jmp 0x100c4b1c
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.100a71d0
add esp, 0xc
mov eax, 0x38
jmp 0x100c4b1c
mov edx, dword [ebp - 4]
mov dword [edx + 0x4018], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d4]
push ecx
call dword [0x101099b8]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x2d4], 0
xor eax, eax
jne 0x100c4aa3
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 0x100c4ae9
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