Function at 0x10089d10
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015fe12
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x428], edx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x42c], ecx
test eax, eax
je 0x1008a2ba
cmp dword [ebp + 8], 0
je 0x1008a1fc
push eax
lea ecx, [ebp - 0x424]
call fcn.1000b130
mov eax, dword [ebp - 0x424]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jl 0x10089db7
test ecx, ecx
js 0x1008a2d8
cmp word [eax], 0x22
jne 0x10089db7
push 1
push 0
lea ecx, [ebp - 0x424]
call fcn.10089ad0
mov eax, dword [ebp - 0x424]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x10089de7
lea ecx, [edx - 1]
test ecx, ecx
js 0x1008a2d8
cmp ecx, edx
jg 0x1008a2d8
cmp word [eax + ecx*2], 0x22
jne 0x10089de7
push 1
push ecx
lea ecx, [ebp - 0x424]
call fcn.10089ad0
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1008a2e2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x45c], edi
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1008a2ec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x458], eax
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1008a2f6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x454], eax
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1008a300
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 1
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1008a30a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x444], eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 2
push 0x10179dec
push eax
call fcn.10012500
mov eax, dword [ebp - 0x444]
add edi, 0xfffffff0
add esp, 0xc
or ebx, 0xffffffff
lea edx, [eax - 0x10]
mov dword [ebp - 0x440], edx
cmp edx, edi
je 0x10089f04
cmp dword [edi + 0xc], 0
jl 0x10089ef5
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x10089ef5
push edx
call fcn.1000bc60
add esp, 4
mov dword [ebp - 0x430], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10089eea
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x430]
add eax, 0x10
mov dword [ebp - 0x45c], eax
jmp 0x10089f04
push dword [eax - 0xc]
lea ecx, [ebp - 0x45c]
push eax
call fcn.1000adf0
mov edx, dword [str._autorun___fromtask]
test edx, edx
jne 0x10089f12
xor ecx, ecx
jmp 0x10089f26
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10089f17
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x454]
call fcn.1000adf0
mov eax, dword [ebp - 0x42c]
test eax, eax
mov edx, dword [str.dk_rg]
cmovne edx, eax
test edx, edx
jne 0x10089f4c
xor ecx, ecx
jmp 0x10089f60
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10089f51
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.1000adf0
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x45c]
push eax
mov eax, dword [str.YxhGametray]
test esi, esi
mov dword [ebp - 0x44c], 0x3c
cmovne eax, esi
push eax
call fcn.10088150
mov edi, dword [ebp - 0x454]
test eax, eax
je 0x10089fae
push dword [ebp - 0x448]
push str.Add_auto_run_task_schedule_success___s
jmp 0x1008a139
mov eax, dword [str.YxhGametray]
test esi, esi
mov dword [ebp - 0x43c], 0
cmovne eax, esi
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x434], 0
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.1001c690
test eax, eax
jne 0x1008a119
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x1008a314
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
push edi
push dword [ebp - 0x45c]
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 4
push str._s__s
push eax
call fcn.10012500
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100ec480
add esp, 0x1c
mov dword [ebp - 0x428], 0x208
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x460]
push eax
push 0
push dword [ebp - 0x430]
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1008a0aa
mov eax, dword [ebp - 0x460]
cmp eax, 1
je 0x1008a098
cmp eax, 2
jne 0x1008a0aa
cmp dword [ebp - 0x428], 0
jne 0x1008a0aa
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1010927f
add esp, 8
test eax, eax
je 0x1008a0fe
test esi, esi
je 0x1008a0fe
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008a0d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp - 0x430]
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1008a119
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x43c]
mov byte [ebp - 4], 2
test eax, eax
je 0x1008a12e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x448]
push str.Add_auto_run_register___s
call fcn.1004a190
mov edx, dword [ebp - 0x440]
add esp, 8
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008a15f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x450]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008a180
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1008a197
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x458]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008a1b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x45c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008a1d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1008a2b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1008a2b5
mov eax, dword [str.YxhGametray]
test esi, esi
push 0
cmovne eax, esi
mov ecx, edx
push eax
call fcn.10089350
mov eax, dword [ebp - 0x440]
test eax, eax
mov esi, dword [str.YxhGametray]
push 0x208
cmovne esi, eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 5
call fcn.1001c690
test eax, eax
jne 0x1008a2a4
lea eax, [ebp - 0x420]
push eax
push esi
push str.CAutoRunManager::DelAutoRunRegistry_delete_autorun_reg__s___s
call fcn.1004a190
add esp, 0xc
push esi
mov esi, dword [ebp - 0x43c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x1008a2b5
push esi
jmp 0x1008a2af
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x1008a2b5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x14
push 0x80070057
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3