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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524898
push 0x51c60e
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.00517e00
test eax, eax
je 0x461282
push 0x579400
push str.InternetConnectA
push 0x5560a0
call fcn.00461050
push 0x579430
push str.InternetSetCookieW
push 0x5560a0
call fcn.00461050
push 0x57942c
push str.InternetSetCookieExW
push 0x5560a0
call fcn.00461050
push 0x579428
push str.InternetSetCookieA
push 0x5560a0
call fcn.00461050
push 0x579424
push str.InternetSetCookieExA
push 0x5560a0
call fcn.00461050
push 0x579420
push str.InternetGetCookieExA
push 0x5560a0
call fcn.00461050
add esp, 0x48
push 0x579394
push str.HttpOpenRequestW
push 0x5560a0
call fcn.00461050
push 0x57940c
push str.GetUrlCacheEntryInfoA
push 0x5560a0
call fcn.00461050
push 0x579410
push str.GetUrlCacheEntryInfoW
push 0x5560a0
call fcn.00461050
push 0x579418
push str.InternetSetOptionA
push 0x5560a0
call fcn.00461050
push 0x5793dc
push str.CoGetClassObject
push str.ole32.dll
call fcn.00461050
push 0x5793d0
push str.CommitUrlCacheEntryA
push 0x5560a0
call fcn.00461050
add esp, 0x48
push 0x5793f4
push str.InternetSetStatusCallbackA
push 0x5560a0
call fcn.00461050
push 0x5793c8
push str.CreateUrlCacheEntryA
push 0x5560a0
call fcn.00461050
push 0x5793c4
push str.RetrieveUrlCacheEntryStreamA
push 0x5560a0
call fcn.00461050
push 0x5793c0
push str.UnlockUrlCacheEntryStream
push 0x5560a0
call fcn.00461050
push 0x579454
push str.ObtainUserAgentString
push 0x5560dc
call fcn.00461050
push 0x5793e4
push str.InternetOpenA
push 0x5560a0
call fcn.00461050
add esp, 0x48
push 0x5793e0
push str.InternetOpenW
push 0x5560a0
call fcn.00461050
push 0x57941c
push str.HttpAddRequestHeadersA
push 0x5560a0
call fcn.00461050
push 0x579414
push str.HttpQueryInfoA
push 0x5560a0
call fcn.00461050
add esp, 0x24
call fcn.0051b663
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.0051ba27
push 0x4606e0
push 0x5793b0
call fcn.0051ba96
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 0x56bf34
push 0x538c6c
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, 0x56bcc8
call fcn.0040c9f0
test eax, eax
je 0x461306
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x579440], eax
cmp dword [0x5793fc], ebx
je 0x46131d
push 0x4608e0
push 0x5793fc
call fcn.0051ba96
mov eax, dword [0x579440]
cmp eax, ebx
je 0x4613c3
push str.SafeCentralLoadLibraryA
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x579458], eax
cmp eax, ebx
je 0x461350
push 0x45e470
push 0x5793ac
call fcn.0051ba96
push str.SafeCentralLoadLibraryW
mov eax, dword [0x579440]
push eax
call esi
mov dword [0x57945c], eax
cmp eax, ebx
je 0x461375
push 0x45e4e0
push 0x5793a8
call fcn.0051ba96
push str.SafeCentralLoadLibraryExA
mov ecx, dword [0x579440]
push ecx
call esi
mov dword [0x579460], eax
cmp eax, ebx
je 0x46139b
push 0x45e520
push 0x5793a4
call fcn.0051ba96
push str.SafeCentralLoadLibraryExW
mov edx, dword [0x579440]
push edx
call esi
mov dword [0x579464], eax
cmp eax, ebx
je 0x4613c9
push 0x45e570
push 0x5793a0
call fcn.0051ba96
jmp 0x4613c9
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 0x461420
push str.SHGetFolderPathA
push edi
call esi
mov dword [0x57944c], eax
cmp eax, ebx
je 0x461400
push 0x460460
push 0x57944c
call fcn.0051ba96
push str.SHGetFolderPathW
push edi
call esi
mov dword [0x579450], eax
cmp eax, ebx
je 0x461420
push 0x460490
push 0x579450
call fcn.0051ba96
cmp dword [0x579400], ebx
je 0x461437
push 0x45e7e0
push 0x579400
call fcn.0051ba96
mov eax, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x567c3c
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 [0x567c3c], ebx
jne 0x461491
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 [0x5793cc], ebx
je 0x4614a8
push 0x460870
push 0x5793cc
call fcn.0051ba96
mov dword [ebp - 4], ebx
call fcn.004614b2
jmp 0x4614c3
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