Function at 0x4be960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5248c3
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x58e170
mov dword [ebp - 0x3c], 0x58e170
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.004bf7d0
push 0
mov byte [ebp - 4], 1
call fcn.0050b83e
add esp, 4
lea ecx, [ebp - 0xd4]
push edx
push eax
call fcn.004c0000
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.004bf710
push eax
mov ecx, 0x58e0cc
call fcn.004a4d20
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4bea1b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bea11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bebae
push edx
push ecx
call fcn.004fbca6
add esp, 8
inc dword [0x58e168]
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x38], xmm0
call fcn.0050b83e
mov ecx, dword [ebp - 0x38]
add esp, 4
sub ecx, dword [0x58e160]
mov eax, dword [ebp - 0x34]
sbb eax, dword [0x58e164]
push 0
push 0x15180
push eax
push ecx
call fcn.00522ed0
mov ecx, 0xf
mov dword [ebp - 0x2c], 0
cmp eax, ecx
push 0
cmovae eax, ecx
mov dword [0x58e16c], eax
mov eax, dword [0x58e168]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMadeForNetGCT
push dword [0x58e0c8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4beabc
push 4
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push str.RunCountApp
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x58e16c]
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMadeForNetGCT
push dword [0x58e0c8]
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4beb14
push 4
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push str.RunDaysApp
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xd0]
call fcn.004bfef0
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xd8], eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x84], vtable.std::ios_base.0
call fcn.004cc24e
add esp, 4
push 0x58e170
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret
call fcn.00501cb1
int3