Function at 0x10184d5
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov eax, 0x1024afa
call fcn.0101d5b8
sub esp, 0x18
mov eax, dword [0x1029044]
push ebx
push esi
mov esi, 0x1029044
cmp eax, esi
mov ebx, ecx
push edi
mov dword [ebp - 0x24], ebx
je 0x1018513
test byte [eax + 0x1c], 4
je 0x1018513
mov edi, 0x1002154
push edi
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002b55
jmp 0x1018518
mov edi, 0x1002154
push 0
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
mov dword [ebp - 0x14], eax
push eax
push eax
push 0x2001f
push eax
push eax
push 0x10020a0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], eax
call fcn.01006d70
mov ecx, dword [0x1029044]
cmp ecx, esi
mov dword [ebp - 0x20], eax
je 0x1018574
test byte [ecx + 0x1c], 8
je 0x1018574
cmp byte [ecx + 0x19], 4
jb 0x1018574
push eax
push edi
push 0x3a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b7b
mov ecx, dword [0x1029044]
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x1018730
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x3c]
mov ecx, dword [0x1029044]
cmp ecx, esi
mov dword [ebp - 0x18], eax
je 0x10185ba
test byte [ecx + 0x1c], 8
je 0x10185ba
cmp byte [ecx + 0x19], 4
jb 0x10185ba
push eax
push edi
push 0x3b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b7b
mov ecx, dword [0x1029044]
cmp dword [ebp - 0x18], 0
jl 0x1018730
xor eax, eax
cmp word [ebp - 0x10], 0xffff
sete al
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x48]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ecx, dword [0x1029044]
cmp ecx, esi
mov dword [ebp - 0x18], eax
je 0x101860f
test byte [ecx + 0x1c], 8
je 0x101860f
cmp byte [ecx + 0x19], 4
jb 0x101860f
push eax
push edi
push 0x3c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b7b
mov ecx, dword [0x1029044]
cmp dword [ebp - 0x20], 0
jne 0x1018730
cmp dword [ebp - 0x18], 0
jl 0x1018730
cmp word [ebp - 0x1c], 0xffff
jne 0x10186f7
mov edi, 0x1029278
push edi
lea ecx, [ebp - 0x18]
call fcn.0101e4ea
lea eax, [ebp - 0x18]
push eax
push dword [0x102920c]
mov byte [ebp - 4], 1
call fcn.0101edc5
mov ebx, eax
mov eax, dword [0x1029044]
cmp eax, esi
je 0x1018679
test byte [eax + 0x1c], 8
je 0x1018679
cmp byte [eax + 0x19], 4
jb 0x1018679
push ebx
push 0x1002154
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002b7b
test ebx, ebx
jl 0x10186e2
push edi
lea ecx, [ebp - 0x1c]
call fcn.0101e4ea
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push 0x100207c
push eax
mov byte [ebp - 4], 2
call fcn.010165cd
mov edi, dword [ebp - 0x1c]
add esp, 0xc
push 1
push edi
push 0x100204c
lea ecx, [ebp - 0x14]
call fcn.01015b5f
mov ecx, dword [0x1029044]
cmp ecx, esi
je 0x10186da
test byte [ecx + 0x1c], 8
je 0x10186da
cmp byte [ecx + 0x19], 4
jb 0x10186da
push eax
push 0x1002154
push 0x3e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b7b
lea ecx, [edi - 0x10]
call fcn.01003026
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.01003026
mov ebx, dword [ebp - 0x24]
mov edi, 0x1002154
jmp 0x101872a
push 0x100204c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [0x1029044]
cmp ecx, esi
je 0x1018730
test byte [ecx + 0x1c], 8
je 0x1018730
cmp byte [ecx + 0x19], 4
jb 0x1018730
push eax
push edi
push 0x3f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b7b
mov ecx, dword [0x1029044]
mov eax, dword [ebx + 0x5c]
dec eax
je 0x1018782
dec eax
je 0x101875f
dec eax
jne 0x10187af
cmp ecx, esi
je 0x101875a
test byte [ecx + 0x1c], 8
je 0x101875a
cmp byte [ecx + 0x19], 4
jb 0x101875a
push edi
push 0x42
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b55
push dword [ebx + 0x4c]
jmp 0x10187a3
cmp ecx, esi
je 0x101877d
test byte [ecx + 0x1c], 8
je 0x101877d
cmp byte [ecx + 0x19], 4
jb 0x101877d
push edi
push 0x41
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b55
push dword [ebx + 0x48]
jmp 0x10187a3
cmp ecx, esi
je 0x10187a0
test byte [ecx + 0x1c], 8
je 0x10187a0
cmp byte [ecx + 0x19], 4
jb 0x10187a0
push edi
push 0x40
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b55
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x1029044]
cmp ecx, esi
je 0x10187cd
test byte [ecx + 0x1c], 4
je 0x10187cd
cmp byte [ecx + 0x19], 5
jb 0x10187cd
push edi
push 0x43
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01002b55
lea ecx, [ebp - 0x14]
call fcn.01005b81
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10