Function at 0x473d10
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b9eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call fcn.00475e80
mov ebx, 1
lea ecx, [esp + 0x10]
push ebx
push 0x4e65d8
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x28], 0
lea esi, [ebp + ebp*4]
shl esi, 2
mov dword [esi + 0x4e65ec], ebx
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, dword [eax]
mov edi, dword [esp + 0x30]
mov dword [esi + 0x4e65f0], ecx
mov eax, dword [0x4e6f14]
mov dword [esi + 0x4e65fc], edi
mov dword [esi + 0x4e65f4], ebx
xor esi, esi
cmp eax, esi
je 0x473f63
push str.Settings
mov ecx, 0x4e6590
mov dword [0x4e65ac], esi
mov dword [0x4e65b0], esi
mov dword [0x4e65b4], esi
mov dword [0x4e65bc], esi
call fcn.004072b0
test al, al
jne 0x473dcc
push ebx
push esi
push esi
push str.Settings
mov ecx, 0x4e6590
call fcn.00408e60
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
push edi
lea edx, [esp + 0x30]
push 0x4df94c
push edx
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
mov ecx, 0x4e6590
call fcn.004073b0
push esi
mov ecx, 0x4e6590
call fcn.004072b0
and eax, 0xff
mov esi, eax
je 0x473ec5
lea eax, [ebp + ebp*8]
lea edi, [eax*4 + 0x4e3654]
lea eax, [esp + 0x30]
push str.name
push eax
mov ecx, 0x4e6590
call fcn.00477d00
mov ecx, dword [esp + 0x30]
push edi
push ecx
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x473e6b
push 0
mov ecx, 0x4e6590
call fcn.004072b0
and eax, 0xff
lea ecx, [esp + 0x30]
mov esi, eax
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x473e19
jmp 0x473ec5
mov edx, dword [0x4e65b4]
push edi
push str.name
push edx
mov ecx, 0x4e6590
call fcn.00408350
mov eax, dword [0x4e65b4]
push str.numeric
push str.type
push eax
mov ecx, 0x4e6590
call fcn.00408350
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x4e65b4]
push 0
push ecx
push edx
mov ecx, 0x4e6590
call fcn.004085a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x473f17
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push eax
push str.Item
mov ecx, 0x4e6590
call fcn.00408e60
mov eax, dword [0x4e65b4]
lea ecx, [ebp + ebp*8]
lea edx, [ecx*4 + 0x4e3654]
mov ecx, 0x4e6590
push edx
push str.name
push eax
call fcn.00408350
mov ecx, dword [0x4e65b4]
push str.numeric
push str.type
push ecx
mov ecx, 0x4e6590
call fcn.00408350
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push str.8uftp.xml
add eax, 0xc8
lea edx, [esp + 0x34]
push eax
push edx
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov ecx, 0x4e6590
push eax
mov byte [esp + 0x28], 3
call fcn.004071a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
jmp 0x473fb6
lea eax, [esp + 0x2c]
push esi
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.Software8uftp
push reloc.WS2_32.dll_accept
mov dword [esp + 0x54], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x473fb6
lea ecx, [esp + 0x30]
lea edx, [ebp + ebp*8]
push 4
push ecx
mov ecx, dword [esp + 0x34]
push 4
lea eax, [edx*4 + 0x4e3654]
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret