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

Disassembly:
sub esp, 0x44
mov eax, dword [edi + 0xa2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push ebx
xor ebx, ebx
mov dword [ecx], ebx
push ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x18], eax
mov dword [edx], ebx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [edi + 0x550]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x4bff12
cmp dword [esi + 0xbc], 0
jne 0x4bff12
sub eax, dword [esi + 0x10]
sbb ecx, dword [esi + 0x14]
xor edx, edx
cmp ecx, edx
jg 0x4bff12
jl 0x4bff10
cmp eax, ebp
jae 0x4bff12
mov ebp, eax
test ebp, ebp
je 0x4bff50
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
lea eax, [esp + 8]
push eax
mov eax, dword [edx + 0x348]
push ebp
push ecx
push eax
push edi
call fcn.004c80d0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0xc], ebx
cmp ebx, 0x51
je 0x4c04ff
test ebx, ebx
jle 0x4bff58
pop ebp
mov eax, ebx
pop ebx
add esp, 0x44
ret
mov dword [esp + 8], 0
mov ecx, dword [esi + 0x10]
or ecx, dword [esi + 0x14]
jne 0x4bffa3
push 7
lea edx, [esp + 0x30]
push edi
push edx
call fcn.004c1b10
add esp, 0xc
cmp dword [esi + 0x88], 0
jle 0x4bffa3
lea eax, [esp + 0x3c]
push eax
call fcn.004c7d40
mov ecx, dword [eax]
mov dword [esi + 0x78], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x7c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x80], ecx
mov edx, dword [eax + 0xc]
add esp, 4
mov dword [esi + 0x84], edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 8]
or dword [eax], 1
test ecx, ecx
jne 0x4bffc4
cmp dword [esi + 0xa0], ecx
jne 0x4bffc4
mov dword [esp + 0x14], 1
jmp 0x4bffd4
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x4c0446
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x50]
mov byte [ecx + eax], 0
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0x330]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4c0019
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call eax
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x4bff48
cmp dword [esp + 0x10], eax
jne 0x4c04ff
cmp dword [esi + 0xbc], 0
je 0x4c00c8
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push ecx
push ebp
push edi
mov dword [esp + 0x34], 0
call fcn.004cd840
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x4bff48
mov edx, dword [ebp + 0x330]
mov eax, dword [edx + 0x34]
test eax, eax
je 0x4c009a
cmp dword [esi + 0xc], ebx
jg 0x4c009a
jl 0x4c0069
cmp dword [esi + 8], ebx
ja 0x4c009a
mov ecx, dword [esp + 8]
test ecx, ecx
jle 0x4c009e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call eax
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], eax
test ebx, ebx
jne 0x4bff48
cmp dword [esp + 0x10], eax
jne 0x4c04ff
mov ecx, dword [esp + 8]
cmp dword [esp + 0x24], 0
je 0x4c00cc
test ecx, ecx
jle 0x4c04ff
mov edx, dword [edi + 0xdf0]
push edx
push ecx
push str.Excess_found:_excess___zd_url___s__zero_length_body_
push edi
call fcn.004c81e0
add esp, 0x10
jmp 0x4c04ff
mov ecx, dword [esp + 8]
cmp dword [esi + 0xbc], 0
jne 0x4c03ee
test ecx, ecx
jg 0x4c00e8
cmp dword [esp + 0x14], 0
je 0x4c03ee
cmp dword [edi + 0x7d8], 0
jne 0x4c044f
cmp dword [esi + 0xa0], 0
jne 0x4c0140
cmp dword [esp + 0x14], 0
jne 0x4c0140
mov eax, ebp
mov edx, dword [eax + 0x330]
test dword [edx + 0x44], 0x40003
je 0x4c0140
mov ebp, dword [esp + 0x58]
push ebp
push eax
push edi
call fcn.004cc380
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x4bff48
cmp dword [ebp], eax
jne 0x4bff48
mov ecx, dword [esp + 8]
inc dword [esi + 0xa0]
cmp dword [edi + 0x7e0], 0
je 0x4c019f
cmp dword [esi + 0x58], 0
je 0x4c018b
lea ebp, [edi + 0xa1c]
push ebp
call fcn.00545b30
add esp, 4
push eax
push ebp
call fcn.004c8e70
add esp, 4
push eax
push 3
push edi
call fcn.004c8140
add esp, 0x10
cmp dword [esi + 0x58], 1
jne 0x4c019b
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x60]
push eax
push ecx
jmp 0x4c0190
mov edx, dword [esi + 0x60]
push ecx
push edx
push 3
push edi
call fcn.004c8140
add esp, 0x10
mov ecx, dword [esp + 8]
cmp dword [esi + 0xd0], 0
je 0x4c01f5
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x60]
lea edx, [esp + 0xc]
push edx
push ecx
push eax
push edi
call fcn.004e8f00
add esp, 0x14
test eax, eax
jg 0x4c0471
cmp eax, 0xffffffff
jne 0x4c01f1
and dword [esi + 0x74], 0xfffffffe
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov edx, eax
or edx, ecx
je 0x4c01f1
push ecx
push eax
push str.Leftovers_after_chunking:___I64du_bytes
push edi
call fcn.004c81e0
add esp, 0x10
mov ecx, dword [esp + 8]
cmp dword [esi + 0x58], 1
jne 0x4c021e
cmp dword [esi + 0xc8], 0
jne 0x4c021e
lea eax, [edi + 0xa1c]
push eax
call fcn.00545b30
mov ecx, dword [esp + 0xc]
add esp, 4
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x4c022d
cmp edx, eax
je 0x4c02a5
mov ebp, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov eax, ecx
cdq
add eax, ebp
adc edx, ebx
mov ebx, dword [esi + 0xc]
cmp edx, ebx
jl 0x4c02a1
jg 0x4c0248
cmp eax, dword [esi + 8]
jb 0x4c02a1
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x1c], eax
je 0x4c028b
cmp dword [esi + 0xc8], 0
jne 0x4c028b
mov ecx, dword [esi + 0x14]
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 8]
push ebp
push ebx
push ecx
mov ecx, dword [esi + 4]
push ecx
push edx
push eax
push str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d
push edi
call fcn.004c81e0
mov eax, dword [esp + 0x74]
push 1
push eax
call fcn.004c5b70
add esp, 0x2c
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0x10]
mov dword [esp + 8], ecx
jns 0x4c029d
xor ecx, ecx
mov dword [esp + 8], ecx
and dword [esi + 0x74], 0xfffffffe
mov ebx, dword [esp + 0xc]
mov eax, ecx
cdq
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edx
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
push edi
call fcn.004c1e40
mov ecx, dword [esp + 0x14]
add esp, 0xc
cmp dword [esi + 0xd0], 0
jne 0x4c03ee
test ecx, ecx
jne 0x4c02e3
cmp dword [esi + 0x58], ecx
jne 0x4c02e9
cmp dword [esp + 0x14], ecx
je 0x4c03ee
cmp dword [esi + 0x58], 0
je 0x4c0362
cmp dword [esi + 0xc8], 0
jne 0x4c0362
lea ebp, [edi + 0xa1c]
push ebp
call fcn.00545b30
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, edx
and ebx, ecx
add esp, 4
cmp ebx, 0xffffffff
je 0x4c033a
xor ebx, ebx
cmp ebx, ecx
jl 0x4c033a
jg 0x4c031c
cmp eax, edx
jbe 0x4c033a
mov eax, dword [esi + 8]
push eax
push ebp
call fcn.004c8e70
add esp, 4
push eax
push 1
push edi
call fcn.004c85c0
mov ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x4c0353
push eax
push ebp
call fcn.004c8e70
add esp, 4
push eax
push 1
push edi
call fcn.004c85c0
mov ebx, eax
mov dword [esp + 0x1c], eax
add esp, 0x10
test ebx, ebx
jne 0x4bff48
mov ecx, dword [esp + 8]
cmp dword [esi + 0x58], 2
jge 0x4c03df
cmp dword [edi + 0x804], 0
jne 0x4c0396
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4c0396
cmp dword [esi + 0xc8], 0
jne 0x4c03df
test ecx, ecx
je 0x4c03df
push ecx
mov ecx, dword [esi + 0x60]
push ecx
push eax
push edi
call fcn.004be6a0
jmp 0x4c03d2
cmp dword [esi + 0xc8], 0
jne 0x4c03df
test ecx, ecx
je 0x4c03df
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x330]
test dword [eax + 0x44], 0xc000
push ecx
je 0x4c03c6
mov ecx, dword [esi + 0x60]
push ecx
push edi
call fcn.004d2a70
add esp, 0xc
jmp 0x4c03d5
mov edx, dword [esi + 0x60]
push edx
push 1
push edi
call fcn.004c85c0
add esp, 0x10
mov ecx, dword [esp + 8]
mov ebx, eax
mov dword [esp + 0xc], ebx
mov dword [esi + 0x58], 0
test ebx, ebx
jne 0x4bff48
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x330]
cmp dword [edx + 0x34], 0
je 0x4c040a
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x4c04ae
cmp dword [esp + 0x14], 0
je 0x4c0415
and dword [esi + 0x74], 0xfffffffe
test byte [esi + 0x74], 0x10
jne 0x4c04ff
mov eax, edi
call fcn.004bfdf0
test eax, eax
je 0x4c04ff
mov eax, dword [esp + 0x20]
mov ecx, eax
dec eax
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x4bfee1
jmp 0x4c04ff
and dword [esi + 0x74], 0xfffffffe
jmp 0x4c04ff
mov eax, ebp
push 2
push eax
call fcn.004c5b70
mov ecx, dword [esp + 0x60]
add esp, 8
pop ebp
mov dword [ecx], 1
mov eax, 8
pop ebx
add esp, 0x44
ret
cmp eax, 6
jne 0x4c048e
push str.Failed_reading_the_chunked_encoded_stream
push edi
call fcn.004c8260
mov eax, dword [esp + 0x30]
add esp, 8
pop ebp
pop ebx
add esp, 0x44
ret
push eax
call fcn.004e92e0
push eax
push str._s_in_chunked_encoding
push edi
call fcn.004c8260
add esp, 0x10
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x44
ret
add dword [esi + 0x60], ecx
mov ecx, dword [esi + 0x60]
mov eax, dword [edi + 0x550]
mov ebp, dword [esp + 0x18]
lea ebx, [ecx + edx]
add ebp, eax
cmp ebx, ebp
jbe 0x4c04cf
sub eax, ecx
add eax, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x330]
mov edx, dword [edx + 0x34]
push eax
push edi
call edx
add esp, 0x10
test eax, eax
jne 0x4c054a
cmp dword [esp + 0x10], eax
je 0x4c04ff
or dword [esi + 0x74], 1
cmp dword [esp + 0x20], 0
jg 0x4c051e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x474], 1
mov dword [ecx], 1
mov edx, dword [esi + 0x74]
and dl, 3
cmp dl, 2
jne 0x4c0548
mov eax, dword [esp + 0x50]
cmp dword [eax + 0x290], 0
je 0x4c0548
push str.we_are_done_reading_and_this_is_set_to_close__stop_send
push edi
call fcn.004c81e0
add esp, 8
and dword [esi + 0x74], 0xfffffffd
xor eax, eax
pop ebp
pop ebx
add esp, 0x44
ret