Function at 0x41088d
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414d7f
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.004140d0
mov eax, dword [0x41f7d0]
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 dword [ebp - 0x2244], ecx
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
jmp 0x410c20
push 0x401f8c
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 0x401f60
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 0x41092c
test ebx, ebx
je 0x4109dd
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00410194
mov esi, eax
test esi, esi
js 0x410e14
cmp dword [ebp + 0x10], 0
je 0x4109dd
xor eax, eax
mov ecx, edi
push 0x5c
pop edx
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], eax
call fcn.00411218
test eax, eax
jne 0x410e04
push edi
call fcn.0040f0db
test eax, eax
je 0x41099c
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2240]
push edi
mov dword [ebp - 0x2240], eax
call fcn.00410523
xor eax, eax
mov dword [ebp - 0x2240], eax
test ebx, ebx
je 0x4109d2
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.00410194
mov esi, eax
test esi, esi
js 0x410dfc
push edi
mov ecx, ebx
call fcn.004111ab
lea ecx, [ebp - 0x2240]
mov esi, eax
call fcn.00417d63
jmp 0x410bcb
lea ecx, [ebp - 0x2240]
call fcn.00417d63
push 0x401f78
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 0x410a0b
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], eax
call fcn.00410194
mov esi, eax
test esi, esi
js 0x410e14
push 0x401f58
push edi
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
jne 0x410b38
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00410194
mov esi, eax
test esi, esi
js 0x410e14
push edi
mov ecx, ebx
call fcn.00410194
mov esi, eax
test esi, esi
js 0x410e14
push 0x3d
pop eax
cmp word [edi], ax
jne 0x410e0f
cmp dword [ebp + 0x10], 0
je 0x410ab4
xor eax, eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
mov eax, dword [ebp - 0x2220]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x225c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x225c]
push eax
call fcn.0040eb99
mov esi, eax
lea ecx, [ebp - 0x225c]
xor eax, eax
mov dword [ebp - 0x225c], eax
test esi, esi
js 0x410e4c
mov byte [ebp - 4], al
call fcn.00417d63
jmp 0x410bd3
cmp dword [ebp + 0x14], 0
jne 0x410b21
cmp dword [ebp - 0x2224], 0
je 0x410b21
xor eax, eax
lea ecx, [ebp - 0x2250]
push 0x20006
push eax
push dword [ebp - 0x2220]
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
call fcn.0041030e
test eax, eax
jne 0x410e3d
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2250]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test eax, eax
je 0x410b16
cmp eax, 2
jne 0x410e3d
lea ecx, [ebp - 0x2250]
call fcn.00417d63
push edi
mov ecx, ebx
call fcn.004111ab
mov esi, eax
test esi, esi
js 0x410e14
jmp 0x410dee
push 0x5c
pop edx
mov ecx, edi
call fcn.00411218
test eax, eax
jne 0x410e0f
cmp dword [ebp + 0x10], eax
je 0x410c2b
mov esi, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push esi
call fcn.0041030e
test eax, eax
je 0x410b9d
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2230]
call fcn.0041030e
test eax, eax
je 0x410b9d
sub esp, 0x14
lea ecx, [ebp - 0x2230]
push edi
push esi
call fcn.0040f198
test eax, eax
jne 0x410e62
push edi
mov ecx, ebx
call fcn.00410194
mov esi, eax
test esi, esi
js 0x410e14
push 0x3d
pop eax
cmp word [edi], ax
jne 0x410bd3
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x2230]
push eax
call fcn.0040eb99
mov esi, eax
test esi, esi
js 0x410e14
push 0x7b
pop eax
cmp word [edi], ax
jne 0x410dee
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2244]
jne 0x410be4
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x410dee
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.0041088d
mov esi, eax
test esi, esi
js 0x410e14
mov ecx, ebx
push edi
call fcn.00410194
jmp 0x410b29
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x410c57
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
call fcn.0041030e
mov ebx, eax
mov dword [ebp - 0x2234], esi
test ebx, ebx
jne 0x410c5a
jmp 0x410c64
push 2
pop ebx
mov dword [ebp - 0x2234], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcsncpy_s]
add esp, 0x10
mov ecx, eax
call fcn.00417bea
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00410194
mov esi, eax
test esi, esi
js 0x410e14
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004111ab
mov esi, eax
test esi, esi
js 0x410e14
push 0x7b
pop eax
cmp word [edi], ax
jne 0x410d18
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2244]
jne 0x410cbc
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x410d18
push dword [ebp - 0x2234]
mov ecx, dword [ebp - 0x221c]
xor eax, eax
push eax
push dword [ebp - 0x2230]
push edi
call fcn.0041088d
mov esi, eax
test esi, esi
jns 0x410d02
cmp dword [ebp - 0x2234], 0
je 0x410e14
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00410194
mov esi, eax
test esi, esi
js 0x410e14
cmp ebx, 2
je 0x410dee
test ebx, ebx
je 0x410d3d
cmp dword [ebp + 0x14], 0
jne 0x410dee
mov ecx, ebx
call fcn.00417c23
mov esi, eax
jmp 0x410e14
cmp dword [ebp + 0x14], 0
je 0x410d83
push dword [ebp - 0x2230]
call fcn.004183b5
test eax, eax
je 0x410d83
lea eax, [ebp - 0x218]
push eax
call fcn.0040f0db
test eax, eax
je 0x410dee
cmp dword [ebp - 0x2224], 0
je 0x410dee
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00410523
jmp 0x410dee
push dword [ebp - 0x2230]
call fcn.004183b5
lea ecx, [ebp - 0x2230]
mov ebx, eax
call fcn.00417d63
test eax, eax
jne 0x410e62
cmp dword [ebp - 0x2224], eax
je 0x410dee
test ebx, ebx
jne 0x410dee
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2268]
mov dword [ebp - 0x2268], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
call fcn.0040f33d
mov dword [ebp - 0x2268], ebx
test eax, eax
jne 0x410e53
lea ecx, [ebp - 0x2268]
call fcn.00417d63
push 0x7d
pop eax
cmp word [edi], ax
jne 0x4108f9
jmp 0x410e14
lea ecx, [ebp - 0x2240]
jmp 0x410e4c
lea ecx, [ebp - 0x2240]
call fcn.00417d63
mov esi, 0x80020009
lea ecx, [ebp - 0x2230]
call fcn.00417d63
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.0040aec0
leave
ret 0x10
mov ecx, eax
call fcn.00417c23
lea ecx, [ebp - 0x2250]
mov esi, eax
call fcn.00417d63
jmp 0x410e14
mov ecx, eax
call fcn.00417c23
lea ecx, [ebp - 0x2268]
jmp 0x410e4a
mov ecx, eax
jmp 0x410d31