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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525898
push 0x51d25e
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.005187f0
test eax, eax
je 0x4610b2
push 0x57a8c8
push str.InternetConnectA
push 0x5570a8
call fcn.00460e80
push 0x57a8f8
push str.InternetSetCookieW
push 0x5570a8
call fcn.00460e80
push 0x57a8f4
push str.InternetSetCookieExW
push 0x5570a8
call fcn.00460e80
push 0x57a8f0
push str.InternetSetCookieA
push 0x5570a8
call fcn.00460e80
push 0x57a8ec
push str.InternetSetCookieExA
push 0x5570a8
call fcn.00460e80
push 0x57a8e8
push str.InternetGetCookieExA
push 0x5570a8
call fcn.00460e80
add esp, 0x48
push 0x57a85c
push str.HttpOpenRequestW
push 0x5570a8
call fcn.00460e80
push 0x57a8d4
push str.GetUrlCacheEntryInfoA
push 0x5570a8
call fcn.00460e80
push 0x57a8d8
push str.GetUrlCacheEntryInfoW
push 0x5570a8
call fcn.00460e80
push 0x57a8e0
push str.InternetSetOptionA
push 0x5570a8
call fcn.00460e80
push 0x57a8a4
push str.CoGetClassObject
push str.ole32.dll
call fcn.00460e80
push 0x57a898
push str.CommitUrlCacheEntryA
push 0x5570a8
call fcn.00460e80
add esp, 0x48
push 0x57a8bc
push str.InternetSetStatusCallbackA
push 0x5570a8
call fcn.00460e80
push 0x57a890
push str.CreateUrlCacheEntryA
push 0x5570a8
call fcn.00460e80
push 0x57a88c
push str.RetrieveUrlCacheEntryStreamA
push 0x5570a8
call fcn.00460e80
push 0x57a888
push str.UnlockUrlCacheEntryStream
push 0x5570a8
call fcn.00460e80
push 0x57a91c
push str.ObtainUserAgentString
push 0x5570e4
call fcn.00460e80
push 0x57a8ac
push str.InternetOpenA
push 0x5570a8
call fcn.00460e80
add esp, 0x48
push 0x57a8a8
push str.InternetOpenW
push 0x5570a8
call fcn.00460e80
push 0x57a8e4
push str.HttpAddRequestHeadersA
push 0x5570a8
call fcn.00460e80
push 0x57a8dc
push str.HttpQueryInfoA
push 0x5570a8
call fcn.00460e80
add esp, 0x24
call fcn.0051c2b3
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.0051c677
push 0x460490
push 0x57a878
call fcn.0051c6e6
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 0x56d3f4
push 0x539c6c
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, 0x56d188
call fcn.0040c9e0
test eax, eax
je 0x461136
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x57a908], eax
cmp dword [0x57a8c4], ebx
je 0x46114d
push 0x460710
push 0x57a8c4
call fcn.0051c6e6
mov eax, dword [0x57a908]
cmp eax, ebx
je 0x4611f3
push str.SafeCentralLoadLibraryA
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x57a920], eax
cmp eax, ebx
je 0x461180
push 0x45e220
push 0x57a874
call fcn.0051c6e6
push str.SafeCentralLoadLibraryW
mov eax, dword [0x57a908]
push eax
call esi
mov dword [0x57a924], eax
cmp eax, ebx
je 0x4611a5
push 0x45e290
push 0x57a870
call fcn.0051c6e6
push str.SafeCentralLoadLibraryExA
mov ecx, dword [0x57a908]
push ecx
call esi
mov dword [0x57a928], eax
cmp eax, ebx
je 0x4611cb
push 0x45e2d0
push 0x57a86c
call fcn.0051c6e6
push str.SafeCentralLoadLibraryExW
mov edx, dword [0x57a908]
push edx
call esi
mov dword [0x57a92c], eax
cmp eax, ebx
je 0x4611f9
push 0x45e320
push 0x57a868
call fcn.0051c6e6
jmp 0x4611f9
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 0x461250
push str.SHGetFolderPathA
push edi
call esi
mov dword [0x57a914], eax
cmp eax, ebx
je 0x461230
push 0x460210
push 0x57a914
call fcn.0051c6e6
push str.SHGetFolderPathW
push edi
call esi
mov dword [0x57a918], eax
cmp eax, ebx
je 0x461250
push 0x460240
push 0x57a918
call fcn.0051c6e6
cmp dword [0x57a8c8], ebx
je 0x461267
push 0x45e590
push 0x57a8c8
call fcn.0051c6e6
cmp dword [0x587480], ebx
jne 0x46127f
cmp dword [0x587484], ebx
jne 0x46127f
cmp dword [0x587488], ebx
je 0x46128e
push 0x460ca0
push 0x57a864
call fcn.0051c6e6
cmp dword [0x587484], ebx
je 0x4612a5
push 0x460d90
push 0x57a860
call fcn.0051c6e6
mov eax, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x568f1c
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 [0x568f1c], ebx
jne 0x4612ff
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 [0x57a894], ebx
je 0x461316
push 0x4606a0
push 0x57a894
call fcn.0051c6e6
mov dword [ebp - 4], ebx
call fcn.00461320
jmp 0x461331
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