Function at 0x404529
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430765
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.0042e8e0
mov eax, dword [0x43c4b0]
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, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2268], eax
jmp 0x404aea
push 0x432638
push edi
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push 0x43265c
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4045cb
cmp esi, ebx
je 0x4046a8
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b66
cmp dword [ebp + 0x10], ebx
je 0x4046a8
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
push 0x5c
push edi
mov byte [ebp - 4], 1
call fcn.00402929
pop ecx
pop ecx
test eax, eax
jne 0x404b02
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402ab4
test eax, eax
je 0x404658
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
call fcn.004032a5
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
cmp dword [ebp - 0x2220], ebx
je 0x40469a
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b14
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402b18
lea ecx, [ebp - 0x2240]
mov esi, eax
cmp esi, ebx
jl 0x404b61
mov byte [ebp - 4], bl
jmp 0x404aa8
lea ecx, [ebp - 0x2240]
mov byte [ebp - 4], bl
call fcn.004025f5
push 0x432648
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4046d4
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], ebx
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b66
push 0x432674
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4047fd
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b66
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b66
cmp word [edi], 0x3d
jne 0x404b0d
cmp dword [ebp + 0x10], ebx
je 0x40477c
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2258], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2258]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
call fcn.0040419c
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
lea ecx, [ebp - 0x2258]
jmp 0x404688
cmp dword [ebp + 0x14], ebx
jne 0x4047ec
cmp dword [ebp - 0x2234], ebx
je 0x4047ec
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
mov dword [ebp - 0x225c], ebx
push 0x20006
push ebx
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2264]
mov byte [ebp - 4], 3
call fcn.00402678
cmp eax, ebx
jne 0x404b1c
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2264]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x4047de
cmp eax, 2
jne 0x404b1c
lea ecx, [ebp - 0x2264]
mov byte [ebp - 4], bl
call fcn.004025f5
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402b18
jmp 0x404af0
push 0x5c
push edi
call fcn.00402929
pop ecx
pop ecx
test eax, eax
jne 0x404b0d
cmp dword [ebp + 0x10], ebx
je 0x4048b3
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00402678
test eax, eax
je 0x404870
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00402678
test eax, eax
je 0x404870
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00402610
mov esi, eax
cmp esi, ebx
jne 0x404b2b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b66
cmp word [edi], 0x3d
jne 0x404aad
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x2230]
push eax
call fcn.0040419c
mov esi, eax
cmp esi, ebx
jl 0x404b66
jmp 0x404aad
cmp dword [ebp + 0x14], ebx
jne 0x4048d7
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00402678
mov dword [ebp - 0x2220], eax
jmp 0x4048e1
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x4048f0
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
push eax
call fcn.0040208a
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b66
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00402b18
mov esi, eax
cmp esi, ebx
jl 0x404b66
cmp word [edi], 0x7b
jne 0x404987
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x404987
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x2230]
push edi
call fcn.00404529
mov esi, eax
cmp esi, ebx
jge 0x404971
cmp dword [ebp + 0x14], ebx
je 0x404b66
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b66
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x2268]
mov dword [ebp + 0x14], eax
je 0x404af6
cmp dword [ebp - 0x2220], ebx
je 0x4049c0
cmp eax, ebx
jne 0x404af6
push dword [ebp - 0x2220]
call fcn.00402120
pop ecx
mov esi, eax
jmp 0x404b66
cmp eax, ebx
je 0x404a16
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.00402ae3
test eax, eax
je 0x404a16
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.00402ab4
test eax, eax
je 0x404af6
cmp dword [ebp - 0x2234], ebx
je 0x404af6
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.004032a5
jmp 0x404af6
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.00402ae3
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x226c], eax
call fcn.004025f5
mov dword [ebp - 0x2220], eax
cmp eax, ebx
jne 0x404b3f
cmp dword [ebp - 0x2234], ebx
je 0x404af6
cmp dword [ebp - 0x226c], ebx
jne 0x404af6
mov eax, dword [ebp - 0x2224]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
call fcn.00402585
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp eax, ebx
jne 0x404b52
lea ecx, [ebp - 0x224c]
call fcn.004025f5
cmp dword [ebp + 0x10], ebx
je 0x404af6
cmp word [edi], 0x7b
jne 0x404af6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x404af6
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.00404529
mov esi, eax
cmp esi, ebx
jl 0x404b66
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040299e
mov esi, eax
cmp esi, ebx
jl 0x404b66
cmp word [edi], 0x7d
jne 0x404592
jmp 0x404b66
lea ecx, [ebp - 0x2240]
call fcn.004025f5
mov esi, 0x80020009
jmp 0x404b66
lea ecx, [ebp - 0x2240]
jmp 0x404b61
push eax
call fcn.00402120
pop ecx
lea ecx, [ebp - 0x2264]
jmp 0x404b5f
lea ecx, [ebp - 0x2230]
call fcn.004025f5
push esi
call fcn.00402120
pop ecx
jmp 0x404b73
lea ecx, [ebp - 0x2230]
call fcn.004025f5
push dword [ebp - 0x2220]
jmp 0x404b37
push eax
call fcn.00402120
pop ecx
lea ecx, [ebp - 0x224c]
mov esi, eax
call fcn.004025f5
lea ecx, [ebp - 0x2230]
call fcn.004025f5
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.0042e7ae
leave
ret 0x10