Function at 0x4047e3
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2248
call fcn.00406e50
mov eax, dword [0x4093a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x221c], 0
and dword [ebp - 0x2218], 0
push ebx
push esi
mov dword [ebp - 0x2214], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2210], ecx
mov dword [ebp - 0x2244], eax
jmp 0x404d22
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x401358
push edi
mov dword [ebp - 0x2228], 1
call esi
mov ebx, eax
neg ebx
push 0x40137c
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x404860
test ebx, ebx
je 0x404923
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402d32
mov esi, eax
test esi, esi
jl 0x404d96
cmp dword [ebp + 0x10], 0
je 0x404923
push 0x5c
xor esi, esi
push edi
mov dword [ebp - 0x2224], esi
mov dword [ebp - 0x2220], esi
call fcn.00402ca6
test eax, eax
jne 0x404d3a
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402e47
test eax, eax
je 0x4048d8
mov eax, dword [ebp - 0x2214]
push edi
lea ecx, [ebp - 0x2224]
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2220], esi
call fcn.00403234
mov dword [ebp - 0x2224], esi
mov dword [ebp - 0x2220], esi
cmp ebx, esi
je 0x404918
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402d32
mov esi, eax
test esi, esi
jl 0x404d4c
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402eb9
lea ecx, [ebp - 0x2224]
mov esi, eax
call fcn.00402908
test esi, esi
jl 0x404d96
jmp 0x404ce7
lea ecx, [ebp - 0x2224]
call fcn.00402908
push 0x401368
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40494f
mov ecx, dword [ebp - 0x2210]
and dword [ebp - 0x2228], eax
push edi
call fcn.00402d32
mov esi, eax
test esi, esi
jl 0x404d96
push 0x401394
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404a6a
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x220c]
push eax
call fcn.00402d32
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x404d96
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402d32
mov esi, eax
cmp esi, ebx
jl 0x404d96
cmp word [edi], 0x3d
jne 0x404d45
cmp dword [ebp + 0x10], ebx
je 0x4049f2
mov eax, dword [ebp - 0x2214]
mov ecx, dword [ebp - 0x2210]
mov dword [ebp - 0x2240], eax
push edi
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x2240]
push eax
mov dword [ebp - 0x223c], ebx
call fcn.004044f0
lea ecx, [ebp - 0x2240]
mov esi, eax
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
call fcn.00402908
cmp esi, ebx
jmp 0x40490d
cmp dword [ebp + 0x14], ebx
jne 0x404a55
cmp dword [ebp - 0x2228], ebx
je 0x404a55
push 0x20006
push ebx
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
call fcn.0040298b
cmp eax, ebx
jne 0x404d54
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x2230]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x404a4a
cmp eax, 2
jne 0x404d54
lea ecx, [ebp - 0x2230]
call fcn.00402908
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402eb9
mov esi, eax
cmp esi, ebx
jmp 0x404d2c
push 0x5c
push edi
call fcn.00402ca6
test eax, eax
jne 0x404d45
cmp dword [ebp + 0x10], eax
je 0x404b19
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x221c]
call fcn.0040298b
test eax, eax
je 0x404add
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x221c]
call fcn.0040298b
test eax, eax
je 0x404add
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x221c]
call fcn.0040292a
mov esi, eax
cmp esi, ebx
jne 0x404d62
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402d32
mov esi, eax
test esi, esi
jl 0x404d96
cmp word [edi], 0x3d
jne 0x404ce7
mov ecx, dword [ebp - 0x2210]
push edi
push 0
lea eax, [ebp - 0x221c]
push eax
call fcn.004044f0
mov esi, eax
jmp 0x40490b
cmp dword [ebp + 0x14], 0
jne 0x404b3a
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x221c]
call fcn.0040298b
mov ebx, eax
jmp 0x404b3d
push 2
pop ebx
test ebx, ebx
je 0x404b48
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004024ba
mov ecx, dword [ebp - 0x2210]
add esp, 0x10
push edi
call fcn.00402d32
mov esi, eax
test esi, esi
jl 0x404d96
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402eb9
mov esi, eax
test esi, esi
jl 0x404d96
cmp word [edi], 0x7b
jne 0x404bda
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x404bda
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x221c]
push edi
call fcn.004047e3
mov esi, eax
test esi, esi
jge 0x404bc4
cmp dword [ebp + 0x14], 0
je 0x404d96
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402d32
mov esi, eax
test esi, esi
jl 0x404d96
mov eax, dword [ebp - 0x2244]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x404d2e
test ebx, ebx
je 0x404c05
test eax, eax
jne 0x404d2e
push ebx
call fcn.0040264f
mov esi, eax
jmp 0x404d96
test eax, eax
je 0x404c5c
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2210]
call fcn.00402e7d
test eax, eax
je 0x404c5c
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00402e47
test eax, eax
je 0x404d2e
cmp dword [ebp - 0x2228], 0
je 0x404d2e
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x221c]
call fcn.00403234
jmp 0x404d2e
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2210]
call fcn.00402e7d
lea ecx, [ebp - 0x221c]
mov dword [ebp - 0x2248], eax
call fcn.00402908
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x404d75
cmp dword [ebp - 0x2228], eax
je 0x404d2e
cmp dword [ebp - 0x2248], eax
jne 0x404d2e
mov ecx, dword [ebp - 0x2214]
mov dword [ebp - 0x2234], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x2238], ecx
push eax
lea ecx, [ebp - 0x2238]
call fcn.004028a4
and dword [ebp - 0x2238], 0
and dword [ebp - 0x2234], 0
test eax, eax
jne 0x404d83
lea ecx, [ebp - 0x2238]
call fcn.00402908
cmp dword [ebp + 0x10], 0
je 0x404d2e
cmp word [edi], 0x7b
jne 0x404d2e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x404d2e
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x221c]
push edi
call fcn.004047e3
mov esi, eax
test esi, esi
jl 0x404d96
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.00402d32
mov esi, eax
test esi, esi
jl 0x404d96
cmp word [edi], 0x7d
jne 0x40482d
jmp 0x404d96
lea ecx, [ebp - 0x2224]
call fcn.00402908
mov esi, 0x80020009
jmp 0x404d96
lea ecx, [ebp - 0x2224]
jmp 0x404d91
push eax
call fcn.0040264f
lea ecx, [ebp - 0x2230]
jmp 0x404d8f
lea ecx, [ebp - 0x221c]
call fcn.00402908
push esi
call fcn.0040264f
jmp 0x404da3
lea ecx, [ebp - 0x221c]
call fcn.00402908
push ebx
jmp 0x404d6e
push eax
call fcn.0040264f
lea ecx, [ebp - 0x2238]
mov esi, eax
call fcn.00402908
lea ecx, [ebp - 0x221c]
call fcn.00402908
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406e34
leave
ret 0x10