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

Disassembly:
sub esp, 0x44
mov eax, dword [edi + 0x9dc]
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 + 0x524]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x450e32
cmp dword [esi + 0xc0], 0
jne 0x450e32
sub eax, dword [esi + 0x10]
sbb ecx, dword [esi + 0x14]
xor edx, edx
cmp ecx, edx
jg 0x450e32
jl 0x450e30
cmp eax, ebp
jae 0x450e32
mov ebp, eax
test ebp, ebp
je 0x450e70
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
lea eax, [esp + 8]
push eax
mov eax, dword [edx + 0x320]
push ebp
push ecx
push eax
push edi
call fcn.0042ca00
mov ebx, eax
add esp, 0x14
mov dword [esp + 0xc], ebx
cmp ebx, 0x51
je 0x451438
test ebx, ebx
jle 0x450e78
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 0x450ec3
push 7
lea edx, [esp + 0x30]
push edi
push edx
call fcn.0044f130
add esp, 0xc
cmp dword [esi + 0x88], 0
jle 0x450ec3
lea eax, [esp + 0x3c]
push eax
call fcn.0044c690
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 0x450ee4
cmp dword [esi + 0xa0], ecx
jne 0x450ee4
mov dword [esp + 0x14], 1
jmp 0x450ef4
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x45137f
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x50]
mov byte [ecx + eax], 0
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0x308]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x450f39
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 0x450e68
cmp dword [esp + 0x10], eax
jne 0x451438
cmp dword [esi + 0xc0], 0
je 0x450fe8
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push ecx
push ebp
push edi
mov dword [esp + 0x34], 0
call fcn.004489c0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x450e68
mov edx, dword [ebp + 0x308]
mov eax, dword [edx + 0x34]
test eax, eax
je 0x450fba
cmp dword [esi + 0xc], ebx
jg 0x450fba
jl 0x450f89
cmp dword [esi + 8], ebx
ja 0x450fba
mov ecx, dword [esp + 8]
test ecx, ecx
jle 0x450fbe
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 0x450e68
cmp dword [esp + 0x10], eax
jne 0x451438
mov ecx, dword [esp + 8]
cmp dword [esp + 0x24], 0
je 0x450fec
test ecx, ecx
jle 0x451438
mov eax, dword [edi + 0xdcc]
push eax
push ecx
push str.Excess_found:_excess___zd_url___s__zero_length_body_
push edi
call fcn.0042cb10
add esp, 0x10
jmp 0x451438
mov ecx, dword [esp + 8]
cmp dword [esi + 0xc0], 0
jne 0x451309
test ecx, ecx
jg 0x451008
cmp dword [esp + 0x14], 0
je 0x451309
cmp dword [edi + 0x798], 0
jne 0x451388
cmp dword [esi + 0xa0], 0
jne 0x451060
cmp dword [esp + 0x14], 0
jne 0x451060
mov eax, ebp
mov edx, dword [eax + 0x308]
test dword [edx + 0x44], 0x40003
je 0x451060
mov ebp, dword [esp + 0x58]
push ebp
push eax
push edi
call fcn.004472d0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x450e68
cmp dword [ebp], eax
jne 0x450e68
mov ecx, dword [esp + 8]
inc dword [esi + 0xa0]
cmp dword [edi + 0x7a0], 0
je 0x4510bf
cmp dword [esi + 0x58], 0
je 0x4510ab
lea ebp, [edi + 0x9cc]
push ebp
call fcn.0042df20
add esp, 4
push eax
push ebp
call fcn.0042df00
add esp, 4
push eax
push 3
push edi
call fcn.0042ca70
add esp, 0x10
cmp dword [esi + 0x58], 1
jne 0x4510bb
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x60]
push eax
push ecx
jmp 0x4510b0
mov edx, dword [esi + 0x60]
push ecx
push edx
push 3
push edi
call fcn.0042ca70
add esp, 0x10
mov ecx, dword [esp + 8]
cmp dword [esi + 0xd4], 0
je 0x451115
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.0045a0f0
add esp, 0x14
test eax, eax
jg 0x4513aa
cmp eax, 0xffffffff
jne 0x451111
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 0x451111
push ecx
push eax
push str.Leftovers_after_chunking:___I64du_bytes
push edi
call fcn.0042cb10
add esp, 0x10
mov ecx, dword [esp + 8]
cmp dword [esi + 0x58], 1
jne 0x45113e
cmp dword [esi + 0xcc], 0
jne 0x45113e
lea eax, [edi + 0x9cc]
push eax
call fcn.0042df20
mov ecx, dword [esp + 0xc]
add esp, 4
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
cmp dword [esi + 8], 0xffffffff
mov edx, dword [esi + 0xc]
jne 0x45114c
cmp edx, 0xffffffff
je 0x4511c0
mov ebp, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov eax, ecx
cdq
add eax, ebp
adc edx, dword [esi + 0x14]
cmp edx, ebx
jl 0x4511bc
jg 0x451165
cmp eax, dword [esi + 8]
jb 0x4511bc
sub ecx, dword [esi + 8]
add ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], ecx
je 0x4511a6
cmp dword [esi + 0xcc], 0
jne 0x4511a6
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi + 8]
push ebp
push ebx
push eax
mov eax, dword [esi]
push edx
push eax
push ecx
push str.Excess_found_in_a_read:_excess___zu__size___I64d__maxdownload___I64d__bytecount___I64d
push edi
call fcn.0042cb10
mov ecx, dword [esp + 0x74]
push 1
push ecx
call fcn.0042f300
add esp, 0x2c
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0x10]
mov dword [esp + 8], ecx
jns 0x4511b8
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
mov eax, dword [esi + 0x10]
adc dword [esi + 0x14], edx
mov edx, dword [esi + 0x14]
push edx
push eax
push edi
call fcn.0044f460
mov ecx, dword [esp + 0x14]
add esp, 0xc
cmp dword [esi + 0xd4], 0
jne 0x451309
test ecx, ecx
jne 0x4511fe
cmp dword [esi + 0x58], ecx
jne 0x451204
cmp dword [esp + 0x14], ecx
je 0x451309
cmp dword [esi + 0x58], 0
je 0x45127d
cmp dword [esi + 0xcc], 0
jne 0x45127d
lea ebp, [edi + 0x9cc]
push ebp
call fcn.0042df20
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, edx
and ebx, ecx
add esp, 4
cmp ebx, 0xffffffff
je 0x451255
xor ebx, ebx
cmp ebx, ecx
jl 0x451255
jg 0x451237
cmp eax, edx
jbe 0x451255
mov ecx, dword [esi + 8]
push ecx
push ebp
call fcn.0042df00
add esp, 4
push eax
push 1
push edi
call fcn.0042d000
mov ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x45126e
push eax
push ebp
call fcn.0042df00
add esp, 4
push eax
push 1
push edi
call fcn.0042d000
mov ebx, eax
mov dword [esp + 0x1c], eax
add esp, 0x10
test ebx, ebx
jne 0x450e68
mov ecx, dword [esp + 8]
cmp dword [esi + 0x58], 2
jge 0x4512fa
cmp dword [edi + 0x7c0], 0
jne 0x4512b1
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4512b1
cmp dword [esi + 0xcc], 0
jne 0x4512fa
test ecx, ecx
je 0x4512fa
mov edx, dword [esi + 0x60]
push ecx
push edx
push eax
push edi
call fcn.00427260
jmp 0x4512ed
cmp dword [esi + 0xcc], 0
jne 0x4512fa
test ecx, ecx
je 0x4512fa
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x308]
test dword [edx + 0x44], 0xc000
push ecx
je 0x4512e1
mov eax, dword [esi + 0x60]
push eax
push edi
call fcn.00436680
add esp, 0xc
jmp 0x4512f0
mov ecx, dword [esi + 0x60]
push ecx
push 1
push edi
call fcn.0042d000
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 0x450e68
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x308]
cmp dword [eax + 0x34], 0
je 0x451325
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x4513e7
cmp dword [esp + 0x14], 0
je 0x451330
and dword [esi + 0x74], 0xfffffffe
test byte [esi + 0x74], 0x10
jne 0x451438
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x308]
mov ecx, dword [ecx + 0x44]
test cl, 0xc
je 0x45134f
push 1
jmp 0x451356
test cl, 0x30
jne 0x451367
push 0
push eax
call fcn.00423a60
add esp, 8
test eax, eax
je 0x451438
mov eax, dword [esp + 0x20]
mov edx, eax
dec eax
mov dword [esp + 0x20], eax
test edx, edx
jne 0x450e01
jmp 0x451438
and dword [esi + 0x74], 0xfffffffe
jmp 0x451438
mov ecx, ebp
push 2
push ecx
call fcn.0042f300
mov edx, dword [esp + 0x60]
add esp, 8
pop ebp
mov dword [edx], 1
mov eax, 8
pop ebx
add esp, 0x44
ret
cmp eax, 6
jne 0x4513c7
push str.Failed_reading_the_chunked_encoded_stream
push edi
call fcn.0042cb90
mov eax, dword [esp + 0x30]
add esp, 8
pop ebp
pop ebx
add esp, 0x44
ret
push eax
call fcn.0045a500
push eax
push str._s_in_chunked_encoding
push edi
call fcn.0042cb90
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 + 0x524]
mov ebp, dword [esp + 0x18]
lea ebx, [ecx + edx]
add ebp, eax
cmp ebx, ebp
jbe 0x451408
sub eax, ecx
add eax, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x308]
mov dword [esp + 8], edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x34]
push edi
call eax
add esp, 0x10
test eax, eax
jne 0x451481
cmp dword [esp + 0x10], eax
je 0x451438
or dword [esi + 0x74], 1
cmp dword [esp + 0x20], 0
jg 0x451457
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0x454], 1
mov dword [edx], 1
mov eax, dword [esi + 0x74]
and al, 3
cmp al, 2
jne 0x45147f
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x27c], 0
je 0x45147f
push str.we_are_done_reading_and_this_is_set_to_close__stop_send
push edi
call fcn.0042cb10
add esp, 8
and dword [esi + 0x74], 0xfffffffd
xor eax, eax
pop ebp
pop ebx
add esp, 0x44
ret