Function at 0x4a6ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2414
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4eb00c]
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 0x4a6f3f
mov ecx, dword [ebp - 0x46c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a71bc
mov dword [ebp - 0x478], 0x3e8
push 0x3e8
push 0
lea edx, [ebp - 0x45c]
push edx
call fcn.00433560
add esp, 0xc
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x45c]
push ecx
push 0
push 0
push 0x4d0264
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 0x4a6fa6
mov eax, dword [ebp - 0x46c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4a71bc
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.0040d410
push 0
push str..exe
lea ecx, [ebp - 0x460]
call fcn.0040ed80
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
jge 0x4a701c
mov byte [ebp - 0x461], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00409680
mov al, byte [ebp - 0x461]
jmp 0x4a71bc
mov eax, dword [ebp - 0x468]
add eax, 4
push eax
lea ecx, [ebp - 0x484]
push ecx
lea ecx, [ebp - 0x460]
call fcn.00411df0
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 0x4d0298
push 0x4d02b4
lea ecx, [ebp - 0x460]
call fcn.0040d470
push 0x64
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.00433560
add esp, 0xc
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x460]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_vip.exe_int___cdecl_GetFileVer_wchar_t_const___wchar_t__
add esp, 8
push 0x5c
lea ecx, [ebp - 0x460]
call fcn.00416640
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
jge 0x4a70ec
mov byte [ebp - 0x462], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00409680
mov al, byte [ebp - 0x462]
jmp 0x4a71bc
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.00411eb0
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_vip.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.0042e9de
mov esp, ebp
pop ebp
ret