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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
push ebp
call fcn.00422110
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], ebx
mov byte [eax], bl
push dword [ebp + 0x10]
push esi
call fcn.00422320
add esp, 0x10
test al, al
je 0x450229
mov edi, dword [esp + 0x34]
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x44ffab
nop dword [eax]
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x24]
push esi
call fcn.00422f00
mov ebx, eax
add esp, 0x14
cmp ebx, 0x51
je 0x450229
push esi
call fcn.00431b60
add esp, 4
test eax, eax
jne 0x45021c
test ebx, ebx
jne 0x44ffa0
cmp dword [esp + 0x10], ebx
jle 0x4501bd
cmp dword [edi + 0x78], 2
jne 0x45001f
mov ecx, dword [edi + 0x80]
mov eax, ecx
mov edx, dword [edi + 0x84]
or eax, edx
je 0x44ffe1
sub ecx, 1
mov dword [edi + 0x80], ecx
sbb edx, ebx
mov dword [edi + 0x84], edx
js 0x44ffa0
jg 0x450193
test ecx, ecx
jne 0x450193
mov dword [edi + 0x78], 0
xor ecx, ecx
test ecx, ecx
mov edx, dword [esp + 0x38]
sete al
mov byte [edx], al
test ebx, ebx
jne 0x44ffd7
test ecx, ecx
jne 0x44ffd7
mov eax, dword [esi + 0xd94]
sub eax, 0xc8
cmp eax, 0x64
jb 0x44ffd7
push esi
call fcn.0042c850
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x18
ret
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x20]
push eax
push 1
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00455de0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x450193
push str.chunk_reading_DONE
push esi
call fcn.00422b00
add esp, 8
jmp 0x45018c
push 1
lea eax, [esp + 0x34]
push eax
lea ebp, [edi + 0x50]
push ebp
call fcn.004179a0
add esp, 0xc
test eax, eax
jne 0x4501a2
cmp byte [esp + 0x30], 0xa
jne 0x450193
inc dword [edi + 0x74]
push ebp
call fcn.00417a10
lea ecx, [edi + 0x50]
mov ebp, eax
push ecx
call fcn.00417a00
mov ebx, eax
push ebx
push ebp
push 1
push esi
call fcn.004229a0
add esp, 0x18
cmp byte [esi + 0x6e4], 0
jne 0x450095
xor eax, eax
cmp dword [edi + 0x74], 1
push ebx
sete al
push ebp
lea eax, [eax*8 + 0x14]
push eax
push esi
call fcn.00422e50
add esp, 0x10
test eax, eax
jne 0x45022b
push 1
push ebx
push esi
call fcn.0042c2d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x44ffd7
mov al, byte [ebp]
cmp al, 0xd
je 0x4500e0
cmp al, 0xa
je 0x4500e0
push ebp
push edi
push esi
push dword [esp + 0x38]
call fcn.0044fc70
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x44ffd7
lea eax, [edi + 0x50]
push eax
call fcn.00417a20
add esp, 4
jmp 0x450193
cmp dword [esi + 0xe0], 0x197
jne 0x45018c
cmp byte [esi + 0xd75], 0
jne 0x45018c
mov edx, dword [edi + 0x80]
mov eax, edx
mov ecx, dword [edi + 0x84]
or eax, ecx
mov dword [edi + 0x78], 2
je 0x450128
push ecx
push edx
push str.Ignore__I64d_bytes_of_response_body
push esi
call fcn.00422b00
add esp, 0x10
jmp 0x450193
cmp byte [edi + 0x8c], 0
je 0x45017a
push str.Ignore_chunked_response_body
push esi
call fcn.00422b00
lea eax, [ebp + 1]
mov byte [esi + 0x145], 1
cmp byte [eax], 0xa
cmove ebp, eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [ebp + 1]
push eax
push esi
call fcn.00455de0
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x450193
push str.chunk_reading_DONE
push esi
call fcn.00422b00
add esp, 8
jmp 0x45018c
push str.CONNECT:_no_content_length_or_chunked
push dword [esp + 0x30]
push esi
call fcn.00422b90
add esp, 0xc
mov dword [edi + 0x78], 0
cmp dword [edi + 0x78], 0
jne 0x44ff20
jmp 0x44ffa7
push str.CONNECT_response_too_large
push esi
call fcn.00422a30
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp dword [esi + 0x170], 0
je 0x4501ec
cmp dword [esi + 0x988], 0
je 0x4501ec
cmp dword [esi + 0xd34], 0
je 0x4501ec
push str.Proxy_CONNECT_connection_closed
push esi
mov byte [edi + 0x8d], 1
call fcn.00422b00
jmp 0x4501ff
push str.Proxy_CONNECT_aborted
push esi
mov dword [esp + 0x1c], 1
call fcn.00422a30
xor ecx, ecx
mov dword [edi + 0x78], 0
add esp, 8
mov eax, 0x38
cmp dword [esp + 0x14], ecx
cmovne ebx, eax
jmp 0x44ffa9
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x18
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret