Function at 0x4a7650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2bd4
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x494], 0
lea eax, [ebp - 0x46c]
push eax
push str.http_shellopencommand
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
je 0x4a76bf
mov ecx, dword [ebp - 0x46c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a793c
mov dword [ebp - 0x478], 0x3e8
push 0x3e8
push 0
lea edx, [ebp - 0x45c]
push edx
call fcn.00433ca0
add esp, 0xc
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x45c]
push ecx
push 0
push 0
push 0x4d12c0
mov edx, dword [ebp - 0x46c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
je 0x4a7726
mov eax, dword [ebp - 0x46c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a793c
mov ecx, dword [ebp - 0x46c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x460]
call fcn.004096a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x460]
call fcn.0040dba0
push 0
push str..exe
lea ecx, [ebp - 0x460]
call fcn.0040f4b0
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
jge 0x4a779c
mov byte [ebp - 0x461], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00409680
mov al, byte [ebp - 0x461]
jmp 0x4a793c
mov eax, dword [ebp - 0x468]
add eax, 4
push eax
lea ecx, [ebp - 0x484]
push ecx
lea ecx, [ebp - 0x460]
call fcn.00412520
mov dword [ebp - 0x47c], eax
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x480], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x480]
push eax
lea ecx, [ebp - 0x460]
call fcn.00409610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x484]
call fcn.00409680
push 0x4d12c8
push 0x4d12c4
lea ecx, [ebp - 0x460]
call fcn.0040dc00
push 0x64
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.00433ca0
add esp, 0xc
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x460]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_int___cdecl_GetFileVer_wchar_t_const___wchar_t__
add esp, 8
push 0x5c
lea ecx, [ebp - 0x460]
call fcn.00416d70
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
jge 0x4a786c
mov byte [ebp - 0x462], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00409680
mov al, byte [ebp - 0x462]
jmp 0x4a793c
lea ecx, [ebp - 0x460]
call fcn.004097f0
sub eax, dword [ebp - 0x468]
sub eax, 1
push eax
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x460]
call fcn.004125e0
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x48c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48c]
push edx
lea ecx, [ebp - 0x460]
call fcn.00409610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x490]
call fcn.00409680
lea ecx, [ebp - 0x474]
call fcn.004097c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x460]
push ecx
push str._s__s
lea edx, [ebp - 0x474]
push edx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x474]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 0x463], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x474]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00409680
mov al, byte [ebp - 0x463]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret