Function at 0x4abcb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50701c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push esi
push edi
lea edi, [ebp - 0x108]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x55370c]
mov dword [ebp - 0x10], eax
mov esi, esp
lea ecx, [ebp - 0x48]
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 - 0x54]
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 - 0x60]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
je 0x4abd8e
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x54]
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 - 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x100]
jmp 0x4ac1a7
cmp dword [ebp - 0x60], 2
jne 0x4abdf1
cmp dword [ebp + 0x20], 0
jne 0x4abdf1
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x104], 0
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x54]
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 - 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x104]
jmp 0x4ac1a7
push 4
push str.URL:
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004acdd0
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0xf0], eax
mov esi, esp
push 0x80
lea edx, [ebp - 0xe8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
cmp esi, esp
call fcn.004f90e1
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCR71.dll_strlen
add esp, 4
add eax, 1
mov esi, esp
push eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp - 0xf0], 0
je 0x4abeac
mov esi, esp
push 1
mov edi, esp
lea ecx, [ebp - 0x54]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
push 1
push 0
push str.URL_Protocol
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea edx, [ebp - 0x24]
push edx
push str.DefaultIcon
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4abf57
mov esi, esp
mov ecx, dword [ebp + 0x1c]
push ecx
mov edi, esp
lea ecx, [ebp - 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
push str.__s____u
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x54]
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 - 0x54]
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 eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea edx, [ebp - 0x24]
push edx
push 0x51ec6c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4ac082
mov esi, esp
lea ecx, [ebp - 0x30]
push ecx
push 0x51ec74
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4ac06f
mov esi, esp
lea eax, [ebp - 0x3c]
push eax
push 0x51ec7c
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4ac05c
cmp dword [ebp - 0xf0], 0
sete dl
dec dl
and dl, 0x1b
add dl, 0x31
movsx eax, dl
mov esi, esp
push eax
mov edi, esp
lea ecx, [ebp - 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
push str.__s______c_
lea ecx, [ebp - 0x54]
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 - 0x54]
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 - 0x54]
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 - 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp + 0x10], 0
je 0x4ac0de
push str..vod
mov eax, dword [ebp + 0x10]
push eax
call fcn.004624e0
add esp, 8
test eax, eax
jne 0x4ac0de
mov byte [ebp - 0xf8], 0
mov byte [ebp - 0xf7], 0
mov byte [ebp - 0xf6], 1
mov byte [ebp - 0xf5], 0
mov esi, esp
push 4
lea ecx, [ebp - 0xf8]
push ecx
push 3
push 0
push str.EditFlags
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp + 0x10], 0
je 0x4ac168
mov esi, esp
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4ac168
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR71.dll_strlen
add esp, 4
add eax, 1
mov esi, esp
push eax
mov edx, dword [ebp + 8]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x108], 1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x54]
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 - 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x108]
push edx
mov ecx, ebp
push eax
lea edx, [0x4ac1dd]
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, 0x108
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret