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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov dword [ebp - 0x424], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40303d
mov eax, 0
jmp 0x40324f
mov dword [esp + 4], 0x4103c1
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x40305b
mov dword [ebp - 0x10], 0x4105ee
mov byte [ebp - 0x41c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax]
test al, al
je 0x403114
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x424]
mov dword [esp], eax
call dbg.namelist_split
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0xc], eax
jmp 0x403100
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4030d3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x41c]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4105ef
mov dword [esp], edx
call dbg.sprintf
jmp 0x4030f7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x41c]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4105f2
mov dword [esp], edx
call dbg.sprintf
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x403096
lea eax, [ebp - 0x424]
mov dword [esp], eax
call dbg.namelist_clean
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call sym._strlen
add eax, 1
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20006
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetServicesTcpipParameters
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call eax
sub esp, 0x14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x403189
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], str.SYSTEMCurrentControlSetServicesTcpipParameters
mov dword [esp + 4], str.Cant_open_registry__s_n
mov dword [esp], eax
call dbg.error
mov eax, 1
jmp 0x40324f
mov eax, dword [ebp - 0x420]
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x41c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SearchList
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x403212
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.SearchList
mov dword [esp + 8], str.SYSTEMCurrentControlSetServicesTcpipParameters
mov dword [esp + 4], str.Cant_set_registry__s_s._return__d_n
mov dword [esp], eax
call dbg.error
mov eax, dword [ebp - 0x420]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov eax, 1
jmp 0x40324f
mov eax, dword [ebp - 0x420]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp], str.ipconfig__renew
call dbg.exec_cmd
lea eax, [ebp - 0x41c]
mov dword [esp + 4], eax
mov dword [esp], str.set_search_domains:__s_n
call dbg.debug
mov eax, 0
leave
ret