Function at 0x1002ba48
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021463
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.1001f9d0
mov eax, dword [0x10061338]
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 - 0x221c], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2220], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002c004
jmp 0x1002bfb0
push 0x1000eb54
push edi
mov dword [ebp - 0x2224], 1
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
neg eax
push 0x1000eb28
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x1002baf9
test ebx, ebx
je 0x1002bb8e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002bff3
cmp dword [ebp + 0x10], 0
je 0x1002bb8e
xor eax, eax
mov ecx, edi
push 0x5c
pop edx
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
call fcn.1002d438
test eax, eax
jne 0x1002bfee
push edi
call fcn.100279ec
test eax, eax
je 0x1002bb65
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2254]
push edi
mov dword [ebp - 0x2254], eax
call fcn.1002b67e
xor eax, eax
mov dword [ebp - 0x2254], eax
test ebx, ebx
je 0x1002bb8e
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002bff3
push edi
mov ecx, ebx
call fcn.1002d3b0
jmp 0x1002bd7e
push 0x1000eb40
push edi
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x221c]
test eax, eax
jne 0x1002bbbc
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], eax
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002bff3
push 0x1000eb20
push edi
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
jne 0x1002bced
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002bff3
push edi
mov ecx, ebx
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002bff3
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1002bfee
cmp dword [ebp + 0x10], 0
je 0x1002bc5a
xor eax, eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov eax, dword [ebp - 0x2220]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2260], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2260]
push eax
call fcn.1002717f
mov esi, eax
xor eax, eax
mov dword [ebp - 0x2260], eax
test esi, esi
js 0x1002bff3
mov byte [ebp - 4], al
jmp 0x1002bd88
cmp dword [ebp + 0x14], 0
jne 0x1002bcd6
cmp dword [ebp - 0x2224], 0
je 0x1002bcd6
xor eax, eax
lea ecx, [ebp - 0x2244]
push 0x20006
push eax
push dword [ebp - 0x2220]
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], eax
call fcn.1002ada9
test eax, eax
jne 0x1002bfd4
mov ebx, dword [ebp - 0x2244]
lea eax, [ebp - 0x2218]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, eax
je 0x1002bcbd
cmp eax, 2
jne 0x1002bfbe
test ebx, ebx
je 0x1002bcd0
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x2244], eax
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.1002d3b0
mov esi, eax
test esi, esi
js 0x1002bff3
jmp 0x1002bfb0
push 0x5c
pop edx
mov ecx, edi
call fcn.1002d438
test eax, eax
jne 0x1002bfee
cmp dword [ebp + 0x10], eax
je 0x1002bde0
mov esi, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2234]
push 0x2001f
push edi
push esi
call fcn.1002ada9
test eax, eax
je 0x1002bd52
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2234]
call fcn.1002ada9
test eax, eax
je 0x1002bd52
sub esp, 0x14
lea ecx, [ebp - 0x2234]
push edi
push esi
call fcn.10027e13
test eax, eax
jne 0x1002beeb
push edi
mov ecx, ebx
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002bff3
push 0x3d
pop eax
cmp word [edi], ax
jne 0x1002bd88
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x2234]
push eax
call fcn.1002717f
mov esi, eax
test esi, esi
js 0x1002bff3
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1002bfb0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2248]
jne 0x1002bd99
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1002bfb0
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2234]
push edi
call fcn.1002ba48
mov esi, eax
test esi, esi
js 0x1002bff3
push edi
mov ecx, ebx
call fcn.1002aa5e
jmp 0x1002bcde
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x1002be00
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2234]
call fcn.1002ada9
jmp 0x1002be03
push 2
pop eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2238], esi
test eax, eax
je 0x1002be1d
mov dword [ebp - 0x2238], 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.10027900
push edi
mov ecx, ebx
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002bff3
push edi
mov ecx, ebx
call fcn.1002d3b0
mov esi, eax
test esi, esi
js 0x1002bff3
push 0x7b
pop eax
cmp word [edi], ax
jne 0x1002bec8
mov ecx, edi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1002be6f
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x1002bec8
push dword [ebp - 0x2238]
mov ecx, dword [ebp - 0x221c]
push ebx
mov ebx, dword [ebp - 0x2234]
push ebx
push edi
call fcn.1002ba48
mov esi, eax
test esi, esi
jns 0x1002beb0
cmp dword [ebp - 0x2238], 0
je 0x1002bff3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1002aa5e
mov esi, eax
test esi, esi
js 0x1002bff3
jmp 0x1002bece
mov ebx, dword [ebp - 0x2234]
mov eax, dword [ebp - 0x2228]
cmp eax, 2
je 0x1002bfb0
test eax, eax
je 0x1002bef9
cmp dword [ebp + 0x14], 0
jne 0x1002bfb0
mov ecx, eax
call fcn.10027946
mov esi, eax
jmp 0x1002bff3
cmp dword [ebp + 0x14], 0
je 0x1002bf3e
push ebx
call fcn.10029f65
test eax, eax
je 0x1002bf3e
lea eax, [ebp - 0x218]
push eax
call fcn.100279ec
test eax, eax
je 0x1002bfb0
cmp dword [ebp - 0x2224], 0
je 0x1002bfb0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2234]
call fcn.1002b67e
jmp 0x1002bfb0
push ebx
call fcn.10029f65
mov dword [ebp - 0x2228], eax
test ebx, ebx
je 0x1002bf69
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x2234], ebx
test eax, eax
jne 0x1002beeb
mov eax, dword [ebp - 0x2228]
jmp 0x1002bf6b
xor ebx, ebx
cmp dword [ebp - 0x2224], 0
je 0x1002bfb0
test eax, eax
jne 0x1002bfb0
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x226c]
mov dword [ebp - 0x226c], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
call fcn.10028b96
mov dword [ebp - 0x226c], ebx
test eax, eax
jne 0x1002beeb
push 0x7d
pop eax
cmp word [edi], ax
jne 0x1002bac6
jmp 0x1002bff3
mov ecx, eax
call fcn.10027946
mov esi, eax
test ebx, ebx
je 0x1002bff3
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x1002bff3
mov ecx, eax
call fcn.10027946
cmp dword [ebp - 0x2244], 0
mov esi, eax
je 0x1002bff3
push dword [ebp - 0x2244]
jmp 0x1002bfcc
mov esi, 0x80020009
mov eax, dword [ebp - 0x2234]
test eax, eax
je 0x1002c004
push eax
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.1001bb80
leave
ret 0x10