Function at 0x4a8c30
Capabilities:
Query or enumerate registry value
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e266
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x350], ecx
mov ecx, dword [ebp - 0x350]
call fcn.004a5fc0
movzx eax, al
test eax, eax
jne 0x4a8c7a
xor al, al
jmp 0x4a9029
cmp dword [ebp - 0x350], 0
je 0x4a8c97
mov ecx, dword [ebp - 0x350]
add ecx, 0x610
mov dword [ebp - 0x368], ecx
jmp 0x4a8ca1
mov dword [ebp - 0x368], 0
mov edx, dword [ebp - 0x368]
push edx
mov eax, dword [ebp - 0x350]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00420bf0
mov ecx, dword [ebp - 0x350]
add ecx, 0x618
push ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x533770]
mov dword [edx], eax
mov ecx, dword [0x533774]
mov dword [edx + 4], ecx
mov eax, dword [0x533778]
mov dword [edx + 8], eax
mov ecx, dword [0x53377c]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x350]
call fcn.004a67a0
mov dword [ebp - 0x354], str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0__SMT_
mov dword [ebp - 0x358], 0
lea edx, [ebp - 0x358]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
jne 0x4a8ea0
cmp dword [ebp - 0x358], 0
je 0x4a8ea0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004e2580
add esp, 0xc
mov dword [ebp - 0x36c], 0x208
lea ecx, [ebp - 0x36c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push str.Version
mov eax, dword [ebp - 0x358]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
jne 0x4a8e93
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00405160
push 0
push 0x52128c
lea ecx, [ebp - 0x230]
call fcn.00406d50
test eax, eax
jne 0x4a8ddd
mov dword [ebp - 0x354], str.Mozilla_5.0__Windows_NT_10.0_Trident_7.0_rv:11.0__like_Gecko
jmp 0x4a8e88
push 0
push 0x5212d4
lea ecx, [ebp - 0x230]
call fcn.00406d50
test eax, eax
jne 0x4a8e02
mov dword [ebp - 0x354], str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_10.0_Trident_7.0_
jmp 0x4a8e88
push 0
push 0x521324
lea ecx, [ebp - 0x230]
call fcn.00406d50
test eax, eax
jne 0x4a8e24
mov dword [ebp - 0x354], str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_7.1__Trident_5.0_
jmp 0x4a8e88
push 0
push 0x521370
lea ecx, [ebp - 0x230]
call fcn.00406d50
test eax, eax
jne 0x4a8e46
mov dword [ebp - 0x354], str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__Trident_4.0_
jmp 0x4a8e88
push 0
push 0x5213b8
lea ecx, [ebp - 0x230]
call fcn.00406d50
test eax, eax
jne 0x4a8e68
mov dword [ebp - 0x354], str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0__SMT_
jmp 0x4a8e88
push 0
push 0x5213c0
lea ecx, [ebp - 0x230]
call fcn.00406d50
test eax, eax
jne 0x4a8e88
mov dword [ebp - 0x354], str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SMT_
lea ecx, [ebp - 0x230]
call fcn.004050b0
mov edx, dword [ebp - 0x358]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x35c], 0
push 0x521400
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
je 0x4a8edc
push str.UrlMkSetSessionOption
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
je 0x4a8f98
mov ecx, dword [ebp - 0x354]
push ecx
lea ecx, [ebp - 0x34c]
call fcn.004a8670
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x374], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x374]
call fcn.00421a30
push eax
lea ecx, [ebp - 0x248]
call fcn.00405160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34c]
call fcn.004a89c0
lea ecx, [ebp - 0x248]
call fcn.00405080
push eax
mov ecx, dword [ebp - 0x350]
call fcn.004aa850
push 0
push 0
push 0
push 0x10000002
call dword [ebp - 0x35c]
push 0
mov eax, dword [ebp - 0x354]
push eax
call fcn.004f19f0
add esp, 4
push eax
mov ecx, dword [ebp - 0x354]
push ecx
push 0x10000001
call dword [ebp - 0x35c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004050b0
cmp dword [ebp - 0x360], 0
je 0x4a8fae
mov edx, dword [ebp - 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
mov ecx, dword [ebp - 0x350]
call fcn.004aa420
mov eax, dword [ebp - 0x350]
movzx ecx, byte [eax + 0x6ac]
test ecx, ecx
je 0x4a9007
mov ecx, dword [ebp - 0x350]
add ecx, 0x628
call fcn.0042a1f0
movzx edx, al
test edx, edx
jne 0x4a9007
push 0
push 0
mov ecx, dword [ebp - 0x350]
add ecx, 0x628
call fcn.00421a30
push eax
mov ecx, dword [ebp - 0x350]
call fcn.004a9a70
jmp 0x4a9027
push 0
push 0
push 0
push str.UIWebbrowser_Navigate
mov eax, dword [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x350]
mov ecx, dword [ecx + 0x44]
call fcn.00427040
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
ret