Function at 0x456a20
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa698
push 0x4f3f74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 1
call fcn.004ef860
test eax, eax
je 0x456c3a
push 0x5aafe8
push str.InternetConnectA
push 0x52984c
call fcn.004569e0
push 0x5ab008
push str.InternetSetCookieW
push 0x52984c
call fcn.004569e0
push 0x5ab004
push str.InternetSetCookieExW
push 0x52984c
call fcn.004569e0
push 0x5ab000
push str.InternetSetCookieA
push 0x52984c
call fcn.004569e0
push 0x5aaffc
push str.InternetSetCookieExA
push 0x52984c
call fcn.004569e0
push 0x5aaff8
push str.InternetGetCookieExA
push 0x52984c
call fcn.004569e0
add esp, 0x48
push 0x5aaff0
push str.InternetSetOptionA
push 0x52984c
call fcn.004569e0
push 0x5aaff8
push str.InternetGetCookieExA
push 0x52984c
call fcn.004569e0
push 0x5ab008
push str.InternetSetCookieW
push 0x52984c
call fcn.004569e0
push 0x5ab004
push str.InternetSetCookieExW
push 0x52984c
call fcn.004569e0
push 0x5ab000
push str.InternetSetCookieA
push 0x52984c
call fcn.004569e0
push 0x5aaffc
push str.InternetSetCookieExA
push 0x52984c
call fcn.004569e0
add esp, 0x48
push 0x5aafc4
push str.CoGetClassObject
push str.ole32.dll
call fcn.004569e0
push 0x5aafc0
push str.CommitUrlCacheEntryA
push 0x52984c
call fcn.004569e0
push 0x5aafdc
push str.InternetSetStatusCallbackA
push 0x52984c
call fcn.004569e0
push 0x5aafb8
push str.CreateUrlCacheEntryA
push 0x52984c
call fcn.004569e0
push 0x5aafb4
push str.RetrieveUrlCacheEntryStreamA
push 0x52984c
call fcn.004569e0
push 0x5aafb0
push str.UnlockUrlCacheEntryStream
push 0x52984c
call fcn.004569e0
add esp, 0x48
push 0x5ab024
push str.ObtainUserAgentString
push 0x52b930
call fcn.004569e0
push 0x5aafcc
push str.InternetOpenA
push 0x52984c
call fcn.004569e0
push 0x5aafc8
push str.InternetOpenW
push 0x52984c
call fcn.004569e0
push 0x5aaff4
push str.HttpAddRequestHeadersA
push 0x52984c
call fcn.004569e0
push 0x5aafec
push str.HttpQueryInfoA
push 0x52984c
call fcn.004569e0
add esp, 0x3c
call fcn.004f2fe3
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.004f33a7
mov word [ebp - 0x224], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SafeCentralSafeCentral.dll
push 0x53b02c
push 0x50c6a4
push 0x103
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
push ebx
lea ecx, [ebp - 0x224]
push ecx
mov ecx, 0x53adc0
call fcn.00408ba0
test eax, eax
je 0x456caf
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5ab010], eax
cmp dword [0x5aafe4], ebx
je 0x456cc6
push 0x4569b0
push 0x5aafe4
call fcn.004f3416
mov eax, dword [0x5ab010]
cmp eax, ebx
je 0x456d6c
push str.SafeCentralLoadLibraryA
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x5ab028], eax
cmp eax, ebx
je 0x456cf9
push 0x454900
push 0x5aafa0
call fcn.004f3416
push str.SafeCentralLoadLibraryW
mov eax, dword [0x5ab010]
push eax
call esi
mov dword [0x5ab02c], eax
cmp eax, ebx
je 0x456d1e
push 0x454940
push 0x5aaf9c
call fcn.004f3416
push str.SafeCentralLoadLibraryExA
mov ecx, dword [0x5ab010]
push ecx
call esi
mov dword [0x5ab030], eax
cmp eax, ebx
je 0x456d44
push 0x454980
push 0x5aaf98
call fcn.004f3416
push str.SafeCentralLoadLibraryExW
mov edx, dword [0x5ab010]
push edx
call esi
mov dword [0x5ab034], eax
cmp eax, ebx
je 0x456d72
push 0x4549d0
push 0x5aaf94
call fcn.004f3416
jmp 0x456d72
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov dword [ebp - 0x22c], edi
cmp edi, ebx
je 0x456dc9
push str.SHGetFolderPathA
push edi
call esi
mov dword [0x5ab01c], eax
cmp eax, ebx
je 0x456da9
push 0x456630
push 0x5ab01c
call fcn.004f3416
push str.SHGetFolderPathW
push edi
call esi
mov dword [0x5ab020], eax
cmp eax, ebx
je 0x456dc9
push 0x456660
push 0x5ab020
call fcn.004f3416
cmp dword [0x5aafe8], ebx
je 0x456de0
push 0x454c20
push 0x5aafe8
call fcn.004f3416
mov eax, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x537694
lea ecx, [ebp - 0x1c]
push ecx
push str.ExceptionEnable
push str.Software360se
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [0x537694], ebx
jne 0x456e3a
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x5aafbc], ebx
je 0x456e51
push 0x456940
push 0x5aafbc
call fcn.004f3416
mov dword [ebp - 4], ebx
call fcn.00456e5b
jmp 0x456e6c
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret