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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x48
mov edi, dword [esp + 0x60]
cmp dword [esp + 0x58], 0xb
jne 0x448ea6
mov eax, dword [0x80c4c4]
mov dword [esp], eax
call fcn.007c74c0
test eax, eax
je 0x448e51
imul eax, eax
and eax, 3
cmp eax, 2
jne 0x449094
mov word [0x7f6338], di
mov eax, dword [0x80c4c4]
mov dword [esp], eax
call fcn.007c74e0
test eax, eax
jne 0x4490b9
mov ecx, 3
sub ecx, eax
xor ecx, eax
je 0x4490b9
mov al, 0x19
movzx eax, al
cmp eax, 0x18
je 0x448f2d
cmp eax, 0x19
je 0x448e98
cmp eax, 0x4c
jne 0x449051
mov eax, edi
not eax
and eax, 1
add eax, edi
jmp 0x448f37
cmp edi, 0x28
ja 0x448eba
mov eax, edi
not eax
and eax, 1
add eax, edi
jne 0x4490de
mov ebx, 0x10
mov eax, dword [0x80c4c4]
mov dword [esp], eax
call fcn.007c74c0
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x44908f
mov esi, dword [esp + 0x5c]
mov ebx, 0x1b
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], 0x80c4c8
call fcn.004959f0
mov eax, dword [0x80c4c4]
mov dword [esp], eax
call fcn.007c74e0
test eax, eax
jne 0x44908f
imul eax, eax
and eax, 3
cmp eax, 2
jae 0x44908f
mov eax, esi
jmp 0x449088
mov eax, edi
and eax, 1
xor eax, edi
cmp eax, 0xffffffff
setne al
movzx eax, al
mov ecx, edi
sub ecx, eax
cmp ecx, 0xfffe
ja 0x449086
xor eax, eax
test al, al
jne 0x449086
mov al, 0xd
lea esi, [esp + 0x24]
movzx eax, al
cmp eax, 0xd
je 0x448f68
cmp eax, 0x7d
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 8], 0x7d56aa
mov dword [esp + 4], 0x20
call fcn.0064a2d0
lea eax, [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEMCurrentControlSetServiceshasplmsParameters
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
jne 0x449086
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], str.Port
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
sub esp, 8
mov dword [esp], esi
call fcn.007c3e70
inc eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Port
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub esp, 0x18
mov esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
test esi, esi
je 0x449086
mov dword [esp], str.Failed_to_write_port_to_registry_n
call fcn.004414c0
jmp 0x449086
mov al, 0xd
lea esi, [esp + 0x24]
mov ecx, edi
and ecx, 1
xor ecx, edi
cmp ecx, 0xffffffff
setne cl
movzx edx, cl
mov ecx, edi
sub ecx, edx
cmp ecx, 0xffff
jb 0x448f5d
imul ecx, ecx
and ecx, 3
cmp ecx, 2
jae 0x448f5d
xor eax, eax
add esp, 0x48
pop esi
pop edi
pop ebx
ret
cmp ebx, 0x10
jne 0x4490b9
call fcn.007c4fd0
mov esi, eax
call fcn.007c4bf0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_lock_lm__syserr__d__s__n
call fcn.00441610
call fcn.0044c0d0
call fcn.007c4fd0
mov esi, eax
call fcn.007c4bf0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_unlock_lm__syserr__d__s__n
call fcn.00441610
call fcn.0044c0d0
mov dword [esp], str.Invalid_server_id_size_n
call fcn.00441610
call fcn.0044c0d0
int3