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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
mov esi, dword [esp + 0x6c]
xor ebp, ebp
mov edx, dword [ebx + 0x22c]
push edi
mov edi, dword [ebx + 0x228]
mov eax, edi
or eax, edx
mov dword [esp + 0x24], ebp
mov byte [esp + 0x12], 0
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
jne 0x101ca06c
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], bind
mov eax, dword [ebx + 0x8c0]
lea ecx, [esi + 0xba]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
mov byte [eax], 0
mov eax, dword [esp + 0x7c]
mov byte [eax], 0
lea eax, [esi + 0x10]
mov edi, dword [esi + 4]
mov edx, dword [ebx + 0x4b0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esi]
mov dword [esp + 0x28], eax
mov eax, ecx
and eax, edi
cmp eax, 0xffffffff
je 0x101ca0cf
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
jne 0x101ca0cf
mov eax, dword [esp + 0x28]
sub ecx, dword [eax]
sbb edi, dword [eax + 4]
test edi, edi
jg 0x101ca0cf
jl 0x101ca0cd
cmp ecx, edx
jae 0x101ca0cf
mov edx, ecx
mov edi, dword [esp + 0x30]
test edx, edx
je 0x101ca106
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x70]
push edx
push edi
push dword [eax + 0x200]
push ebx
call fcn.101a6d80
mov ebp, eax
add esp, 0x14
cmp ebp, 0x51
je 0x101ca5f0
test ebp, ebp
jg 0x101ca732
jmp 0x101ca10e
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x101ca143
push 7
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.101cb0c0
add esp, 0xc
cmp dword [esi + 0x70], 0
jle 0x101ca143
lea eax, [esp + 0x54]
push eax
call fcn.101a3b70
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x60], xmm0
mov eax, dword [esp + 0x74]
or dword [eax], 1
cmp dword [esp + 0x14], 0
jne 0x101ca15e
cmp dword [esi + 0x88], 0
jne 0x101ca15e
mov al, 1
jmp 0x101ca160
xor al, al
cmp dword [esp + 0x14], 0
mov byte [esp + 0x11], al
jg 0x101ca16f
test al, al
je 0x101ca17b
mov eax, dword [esp + 0x14]
mov byte [eax + edi], 0
mov al, byte [esp + 0x11]
cmp dword [esp + 0x14], 0
jne 0x101ca191
mov dword [esi + 0x5c], 0
test al, al
je 0x101ca6e4
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x48], edi
mov eax, dword [ecx + 0x1e8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x101ca1ce
lea edx, [esp + 0x12]
push edx
lea edx, [esp + 0x18]
push edx
push ecx
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x101ca732
mov ecx, dword [esp + 0x6c]
cmp byte [esp + 0x12], al
jne 0x101ca6e8
mov edi, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
cmp byte [edi], 0
je 0x101ca25f
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.101c0080
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x101ca732
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x101ca24b
cmp dword [esi + 0xc], ebp
jg 0x101ca24b
jl 0x101ca21f
cmp dword [esi + 8], ebp
ja 0x101ca24b
cmp dword [esp + 0x14], 0
jle 0x101ca24b
lea edx, [esp + 0x12]
push edx
lea edx, [esp + 0x18]
push edx
push ecx
push ebx
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x101ca732
cmp byte [esp + 0x12], al
jne 0x101ca6e4
cmp byte [esp + 0x13], 0
jne 0x101ca5f7
cmp byte [edi], 0
jne 0x101ca552
cmp dword [esp + 0x14], 0
mov dl, byte [esp + 0x11]
jg 0x101ca272
test dl, dl
je 0x101ca556
cmp byte [ebx + 0x14c], 0
jne 0x101ca662
cmp dword [esi + 0x88], 0
jne 0x101ca2c0
test dl, dl
jne 0x101ca2c0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
test dword [eax + 0x44], 0x40003
je 0x101ca2c0
mov edi, dword [esp + 0x78]
push edi
push ecx
push ebx
call fcn.101befb0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x101ca732
cmp byte [edi], al
jne 0x101ca732
inc dword [esi + 0x88]
cmp byte [ebx + 0x6d3], 0
je 0x101ca312
cmp dword [esi + 0x40], 0
je 0x101ca300
lea edi, [ebx + 0x8b0]
push edi
call fcn.10192ab0
add esp, 4
push eax
push edi
call fcn.10192ac0
add esp, 4
push eax
push 3
push ebx
call fcn.101a6960
add esp, 0x10
cmp dword [esi + 0x40], 1
jne 0x101ca312
push dword [esp + 0x14]
push dword [esi + 0x48]
push 3
push ebx
call fcn.101a6960
add esp, 0x10
cmp byte [esi + 0xbf], 0
je 0x101ca366
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push dword [esi + 0x48]
push ebx
call fcn.101cd740
add esp, 0x14
test eax, eax
jg 0x101ca61d
cmp eax, 0xffffffff
jne 0x101ca366
mov eax, dword [esp + 0x6c]
and dword [esi + 0x5c], 0xfffffffe
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, edx
or eax, ecx
je 0x101ca366
push ecx
push edx
push str.Leftovers_after_chunking:___I64du_bytes
push ebx
call fcn.101a6ad0
add esp, 0x10
cmp dword [esi + 0x40], 1
jne 0x101ca38e
cmp byte [esi + 0xbd], 0
jne 0x101ca38e
lea eax, [ebx + 0x8b0]
push eax
call fcn.10192ab0
mov edx, dword [esp + 0x1c]
add esp, 4
add dword [edx], eax
adc dword [edx + 4], 0
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
cmp ecx, 0xffffffff
jne 0x101ca3a1
cmp edi, ecx
je 0x101ca427
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cdq
add eax, dword [ebx]
adc edx, dword [ebx + 4]
mov ebx, dword [esp + 0x68]
cmp edx, edi
jl 0x101ca427
jg 0x101ca3bd
cmp eax, ecx
jb 0x101ca427
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov esi, eax
sub esi, ecx
add esi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x70]
je 0x101ca40a
cmp byte [esi + 0xbd], 0
jne 0x101ca40a
push dword [edx + 4]
push eax
push edi
push ecx
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x3c]
push str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d
push ebx
call fcn.101a6ad0
mov eax, dword [esp + 0x90]
push 1
push eax
call fcn.101a7a40
add esp, 0x2c
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 8]
sub eax, dword [ecx]
mov dword [esp + 0x14], eax
jns 0x101ca421
mov dword [esp + 0x14], 0
and dword [esi + 0x5c], 0xfffffffe
jmp 0x101ca42b
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
push dword [ecx + 4]
sub dword [esp + 0x24], eax
push dword [ecx]
sbb dword [esp + 0x24], edx
push ebx
call fcn.101cae20
add esp, 0xc
cmp byte [esi + 0xbf], 0
jne 0x101ca552
cmp dword [esp + 0x14], 0
jne 0x101ca471
cmp dword [esi + 0x40], 0
jne 0x101ca477
mov dl, byte [esp + 0x11]
test dl, dl
je 0x101ca556
cmp dword [esi + 0x40], 0
je 0x101ca4c9
cmp byte [esi + 0xbd], 0
jne 0x101ca4c9
lea ebp, [ebx + 0x8b0]
push ebp
call fcn.10192ab0
mov edi, dword [esi + 8]
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, edi
and ecx, edx
cmp ecx, 0xffffffff
je 0x101ca4aa
xor ecx, ecx
cmp ecx, edx
jl 0x101ca4aa
jg 0x101ca4ac
cmp eax, edi
ja 0x101ca4ac
mov edi, eax
push ebp
call fcn.10192ac0
push edi
push eax
push 1
push ebx
call fcn.101a6d10
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x101ca732
cmp dword [esi + 0x40], 2
jge 0x101ca543
cmp byte [ebx + 0x6db], 0
jne 0x101ca4fd
mov eax, dword [esi + 0x78]
test eax, eax
je 0x101ca4fd
cmp byte [esi + 0xbd], 0
jne 0x101ca543
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x101ca543
push ecx
push dword [esi + 0x48]
push eax
push ebx
call fcn.1019d9d0
jmp 0x101ca53e
cmp byte [esi + 0xbd], 0
jne 0x101ca543
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x101ca543
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 0x48]
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x44], 0xc000
je 0x101ca531
push ecx
push edx
push ebx
call fcn.101b5160
add esp, 0xc
jmp 0x101ca541
push dword [esp + 0x14]
push edx
push 1
push ebx
call fcn.101a6d10
add esp, 0x10
mov ebp, eax
mov dword [esi + 0x40], 0
test ebp, ebp
jne 0x101ca732
mov dl, byte [esp + 0x11]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1e8]
cmp dword [eax + 0x34], 0
je 0x101ca572
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x101ca689
test dl, dl
je 0x101ca57a
and dword [esi + 0x5c], 0xfffffffe
mov eax, dword [esi + 0x5c]
test al, 0x10
jne 0x101ca6e8
test al, 1
je 0x101ca6e8
cmp dword [esp + 0x1c], 0
jl 0x101ca6e4
jg 0x101ca5a5
cmp dword [esp + 0x20], 0
jbe 0x101ca6e4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x1e8]
mov eax, dword [eax + 0x44]
test al, 0xc
je 0x101ca5b9
push 1
jmp 0x101ca5bf
test al, 0x30
jne 0x101ca5d0
push 0
push ebx
call fcn.101a62a0
add esp, 8
test al, al
je 0x101ca6e4
mov ecx, dword [esp + 0x34]
mov eax, ecx
dec ecx
mov dword [esp + 0x34], ecx
test eax, eax
je 0x101ca6e4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jmp 0x101ca091
xor ebp, ebp
jmp 0x101ca6e4
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x101ca6e4
push dword [ebx + 0xcac]
push ecx
push str.Excess_found:_excess___zd_url___s__zero_length_body_
push ebx
call fcn.101a6ad0
add esp, 0x10
jmp 0x101ca6e4
cmp eax, 6
jne 0x101ca63e
push str.Failed_reading_the_chunked_encoded_stream
push ebx
call fcn.101a6a00
mov ebp, dword [esp + 0x48]
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push eax
call fcn.101cd6b0
push eax
push str._s_in_chunked_encoding
push ebx
call fcn.101a6a00
add esp, 0x10
mov ebp, 0x38
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push 2
push dword [esp + 0x70]
call fcn.101a7a40
mov eax, dword [esp + 0x80]
add esp, 8
mov ebp, 8
pop edi
pop esi
mov byte [eax], 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret
mov edx, dword [esi + 0x48]
add edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
add eax, edx
mov dword [esi + 0x48], edx
mov edi, dword [ebx + 0x4b0]
lea ecx, [edi + ebp]
cmp eax, ecx
jbe 0x101ca6ae
mov eax, edi
sub eax, edx
add eax, ebp
jmp 0x101ca6b2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x12]
push edx
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx + 0x1e8]
push ecx
push ebx
mov eax, dword [eax + 0x34]
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x101ca732
cmp byte [esp + 0x12], al
je 0x101ca6e4
or dword [esi + 0x5c], 1
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x101ca700
cmp dword [esp + 0x1c], 0
jg 0x101ca70e
jl 0x101ca700
cmp dword [esp + 0x20], 0
ja 0x101ca70e
mov eax, dword [esp + 0x7c]
mov byte [ebx + 0xd5f], 1
mov byte [eax], 1
mov eax, dword [esi + 0x5c]
and al, 3
cmp al, 2
jne 0x101ca732
cmp byte [ecx + 0x1ce], 0
je 0x101ca732
push str.we_are_done_reading_and_this_is_set_to_close__stop_send
push ebx
call fcn.101a6ad0
add esp, 8
and dword [esi + 0x5c], 0xfffffffd
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret