Function at 0x4a5770
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d03e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, 1
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x14]
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
push eax
call fcn.0040a170
add esp, 8
mov dword [esp + 0x18], 0
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 3
lea eax, [esp + 0x18]
push eax
push 0x5e8150
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x6613bc]
add ecx, 0x134
call fcn.00426980
mov byte [esp + 0x30], 4
push eax
lea ecx, [esp + 0x14]
call fcn.00405540
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a582c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x4a59ca
jmp 0x4a5840
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push 0x80000001
call dword [0x652af0]
test eax, eax
jne 0x4a59fe
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x30], 7
push ebx
lea eax, [esp + 0x20]
push str.url_i
push eax
call fcn.0040a170
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 4]
mov esi, dword [ecx - 0xc]
mov edx, 1
sub edx, eax
mov eax, dword [ecx - 8]
lea edi, [esi + 1]
sub eax, edi
add esp, 0xc
or eax, edx
jge 0x4a58c2
push edi
lea ecx, [esp + 0x14]
call fcn.00402690
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea edx, [esi + esi + 2]
mov esi, dword [esp + 0x1c]
push edx
push ecx
push 1
push 0
push esi
push eax
call dword [0x652b18]
mov ecx, dword [esp + 0x20]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x30], 3
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a5908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x4a59fe
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4a59ca
lea eax, [esp + 0x18]
push eax
push 0x5e8150
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [0x6613bc]
add ecx, 0x134
call fcn.00426980
mov byte [esp + 0x30], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4a5997
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x4a5989
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a5989
push eax
call fcn.004026e0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4a5980
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x4a5997
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004053c0
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a59ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
inc ebx
test ecx, ecx
jg 0x4a5840
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00401b70
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401b70
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00401b70
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401b70
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret