Function at 0x44ffa0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + eax*4 + 0x1a8]
push ebp
push esi
mov esi, dword [ebx + 0x690]
xor ebp, ebp
push edi
mov edi, dword [ebx]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ecx
cmp esi, ebp
je 0x450a5a
cmp dword [esi + 0x401c], 2
je 0x450a5a
mov dword [ebx + 0x304], ebp
cmp dword [esi + 0x401c], ebp
jne 0x45025d
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
push str.Establish_HTTP_proxy_tunnel_to__s:_d_n
push edi
call fcn.00428a80
mov ecx, dword [edi + 0x168]
push ecx
call dword [0x476050]
add esp, 0x14
mov dword [edi + 0x168], ebp
call fcn.00448ad0
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x45089b
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
push str._s:_d
call fcn.00430720
mov ebx, eax
add esp, 0xc
cmp ebx, ebp
je 0x45088e
mov ecx, dword [esp + 0x34]
push 1
push ebx
push str.CONNECT
push ecx
call fcn.00448600
push ebx
mov ebp, eax
call dword [0x476050]
add esp, 0x14
test ebp, ebp
jne 0x450234
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x34]
cmp dword [ebp + 0xf0], 1
mov eax, 0x46d773
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x467db4
je 0x4500a0
mov dword [esp + 0x20], 0x467db8
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x2c4]
cmp ebx, dword [ebp + 0x9c]
je 0x4500c4
push 0x3a
push ebx
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x4500d4
mov ecx, 0x462090
mov eax, 0x462084
jmp 0x4500db
mov ecx, 0x46d773
mov eax, ecx
mov edx, dword [esp + 0x40]
push edx
push ecx
push ebx
push eax
push str._s_s_s:_d
call fcn.00430720
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4508a8
push str.Host
push ebp
call fcn.00447f80
add esp, 8
test eax, eax
jne 0x450126
push ebx
push str.Host:__s_r_n
call fcn.00430720
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4508c2
push str.Proxy_Connection
push ebp
call fcn.00447f80
add esp, 8
test eax, eax
jne 0x450140
mov dword [esp + 0x18], str.Proxy_Connection:_Keep_Alive_r_n
push str.User_Agent
push ebp
call fcn.00447f80
add esp, 8
test eax, eax
jne 0x450164
cmp dword [edi + 0xacc], eax
je 0x450164
mov eax, dword [ebp + 0x380]
mov dword [esp + 0x1c], eax
mov ebp, dword [ebp + 0x37c]
mov ecx, ebp
test ebp, ebp
jne 0x450175
mov ecx, 0x46d773
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450182
mov eax, 0x46d773
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esp + 0x30]
push eax
push ebx
lea ecx, [esp + 0x28]
push str.CONNECT__s_HTTP__s_r_n_s_s_s_s
push ecx
call fcn.004496f0
add esp, 0x20
cmp dword [esp + 0x14], 0
mov ebp, eax
je 0x4501bd
mov edx, dword [esp + 0x14]
push edx
call dword [0x476050]
add esp, 4
push ebx
call dword [0x476050]
add esp, 4
test ebp, ebp
jne 0x45021a
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
push eax
push 1
push ebx
call fcn.00449980
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x45021a
lea ecx, [esp + 0x10]
push 0x462ba0
push ecx
call fcn.004496f0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x45021a
mov edx, dword [esp + 0x38]
push edx
push eax
lea eax, [edi + 0x11c0]
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.00448b10
add esp, 0x14
mov ebp, eax
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x450234
push str.Failed_sending_CONNECT_to_proxy
push edi
call fcn.00428bd0
add esp, 8
lea edx, [esp + 0x10]
push edx
call fcn.00448ae0
add esp, 4
test ebp, ebp
jne 0x4508e3
mov ebx, dword [esp + 0x34]
mov dword [esi + 0x401c], 1
mov dword [esi + 0x4000], ebp
push 1
push ebp
push edi
call fcn.0042d360
add esp, 0xc
cmp edx, ebp
jl 0x4508ed
jg 0x45027b
cmp eax, ebp
jbe 0x4508ed
mov eax, dword [esp + 0x38]
push eax
push ebx
call fcn.0042dff0
add esp, 8
test eax, eax
je 0x450a5a
mov dword [esp + 0x20], ebp
cmp dword [esi + 0x4004], ebp
je 0x45036c
lea ebx, [esi + 0x4000]
jmp 0x4502b0
mov eax, dword [esi + 0x400c]
cmp eax, ebx
jae 0x450908
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.004288c0
mov ebp, eax
add esp, 0x14
cmp ebp, 0x51
je 0x450a5a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004350b0
add esp, 4
test eax, eax
jne 0x450923
test ebp, ebp
jne 0x45035c
cmp dword [esp + 0x24], ebp
jle 0x450840
cmp dword [esi + 0x4004], 1
jle 0x450475
mov eax, dword [esi + 0x4010]
mov ecx, dword [esi + 0x4014]
mov edx, eax
or edx, ecx
mov dword [esi + 0x400c], esi
je 0x450432
sub eax, 1
sbb ecx, ebp
mov dword [esi + 0x4010], eax
mov dword [esi + 0x4014], ecx
test ecx, ecx
jl 0x450352
jg 0x45082e
test eax, eax
ja 0x45082e
mov dword [esi + 0x401c], 2
mov dword [esi + 0x4004], 0
mov ebx, dword [esp + 0x34]
xor ebp, ebp
push ebx
call fcn.004350b0
add esp, 4
test eax, eax
jne 0x450923
cmp dword [esp + 0x20], ebp
jne 0x450916
mov eax, 0x51eb851f
imul dword [edi + 0x11a4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x4503c4
push ebx
call fcn.004494c0
add esp, 4
cmp eax, ebp
jne 0x450a5c
cmp dword [ebx + 0x2a0], ebp
je 0x4503c4
mov dword [esi + 0x4020], 1
cmp dword [esi + 0x4020], ebp
je 0x4503d8
cmp dword [edi + 0x168], ebp
jne 0x450930
cmp dword [edi + 0x168], ebp
je 0x450954
cmp dword [esi + 0x401c], 2
jne 0x450421
mov eax, dword [ebx + 0x690]
mov dword [eax + 0x401c], ebp
mov dword [eax + 0x4004], 1
mov dword [eax + 0x4008], eax
mov dword [eax + 0x400c], eax
mov dword [eax + 0x4010], ebp
mov dword [eax + 0x4014], ebp
mov dword [eax + 0x4020], ebp
cmp dword [edi + 0x168], ebp
jne 0x44ffe3
jmp 0x450954
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x1c]
push eax
push 1
push esi
push ecx
mov dword [esp + 0x2c], 0
call fcn.004562e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x45082e
push str.chunk_reading_DONE_n
push edi
call fcn.00428a80
add esp, 8
mov dword [esi + 0x4004], 0
jmp 0x450824
inc dword [ebx]
mov eax, dword [esi + 0x400c]
cmp byte [eax], 0xa
mov ecx, dword [ebx]
je 0x450490
inc eax
mov dword [esi + 0x400c], eax
jmp 0x45082e
cmp dword [edi + 0x9dc], 0
je 0x4504ac
mov edx, dword [esi + 0x4008]
push ecx
push edx
push 1
push edi
call fcn.004289f0
add esp, 0x10
cmp dword [edi + 0xb8c], 0
jne 0x4504e8
cmp dword [edi + 0x9c4], 0
mov eax, 2
je 0x4504c8
mov eax, 3
mov ecx, dword [ebx]
mov edx, dword [esi + 0x4008]
push ecx
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.00429060
add esp, 0x10
test eax, eax
jne 0x450a5c
mov ecx, dword [ebx]
add dword [edi + 0x11bc], ecx
mov edx, dword [ebx]
add dword [edi + 0xc0], edx
mov eax, dword [esi + 0x4008]
mov cl, byte [eax]
cmp cl, 0xd
je 0x45074f
cmp cl, 0xa
je 0x45074f
mov ecx, dword [ebx]
mov byte [eax + ecx], 0
mov edx, dword [esi + 0x4008]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.0042ed40
add esp, 0xc
test eax, eax
je 0x45053f
mov eax, dword [edi + 0x118]
cmp eax, 0x191
je 0x450566
mov eax, dword [esi + 0x4008]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.0042ed40
add esp, 0xc
test eax, eax
je 0x4505b3
mov eax, dword [edi + 0x118]
cmp eax, 0x197
jne 0x4505b3
mov ecx, dword [esi + 0x4008]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.00448000
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x45089b
mov edx, dword [esp + 0x34]
push ebp
push ebx
push edx
call fcn.00448710
push ebp
mov ebx, eax
call dword [0x476050]
add esp, 0x10
test ebx, ebx
je 0x450732
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x20
ret
mov eax, dword [esi + 0x4008]
push 0xf
push eax
push str.Content_Length:
call fcn.0042ed40
add esp, 0xc
test eax, eax
je 0x45061f
mov ecx, dword [edi + 0x118]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x4505fd
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
push edi
call fcn.00428a80
add esp, 0xc
jmp 0x450732
mov edx, dword [esi + 0x4008]
lea ecx, [esi + 0x4010]
push ecx
push 0xa
add edx, 0xf
push 0
push edx
call fcn.00455450
add esp, 0x10
jmp 0x450732
mov eax, dword [esi + 0x4008]
push str.close
push str.Connection:
push eax
call fcn.00448e10
add esp, 0xc
test eax, eax
je 0x45064b
mov dword [esi + 0x4020], 1
jmp 0x450732
mov ecx, dword [esi + 0x4008]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.0042ed40
add esp, 0xc
test eax, eax
je 0x4506da
mov ecx, dword [edi + 0x118]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x450695
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
push edi
call fcn.00428a80
add esp, 0xc
jmp 0x450732
mov ecx, dword [esi + 0x4008]
push str.chunked
push str.Transfer_Encoding:
push ecx
call fcn.00448e10
add esp, 0xc
test eax, eax
je 0x450732
push str.CONNECT_responded_chunked_n
push edi
call fcn.00428a80
mov edx, dword [esp + 0x3c]
push edx
mov dword [esi + 0x4018], 1
call fcn.004562d0
add esp, 0xc
jmp 0x450732
mov eax, dword [esi + 0x4008]
push str.close
push str.Proxy_Connection:
push eax
call fcn.00448e10
add esp, 0xc
test eax, eax
je 0x450703
mov dword [esi + 0x4020], 1
jmp 0x450732
mov edx, dword [esi + 0x4008]
lea ebp, [edi + 0x118]
push ebp
lea ecx, [esp + 0x30]
push ecx
push str.HTTP_1._d__d
push edx
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0x10
cmp eax, 2
jne 0x450732
mov eax, dword [ebp]
mov dword [edi + 0x11a4], eax
lea ebx, [esi + 0x4000]
mov dword [ebx], 0
mov dword [esi + 0x400c], esi
mov dword [esi + 0x4008], esi
jmp 0x45082e
mov dword [esi + 0x400c], esi
cmp dword [edi + 0x118], 0x197
jne 0x45080c
cmp dword [edi + 0xf00], 0
jne 0x45080c
mov eax, dword [esi + 0x4010]
mov ecx, dword [esi + 0x4014]
mov edx, eax
or edx, ecx
mov dword [esi + 0x4004], 2
je 0x4507a0
push ecx
push eax
push str.Ignore__I64d_bytes_of_response_body_n
push edi
call fcn.00428a80
add esp, 0x10
jmp 0x450816
cmp dword [esi + 0x4018], 0
je 0x45080c
push str.Ignore_chunked_response_body_n
push edi
call fcn.00428a80
mov dword [edi + 0x15c], 1
mov eax, dword [esi + 0x4008]
inc eax
add esp, 8
cmp byte [eax], 0xa
jne 0x4507d3
mov dword [esi + 0x4008], eax
mov ecx, dword [esi + 0x4008]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x24]
push eax
push 1
inc ecx
push ecx
push edx
call fcn.004562e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x450816
push str.chunk_reading_DONE_n
push edi
call fcn.00428a80
add esp, 8
mov dword [esi + 0x401c], 2
mov dword [esi + 0x4004], 0
mov eax, dword [esi + 0x4010]
or eax, dword [esi + 0x4014]
jne 0x45082e
mov dword [esi + 0x401c], 2
cmp dword [esi + 0x4004], 0
jne 0x4502b0
jmp 0x450366
cmp dword [edi + 0x5e8], 0
je 0x450873
cmp dword [edi + 0xef0], 0
je 0x450873
mov ecx, dword [esp + 0x34]
push str.Proxy_CONNECT_connection_closed_n
push edi
mov dword [ecx + 0x304], 1
call fcn.00428a80
add esp, 8
jmp 0x45035c
push str.Proxy_CONNECT_aborted
push edi
mov dword [esp + 0x28], 1
call fcn.00428bd0
add esp, 8
jmp 0x45035c
lea ecx, [esp + 0x10]
push ecx
call fcn.00448ae0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x20
ret
lea edx, [esp + 0x10]
push edx
call fcn.00448ae0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x20
ret
push ebx
call dword [0x476050]
lea eax, [esp + 0x14]
push eax
call fcn.00448ae0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x20
ret
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20
ret
push str.Proxy_CONNECT_aborted_due_to_timeout
push edi
call fcn.00428bd0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1c
pop ebx
add esp, 0x20
ret
push str.CONNECT_response_too_large_
push edi
call fcn.00428bd0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x20
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + ecx*4 + 0x1a8]
push edx
push ebx
call fcn.0042de10
mov eax, dword [esp + 0x40]
add esp, 8
mov dword [ebx + eax*4 + 0x1a8], 0xffffffff
mov eax, 0x51eb851f
imul dword [edi + 0x11a4]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
je 0x450a12
cmp dword [esi + 0x4020], ebp
je 0x4509a3
cmp dword [edi + 0x168], ebp
je 0x4509a3
push str.Connect_me_again_please_n
push edi
mov dword [ebx + 0x304], 1
call fcn.00428a80
add esp, 8
mov eax, ebx
call fcn.0044ff70
jmp 0x4509e2
mov edx, dword [edi + 0x168]
push edx
call dword [0x476050]
push 2
push ebx
mov dword [edi + 0x168], ebp
call fcn.0042dfa0
mov eax, dword [esp + 0x44]
mov ecx, dword [ebx + eax*4 + 0x1a8]
push ecx
push ebx
call fcn.0042de10
mov edx, dword [esp + 0x4c]
add esp, 0x14
mov dword [ebx + edx*4 + 0x1a8], 0xffffffff
mov dword [esi + 0x401c], ebp
cmp dword [ebx + 0x304], ebp
jne 0x450a5a
mov eax, dword [edi + 0x118]
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push edi
call fcn.00428bd0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x20
ret
mov dword [esi + 0x401c], 2
mov ecx, dword [ebx + 0x37c]
push ecx
call dword [0x476050]
mov dword [ebx + 0x37c], ebp
mov edx, dword [edi + 0x11a4]
push edx
push str.Proxy_replied__d_to_CONNECT_request_n
push edi
mov dword [edi + 0xef4], 1
call fcn.00428a80
mov dword [edi + 0x15c], ebp
add esp, 0x10
mov dword [ebx + 0x2e8], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret