Function at 0x10028e04
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7ea1
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.100c7470
mov eax, dword [0x100cea68]
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 eax, ecx
mov dword [ebp - 0x2220], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2224], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x223c], ecx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ecx
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x10029489
jmp 0x10029444
push 0x100059a8
push edi
mov dword [ebp - 0x2228], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x1000597c
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x221c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10028ebb
test esi, esi
je 0x10028f5b
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x1002947e
cmp dword [ebp + 0x10], 0
je 0x10028f5b
xor eax, eax
mov ecx, edi
push 0x5c
pop edx
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], eax
call fcn.10028478
test eax, eax
jne 0x10029479
push edi
call fcn.10028a57
test eax, eax
je 0x10028f2b
mov eax, dword [ebp - 0x2224]
lea ecx, [ebp - 0x2248]
push edi
mov dword [ebp - 0x2248], eax
call fcn.10028a88
xor eax, eax
mov dword [ebp - 0x2248], eax
cmp dword [ebp - 0x221c], 0
je 0x10028f5b
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x1002947e
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.100289ee
jmp 0x100291dc
push 0x10005994
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10028f87
mov ecx, dword [ebp - 0x2220]
push edi
mov dword [ebp - 0x2228], eax
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x1002947e
push 0x10005974
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100290b7
mov ecx, dword [ebp - 0x2220]
lea eax, [ebp - 0x2218]
push eax
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x1002947e
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x1002947e
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10029479
cmp dword [ebp + 0x10], 0
je 0x10029031
xor eax, eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x2220]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2254]
push eax
call fcn.10028537
mov esi, eax
xor eax, eax
mov dword [ebp - 0x2254], eax
test esi, esi
js 0x1002947e
mov byte [ebp - 4], al
jmp 0x100291e6
cmp dword [ebp + 0x14], 0
jne 0x1002909c
cmp dword [ebp - 0x2228], 0
je 0x1002909c
lea eax, [ebp - 0x221c]
xor ecx, ecx
push eax
push 0x20006
push ecx
push ecx
push dword [ebp - 0x2224]
mov dword [ebp - 0x221c], ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002946e
mov esi, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
push esi
mov dword [ebp - 0x2228], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, eax
je 0x10029091
cmp eax, 2
jne 0x10029452
test esi, esi
je 0x1002909c
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.100289ee
mov esi, eax
test esi, esi
js 0x1002947e
jmp 0x10029444
push 0x5c
pop edx
mov ecx, edi
call fcn.10028478
test eax, eax
jne 0x10029479
cmp dword [ebp + 0x10], eax
je 0x10029241
mov esi, dword [ebp - 0x2224]
lea eax, [ebp - 0x221c]
push eax
push 0x2001f
xor ecx, ecx
push ecx
push edi
push esi
mov dword [ebp - 0x221c], ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x10029118
test ebx, ebx
je 0x10029104
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2238], ebx
test eax, eax
je 0x100291a2
lea eax, [ebp - 0x221c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push edi
push esi
mov dword [ebp - 0x221c], ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x10029154
test ebx, ebx
je 0x10029144
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2238], ebx
test eax, eax
je 0x100291a2
lea eax, [ebp - 0x2264]
xor ecx, ecx
push eax
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], ecx
push eax
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002946e
test ebx, ebx
je 0x1002918e
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2238], ebx
test eax, eax
jne 0x1002946e
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x1002947e
push 0x3d
pop eax
cmp word [edi], ax
jne 0x100291e6
mov ecx, dword [ebp - 0x2220]
xor eax, eax
push edi
push eax
lea eax, [ebp - 0x2238]
push eax
call fcn.10028537
mov ebx, dword [ebp - 0x2238]
mov esi, eax
test esi, esi
js 0x1002947e
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10029444
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x223c]
jne 0x100291f7
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10029444
mov ecx, dword [ebp - 0x2220]
xor eax, eax
push eax
push dword [ebp + 0x10]
push ebx
push edi
call fcn.10028e04
mov esi, eax
test esi, esi
js 0x1002947e
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.10028ca2
jmp 0x100290a8
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x10029299
lea eax, [ebp - 0x221c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push edi
push dword [ebp - 0x2224]
mov dword [ebp - 0x221c], ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov dword [ebp - 0x222c], eax
test eax, eax
jne 0x100292a2
mov dword [ebp - 0x222c], eax
test ebx, ebx
je 0x1002928b
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [ebp - 0x222c], eax
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2238], ebx
jmp 0x100292a2
push 2
pop eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x221c], esi
test eax, eax
je 0x100292b6
mov dword [ebp - 0x221c], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
mov ecx, eax
call fcn.100289bb
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x1002947e
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.100289ee
mov esi, eax
test esi, esi
js 0x1002947e
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10029365
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x223c]
jne 0x1002930e
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10029365
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2220]
xor eax, eax
push eax
push ebx
push edi
call fcn.10028e04
mov esi, eax
test esi, esi
jns 0x1002934f
cmp dword [ebp - 0x221c], 0
je 0x1002947e
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.10028ca2
mov esi, eax
test esi, esi
js 0x1002947e
mov ecx, dword [ebp - 0x222c]
cmp ecx, 2
je 0x10029444
test ecx, ecx
je 0x10029387
cmp dword [ebp + 0x14], 0
je 0x10029470
jmp 0x10029444
cmp dword [ebp + 0x14], 0
je 0x100293d2
push ebx
call fcn.10028b96
test eax, eax
je 0x100293d2
lea eax, [ebp - 0x218]
push eax
call fcn.10028a57
test eax, eax
je 0x10029444
cmp dword [ebp - 0x2228], 0
je 0x10029444
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2238]
call fcn.10028a88
mov ebx, dword [ebp - 0x2238]
jmp 0x10029444
push ebx
call fcn.10028b96
mov dword [ebp - 0x221c], eax
test ebx, ebx
je 0x100293ff
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x2238], ebx
test eax, eax
jne 0x1002946e
mov eax, dword [ebp - 0x221c]
jmp 0x10029401
xor ecx, ecx
cmp dword [ebp - 0x2228], 0
je 0x10029444
test eax, eax
jne 0x10029444
mov eax, dword [ebp - 0x2224]
mov dword [ebp - 0x2260], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x225c], ecx
mov dword [ebp - 0x2258], ecx
lea ecx, [ebp - 0x2260]
push eax
call fcn.10028be6
xor ecx, ecx
mov dword [ebp - 0x2260], ecx
test eax, eax
jne 0x1002946e
push 0x7d
pop eax
cmp word [edi], ax
jne 0x10028e82
jmp 0x1002947e
mov ecx, eax
call fcn.10028c92
mov esi, eax
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x1002947e
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x1002947e
mov ecx, eax
call fcn.10028c92
mov esi, eax
jmp 0x1002947e
mov esi, 0x80020009
test ebx, ebx
je 0x10029489
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
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.100c6890
mov esp, ebp
pop ebp
ret 0x10