Function at 0x518ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e5d1
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x67e4d0]
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.0050a020
movzx eax, al
test eax, eax
jne 0x518f2a
xor al, al
jmp 0x519371
cmp dword [ebp - 0x350], 0
je 0x518f47
mov ecx, dword [ebp - 0x350]
add ecx, 0x610
mov dword [ebp - 0x374], ecx
jmp 0x518f51
mov dword [ebp - 0x374], 0
mov edx, dword [ebp - 0x374]
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.0045b5b0
mov ecx, dword [ebp - 0x350]
add ecx, 0x618
push ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x645ccc]
mov dword [edx], eax
mov ecx, dword [0x645cd0]
mov dword [edx + 4], ecx
mov eax, dword [0x645cd4]
mov dword [edx + 8], eax
mov ecx, dword [0x645cd8]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x350]
call fcn.0050a860
xor edx, edx
mov byte [ebp - 0x355], dl
lea ecx, [ebp - 0x355]
call fcn.00515b40
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x364], 0
xor eax, eax
mov byte [ebp - 0x356], al
lea ecx, [ebp - 0x364]
push ecx
push 1
push 0
lea ecx, [ebp - 0x356]
call fcn.00516ba0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
jne 0x5191e8
cmp dword [ebp - 0x364], 0
je 0x5191e8
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.0058a9f0
add esp, 0xc
mov dword [ebp - 0x378], 0x208
xor eax, eax
mov byte [ebp - 0x357], al
lea ecx, [ebp - 0x378]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
lea ecx, [ebp - 0x357]
call fcn.00518b50
push eax
mov eax, dword [ebp - 0x364]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
jne 0x5191db
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040ec80
mov dword [ebp - 4], 0
push 0
push 0x62db2c
lea ecx, [ebp - 0x230]
call fcn.004ba9c0
test eax, eax
jne 0x5190d0
xor edx, edx
mov byte [ebp - 0x358], dl
lea ecx, [ebp - 0x358]
call fcn.005159e0
mov dword [ebp - 0x354], eax
jmp 0x5191c9
push 0
push 0x62db34
lea ecx, [ebp - 0x230]
call fcn.004ba9c0
test eax, eax
jne 0x519104
xor eax, eax
mov byte [ebp - 0x359], al
lea ecx, [ebp - 0x359]
call fcn.00516d50
mov dword [ebp - 0x354], eax
jmp 0x5191c9
push 0
push 0x62db3c
lea ecx, [ebp - 0x230]
call fcn.004ba9c0
test eax, eax
jne 0x519138
xor ecx, ecx
mov byte [ebp - 0x35a], cl
lea ecx, [ebp - 0x35a]
call fcn.00517e00
mov dword [ebp - 0x354], eax
jmp 0x5191c9
push 0
push 0x62db44
lea ecx, [ebp - 0x230]
call fcn.004ba9c0
test eax, eax
jne 0x519169
xor edx, edx
mov byte [ebp - 0x35b], dl
lea ecx, [ebp - 0x35b]
call fcn.00518ca0
mov dword [ebp - 0x354], eax
jmp 0x5191c9
push 0
push 0x62db4c
lea ecx, [ebp - 0x230]
call fcn.004ba9c0
test eax, eax
jne 0x51919a
xor eax, eax
mov byte [ebp - 0x35c], al
lea ecx, [ebp - 0x35c]
call fcn.005173a0
mov dword [ebp - 0x354], eax
jmp 0x5191c9
push 0
push 0x62db54
lea ecx, [ebp - 0x230]
call fcn.004ba9c0
test eax, eax
jne 0x5191c9
xor ecx, ecx
mov byte [ebp - 0x35d], cl
lea ecx, [ebp - 0x35d]
call fcn.00515830
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040ebb0
mov edx, dword [ebp - 0x364]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x368], 0
push 0x62db5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0
je 0x519224
push str.UrlMkSetSessionOption
mov eax, dword [ebp - 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0
je 0x5192e0
mov ecx, dword [ebp - 0x354]
push ecx
lea ecx, [ebp - 0x34c]
call fcn.00444a50
mov dword [ebp - 0x37c], eax
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x380], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x380]
call fcn.00515510
push eax
lea ecx, [ebp - 0x248]
call fcn.0040ec80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34c]
call fcn.00444b20
lea ecx, [ebp - 0x248]
call fcn.0040e9d0
push eax
mov ecx, dword [ebp - 0x350]
call fcn.0051b9e0
push 0
push 0
push 0
push 0x10000002
call dword [ebp - 0x368]
push 0
mov eax, dword [ebp - 0x354]
push eax
call fcn.005badc0
add esp, 4
push eax
mov ecx, dword [ebp - 0x354]
push ecx
push 0x10000001
call dword [ebp - 0x368]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0040ebb0
cmp dword [ebp - 0x36c], 0
je 0x5192f6
mov edx, dword [ebp - 0x36c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
mov ecx, dword [ebp - 0x350]
call fcn.0051b160
mov eax, dword [ebp - 0x350]
movzx ecx, byte [eax + 0x6ac]
test ecx, ecx
je 0x51934f
mov ecx, dword [ebp - 0x350]
add ecx, 0x628
call fcn.00468a10
movzx edx, al
test edx, edx
jne 0x51934f
push 0
push 0
mov ecx, dword [ebp - 0x350]
add ecx, 0x628
call fcn.00467940
push eax
mov ecx, dword [ebp - 0x350]
call fcn.0051a440
jmp 0x51936f
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.00462b70
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.00536569
mov esp, ebp
pop ebp
ret