Function at 0x44f910
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 0x4503ca
cmp dword [esi + 0x401c], 2
je 0x4503ca
mov dword [ebx + 0x304], ebp
cmp dword [esi + 0x401c], ebp
jne 0x44fbcd
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.004283c0
mov ecx, dword [edi + 0x168]
push ecx
call dword [0x476050]
add esp, 0x14
mov dword [edi + 0x168], ebp
call fcn.00448440
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x45020b
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
push str._s:_d
call fcn.00430080
mov ebx, eax
add esp, 0xc
cmp ebx, ebp
je 0x4501fe
mov ecx, dword [esp + 0x34]
push 1
push ebx
push str.CONNECT
push ecx
call fcn.00447f70
push ebx
mov ebp, eax
call dword [0x476050]
add esp, 0x14
test ebp, ebp
jne 0x44fba4
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 0x44fa10
mov dword [esp + 0x20], 0x467db8
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x2c4]
cmp ebx, dword [ebp + 0x9c]
je 0x44fa34
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 0x44fa44
mov ecx, 0x462090
mov eax, 0x462084
jmp 0x44fa4b
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.00430080
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x450218
push str.Host
push ebp
call fcn.004478f0
add esp, 8
test eax, eax
jne 0x44fa96
push ebx
push str.Host:__s_r_n
call fcn.00430080
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x450232
push str.Proxy_Connection
push ebp
call fcn.004478f0
add esp, 8
test eax, eax
jne 0x44fab0
mov dword [esp + 0x18], str.Proxy_Connection:_Keep_Alive_r_n
push str.User_Agent
push ebp
call fcn.004478f0
add esp, 8
test eax, eax
jne 0x44fad4
cmp dword [edi + 0xacc], eax
je 0x44fad4
mov eax, dword [ebp + 0x380]
mov dword [esp + 0x1c], eax
mov ebp, dword [ebp + 0x37c]
mov ecx, ebp
test ebp, ebp
jne 0x44fae5
mov ecx, 0x46d773
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x44faf2
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.00449060
add esp, 0x20
cmp dword [esp + 0x14], 0
mov ebp, eax
je 0x44fb2d
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 0x44fb8a
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
push eax
push 1
push ebx
call fcn.004492f0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x44fb8a
lea ecx, [esp + 0x10]
push 0x462ba0
push ecx
call fcn.00449060
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x44fb8a
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.00448480
add esp, 0x14
mov ebp, eax
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x44fba4
push str.Failed_sending_CONNECT_to_proxy
push edi
call fcn.00428510
add esp, 8
lea edx, [esp + 0x10]
push edx
call fcn.00448450
add esp, 4
test ebp, ebp
jne 0x450253
mov ebx, dword [esp + 0x34]
mov dword [esi + 0x401c], 1
mov dword [esi + 0x4000], ebp
push 1
push ebp
push edi
call fcn.0042ccb0
add esp, 0xc
cmp edx, ebp
jl 0x45025d
jg 0x44fbeb
cmp eax, ebp
jbe 0x45025d
mov eax, dword [esp + 0x38]
push eax
push ebx
call fcn.0042d940
add esp, 8
test eax, eax
je 0x4503ca
mov dword [esp + 0x20], ebp
cmp dword [esi + 0x4004], ebp
je 0x44fcdc
lea ebx, [esi + 0x4000]
jmp 0x44fc20
mov eax, dword [esi + 0x400c]
cmp eax, ebx
jae 0x450278
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.00428200
mov ebp, eax
add esp, 0x14
cmp ebp, 0x51
je 0x4503ca
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00434a10
add esp, 4
test eax, eax
jne 0x450293
test ebp, ebp
jne 0x44fccc
cmp dword [esp + 0x24], ebp
jle 0x4501b0
cmp dword [esi + 0x4004], 1
jle 0x44fde5
mov eax, dword [esi + 0x4010]
mov ecx, dword [esi + 0x4014]
mov edx, eax
or edx, ecx
mov dword [esi + 0x400c], esi
je 0x44fda2
sub eax, 1
sbb ecx, ebp
mov dword [esi + 0x4010], eax
mov dword [esi + 0x4014], ecx
test ecx, ecx
jl 0x44fcc2
jg 0x45019e
test eax, eax
ja 0x45019e
mov dword [esi + 0x401c], 2
mov dword [esi + 0x4004], 0
mov ebx, dword [esp + 0x34]
xor ebp, ebp
push ebx
call fcn.00434a10
add esp, 4
test eax, eax
jne 0x450293
cmp dword [esp + 0x20], ebp
jne 0x450286
mov eax, 0x51eb851f
imul dword [edi + 0x11a4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x44fd34
push ebx
call fcn.00448e30
add esp, 4
cmp eax, ebp
jne 0x4503cc
cmp dword [ebx + 0x2a0], ebp
je 0x44fd34
mov dword [esi + 0x4020], 1
cmp dword [esi + 0x4020], ebp
je 0x44fd48
cmp dword [edi + 0x168], ebp
jne 0x4502a0
cmp dword [edi + 0x168], ebp
je 0x4502c4
cmp dword [esi + 0x401c], 2
jne 0x44fd91
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 0x44f953
jmp 0x4502c4
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x1c]
push eax
push 1
push esi
push ecx
mov dword [esp + 0x2c], 0
call fcn.00455c50
add esp, 0x10
cmp eax, 0xffffffff
jne 0x45019e
push str.chunk_reading_DONE_n
push edi
call fcn.004283c0
add esp, 8
mov dword [esi + 0x4004], 0
jmp 0x450194
inc dword [ebx]
mov eax, dword [esi + 0x400c]
cmp byte [eax], 0xa
mov ecx, dword [ebx]
je 0x44fe00
inc eax
mov dword [esi + 0x400c], eax
jmp 0x45019e
cmp dword [edi + 0x9dc], 0
je 0x44fe1c
mov edx, dword [esi + 0x4008]
push ecx
push edx
push 1
push edi
call fcn.00428330
add esp, 0x10
cmp dword [edi + 0xb8c], 0
jne 0x44fe58
cmp dword [edi + 0x9c4], 0
mov eax, 2
je 0x44fe38
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.004289a0
add esp, 0x10
test eax, eax
jne 0x4503cc
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 0x4500bf
cmp cl, 0xa
je 0x4500bf
mov ecx, dword [ebx]
mov byte [eax + ecx], 0
mov edx, dword [esi + 0x4008]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.0042e690
add esp, 0xc
test eax, eax
je 0x44feaf
mov eax, dword [edi + 0x118]
cmp eax, 0x191
je 0x44fed6
mov eax, dword [esi + 0x4008]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.0042e690
add esp, 0xc
test eax, eax
je 0x44ff23
mov eax, dword [edi + 0x118]
cmp eax, 0x197
jne 0x44ff23
mov ecx, dword [esi + 0x4008]
xor ebx, ebx
cmp eax, 0x197
push ecx
sete bl
call fcn.00447970
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x45020b
mov edx, dword [esp + 0x34]
push ebp
push ebx
push edx
call fcn.00448080
push ebp
mov ebx, eax
call dword [0x476050]
add esp, 0x10
test ebx, ebx
je 0x4500a2
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.0042e690
add esp, 0xc
test eax, eax
je 0x44ff8f
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 0x44ff6d
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response_n
push edi
call fcn.004283c0
add esp, 0xc
jmp 0x4500a2
mov edx, dword [esi + 0x4008]
lea ecx, [esi + 0x4010]
push ecx
push 0xa
add edx, 0xf
push 0
push edx
call fcn.00454dc0
add esp, 0x10
jmp 0x4500a2
mov eax, dword [esi + 0x4008]
push str.close
push str.Connection:
push eax
call fcn.00448780
add esp, 0xc
test eax, eax
je 0x44ffbb
mov dword [esi + 0x4020], 1
jmp 0x4500a2
mov ecx, dword [esi + 0x4008]
push 0x12
push ecx
push str.Transfer_Encoding:
call fcn.0042e690
add esp, 0xc
test eax, eax
je 0x45004a
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 0x450005
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response_n
push edi
call fcn.004283c0
add esp, 0xc
jmp 0x4500a2
mov ecx, dword [esi + 0x4008]
push str.chunked
push str.Transfer_Encoding:
push ecx
call fcn.00448780
add esp, 0xc
test eax, eax
je 0x4500a2
push str.CONNECT_responded_chunked_n
push edi
call fcn.004283c0
mov edx, dword [esp + 0x3c]
push edx
mov dword [esi + 0x4018], 1
call fcn.00455c40
add esp, 0xc
jmp 0x4500a2
mov eax, dword [esi + 0x4008]
push str.close
push str.Proxy_Connection:
push eax
call fcn.00448780
add esp, 0xc
test eax, eax
je 0x450073
mov dword [esi + 0x4020], 1
jmp 0x4500a2
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 0x4500a2
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 0x45019e
mov dword [esi + 0x400c], esi
cmp dword [edi + 0x118], 0x197
jne 0x45017c
cmp dword [edi + 0xf00], 0
jne 0x45017c
mov eax, dword [esi + 0x4010]
mov ecx, dword [esi + 0x4014]
mov edx, eax
or edx, ecx
mov dword [esi + 0x4004], 2
je 0x450110
push ecx
push eax
push str.Ignore__I64d_bytes_of_response_body_n
push edi
call fcn.004283c0
add esp, 0x10
jmp 0x450186
cmp dword [esi + 0x4018], 0
je 0x45017c
push str.Ignore_chunked_response_body_n
push edi
call fcn.004283c0
mov dword [edi + 0x15c], 1
mov eax, dword [esi + 0x4008]
inc eax
add esp, 8
cmp byte [eax], 0xa
jne 0x450143
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.00455c50
add esp, 0x10
cmp eax, 0xffffffff
jne 0x450186
push str.chunk_reading_DONE_n
push edi
call fcn.004283c0
add esp, 8
mov dword [esi + 0x401c], 2
mov dword [esi + 0x4004], 0
mov eax, dword [esi + 0x4010]
or eax, dword [esi + 0x4014]
jne 0x45019e
mov dword [esi + 0x401c], 2
cmp dword [esi + 0x4004], 0
jne 0x44fc20
jmp 0x44fcd6
cmp dword [edi + 0x5e8], 0
je 0x4501e3
cmp dword [edi + 0xef0], 0
je 0x4501e3
mov ecx, dword [esp + 0x34]
push str.Proxy_CONNECT_connection_closed_n
push edi
mov dword [ecx + 0x304], 1
call fcn.004283c0
add esp, 8
jmp 0x44fccc
push str.Proxy_CONNECT_aborted
push edi
mov dword [esp + 0x28], 1
call fcn.00428510
add esp, 8
jmp 0x44fccc
lea ecx, [esp + 0x10]
push ecx
call fcn.00448450
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.00448450
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.00448450
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.00428510
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.00428510
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.0042d760
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 0x450382
cmp dword [esi + 0x4020], ebp
je 0x450313
cmp dword [edi + 0x168], ebp
je 0x450313
push str.Connect_me_again_please_n
push edi
mov dword [ebx + 0x304], 1
call fcn.004283c0
add esp, 8
mov eax, ebx
call fcn.0044f8e0
jmp 0x450352
mov edx, dword [edi + 0x168]
push edx
call dword [0x476050]
push 2
push ebx
mov dword [edi + 0x168], ebp
call fcn.0042d8f0
mov eax, dword [esp + 0x44]
mov ecx, dword [ebx + eax*4 + 0x1a8]
push ecx
push ebx
call fcn.0042d760
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 0x4503ca
mov eax, dword [edi + 0x118]
push eax
push str.Received_HTTP_code__d_from_proxy_after_CONNECT
push edi
call fcn.00428510
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.004283c0
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