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

Disassembly:
sub esp, 0x44
mov ecx, dword [edi + 0xa0c]
mov edx, dword [esp + 0x50]
xor eax, eax
push ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x50]
mov dword [edx], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0x64
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebx, dword [edi + 0x530]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x101aa816
cmp dword [esi + 0xbc], 0
jne 0x101aa816
sub eax, dword [esi + 0x10]
sbb ecx, dword [esi + 0x14]
xor edx, edx
cmp ecx, edx
jg 0x101aa816
jl 0x101aa814
cmp eax, ebx
jae 0x101aa816
mov ebx, eax
test ebx, ebx
je 0x101aa84c
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x340]
lea eax, [esp + 8]
push eax
push ebx
push ecx
push edx
push edi
call fcn.1017ef90
add esp, 0x14
mov dword [esp + 0xc], eax
cmp eax, 0x51
je 0x101aadff
test eax, eax
jg 0x101aae48
jmp 0x101aa854
mov dword [esp + 8], 0
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x101aa89f
push 7
lea ecx, [esp + 0x30]
push edi
push ecx
call fcn.1018f520
add esp, 0xc
cmp dword [esi + 0x88], 0
jle 0x101aa89f
lea edx, [esp + 0x3c]
push edx
call fcn.10189620
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
xor ebx, ebx
cmp ecx, ebx
jne 0x101aa8c2
cmp dword [esi + 0xa0], ebx
jne 0x101aa8c2
mov dword [esp + 0x14], 1
jmp 0x101aa8ce
mov dword [esp + 0x14], ebx
cmp ecx, ebx
jle 0x101aad0f
mov eax, dword [esp + 0x18]
mov byte [ecx + eax], bl
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0x328]
mov eax, dword [eax + 0x34]
cmp eax, ebx
je 0x101aa90c
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call eax
add esp, 0x10
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x101aae48
cmp dword [esp + 0x10], ebx
jne 0x101aadff
cmp dword [esi + 0xbc], ebx
je 0x101aa998
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push ecx
push ebp
push edi
mov dword [esp + 0x34], ebx
call fcn.101a5b20
add esp, 0x10
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x101aae48
mov edx, dword [ebp + 0x328]
mov eax, dword [edx + 0x34]
cmp eax, ebx
je 0x101aa982
cmp dword [esi + 0xc], ebx
jg 0x101aa982
jl 0x101aa955
cmp dword [esi + 8], ebx
ja 0x101aa982
cmp dword [esp + 8], ebx
jle 0x101aa982
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call eax
add esp, 0x10
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x101aae48
cmp dword [esp + 0x10], ebx
jne 0x101aadff
cmp dword [esp + 0x24], ebx
jne 0x101aad18
cmp dword [esi + 0xbc], ebx
jne 0x101aaca0
cmp dword [esp + 8], ebx
jg 0x101aa9a8
cmp dword [esp + 0x14], ebx
je 0x101aaca0
cmp dword [edi + 0x7ac], ebx
jne 0x101aad3f
cmp dword [esi + 0xa0], ebx
jne 0x101aa9fa
cmp dword [esp + 0x14], ebx
jne 0x101aa9fa
mov ebp, dword [esp + 0x50]
mov eax, dword [ebp + 0x328]
test dword [eax + 0x40], 0x40003
je 0x101aa9fe
mov ebx, dword [esp + 0x58]
push ebx
push ebp
push edi
call fcn.101a4800
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x101aae48
cmp dword [ebx], eax
jne 0x101aae48
jmp 0x101aa9fe
mov ebp, dword [esp + 0x50]
inc dword [esi + 0xa0]
cmp dword [edi + 0x7b4], 0
je 0x101aaa5d
cmp dword [esi + 0x58], 0
je 0x101aaa49
lea ebx, [edi + 0x9fc]
push ebx
call fcn.100470d0
add esp, 4
push eax
push ebx
call fcn.1003a750
add esp, 4
push eax
push 3
push edi
call fcn.1017f000
add esp, 0x10
cmp dword [esi + 0x58], 1
jne 0x101aaa5d
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x60]
push ecx
push edx
jmp 0x101aaa52
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x60]
push eax
push ecx
push 3
push edi
call fcn.1017f000
add esp, 0x10
cmp dword [esi + 0xd0], 0
je 0x101aaaaf
mov ecx, dword [esp + 8]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esi + 0x60]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
push edi
call fcn.101b1a20
add esp, 0x14
test eax, eax
jg 0x101aad63
cmp eax, 0xffffffff
jne 0x101aaaaf
and dword [esi + 0x74], 0xfffffffe
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, eax
or edx, ecx
je 0x101aaaaf
push ecx
push eax
push str.Leftovers_after_chunking:___I64du_bytes_n
push edi
call fcn.1017f0b0
add esp, 0x10
cmp dword [esi + 0x58], 1
jne 0x101aaad4
cmp dword [esi + 0xc8], 0
jne 0x101aaad4
lea eax, [edi + 0x9fc]
push eax
call fcn.100470d0
add esp, 4
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
cmp dword [esi + 8], 0xffffffff
mov ebx, dword [esi + 0xc]
jne 0x101aaae2
cmp ebx, 0xffffffff
je 0x101aab5a
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x10]
mov ebp, dword [esi + 0x14]
cdq
add eax, ecx
adc edx, ebp
cmp edx, ebx
jl 0x101aab5a
jg 0x101aaafc
cmp eax, dword [esi + 8]
jb 0x101aab5a
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
add eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
je 0x101aab42
cmp dword [esi + 0xc8], 0
jne 0x101aab42
mov eax, dword [esi + 8]
mov edx, dword [esi]
push ebp
push ecx
mov ecx, dword [esi + 4]
push ebx
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d_n
push edi
call fcn.1017f0b0
mov ecx, dword [esp + 0x74]
push 1
push ecx
call fcn.10185bc0
add esp, 0x2c
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x10]
mov dword [esp + 8], eax
jns 0x101aab56
mov dword [esp + 8], 0
and dword [esi + 0x74], 0xfffffffe
mov eax, dword [esp + 8]
cdq
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
adc dword [esi + 0x14], edx
mov edx, dword [esi + 0x14]
push edx
push eax
push edi
call fcn.1018f850
add esp, 0xc
cmp dword [esi + 0xd0], 0
jne 0x101aaca0
cmp dword [esp + 8], 0
jne 0x101aab9b
cmp dword [esi + 0x58], 0
jne 0x101aaba1
cmp dword [esp + 0x14], 0
je 0x101aaca0
cmp dword [esi + 0x58], 0
je 0x101aac12
cmp dword [esi + 0xc8], 0
jne 0x101aac12
lea ebp, [edi + 0x9fc]
push ebp
call fcn.100470d0
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, edx
and ebx, ecx
add esp, 4
cmp ebx, 0xffffffff
je 0x101aabf0
xor ebx, ebx
cmp ebx, ecx
jl 0x101aabf0
jg 0x101aabd4
cmp eax, edx
jbe 0x101aabf0
mov ecx, dword [esi + 8]
push ecx
push ebp
call fcn.1003a750
add esp, 4
push eax
push 1
push edi
call fcn.1017f580
mov dword [esp + 0x1c], eax
jmp 0x101aac07
push eax
push ebp
call fcn.1003a750
add esp, 4
push eax
push 1
push edi
call fcn.1017f580
mov dword [esp + 0x1c], eax
add esp, 0x10
test eax, eax
jne 0x101aae48
cmp dword [esi + 0x58], 2
jge 0x101aac8e
cmp dword [edi + 0x7d8], 0
jne 0x101aac46
mov eax, dword [esi + 0x90]
test eax, eax
je 0x101aac46
cmp dword [esi + 0xc8], 0
jne 0x101aac8e
mov edx, dword [esp + 8]
mov ecx, dword [esi + 0x60]
push edx
push ecx
push eax
push edi
call fcn.10187740
jmp 0x101aac87
cmp dword [esi + 0xc8], 0
jne 0x101aac8e
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x328]
test dword [eax + 0x40], 0xc000
je 0x101aac76
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x60]
push ecx
push edx
push edi
call fcn.10194910
add esp, 0xc
jmp 0x101aac8a
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x60]
push eax
push ecx
push 1
push edi
call fcn.1017f580
add esp, 0x10
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
mov dword [esi + 0x58], 0
jne 0x101aada0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x328]
cmp dword [eax + 0x34], 0
je 0x101aacbc
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x101aadaa
cmp dword [esp + 0x14], 0
je 0x101aacc7
and dword [esi + 0x74], 0xfffffffe
test byte [esi + 0x74], 0x10
jne 0x101aadff
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x328]
test byte [ecx + 0x40], 0x30
jne 0x101aacf3
push 0
push eax
call fcn.10176830
add esp, 8
test eax, eax
je 0x101aadff
mov eax, dword [esp + 0x20]
mov edx, eax
dec eax
mov dword [esp + 0x20], eax
test edx, edx
je 0x101aadff
mov ebp, dword [esp + 0x50]
jmp 0x101aa7e5
and dword [esi + 0x74], 0xfffffffe
jmp 0x101aadff
mov eax, dword [esp + 8]
cmp eax, ebx
jle 0x101aadff
mov ecx, dword [edi + 0xdc8]
push ecx
push eax
push str.Excess_found:_excess___zd_url___s__zero_length_body__n
push edi
call fcn.1017f0b0
add esp, 0x10
jmp 0x101aadff
mov edx, dword [esp + 0x50]
push 2
push edx
call fcn.10185bc0
mov eax, dword [esp + 0x60]
add esp, 8
pop ebp
mov dword [eax], 1
mov eax, 8
pop ebx
add esp, 0x44
ret
cmp eax, 6
jne 0x101aad80
push str.Failed_reading_the_chunked_encoded_stream
push edi
call fcn.1017f190
mov eax, dword [esp + 0x30]
add esp, 8
pop ebp
pop ebx
add esp, 0x44
ret
push eax
call fcn.101b1e20
push eax
push str._s_in_chunked_encoding
push edi
call fcn.1017f190
add esp, 0x10
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
add esp, 0x44
ret
mov edx, dword [esp + 8]
add dword [esi + 0x60], edx
mov edx, dword [esi + 0x60]
mov eax, dword [edi + 0x530]
mov ebp, dword [esp + 0x18]
lea ebx, [edx + ecx]
add ebp, eax
cmp ebx, ebp
jbe 0x101aadcf
sub eax, edx
add eax, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x328]
push eax
mov eax, dword [ecx + 0x34]
push edi
call eax
add esp, 0x10
test eax, eax
jne 0x101aae48
cmp dword [esp + 0x10], eax
je 0x101aadff
or dword [esi + 0x74], 1
cmp dword [esp + 0x20], 0
jg 0x101aae1e
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0x46c], 1
mov dword [edx], 1
mov eax, dword [esi + 0x74]
and al, 3
cmp al, 2
jne 0x101aae46
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x288], 0
je 0x101aae46
push str.we_are_done_reading_and_this_is_set_to_close__stop_send_n
push edi
call fcn.1017f0b0
add esp, 8
and dword [esi + 0x74], 0xfffffffd
xor eax, eax
pop ebp
pop ebx
add esp, 0x44
ret