Function at 0x41ba20
Capabilities:
Check os version
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x470bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4915c0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4915c0]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x154]
xor ebx, ebx
cmp dword [ebp + 0xe0], 1
jne 0x41bbf1
lea eax, [esp + 0x20]
push eax
push ebx
mov dword [esp + 0x28], ebx
call sub.iphlpapi.dll_GetInterfaceInfo
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043997e
add esp, 4
lea edx, [esp + 0x20]
mov esi, eax
push edx
push esi
call sub.iphlpapi.dll_GetInterfaceInfo
cmp eax, ebx
jne 0x41bad3
mov edx, dword [esi]
xor eax, eax
cmp edx, ebx
jle 0x41bad3
mov edi, dword [ebp + 0xdc]
lea ecx, [esi + 4]
nop
cmp dword [ecx], edi
je 0x41bac3
add eax, 1
add ecx, 0x104
cmp eax, edx
jl 0x41bab0
jmp 0x41bad3
imul eax, eax, 0x104
lea eax, [eax + esi + 4]
push eax
call sub.iphlpapi.dll_IpReleaseAddress
cmp esi, ebx
je 0x41bae0
push esi
call fcn.00439979
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x30], 6
jb 0x41bbf1
mov dword [esp + 0x1c], ebx
call fcn.00442657
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41bb1c
push 0x80004005
call fcn.004029c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14c], ebx
mov ecx, dword [ebp + 0xd0]
push ecx
lea edx, [esp + 0x1c]
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_s
push edx
call fcn.004031c0
mov edi, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 0x20106
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41bbca
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
lea ecx, [esp + 0x1b]
push ecx
push 1
push ebx
push str.DhcpIPAddress
push edx
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
call esi
mov ecx, dword [esp + 0x1c]
push 2
lea eax, [esp + 0x1c]
push eax
push 7
push ebx
push str.DhcpDefaultGateway
push ecx
call esi
mov eax, dword [esp + 0x1c]
push 1
lea edx, [esp + 0x1b]
push edx
push 7
push ebx
push str.DhcpServer
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov dword [esp + 0x14c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bbf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x30], 6
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push ecx
sbb eax, eax
add eax, 2
push ebx
push eax
mov dword [esp + 0x38], ebx
call sub.Wlanapi.dll_WlanOpenHandle
test eax, eax
jne 0x41bc48
mov edx, dword [esp + 0x24]
push ebx
add ebp, 0xe4
push ebp
push edx
call sub.Wlanapi.dll_WlanDisconnect
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x41bc57
push ebx
push eax
call sub.Wlanapi.dll_WlanCloseHandle
xor eax, eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00455843
add esp, 0x13c
ret 4