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

Disassembly:
push 0xffffffffffffffff
push 0x565a43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d8
mov eax, dword [0x5af710]
xor eax, esp
push ebx
push ebp
push esi
mov dword [esp + 0x4e0], eax
push edi
mov esi, ecx
mov dword [esp + 0x4f0], 0
call fcn.005504da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x4f8]
push ebp
lea eax, [esp + 0x18]
push str.SYSTEM_sServicesSharedAccessParametersFirewallPolicyStandardProfileAuthorizedApplicationsList
push eax
mov byte [esp + 0x4fc], 1
call fcn.0040b350
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push edi
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
je 0x481c5e
lea eax, [edi - 0x10]
mov byte [esp + 0x4f0], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x481f65
push 0x57907c
lea ebp, [esi + 0x6c]
push ebp
lea eax, [esp + 0x24]
push 0x576c10
push eax
call fcn.0053bafc
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xf8]
push str._s::Enabled:EDP_System
push edx
call fcn.0053bafc
lea eax, [esp + 0x100]
add esp, 0x1c
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x481ca0
mov edx, dword [esp + 0x10]
sub eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
lea eax, [esp + 0xe8]
push eax
push 1
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
push ebp
lea eax, [esp + 0x20]
push str._swatchclient.exe
push eax
call fcn.0053bafc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xf4]
push str._s::Enabled:EDP_System
push edx
call fcn.0053bafc
lea eax, [esp + 0xfc]
add esp, 0x18
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x481d00
mov edx, dword [esp + 0x10]
sub eax, ecx
push eax
lea eax, [esp + 0xe8]
push eax
push 1
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov ecx, dword [esp + 0x4f8]
push ecx
lea edx, [esp + 0x18]
push str.SYSTEM_sServicesSharedAccessParametersFirewallPolicyStandardProfileIcmpSettings
push edx
call fcn.0040b350
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfileIcmpSettings
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
je 0x481d7e
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x481dda
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.AllowInboundEchoRequest
push ecx
mov dword [esp + 0x30], 1
call esi
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x4f8]
push eax
lea ecx, [esp + 0x18]
push str.SYSTEM_sServicesSharedAccessParametersFirewallPolicyDomainProfileAuthorizedApplicationsList
push ecx
call fcn.0040b350
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0xf003f
push 0
push eax
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
je 0x481e0f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4f0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4f8]
add eax, 0xfffffff0
jmp 0x481f72
push 0x57907c
push ebp
lea eax, [esp + 0x24]
push 0x576c10
push eax
call fcn.0053bafc
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xf8]
push str._s::Enabled:EDP_System
push edx
call fcn.0053bafc
lea eax, [esp + 0x100]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x481e48
mov edx, dword [esp + 0x10]
sub eax, ecx
push eax
lea eax, [esp + 0xe8]
push eax
push 1
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
push ebp
lea eax, [esp + 0x20]
push str._swatchclient.exe
push eax
call fcn.0053bafc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xf4]
push str._s::Enabled:EDP_System
push edx
call fcn.0053bafc
lea eax, [esp + 0xfc]
add esp, 0x18
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x481ea0
mov edx, dword [esp + 0x10]
sub eax, ecx
push eax
lea eax, [esp + 0xe8]
push eax
push 1
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call edi
mov ebp, dword [esp + 0x4f8]
push ebp
lea ecx, [esp + 0x18]
push str.SYSTEM_sServicesSharedAccessParametersFirewallPolicyDomainProfileIcmpSettings
push ecx
call fcn.0040b350
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyDomainProfileIcmpSettings
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x481f2f
lea eax, [esp + 0x10]
push eax
push ebx
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x481f2f
lea ecx, [esp + 0x14]
call fcn.00402200
lea ecx, [esp + 0x4f8]
call fcn.00402200
jmp 0x481f94
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.AllowInboundEchoRequest
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call edi
lea eax, [ebx - 0x10]
mov byte [esp + 0x4f0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481f6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x4f0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481f94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x4e8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4d8]
pop ebx
xor ecx, esp
call fcn.0053aaae
add esp, 0x4e4
ret 4