Function at 0x4a16a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac3c4
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4e3074]
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 closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
je 0x4a170f
mov ecx, dword [ebp - 0x46c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a198c
mov dword [ebp - 0x478], 0x3e8
push 0x3e8
push 0
lea edx, [ebp - 0x45c]
push edx
call fcn.00456880
add esp, 0xc
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x45c]
push ecx
push 0
push 0
push 0x4c96f4
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 0x4a1776
mov eax, dword [ebp - 0x46c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a198c
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.00405080
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x460]
call fcn.004097b0
push 0
push str..exe
lea ecx, [ebp - 0x460]
call fcn.00404fb0
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
jge 0x4a17ec
mov byte [ebp - 0x461], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00405060
mov al, byte [ebp - 0x461]
jmp 0x4a198c
mov eax, dword [ebp - 0x468]
add eax, 4
push eax
lea ecx, [ebp - 0x484]
push ecx
lea ecx, [ebp - 0x460]
call fcn.00404ef0
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.00404ff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x484]
call fcn.00405060
push 0x4c97a4
push 0x4c97a8
lea ecx, [ebp - 0x460]
call fcn.00409a70
push 0x64
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.00456880
add esp, 0xc
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x460]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_GetFileVer_wchar_t_const___wchar_t__
add esp, 8
push 0x5c
lea ecx, [ebp - 0x460]
call fcn.00409850
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
jge 0x4a18bc
mov byte [ebp - 0x462], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00405060
mov al, byte [ebp - 0x462]
jmp 0x4a198c
lea ecx, [ebp - 0x460]
call fcn.004053a0
sub eax, dword [ebp - 0x468]
sub eax, 1
push eax
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x460]
call fcn.00409640
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.00404ff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x490]
call fcn.00405060
lea ecx, [ebp - 0x474]
call fcn.00405120
mov byte [ebp - 4], 3
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x460]
push ecx
push 0x4c97ac
lea edx, [ebp - 0x474]
push edx
call fcn.00405800
add esp, 0x10
lea ecx, [ebp - 0x474]
call sym.Install_silent.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.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00405060
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.0042fc0d
mov esp, ebp
pop ebp
ret