Function at 0x4ab5a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506fee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
push edi
lea edi, [ebp - 0x134]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x55370c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], str.RayConvert
mov dword [ebp - 0x18], str.URL:CoolDown_P2P
mov dword [ebp - 0x1c], 0x51eba5
mov dword [ebp - 0x20], str.rayconvert
mov dword [ebp - 0x24], 0x51ebb4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 1
mov esi, esp
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
je 0x4ab69f
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
jmp 0x4abbb6
cmp dword [ebp - 0x7c], 2
jne 0x4ab6f2
cmp dword [ebp - 0x2c], 0
jne 0x4ab6f2
mov esi, esp
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
jmp 0x4abbb6
push 4
push 0x51ebb8
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004acdd0
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10c], eax
mov esi, esp
push 0x80
lea edx, [ebp - 0x104]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 0x5c
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x110], eax
mov esi, esp
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 2
mov esi, esp
mov ecx, dword [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x120]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 0x5c
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
add edx, 1
mov esi, esp
push edx
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 3
mov esi, esp
mov edx, dword [ebp - 0x134]
push edx
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x124]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push str.RayConvertRayConvert.exe
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x18]
push eax
call sub.MSVCR71.dll_strlen
add esp, 4
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp - 0x10c], 0
je 0x4ab8cb
mov esi, esp
push 1
mov edi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
push 1
push 0
push 0x51ebdc
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x40]
push ecx
push 0x51ebec
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4ab976
mov esi, esp
mov eax, dword [ebp - 0x28]
push eax
mov edi, esp
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
push 0x51ebf8
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp esi, esp
call fcn.004f90e1
add eax, 1
mov esi, esp
push eax
mov edi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
push 1
push 0
push 0
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x40]
push ecx
push 0x51ec04
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4abaa1
mov esi, esp
lea eax, [ebp - 0x4c]
push eax
push 0x51ec0c
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4aba8e
mov esi, esp
lea edx, [ebp - 0x58]
push edx
push 0x51ec14
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4aba7b
cmp dword [ebp - 0x10c], 0
sete cl
dec cl
and cl, 0x1b
add cl, 0x31
movsx edx, cl
mov esi, esp
push edx
mov edi, esp
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
push 0x51ec1c
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp esi, esp
call fcn.004f90e1
add eax, 1
mov esi, esp
push eax
mov edi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
push 1
push 0
push 0
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp - 0x1c], 0
je 0x4abafd
push 0x51ec28
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004624e0
add esp, 8
test eax, eax
jne 0x4abafd
mov byte [ebp - 0x118], 0
mov byte [ebp - 0x117], 0
mov byte [ebp - 0x116], 1
mov byte [ebp - 0x115], 0
mov esi, esp
push 4
lea eax, [ebp - 0x118]
push eax
push 3
push 0
push 0x51ec30
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp - 0x1c], 0
je 0x4abb87
mov esi, esp
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4abb87
mov eax, dword [ebp - 0x14]
push eax
call sub.MSVCR71.dll_strlen
add esp, 4
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
push edx
mov ecx, ebp
push eax
lea edx, [0x4abbec]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004f90d3
pop edi
pop esi
add esp, 0x134
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret