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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0x10078ae4
mov dword [ebp - 0x124], 2
call fcn.1003b3c0
movzx eax, al
test eax, eax
jne 0x10056166
push 0x10
push 0
lea ecx, [ebp - 0x134]
push ecx
call fcn.100139b0
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x140]
call fcn.10001af0
lea ecx, [ebp - 0x13c]
call fcn.10001af0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x140]
call fcn.100017b0
lea ecx, [ebp - 0x140]
call fcn.10001330
sub eax, 1
push eax
push 1
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x140]
call fcn.10001e20
push eax
lea ecx, [ebp - 0x13c]
call fcn.10002750
lea ecx, [ebp - 0x174]
call fcn.10001850
lea edx, [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x140]
call fcn.10002750
lea ecx, [ebp - 0x140]
call fcn.10001330
sub eax, 1
push eax
push 0
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x140]
call fcn.10001e20
push eax
lea ecx, [ebp - 0x13c]
call fcn.10002750
lea ecx, [ebp - 0x178]
call fcn.10001850
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.100035f0
push eax
call dword [sym.imp.RPCRT4.dll_UuidFromStringA]
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x150]
mov dword [edx], eax
mov ecx, dword [ebp - 0x14c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x148]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x144]
mov dword [edx + 0xc], ecx
call fcn.100401d0
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x10056139
push 0x10078aec
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x14]
push edx
push 0x20006
push 0
lea eax, [ebp - 0x120]
push eax
push reloc.RtlIhvOid.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10055ee7
mov byte [ebp - 0x179], 0
lea ecx, [ebp - 0x13c]
call fcn.10001850
lea ecx, [ebp - 0x140]
call fcn.10001850
mov al, byte [ebp - 0x179]
jmp 0x100564d7
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push 0x10078b2c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x10078b40
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp + 0xc], 0
jne 0x1005602b
mov edx, dword [ebp + 0x10]
push edx
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 7
push 0
push 0x10078b4c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 7
push 0
push 0x10078b58
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0x18]
push edx
call fcn.10013a30
add esp, 4
test eax, eax
je 0x10055fc0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 7
push 0
push 0x10078b64
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0x1c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x10055ff9
push 0x10
push 0
lea edx, [ebp - 0x134]
push edx
call fcn.100139b0
add esp, 0xc
push 1
push 0x1006fa2f
push 1
push 0
push 0x10078b74
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x10056026
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 1
push 0
push 0x10078b80
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x100560c3
push 0x1006fa51
lea edx, [ebp - 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x160]
push eax
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x160]
push ecx
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x160]
push eax
push 7
push 0
push 0x10078b8c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x138]
push edx
lea eax, [ebp - 0x160]
push eax
push 7
push 0
push 0x10078b98
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0x1006fa52
push 7
push 0
push 0x10078ba4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp + 0xc], 1
jne 0x100560d5
mov dword [ebp - 0x124], 1
jmp 0x100560df
mov dword [ebp - 0x124], 0
cmp dword [ebp + 0xc], 1
jne 0x100560f3
mov eax, dword [ebp + 8]
push eax
call fcn.1003f8b0
add esp, 4
jmp 0x1005612f
mov ecx, dword [ebp + 8]
push ecx
call fcn.1003f8b0
add esp, 4
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003faf0
add esp, 0x10
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1003faf0
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x17a], 0
lea ecx, [ebp - 0x13c]
call fcn.10001850
lea ecx, [ebp - 0x140]
call fcn.10001850
mov al, byte [ebp - 0x17a]
jmp 0x100564d7
push 0x10
push 0
lea edx, [ebp - 0x134]
push edx
call fcn.100139b0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x100564d5
cmp dword [ebp + 0xc], 0
jne 0x10056354
mov ecx, dword [ebp + 8]
push ecx
call fcn.1003f8b0
add esp, 4
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003faf0
add esp, 0x10
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1003faf0
add esp, 0x10
push 0x10078bb4
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x14]
push ecx
push 0x20006
push 0
lea edx, [ebp - 0x120]
push edx
push reloc.RtlIhvOid.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1005621a
xor al, al
jmp 0x100564d7
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x10078bf4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push 0x10078c08
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x14]
push edx
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 7
push 0
push 0x10078c14
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 7
push 0
push 0x10078c20
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.10013a30
add esp, 4
test eax, eax
je 0x100562e9
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 7
push 0
push 0x10078c2c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0x1c]
movsx eax, byte [edx]
test eax, eax
jne 0x10056322
push 0x10
push 0
lea ecx, [ebp - 0x134]
push ecx
call fcn.100139b0
add esp, 0xc
push 1
push 0x1006fa53
push 1
push 0
push 0x10078c3c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x1005634f
mov eax, dword [ebp + 0x1c]
push eax
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
push 1
push 0
push str.NameServer
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x100564d5
push 0x10078c54
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x14]
push ecx
push 0x20006
push 0
lea edx, [ebp - 0x120]
push edx
push reloc.RtlIhvOid.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1005639f
xor al, al
jmp 0x100564d7
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x10078c94
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push 0x10078ca8
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x1006fa56
lea ecx, [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x170]
push edx
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x170]
push eax
call fcn.10013a30
add esp, 4
add eax, 2
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x170]
push edx
push 7
push 0
push 0x10078cb4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x138]
push ecx
lea edx, [ebp - 0x170]
push edx
push 7
push 0
push 0x10078cc0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0x1006fa57
push 7
push 0
push 0x10078ccc
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x124], 1
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.10052b90
add esp, 0x1c
test eax, eax
je 0x100564d5
mov edx, dword [ebp + 0x18]
push edx
call fcn.10013a30
add esp, 4
test eax, eax
je 0x100564c7
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 7
push 0
push str.DefaultGateway
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x100564d7
mov al, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret