Function at 0x41b303
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4635a5
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.0043f960
mov eax, dword [0x483dc8]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2220], eax
xor eax, eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2264], eax
push edi
mov ecx, ebx
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b8a6
push 0x7d
pop eax
cmp word [edi], ax
je 0x41b8a6
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x223c], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push 0x475f40
inc esi
push edi
mov dword [ebp - 0x221c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41b3b9
test esi, esi
je 0x41b485
push edi
mov ecx, ebx
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b8a6
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x41b487
push 0x5c
push edi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
call fcn.0041d7dd
pop ecx
pop ecx
test eax, eax
jne 0x41b896
push edi
mov ecx, ebx
call fcn.004141dd
test eax, eax
je 0x41b43c
mov eax, dword [ebp - 0x2220]
push edi
lea ecx, [ebp - 0x2238]
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
call fcn.0041af3f
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
cmp dword [ebp - 0x221c], esi
je 0x41b478
push edi
mov ecx, ebx
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b88e
push edi
mov ecx, ebx
call fcn.0041d622
lea ecx, [ebp - 0x2238]
mov esi, eax
call fcn.004013a0
test esi, esi
js 0x41b8a6
jmp 0x41b84a
lea ecx, [ebp - 0x2238]
call fcn.004013a0
jmp 0x41b487
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41b4af
push edi
mov ecx, ebx
mov dword [ebp - 0x223c], esi
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b8a6
push 0x475f38
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41b5db
lea eax, [ebp - 0x2218]
push eax
mov ecx, ebx
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b8a6
push edi
mov ecx, ebx
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b8a6
push 0x3d
pop eax
cmp word [edi], ax
jne 0x41b8a1
cmp dword [ebp + 0x10], 0
je 0x41b561
and dword [ebp - 0x2250], 0
and dword [ebp - 0x224c], 0
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2254], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2254]
push eax
mov ecx, ebx
call fcn.004136d6
mov esi, eax
xor eax, eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
lea ecx, [ebp - 0x2254]
test esi, esi
js 0x41b8de
mov byte [ebp - 4], al
jmp 0x41b845
cmp dword [ebp + 0x14], 0
jne 0x41b5ce
cmp dword [ebp - 0x223c], 0
je 0x41b5ce
xor eax, eax
push 0x20006
push eax
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2260]
mov dword [ebp - 0x2260], eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
call fcn.004013d0
test eax, eax
jne 0x41b8cf
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41b5c3
cmp eax, 2
jne 0x41b8cf
lea ecx, [ebp - 0x2260]
call fcn.004013a0
push edi
mov ecx, ebx
call fcn.0041d622
jmp 0x41b36b
push 0x5c
push edi
call fcn.0041d7dd
pop ecx
pop ecx
test eax, eax
jne 0x41b8a1
cmp dword [ebp + 0x10], eax
je 0x41b67e
mov esi, dword [ebp - 0x2220]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.004013d0
test eax, eax
je 0x41b648
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.004013d0
test eax, eax
je 0x41b648
xor eax, eax
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.0040b41a
test eax, eax
jne 0x41b760
push edi
mov ecx, ebx
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b8a6
push 0x3d
pop eax
cmp word [edi], ax
jne 0x41b84a
push edi
push 0
lea eax, [ebp - 0x222c]
push eax
mov ecx, ebx
call fcn.004136d6
mov esi, eax
jmp 0x41b46b
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x41b69e
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.004013d0
jmp 0x41b6a1
push 2
pop eax
push 1
test eax, eax
mov dword [ebp - 0x221c], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.0043ff6b
push eax
call fcn.00413d9a
add esp, 0x14
mov ecx, ebx
push edi
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b8a6
push edi
mov ecx, ebx
call fcn.0041d622
mov esi, eax
test esi, esi
js 0x41b8a6
push 0x7b
pop eax
cmp word [edi], ax
jne 0x41b73c
push edi
call fcn.0042b990
pop ecx
cmp eax, 1
jne 0x41b73c
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x222c]
push edi
call fcn.0041b303
mov esi, eax
test esi, esi
jns 0x41b72a
cmp dword [ebp + 0x14], 0
je 0x41b8a6
push edi
mov ecx, ebx
call fcn.004180b7
mov esi, eax
test esi, esi
js 0x41b8a6
mov eax, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2264]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x41b375
test eax, eax
je 0x41b76e
test ecx, ecx
jne 0x41b375
push eax
call fcn.00413e0a
pop ecx
mov esi, eax
jmp 0x41b8a6
test ecx, ecx
je 0x41b7bd
push dword [ebp - 0x222c]
mov ecx, ebx
call fcn.00416688
test eax, eax
je 0x41b7bd
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.004141dd
test eax, eax
je 0x41b375
cmp dword [ebp - 0x223c], 0
je 0x41b375
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.0041af3f
jmp 0x41b375
push dword [ebp - 0x222c]
mov ecx, ebx
call fcn.00416688
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x221c], eax
call fcn.004013a0
test eax, eax
jne 0x41b760
cmp dword [ebp - 0x223c], eax
je 0x41b375
cmp dword [ebp - 0x221c], eax
jne 0x41b375
mov eax, dword [ebp - 0x2220]
and dword [ebp - 0x2244], 0
and dword [ebp - 0x2240], 0
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2248]
call fcn.00414ea5
xor ecx, ecx
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x2244], ecx
mov dword [ebp - 0x2240], ecx
test eax, eax
jne 0x41b8e5
lea ecx, [ebp - 0x2248]
call fcn.004013a0
cmp dword [ebp + 0x10], 0
je 0x41b375
push 0x7b
pop eax
cmp word [edi], ax
jne 0x41b375
push edi
call fcn.0042b990
pop ecx
cmp eax, 1
jne 0x41b375
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x222c]
push edi
call fcn.0041b303
mov esi, eax
test esi, esi
js 0x41b8a6
jmp 0x41b363
lea ecx, [ebp - 0x2238]
jmp 0x41b8de
lea ecx, [ebp - 0x2238]
call fcn.004013a0
mov esi, 0x80020009
lea ecx, [ebp - 0x222c]
call fcn.004013a0
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.0043df43
leave
ret 0x10
push eax
call fcn.00413e0a
pop ecx
lea ecx, [ebp - 0x2260]
mov esi, eax
call fcn.004013a0
jmp 0x41b8a6
push eax
call fcn.00413e0a
pop ecx
lea ecx, [ebp - 0x2248]
jmp 0x41b8dc