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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x105adf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 1
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.01010c62
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.01010c62
mov byte [ebp - 4], 1
push 0x100dcd8
lea ecx, [ebp - 0x50]
call fcn.0101236d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.01025680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.01010c92
mov ecx, dword [0x10649e0]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0101236d
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.01025680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.01010c92
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.010107dc
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x104bef4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x100c508
push 3
call fcn.0102e650
add esp, 0x10
mov dword [ebp - 0x1c], 0
jmp 0x104bf52
cmp dword [ebp + 0x10], 0
jne 0x104bf03
mov dword [ebp - 0x24], 1
jmp 0x104bf52
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 7
push 0
mov edx, dword [0x10649e4]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x104bf4b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x100c380
push 3
call fcn.0102e650
add esp, 0x10
mov dword [ebp - 0x1c], 0
jmp 0x104bf52
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], 0
je 0x104bf62
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], 0
je 0x104bf7c
lea ecx, [ebp - 0x28]
call fcn.010107dc
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp + 0x18], 0
je 0x104c10a
lea ecx, [ebp - 0x40]
call fcn.01010bb7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.01010c62
mov byte [ebp - 4], 5
lea edx, [ebp - 0x44]
push edx
push 2
mov ecx, dword [ebp + 8]
call fcn.0102ed60
test eax, eax
jne 0x104bfe3
push 0x1007b18
push 3
call fcn.0102e650
add esp, 8
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.01010c00
jmp 0x104c111
lea eax, [ebp - 0x4c]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.0102ecf0
test eax, eax
jne 0x104c02c
mov ecx, dword [ebp - 0x44]
push ecx
push 0x1008468
push 3
call fcn.0102e650
add esp, 0xc
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.01010c00
jmp 0x104c111
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x44]
push eax
push 0x1007ac8
push 1
call fcn.0102e650
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 5
je 0x104c057
cmp dword [ebp - 0x5c], 9
je 0x104c06d
jmp 0x104c0b8
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.01048580
mov dword [ebp - 0x48], eax
jmp 0x104c0b8
lea edx, [ebp - 0x40]
push edx
push 8
mov ecx, dword [ebp + 8]
call fcn.0102f090
test eax, eax
jne 0x104c0a0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.01010c00
jmp 0x104c111
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.010489d0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x104c0f2
mov ecx, dword [ebp - 0x44]
push ecx
push 0x100da00
push 3
call fcn.0102e650
add esp, 0xc
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.01010c00
jmp 0x104c111
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.01010c92
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.01010c00
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x1c], 0
je 0x104c11d
cmp dword [ebp - 0x20], 0
jne 0x104c126
mov dword [ebp - 0x14], 0x643
jmp 0x104c12d
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01010c92
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18