Function at 0x444f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
push edi
push ebp
call fcn.00416e60
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
mov byte [eax], bl
push dword [ebp + 0x10]
push edi
call fcn.00417070
add esp, 0x10
test al, al
je 0x4452d8
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0xb0]
test ecx, ecx
je 0x4451ee
nop dword [eax]
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x24]
push edi
call fcn.004180b0
mov ebx, eax
add esp, 0x14
cmp ebx, 0x51
je 0x4452d8
push edi
call fcn.00428520
add esp, 4
test eax, eax
jne 0x4452cb
test ebx, ebx
jne 0x4452b0
cmp dword [esp + 0x1c], ebx
jle 0x44523f
cmp dword [esi + 0xb0], 2
jne 0x4450aa
mov ecx, dword [esi + 0xb8]
mov eax, ecx
mov edx, dword [esi + 0xbc]
or eax, edx
je 0x44504d
sub ecx, 1
mov dword [esi + 0xb8], ecx
sbb edx, ebx
mov dword [esi + 0xbc], edx
js 0x445037
jg 0x4451dd
test ecx, ecx
jne 0x4451dd
mov eax, dword [esp + 0x34]
mov dword [esi + 0xb0], 0
mov byte [eax], 1
jmp 0x4451ff
cmp byte [esi + 0xc4], 0
je 0x4451dd
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 1
lea eax, [esp + 0x34]
push eax
lea ebp, [esi + 0x78]
push ebp
push edi
call fcn.0044ad60
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x44521a
push ebp
push edi
call fcn.0044ad50
add esp, 8
test al, al
je 0x4451dd
push str.chunk_reading_DONE
push edi
call fcn.00417a00
add esp, 8
jmp 0x4451d3
push 1
lea eax, [esp + 0x30]
push eax
lea ebp, [esi + 0x50]
push ebp
call fcn.0040b8f0
add esp, 0xc
test eax, eax
jne 0x445224
cmp byte [esp + 0x2c], 0xa
jne 0x4451dd
inc dword [esi + 0x74]
push ebp
call fcn.0040b960
mov ebx, eax
push ebp
mov dword [esp + 0x28], ebx
call fcn.0040b950
push eax
push ebx
push 1
push edi
mov dword [esp + 0x28], eax
call fcn.00417880
push dword [esp + 0x28]
xor ecx, ecx
cmp dword [esi + 0x74], 1
push ebx
sete cl
lea ecx, [ecx*8 + 0x14]
push ecx
push edi
call fcn.00417eb0
add esp, 0x28
test eax, eax
jne 0x4452da
push 1
push dword [esp + 0x14]
push edi
call fcn.00422ca0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x44521a
mov ecx, dword [esp + 0x20]
mov al, byte [ecx]
cmp al, 0xd
je 0x445165
cmp al, 0xa
je 0x445165
push ecx
push esi
push edi
push dword [esp + 0x34]
call fcn.00444d00
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x44521a
push ebp
call fcn.0040b970
add esp, 4
jmp 0x4451dd
cmp dword [edi + 0xd8], 0x197
jne 0x4451d3
cmp byte [edi + 0xd79], 0
jne 0x4451d3
mov edx, dword [esi + 0xb8]
mov eax, edx
mov ecx, dword [esi + 0xbc]
or eax, ecx
mov dword [esi + 0xb0], 2
je 0x4451a8
push ecx
push edx
push str.Ignore__lld_bytes_of_response_body
push edi
call fcn.00417a00
add esp, 0x10
jmp 0x4451dd
cmp byte [esi + 0xc4], 0
je 0x4451c1
push str.Ignore_chunked_response_body
push edi
call fcn.00417a00
add esp, 8
jmp 0x4451dd
push str.CONNECT:_no_content_length_or_chunked
push dword [esp + 0x2c]
push edi
call fcn.00417a90
add esp, 0xc
mov dword [esi + 0xb0], 0
cmp dword [esi + 0xb0], 0
jne 0x444fb0
xor ecx, ecx
test ecx, ecx
mov edx, dword [esp + 0x34]
sete al
mov byte [edx], al
test ebx, ebx
jne 0x44521a
test ecx, ecx
jne 0x44521a
mov eax, dword [edi + 0xd9c]
sub eax, 0xc8
cmp eax, 0x64
jb 0x44521a
push edi
call fcn.004231d0
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret
push str.CONNECT_response_too_large
push edi
call fcn.00417930
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [edi + 0x168], 0
je 0x44526e
cmp dword [edi + 0x988], 0
je 0x44526e
cmp dword [edi + 0xd38], 0
je 0x44526e
push str.Proxy_CONNECT_connection_closed
push edi
mov byte [esi + 0xc5], 1
call fcn.00417a00
jmp 0x445281
push str.Proxy_CONNECT_aborted
push edi
mov dword [esp + 0x1c], 1
call fcn.00417930
xor ecx, ecx
mov dword [esi + 0xb0], 0
add esp, 8
cmp dword [esp + 0x14], ecx
je 0x4451ec
mov eax, dword [esp + 0x34]
mov ebx, 0x38
pop edi
pop esi
pop ebp
mov byte [eax], 1
mov eax, ebx
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x34]
pop edi
mov dword [esi + 0xb0], 0
pop esi
mov byte [eax], 1
mov eax, ebx
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x14
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret