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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x105ad36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x64]
call fcn.0102e8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.01010c62
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.01010bb7
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], 1
lea ecx, [ebp - 0x24]
call fcn.01010bb7
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
lea ecx, [ebp - 0x44]
call fcn.01010900
mov ecx, dword [ebp + 0x10]
call fcn.010107dc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x104b2e5
cmp dword [ebp - 0x28], 0
jne 0x104b2e5
lea ecx, [ebp - 0x70]
call fcn.01010c62
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.010106e3
push eax
lea ecx, [ebp - 0x70]
call fcn.010115e7
mov edx, dword [0x10649e8]
push edx
lea ecx, [ebp - 0x70]
call fcn.0101095c
test eax, eax
jne 0x104b17b
push 0x100d548
push 2
call fcn.0102e650
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x48], 0
jmp 0x104b287
push 3
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea eax, [ebp - 0x70]
push eax
call fcn.01010eb5
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.0102e9e0
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0xb7
je 0x104b1cf
mov dword [ebp - 0x28], 0
jmp 0x104b287
lea edx, [ebp - 0x44]
push edx
push 2
lea ecx, [ebp - 0x64]
call fcn.0102ed60
test eax, eax
jne 0x104b1ed
mov dword [ebp - 0x28], 0
jmp 0x104b287
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 5
je 0x104b211
cmp dword [ebp - 0xec], 9
je 0x104b227
jmp 0x104b262
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.01048580
mov dword [ebp - 0x74], eax
jmp 0x104b262
lea ecx, [ebp - 0x24]
call fcn.010109c8
lea ecx, [ebp - 0x24]
push ecx
push 8
lea ecx, [ebp - 0x64]
call fcn.0102f090
test eax, eax
jne 0x104b24a
mov dword [ebp - 0x28], 0
jmp 0x104b287
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.010489d0
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x104b271
mov dword [ebp - 0x28], 0
jmp 0x104b287
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x6c], 0
je 0x104b287
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
cmp dword [ebp - 0x28], 0
jne 0x104b2cc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x74]
push eax
push 0x100d4b8
push 3
call fcn.0102e650
add esp, 0x14
mov ecx, dword [0x10649e8]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0101095c
test eax, eax
je 0x104b2cc
lea ecx, [ebp - 0x70]
call fcn.010107dc
push eax
lea ecx, [ebp - 0x40]
call fcn.010133e2
lea ecx, [ebp - 0x64]
call fcn.0102ec20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.01010c92
jmp 0x104b111
cmp dword [ebp - 0x28], 0
jne 0x104b3b3
mov edx, dword [ebp + 8]
push edx
push 0x100d438
push 1
call fcn.0102e650
add esp, 0xc
cmp dword [ebp - 0x48], 0
je 0x104b3a7
push 0x100d3e8
push 1
call fcn.0102e650
add esp, 8
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp + 8]
push edx
call fcn.01010eb5
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0xc]
push ecx
mov byte [ebp - 4], 4
call fcn.0104b7c0
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0
je 0x104b38f
mov eax, dword [ebp - 0x78]
push eax
push 0x100ed68
push 3
call fcn.0102e650
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x104b75b
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x7c], 0
je 0x104b3a5
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
jmp 0x104b3b3
mov dword [ebp - 0x28], 1
jmp 0x104b75b
lea ecx, [ebp - 0x40]
call fcn.010106d5
movzx edx, al
test edx, edx
jne 0x104b75b
lea ecx, [ebp - 0x90]
call fcn.01010c62
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.010107dc
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x104b539
lea ecx, [ebp - 0x9c]
call fcn.01010c62
mov byte [ebp - 4], 9
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.010106e3
push eax
lea ecx, [ebp - 0x9c]
call fcn.010115e7
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.010306c0
lea ecx, [ebp - 0xb4]
call fcn.01010bb7
mov byte [ebp - 4], 0xa
push 3
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea edx, [ebp - 0x9c]
push edx
call fcn.01010eb5
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
call fcn.0102e9e0
lea ecx, [ebp - 0xb4]
push ecx
push 0xa
lea ecx, [ebp - 0x64]
call fcn.0102f090
lea ecx, [ebp - 0x64]
call fcn.0102ec20
lea ecx, [ebp - 0xb4]
call fcn.010107dc
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x104b516
lea ecx, [ebp - 0xb8]
call fcn.01010c62
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0xb4]
call fcn.010106e3
push eax
lea ecx, [ebp - 0xb8]
call fcn.010115e7
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x90]
call fcn.010114bf
cmp dword [ebp - 0x98], 0
jne 0x104b4f5
cmp dword [ebp - 0x88], 0
je 0x104b505
push 0x100d350
lea ecx, [ebp - 0x90]
call fcn.0101159b
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.01010c92
jmp 0x104b49b
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb4]
call fcn.01010c00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x9c]
call fcn.01010c92
jmp 0x104b3e3
lea ecx, [ebp - 0x90]
call fcn.01010a68
test eax, eax
jle 0x104b55e
mov ecx, dword [ebp - 0x90]
push ecx
push 0x100d1d0
push 3
call fcn.0102e650
add esp, 0xc
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x80]
call fcn.01010c62
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x94]
call fcn.01010c62
mov byte [ebp - 4], 0xe
push 0x100dcd8
lea ecx, [ebp - 0xd0]
call fcn.0101236d
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.01025680
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.01010c92
mov edx, dword [0x10649e0]
push edx
lea ecx, [ebp - 0xd4]
call fcn.0101236d
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.01025680
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
call fcn.01010c92
lea eax, [ebp - 0x8c]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x94]
call fcn.010107dc
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x104b712
mov ecx, dword [ebp + 0x10]
call fcn.010106d5
movzx ecx, al
test ecx, ecx
jne 0x104b6d6
lea edx, [ebp - 0xbc]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.01027cd0
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x104b6be
mov eax, dword [ebp - 0xbc]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
push 7
push 0
mov edx, dword [0x10649e4]
push edx
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x104b6a1
mov dword [ebp - 0x28], 0
push 0x100d070
push 3
call fcn.0102e650
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0101da1e
add esp, 4
jmp 0x104b6d4
mov dword [ebp - 0x28], 0
push 0x100d070
push 3
call fcn.0102e650
add esp, 8
jmp 0x104b703
mov eax, dword [0x10649e4]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x104b703
mov dword [ebp - 0x28], 0
push 0x100d070
push 3
call fcn.0102e650
add esp, 8
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x104b731
cmp dword [ebp - 0x84], 2
je 0x104b731
mov dword [ebp - 0x28], 0
push 0x100d070
push 3
call fcn.0102e650
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x94]
call fcn.01010c92
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
call fcn.01010c92
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.01010c92
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.01010c00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.01010c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0102e970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.01010c92
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10