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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x68], edx
mov esi, dword [eax + 8]
mov ecx, dword [eax + 4]
mov edx, esi
mov dword [esp + 0x58], ecx
push 0x11
push str.transfer_encodingcontent_length
call fcn.004b08c0
add esp, 8
test eax, eax
mov dword [esp + 8], esi
je 0x4ae187
xor edi, edi
mov dword [esp + 0x28], 0x2c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x2c
mov byte [esp + 0x40], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], edx
mov dword [esp + 4], edx
mov word [esp + 0x4c], 1
nop
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x28]
call fcn.0049c220
test byte [esp + 0xc], 1
je 0x4ae18e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
add esi, ecx
sub ebx, ecx
test byte [esp + 0x4d], 1
mov edi, esi
je 0x4ae150
jmp 0x4ae1c0
xor ebx, ebx
jmp 0x4ae218
cmp byte [esp + 0x4d], 0
je 0x4ae19b
test edi, edi
jne 0x4ae1c2
jmp 0x4ae20c
cmp byte [esp + 0x4c], 1
jne 0x4ae1ac
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
jmp 0x4ae1b8
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x4ae195
sub eax, esi
add esi, dword [esp + 0x2c]
mov ebx, eax
mov edi, esi
mov ecx, edi
mov edx, ebx
call fcn.004b0f90
cmp edx, 7
jne 0x4ae20c
mov ecx, 0x6e756863
mov edx, 0x64656b6e
mov esi, dword [esp + 8]
xor ecx, dword [eax]
xor edx, dword [eax + 3]
cmp dword [esp + 4], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 0
setne bl
or edx, ecx
jne 0x4ae230
jmp 0x4ae8bc
cmp dword [esp + 4], 0
mov esi, dword [esp + 8]
setne bl
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x58]
mov edx, esi
push 0xe
push 0x5e4785
call fcn.004b08c0
add esp, 8
test eax, eax
je 0x4ae27c
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x20]
mov ebx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
test ecx, ecx
je 0x4ae3c0
cmp edx, ecx
jbe 0x4ae3ba
cmp byte [ebx + ecx], 0xbf
jg 0x4ae3c0
jmp 0x4ae8f7
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4ae249
cmp eax, 2
jne 0x4ae801
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
lea ebx, [esp + 0xc]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x5f74ec
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], eax
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x10], 0x415ad0
call fcn.0040c360
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x90]
lea edx, [esp + 0x50]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x50], 0x5e4c14
mov dword [esp + 0x28], 0x5e4278
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], 0xe
mov dword [esp + 0x34], 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x489eb0
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x489eb0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
call fcn.0040c360
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], eax
call fcn.004ac2e0
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0xb4]
movsd xmm1, qword [esp + 0xbc]
test edi, edi
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [esp + 0x24], 1
je 0x4ae249
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x4ae249
jne 0x4ae8f7
mov eax, edx
mov esi, 1
xor edi, edi
sub eax, ecx
cmp eax, 3
jb 0x4ae3f0
movzx eax, word [ebx + ecx]
mov dword [esp + 0x5c], edx
mov edx, ebx
movzx ebx, byte [ebx + ecx + 2]
xor eax, 0x2f3a
xor ebx, 0x2f
or bx, ax
je 0x4ae7be
mov eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
call fcn.004ce590
test eax, eax
cmovne esi, eax
cmove edx, eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edx
or edx, edi
jne 0x4ae42e
mov edi, dword [esp + 8]
jmp 0x4ae625
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x58]
mov edx, edi
push 0xd
push 0x5e4c22
call fcn.004b08c0
add esp, 8
test eax, eax
jne 0x4ae625
lea eax, [esp + 0x80]
lea edx, [esp + 0x88]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0x5e44ec
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x489eb0
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x489eb0
mov dword [esp + 0x34], 2
call fcn.0040c360
mov edi, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
lea esi, [esp + 0x6c]
mov ecx, esi
mov edx, edi
push dword [esp + 0xa4]
call fcn.004c34b0
add esp, 4
test ebx, ebx
je 0x4ae4e5
push edi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ebx, [esp + 0xc]
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x28]
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], 0x5e4c38
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0x40c140
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 1
call fcn.0040c360
mov esi, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0xa8]
lea edx, [esp + 0x60]
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], str.Authorizationlocationreached_max_redirects__UL
mov dword [esp + 0x28], 0x5e4278
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x64], 0xd
mov dword [esp + 0x34], 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x489eb0
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x489eb0
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
call fcn.0040c360
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0xe0], eax
jne 0x4ae5c8
lea ecx, [esp + 0x1c]
call fcn.004ac2e0
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0xd4]
movsd xmm1, qword [esp + 0xdc]
mov ecx, ebx
inc ebx
shl ecx, 4
test edi, edi
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [esp + 0x24], ebx
je 0x4ae606
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x6c], 0
je 0x4ae61f
push dword [esp + 0x70]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp + 0x18]
mov edi, dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp + 8], ecx
sub eax, edi
cmp eax, esi
jb 0x4ae8c7
mov ecx, dword [ebp + 0x18]
mov eax, edi
mov ebx, edi
shl eax, 4
add eax, dword [ecx + 4]
mov edi, ecx
mov ecx, esi
shl ecx, 4
push ecx
mov dword [esp + 0x60], edx
push edx
push eax
call fcn.004ef180
add esp, 0xc
mov eax, dword [esp + 0x68]
add ebx, esi
mov dword [edi + 8], ebx
lock inc dword [eax]
jle 0x4ae8f7
mov eax, dword [ebp + 8]
lock inc dword [eax]
jle 0x4ae8f7
mov esi, dword [ebp + 0x10]
test esi, esi
js 0x4ae8f7
je 0x4ae6ab
movzx eax, byte [0x6019e5]
xor ecx, ecx
mov edx, esi
call fcn.00499510
test eax, eax
jne 0x4ae6b0
jmp 0x4ae8f7
mov eax, 1
push esi
push dword [ebp + 0xc]
mov dword [esp + 0x60], eax
push eax
call fcn.004ef180
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov edi, dword [eax + 0x18]
test edi, edi
js 0x4ae8f7
mov ebx, dword [eax + 0x14]
je 0x4ae6f0
movzx eax, byte [0x6019e5]
xor ecx, ecx
mov edx, edi
call fcn.00499510
test eax, eax
je 0x4ae8f7
mov esi, eax
jmp 0x4ae6f5
mov esi, 1
push edi
push ebx
push esi
call fcn.004ef180
add esp, 0xc
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [ebp + 0x18]
cmp dword [esp + 8], 0
movzx eax, byte [edx + 0x44]
movsd xmm0, qword [edx + 0x34]
movsd xmm1, qword [edx + 0x3c]
mov byte [ecx + 0x44], al
mov eax, dword [ebx + 8]
movsd qword [ecx + 0x34], xmm0
movsd qword [ecx + 0x3c], xmm1
movsd xmm0, qword [ebx]
mov ebx, dword [esp + 0x58]
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x68]
movsd qword [ecx + 0x6c], xmm0
movups xmm0, xmmword [edx + 0x20]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], ebx
mov dword [ecx + 0x68], eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], edi
mov esi, dword [ebp + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x30]
movups xmmword [ecx + 0x20], xmm0
mov edx, dword [ebp + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 4]
mov byte [ecx + 0x78], al
mov dword [ecx + 0x4c], edx
mov edx, dword [ebp + 0x34]
mov dword [ecx + 0x48], esi
mov dword [ecx + 0x50], edx
je 0x4ae7b6
push dword [esp + 0x5c]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ebx, edx
add ecx, 3
mov edx, dword [eax + 0x24]
mov eax, 1
mov dword [esp + 0x78], edx
sub edx, ecx
jbe 0x4ae3f5
mov edi, edx
mov edx, dword [esp + 0x5c]
test ecx, ecx
mov eax, ebx
je 0x4ae8e9
cmp ecx, edx
jae 0x4ae8e7
cmp byte [eax + ecx], 0xbf
jg 0x4ae8e9
jmp 0x4ae8f7
test bl, bl
jne 0x4ae249
lea eax, [esp + 0x50]
lea edx, [esp + 0x6c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0x5e4278
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], str.Transfer_EncodingchunkedContent_LengthauthorizationBasic
mov dword [esp + 0x6c], 0x5e4c0d
mov dword [esp + 0x54], 0x11
mov dword [esp + 0x70], 7
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x489eb0
mov dword [esp + 0x14], edx
lea ecx, [esp + 0xc4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x489eb0
mov dword [esp + 0x34], 2
call fcn.0040c360
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd0], eax
call fcn.004ac2e0
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0xc4]
movsd xmm1, qword [esp + 0xcc]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [esp + 0x24], 1
mov al, 1
mov dword [esp + 4], eax
jmp 0x4ae251
mov ebx, edx
mov edx, edi
mov edi, dword [ebp + 0x18]
mov ecx, edi
push 0x10
push 4
push esi
call fcn.00500270
mov edx, ebx
add esp, 0xc
mov edi, dword [edi + 8]
jmp 0x4ae644
jne 0x4ae8f7
mov ebx, dword [esp + 0x78]
cmp ebx, edx
jae 0x4ae8f9
cmp byte [eax + ebx], 0xbf
jg 0x4ae8fb
ud2
jne 0x4ae8f7
add eax, ecx
jmp 0x4ae3f5