Function at 0x4a62d0
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.004a8ac0
add esp, 8
test eax, eax
mov dword [esp + 8], esi
je 0x4a6387
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.00493790
test byte [esp + 0xc], 1
je 0x4a638e
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 0x4a6350
jmp 0x4a63c0
xor ebx, ebx
jmp 0x4a6418
cmp byte [esp + 0x4d], 0
je 0x4a639b
test edi, edi
jne 0x4a63c2
jmp 0x4a640c
cmp byte [esp + 0x4c], 1
jne 0x4a63ac
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
jmp 0x4a63b8
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x4a6395
sub eax, esi
add esi, dword [esp + 0x2c]
mov ebx, eax
mov edi, esi
mov ecx, edi
mov edx, ebx
call fcn.004a9100
cmp edx, 7
jne 0x4a640c
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 0x4a6430
jmp 0x4a6abc
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 0x75ef05
call fcn.004a8ac0
add esp, 8
test eax, eax
je 0x4a647c
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 0x4a65c0
cmp edx, ecx
jbe 0x4a65ba
cmp byte [ebx + ecx], 0xbf
jg 0x4a65c0
jmp 0x4a6af7
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4a6449
cmp eax, 2
jne 0x4a6a01
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
lea ebx, [esp + 0xc]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x771614
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], 0x417b90
call fcn.00412300
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], 0x75f394
mov dword [esp + 0x28], 0x75e9f8
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], 0x498340
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x498340
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
call fcn.00412300
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], eax
call fcn.004a44e0
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 0x4a6449
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a6449
jne 0x4a6af7
mov eax, edx
mov esi, 1
xor edi, edi
sub eax, ecx
cmp eax, 3
jb 0x4a65f0
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 0x4a69be
mov eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
call fcn.004c75a0
test eax, eax
cmovne esi, eax
cmove edx, eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edx
or edx, edi
jne 0x4a662e
mov edi, dword [esp + 8]
jmp 0x4a6825
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x58]
mov edx, edi
push 0xd
push 0x75f3a2
call fcn.004a8ac0
add esp, 8
test eax, eax
jne 0x4a6825
lea eax, [esp + 0x80]
lea edx, [esp + 0x88]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0x75ec6c
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x498340
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x498340
mov dword [esp + 0x34], 2
call fcn.00412300
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.004bb7a0
add esp, 4
test ebx, ebx
je 0x4a66e5
push edi
push 0
push dword [0x776180]
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], 0x75f3b8
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0x4068d0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 1
call fcn.00412300
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__
mov dword [esp + 0x28], 0x75e9f8
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], 0x498340
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x498340
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
call fcn.00412300
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0xe0], eax
jne 0x4a67c8
lea ecx, [esp + 0x1c]
call fcn.004a44e0
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 0x4a6806
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x6c], 0
je 0x4a681f
push dword [esp + 0x70]
push 0
push dword [0x776180]
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 0x4a6ac7
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 sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x68]
add ebx, esi
mov dword [edi + 8], ebx
lock inc dword [eax]
jle 0x4a6af7
mov eax, dword [ebp + 8]
lock inc dword [eax]
jle 0x4a6af7
mov esi, dword [ebp + 0x10]
test esi, esi
js 0x4a6af7
je 0x4a68ab
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, esi
call fcn.00490be0
test eax, eax
jne 0x4a68b0
jmp 0x4a6af7
mov eax, 1
push esi
push dword [ebp + 0xc]
mov dword [esp + 0x60], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov edi, dword [eax + 0x18]
test edi, edi
js 0x4a6af7
mov ebx, dword [eax + 0x14]
je 0x4a68f0
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, edi
call fcn.00490be0
test eax, eax
je 0x4a6af7
mov esi, eax
jmp 0x4a68f5
mov esi, 1
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
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 0x4a69b6
push dword [esp + 0x5c]
push 0
push dword [0x776180]
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 0x4a65f5
mov edi, edx
mov edx, dword [esp + 0x5c]
test ecx, ecx
mov eax, ebx
je 0x4a6ae9
cmp ecx, edx
jae 0x4a6ae7
cmp byte [eax + ecx], 0xbf
jg 0x4a6ae9
jmp 0x4a6af7
test bl, bl
jne 0x4a6449
lea eax, [esp + 0x50]
lea edx, [esp + 0x6c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0x75e9f8
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], str.Transfer_EncodingchunkedContent_LengthauthorizationBasic
mov dword [esp + 0x6c], 0x75f38d
mov dword [esp + 0x54], 0x11
mov dword [esp + 0x70], 7
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x498340
mov dword [esp + 0x14], edx
lea ecx, [esp + 0xc4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x498340
mov dword [esp + 0x34], 2
call fcn.00412300
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd0], eax
call fcn.004a44e0
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 0x4a6451
mov ebx, edx
mov edx, edi
mov edi, dword [ebp + 0x18]
mov ecx, edi
push 0x10
push 4
push esi
call fcn.004e6420
mov edx, ebx
add esp, 0xc
mov edi, dword [edi + 8]
jmp 0x4a6844
jne 0x4a6af7
mov ebx, dword [esp + 0x78]
cmp ebx, edx
jae 0x4a6af9
cmp byte [eax + ebx], 0xbf
jg 0x4a6afb
ud2
jne 0x4a6af7
add eax, ecx
jmp 0x4a65f5