Function at 0x472815
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ae0c
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.00497da0
mov eax, dword [0x4cb0b0]
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.00470a73
mov esi, eax
test esi, esi
js 0x472dbb
push 0x7d
pop eax
cmp word [edi], ax
je 0x472dbb
xor eax, eax
push 0x4a0348
inc eax
push edi
mov dword [ebp - 0x223c], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4a0314
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x221c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4728cb
test esi, esi
je 0x472997
push edi
mov ecx, ebx
call fcn.00470a73
mov esi, eax
test esi, esi
js 0x472dbb
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x472999
push 0x5c
push edi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
call fcn.00473abb
pop ecx
pop ecx
test eax, eax
jne 0x472dab
push edi
mov ecx, ebx
call fcn.0046db71
test eax, eax
je 0x47294e
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2238]
push edi
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
call fcn.004723c7
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
cmp dword [ebp - 0x221c], esi
je 0x47298a
push edi
mov ecx, ebx
call fcn.00470a73
mov esi, eax
test esi, esi
js 0x472da3
push edi
mov ecx, ebx
call fcn.004739b3
lea ecx, [ebp - 0x2238]
mov esi, eax
call fcn.0045f935
test esi, esi
js 0x472dbb
jmp 0x472d5e
lea ecx, [ebp - 0x2238]
call fcn.0045f935
jmp 0x472999
xor esi, esi
push 0x4a0330
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4729c1
push edi
mov ecx, ebx
mov dword [ebp - 0x223c], esi
call fcn.00470a73
mov esi, eax
test esi, esi
js 0x472dbb
push 0x4a0308
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x472aed
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00470a73
mov esi, eax
test esi, esi
js 0x472dbb
push edi
mov ecx, ebx
call fcn.00470a73
mov esi, eax
test esi, esi
js 0x472dbb
push 0x3d
pop eax
cmp word [edi], ax
jne 0x472db6
cmp dword [ebp + 0x10], 0
je 0x472a73
and dword [ebp - 0x2250], 0
xor eax, eax
and dword [ebp - 0x224c], 0
inc eax
mov byte [ebp - 4], al
mov ecx, ebx
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2254]
push eax
call fcn.0046cebc
mov esi, eax
lea ecx, [ebp - 0x2254]
xor eax, eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
test esi, esi
js 0x472df5
mov byte [ebp - 4], al
jmp 0x472d59
cmp dword [ebp + 0x14], 0
jne 0x472ae0
cmp dword [ebp - 0x223c], 0
je 0x472ae0
xor eax, eax
lea ecx, [ebp - 0x2260]
push 0x20006
push eax
push dword [ebp - 0x2220]
mov dword [ebp - 0x2260], eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
call fcn.00460b3b
test eax, eax
jne 0x472de6
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x472ad5
cmp eax, 2
jne 0x472de6
lea ecx, [ebp - 0x2260]
call fcn.0045f935
push edi
mov ecx, ebx
call fcn.004739b3
jmp 0x47287d
push 0x5c
push edi
call fcn.00473abb
pop ecx
pop ecx
test eax, eax
jne 0x472db6
cmp dword [ebp + 0x10], eax
je 0x472b90
mov esi, dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
push 0x2001f
push edi
push esi
call fcn.00460b3b
test eax, eax
je 0x472b5a
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.00460b3b
test eax, eax
je 0x472b5a
xor eax, eax
lea ecx, [ebp - 0x222c]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.0046ddbc
test eax, eax
jne 0x472c74
push edi
mov ecx, ebx
call fcn.00470a73
mov esi, eax
test esi, esi
js 0x472dbb
push 0x3d
pop eax
cmp word [edi], ax
jne 0x472d5e
push edi
push 0
lea eax, [ebp - 0x222c]
mov ecx, ebx
push eax
call fcn.0046cebc
mov esi, eax
jmp 0x47297d
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x472bb0
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.00460b3b
jmp 0x472bb3
push 2
pop eax
push 1
test eax, eax
mov dword [ebp - 0x221c], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp + 0x14], esi
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
push eax
call fcn.0045e9f9
add esp, 0x14
mov ecx, ebx
push edi
call fcn.00470a73
mov esi, eax
test esi, esi
js 0x472dbb
push edi
mov ecx, ebx
call fcn.004739b3
mov esi, eax
test esi, esi
js 0x472dbb
push 0x7b
pop eax
cmp word [edi], ax
jne 0x472c50
push edi
call dword [sym.imp.MSVCR120.dll_wcslen]
pop ecx
cmp eax, 1
jne 0x472c50
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x222c]
push edi
call fcn.00472815
mov esi, eax
test esi, esi
jns 0x472c3e
cmp dword [ebp + 0x14], 0
je 0x472dbb
push edi
mov ecx, ebx
call fcn.00470a73
mov esi, eax
test esi, esi
js 0x472dbb
mov eax, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2264]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x472887
test eax, eax
je 0x472c82
test ecx, ecx
jne 0x472887
push eax
call fcn.0046d68a
pop ecx
mov esi, eax
jmp 0x472dbb
test ecx, ecx
je 0x472cd1
push dword [ebp - 0x222c]
mov ecx, ebx
call fcn.0047020a
test eax, eax
je 0x472cd1
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.0046db71
test eax, eax
je 0x472887
cmp dword [ebp - 0x223c], 0
je 0x472887
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.004723c7
jmp 0x472887
push dword [ebp - 0x222c]
mov ecx, ebx
call fcn.0047020a
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x221c], eax
call fcn.0045f935
test eax, eax
jne 0x472c74
cmp dword [ebp - 0x223c], eax
je 0x472887
cmp dword [ebp - 0x221c], eax
jne 0x472887
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2248]
and dword [ebp - 0x2244], 0
and dword [ebp - 0x2240], 0
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0046e1f6
xor ecx, ecx
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x2244], ecx
mov dword [ebp - 0x2240], ecx
test eax, eax
jne 0x472dfc
lea ecx, [ebp - 0x2248]
call fcn.0045f935
cmp dword [ebp + 0x10], 0
je 0x472887
push 0x7b
pop eax
cmp word [edi], ax
jne 0x472887
push edi
call dword [sym.imp.MSVCR120.dll_wcslen]
pop ecx
cmp eax, 1
jne 0x472887
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x222c]
push edi
call fcn.00472815
mov esi, eax
test esi, esi
js 0x472dbb
jmp 0x472875
lea ecx, [ebp - 0x2238]
jmp 0x472df5
lea ecx, [ebp - 0x2238]
call fcn.0045f935
mov esi, 0x80020009
lea ecx, [ebp - 0x222c]
call fcn.0045f935
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.004971ea
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.0046d68a
pop ecx
lea ecx, [ebp - 0x2260]
mov esi, eax
call fcn.0045f935
jmp 0x472dbb
push eax
call fcn.0046d68a
pop ecx
lea ecx, [ebp - 0x2248]
jmp 0x472df3