Function at 0x4a07d0
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.004a2fc0
add esp, 8
test eax, eax
mov dword [esp + 8], esi
je 0x4a0887
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.0048ea10
test byte [esp + 0xc], 1
je 0x4a088e
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 0x4a0850
jmp 0x4a08c0
xor ebx, ebx
jmp 0x4a0918
cmp byte [esp + 0x4d], 0
je 0x4a089b
test edi, edi
jne 0x4a08c2
jmp 0x4a090c
cmp byte [esp + 0x4c], 1
jne 0x4a08ac
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
jmp 0x4a08b8
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x4a0895
sub eax, esi
add esi, dword [esp + 0x2c]
mov ebx, eax
mov edi, esi
mov ecx, edi
mov edx, ebx
call fcn.004a3600
cmp edx, 7
jne 0x4a090c
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 0x4a0930
jmp 0x4a0fbc
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 0x60c775
call fcn.004a2fc0
add esp, 8
test eax, eax
je 0x4a097c
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 0x4a0ac0
cmp edx, ecx
jbe 0x4a0aba
cmp byte [ebx + ecx], 0xbf
jg 0x4a0ac0
jmp 0x4a0ff7
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4a0949
cmp eax, 2
jne 0x4a0f01
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
lea ebx, [esp + 0xc]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x61ee84
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], 0x412850
call fcn.0040d730
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], 0x60cc04
mov dword [esp + 0x28], 0x60c268
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], 0x493590
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x493590
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
call fcn.0040d730
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], eax
call fcn.00403df0
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 0x4a0949
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a0949
jne 0x4a0ff7
mov eax, edx
mov esi, 1
xor edi, edi
sub eax, ecx
cmp eax, 3
jb 0x4a0af0
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 0x4a0ebe
mov eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
call fcn.004c0b90
test eax, eax
cmovne esi, eax
cmove edx, eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edx
or edx, edi
jne 0x4a0b2e
mov edi, dword [esp + 8]
jmp 0x4a0d25
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x58]
mov edx, edi
push 0xd
push 0x60cc12
call fcn.004a2fc0
add esp, 8
test eax, eax
jne 0x4a0d25
lea eax, [esp + 0x80]
lea edx, [esp + 0x88]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0x60c4dc
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x493590
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x493590
mov dword [esp + 0x34], 2
call fcn.0040d730
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.004b5ca0
add esp, 4
test ebx, ebx
je 0x4a0be5
push edi
push 0
push dword [0x623140]
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], 0x60cc28
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0x404e90
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 1
call fcn.0040d730
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__E
mov dword [esp + 0x28], 0x60c268
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], 0x493590
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x493590
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
call fcn.0040d730
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0xe0], eax
jne 0x4a0cc8
lea ecx, [esp + 0x1c]
call fcn.00403df0
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 0x4a0d06
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x6c], 0
je 0x4a0d1f
push dword [esp + 0x70]
push 0
push dword [0x623140]
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 0x4a0fc7
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 0x4a0ff7
mov eax, dword [ebp + 8]
lock inc dword [eax]
jle 0x4a0ff7
mov esi, dword [ebp + 0x10]
test esi, esi
js 0x4a0ff7
je 0x4a0dab
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, esi
call fcn.0048bb80
test eax, eax
jne 0x4a0db0
jmp 0x4a0ff7
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 0x4a0ff7
mov ebx, dword [eax + 0x14]
je 0x4a0df0
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, edi
call fcn.0048bb80
test eax, eax
je 0x4a0ff7
mov esi, eax
jmp 0x4a0df5
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 0x4a0eb6
push dword [esp + 0x5c]
push 0
push dword [0x623140]
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 0x4a0af5
mov edi, edx
mov edx, dword [esp + 0x5c]
test ecx, ecx
mov eax, ebx
je 0x4a0fe9
cmp ecx, edx
jae 0x4a0fe7
cmp byte [eax + ecx], 0xbf
jg 0x4a0fe9
jmp 0x4a0ff7
test bl, bl
jne 0x4a0949
lea eax, [esp + 0x50]
lea edx, [esp + 0x6c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0x60c268
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], str.Transfer_EncodingchunkedContent_LengthauthorizationBasic
mov dword [esp + 0x6c], 0x60cbfd
mov dword [esp + 0x54], 0x11
mov dword [esp + 0x70], 7
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x493590
mov dword [esp + 0x14], edx
lea ecx, [esp + 0xc4]
lea edx, [esp + 0x28]
mov dword [esp + 0x18], 0x493590
mov dword [esp + 0x34], 2
call fcn.0040d730
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd0], eax
call fcn.00403df0
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 0x4a0951
mov ebx, edx
mov edx, edi
mov edi, dword [ebp + 0x18]
mov ecx, edi
push 0x10
push 4
push esi
call fcn.004df9e0
mov edx, ebx
add esp, 0xc
mov edi, dword [edi + 8]
jmp 0x4a0d44
jne 0x4a0ff7
mov ebx, dword [esp + 0x78]
cmp ebx, edx
jae 0x4a0ff9
cmp byte [eax + ebx], 0xbf
jg 0x4a0ffb
ud2
jne 0x4a0ff7
add eax, ecx
jmp 0x4a0af5