Function at 0x4014d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40d3c3
push eax
mov eax, 0x1358
mov dword fs:[0], esp
call fcn.0040aa30
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x1374], ebx
call dword [sym.imp.MSVCRT.dll_time]
mov ebp, dword [esp + 0x137c]
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [ebp + 0x3a0], ecx
lea ecx, [esp + 0x10]
push str.SOFTWAREShilingtongGnet_pppoe2Account_
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x137c]
push ebp
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4015c3
lea eax, [esp + 0x14]
push eax
push 0xf003f
push ebx
push str.SoftwareShilingtongGnet_pppoe2_systemset_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40158d
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareShilingtongGnet_pppoe2_systemset_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4016be
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
push ecx
push ebp
push 1
push ebx
push str.CurADSLAccountID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x4016be
mov ecx, 0xe9
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0xa4]
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x80]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3a4
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 0x100]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x228]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4121c0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3cc]
mov edi, 1
push ecx
push edx
mov dword [esp + 0x3b0], edi
mov dword [esp + 0x3c4], edi
call fcn.00401000
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0xf003f
push ebx
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4016e9
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x4016e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x1370], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x137c]
mov dword [esp + 0x1370], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40175f
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x3c8]
push 0x3a4
push edx
push 3
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
mov byte [esp + 0x1370], bl
lea ecx, [esp + 0x10]
je 0x401741
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x137c]
mov dword [esp + 0x1370], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40175f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x137c]
mov dword [esp + 0x1370], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, edi
mov ecx, dword [esp + 0x1368]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1364
ret