Function at 0x412190
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x457d4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push ebx
push esi
push edi
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x288], edi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x24], edi
lea eax, [esp + 0x18]
push str.SYSTEMCurrentControlSetServicesNetBTParametersInterfaces_
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x294], 2
mov dword [esp + 0x2c], edi
call sub.MFC42.DLL_operator_1
push str.Tcpip_
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x294], 3
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x290]
lea edx, [esp + 0x10]
push ecx
mov bl, 4
push eax
push edx
mov byte [esp + 0x294], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28c], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x288], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
push edx
push reloc.WS2_32.dll_bind
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x41237a
mov ebx, dword [esp + 0x294]
mov esi, dword [esp + 0x10]
push ebp
xor ebp, ebp
mov eax, dword [ebx + 8]
mov dword [esp + 0x28], esi
test eax, eax
jle 0x41233c
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, ebx
xor esi, esi
call fcn.00411da0
mov ecx, dword [eax]
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x18]
test edx, edx
setg byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x41231f
lea edx, [esp + 0x20]
push edi
push edx
mov ecx, ebx
call fcn.00411da0
mov eax, dword [eax]
lea ecx, [esp + 0x20]
mov al, byte [eax + esi]
mov byte [esp + ebp + 0x2c], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push edi
push ecx
inc esi
mov ecx, ebx
inc ebp
call fcn.00411da0
mov edx, dword [eax]
mov ecx, dword [edx - 8]
cmp esi, ecx
lea ecx, [esp + 0x18]
setl byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
jne 0x4122d4
mov eax, dword [ebx + 8]
mov byte [esp + ebp + 0x2c], 0
inc ebp
inc edi
cmp edi, eax
mov byte [esp + ebp + 0x2c], 0
jl 0x4122a8
mov esi, dword [esp + 0x14]
test eax, eax
je 0x412346
inc ebp
mov byte [esp + ebp + 0x2c], 0
jmp 0x41234c
mov byte [esp + ebp + 0x2c], 0
inc ebp
lea eax, [esp + 0x2c]
push ebp
push eax
push 7
push 0
push str.NameServerList
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop ebp
jne 0x41236f
mov dword [esp + 0x20], 1
test esi, esi
je 0x41237a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x290]
mov dword [esp + 0x288], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x280]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x280
ret 8