Function at 0x404c63
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40be53
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.00409605
mov eax, dword [0x401c38]
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 - 0x222c], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], ecx
xor ecx, ecx
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x226c], ecx
mov ecx, eax
jmp 0x4051de
push 0x401380
push edi
mov dword [ebp - 0x2240], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x401354
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x404d03
test ebx, ebx
je 0x404dd7
mov ecx, dword [ebp - 0x222c]
push edi
call fcn.00404736
mov esi, eax
test esi, esi
js 0x405210
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x404dd9
push 0x5c
push edi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
call fcn.0040532d
test eax, eax
jne 0x405200
mov ecx, dword [ebp - 0x222c]
push edi
call fcn.00404bff
test eax, eax
je 0x404d8c
mov eax, dword [ebp - 0x221c]
push edi
lea ecx, [ebp - 0x2238]
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
call fcn.00404026
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
test ebx, ebx
je 0x404dca
mov ebx, dword [ebp - 0x222c]
push edi
mov ecx, ebx
call fcn.00404736
mov esi, eax
test esi, esi
js 0x4051f8
push edi
mov ecx, ebx
call fcn.004052a8
lea ecx, [ebp - 0x2238]
mov esi, eax
call fcn.004032eb
test esi, esi
js 0x405210
jmp 0x4051a9
lea ecx, [ebp - 0x2238]
call fcn.004032eb
jmp 0x404dd9
xor esi, esi
push 0x40136c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x222c]
test eax, eax
jne 0x404e07
push edi
mov ecx, ebx
mov dword [ebp - 0x2240], esi
call fcn.00404736
mov esi, eax
test esi, esi
js 0x405210
push 0x40134c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404f31
lea eax, [ebp - 0x2218]
push eax
mov ecx, ebx
call fcn.00404736
mov esi, eax
test esi, esi
js 0x405210
push edi
mov ecx, ebx
call fcn.00404736
mov esi, eax
test esi, esi
js 0x405210
push 0x3d
pop eax
cmp word [edi], ax
jne 0x40520b
cmp dword [ebp + 0x10], 0
je 0x404eb7
mov eax, dword [ebp - 0x221c]
and dword [ebp - 0x2248], 0
and dword [ebp - 0x2244], 0
mov dword [ebp - 0x224c], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x224c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0040486f
mov esi, eax
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
lea ecx, [ebp - 0x224c]
test esi, esi
js 0x405247
mov byte [ebp - 4], al
jmp 0x4051a4
cmp dword [ebp + 0x14], 0
jne 0x404f24
cmp dword [ebp - 0x2240], 0
je 0x404f24
xor eax, eax
push 0x20006
push eax
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2264]
mov dword [ebp - 0x2264], eax
mov dword [ebp - 0x2260], eax
mov dword [ebp - 0x225c], eax
call fcn.00403296
test eax, eax
jne 0x405239
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2264]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x404f19
cmp eax, 2
jne 0x405239
lea ecx, [ebp - 0x2264]
call fcn.004032eb
push edi
mov ecx, ebx
call fcn.004052a8
jmp 0x4051e4
push 0x5c
push edi
call fcn.0040532d
test eax, eax
jne 0x40520b
cmp dword [ebp + 0x10], eax
je 0x404fd4
mov esi, dword [ebp - 0x221c]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.00403296
test eax, eax
je 0x404f9e
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.00403296
test eax, eax
je 0x404f9e
xor eax, eax
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.00403fb7
mov esi, eax
test esi, esi
jne 0x40524e
push edi
mov ecx, ebx
call fcn.00404736
mov esi, eax
test esi, esi
js 0x405210
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4051a9
push edi
push 0
lea eax, [ebp - 0x2228]
push eax
mov ecx, ebx
call fcn.0040486f
mov esi, eax
jmp 0x404dbd
cmp dword [ebp + 0x14], 0
jne 0x404ff3
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2228]
call fcn.00403296
jmp 0x404ff6
push 2
pop eax
mov dword [ebp - 0x223c], eax
test eax, eax
je 0x405007
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]
add esp, 0x10
push eax
call fcn.004025de
push edi
mov ecx, ebx
call fcn.00404736
mov esi, eax
test esi, esi
js 0x405210
push edi
mov ecx, ebx
call fcn.004052a8
mov esi, eax
test esi, esi
js 0x405210
push 0x7b
pop eax
cmp word [edi], ax
jne 0x405092
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x405092
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x2228]
push edi
call fcn.00404c63
mov esi, eax
test esi, esi
jns 0x405080
cmp dword [ebp + 0x14], 0
je 0x405210
push edi
mov ecx, ebx
call fcn.00404736
mov esi, eax
test esi, esi
js 0x405210
mov eax, dword [ebp - 0x223c]
mov ecx, dword [ebp - 0x226c]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x4051ea
test eax, eax
je 0x4050c3
test ecx, ecx
jne 0x4051ea
push eax
call fcn.00403bb7
mov esi, eax
jmp 0x405210
test ecx, ecx
je 0x405112
push dword [ebp - 0x2228]
mov ecx, ebx
call fcn.00404c2e
test eax, eax
je 0x405112
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00404bff
test eax, eax
je 0x4051ea
cmp dword [ebp - 0x2240], 0
je 0x4051ea
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.00404026
jmp 0x4051ea
push dword [ebp - 0x2228]
mov ecx, ebx
call fcn.00404c2e
lea ecx, [ebp - 0x2228]
mov dword [ebp - 0x223c], eax
call fcn.004032eb
mov dword [ebp - 0x2268], eax
test eax, eax
jne 0x40526f
cmp dword [ebp - 0x2240], eax
je 0x4051ea
cmp dword [ebp - 0x223c], eax
jne 0x4051ea
mov eax, dword [ebp - 0x221c]
and dword [ebp - 0x2254], 0
and dword [ebp - 0x2250], 0
mov dword [ebp - 0x2258], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2258]
call fcn.00403305
xor ecx, ecx
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
test eax, eax
jne 0x405261
lea ecx, [ebp - 0x2258]
call fcn.004032eb
cmp dword [ebp + 0x10], 0
je 0x4051ea
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4051ea
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4051ea
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2228]
push edi
call fcn.00404c63
mov esi, eax
test esi, esi
js 0x405210
mov ecx, ebx
push edi
call fcn.00404736
mov esi, eax
test esi, esi
js 0x405210
push 0x7d
pop eax
cmp word [edi], ax
jne 0x404cd0
jmp 0x405210
lea ecx, [ebp - 0x2238]
jmp 0x405247
lea ecx, [ebp - 0x2238]
call fcn.004032eb
mov esi, 0x80020009
lea ecx, [ebp - 0x2228]
call fcn.004032eb
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.0040879f
leave
ret 0x10
push eax
call fcn.00403bb7
lea ecx, [ebp - 0x2264]
mov esi, eax
call fcn.004032eb
jmp 0x405210
lea ecx, [ebp - 0x2228]
call fcn.004032eb
push esi
call fcn.00403bb7
jmp 0x40521d
push eax
call fcn.00403bb7
lea ecx, [ebp - 0x2258]
jmp 0x405245
lea ecx, [ebp - 0x2228]
call fcn.004032eb
push dword [ebp - 0x2268]
jmp 0x40525a