Function at 0x100896d
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10290b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1002f50
mov esi, ecx
call fcn.01015707
xor ebx, ebx
cmp word [esi + 0x83c], bx
pop ecx
je 0x1008a50
lea eax, [esi + 0xc4c]
cmp word [eax], bx
jne 0x10089c1
push 0x104
push eax
lea eax, [esi + 0x634]
push eax
call fcn.01019a47
add esp, 0xc
lea eax, [esi + 0x634]
push eax
lea eax, [esi + 0x83c]
push eax
lea eax, [esi + 0xc4c]
push eax
lea edi, [esi + 0xe54]
push 0x104
push edi
call fcn.0101845b
push edi
push 0x1002f38
mov dword [ebp - 0x418], eax
call fcn.010157ba
add esp, 0x1c
cmp dword [ebp - 0x418], ebx
je 0x1008a50
cmp word [edi], bx
jne 0x1008a50
mov ecx, esi
call fcn.0100705d
test eax, eax
jne 0x1008a49
push 0x4c8
push dword [esi + 0x1274]
push dword [esi + 0x428]
call fcn.0100662c
add esp, 0xc
test eax, eax
jne 0x1008a49
push ebx
push 0x100152c
push 0x10021c8
push dword [esi + 0x428]
call fcn.01015a26
add esp, 0x10
xor eax, eax
jmp 0x1008c61
cmp dword [ebp + 8], ebx
jne 0x1008ae7
mov ecx, esi
call fcn.01007c7f
test eax, eax
je 0x1008a49
mov ecx, esi
call fcn.01007148
test eax, eax
je 0x1008a49
mov ecx, esi
call fcn.01007aba
test eax, eax
je 0x1008a49
mov ecx, esi
call fcn.01007796
test eax, eax
je 0x1008a49
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push ebx
lea eax, [esi + 0x106c]
push eax
push 0x80000001
mov dword [ebp - 0x418], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008ae7
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x1002674
push dword [ebp - 0x418]
call edi
push 0x1002664
push dword [ebp - 0x418]
call edi
push 0x1002650
push dword [ebp - 0x418]
call edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.01005791
cmp word [esi + 0xa44], bx
je 0x1008b03
cmp dword [eax + 0x18], ebx
jne 0x1008b03
push 2
mov ecx, esi
call fcn.010072b8
cmp dword [ebp + 8], 1
je 0x1008a49
mov edi, 0x208
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.01009000
add esp, 0xc
push 0x1002f08
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.0100579c
test eax, eax
push edi
push ebx
je 0x1008b53
lea eax, [ebp - 0x414]
push eax
call fcn.01009000
add esp, 0xc
jmp 0x1008bdc
lea eax, [ebp - 0x20c]
push eax
call fcn.01009000
lea eax, [esi + 0x634]
add esp, 0xc
cmp word [eax], bx
jne 0x1008b73
lea eax, [esi + 0x42c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0100579c
test eax, eax
je 0x1008b9a
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.01009000
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jle 0x1008bdc
xor edx, edx
lea ecx, [ebp + edx*2 - 0x20c]
cmp word [ecx], 0x5c
jne 0x1008bbf
mov word [ecx], 0x2f
inc edx
cmp edx, eax
jl 0x1008bad
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.010057d6
lea eax, [ebp - 0x414]
push eax
push 0x1002ef0
call fcn.010157ba
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [esi + 0x1280], eax
je 0x1008a49
push 0x1002ec8
call fcn.01015707
pop ecx
push dword [esi + 0x1280]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x41c]
push eax
push ebx
push esi
push 0x1008942
push ebx
push ebx
mov dword [ebp - 0x41c], ebx
call fcn.01009c95
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x127c], eax
jne 0x1008c5e
push dword [esi + 0x1280]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1008a49
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01008fe1
leave
ret 4