Function at 0x40ff40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b86c
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x4921d0]
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 + 8]
push edx
push ecx
push eax
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x820], ecx
mov dword [ebp - 0x830], edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor edi, edi
mov dword [ebp - 0x81c], eax
cmp dword [0x4989a0], edi
je 0x4102d6
cmp dword [0x49899c], edi
je 0x4102d6
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x814], ebx
mov eax, str.Fp_RegeditFun.cpp
mov dword [ebp - 4], edi
push edi
test eax, 0xffff0000
jne 0x410002
mov ecx, eax
movzx esi, cx
push esi
call fcn.004016b0
add esp, 8
cmp eax, edi
je 0x4100b3
push esi
push eax
lea ecx, [ebp - 0x814]
call fcn.00401870
mov ebx, dword [ebp - 0x814]
jmp 0x4100b3
push edi
push 0xffffffffffffffff
push str.Fp_RegeditFun.cpp
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esi, [eax - 1]
cmp esi, edi
jle 0x41005f
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x41003d
push esi
lea ecx, [ebp - 0x814]
call fcn.00401a70
mov ebx, dword [ebp - 0x814]
push esi
push ebx
push 0xffffffffffffffff
push str.Fp_RegeditFun.cpp
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, dword [ebx - 8]
jg 0x410077
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
jmp 0x4100b3
mov esi, dword [ebx - 0x10]
cmp dword [ebx - 0xc], edi
lea eax, [ebx - 0x10]
je 0x4100b3
cmp dword [eax + 0xc], edi
lea ecx, [eax + 0xc]
jge 0x41008b
cmp dword [ebx - 8], edi
jge 0x410081
push 0x80070057
call fcn.00401b10
xor eax, eax
mov dword [ebx - 0xc], edi
mov word [ebx], ax
jmp 0x4100b3
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x814], ebx
push 0x5c
push ebx
mov dword [ebp - 4], 1
call fcn.0044bce6
add esp, 8
cmp eax, edi
jne 0x4100ce
or eax, 0xffffffff
jmp 0x4100d2
sub eax, ebx
sar eax, 1
lea ecx, [eax + 1]
lea esi, [ebp - 0x828]
lea edx, [ebp - 0x814]
call fcn.00401400
mov dword [ebp - 0x824], eax
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x818], esi
mov ecx, str.FpInstall::fpSHDeleteValueW
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x41014a
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.004016b0
add esp, 8
test eax, eax
je 0x410202
push edi
push eax
lea ecx, [ebp - 0x818]
call fcn.00401870
mov esi, dword [ebp - 0x818]
jmp 0x410202
push edi
push edi
push 0xffffffffffffffff
push str.FpInstall::fpSHDeleteValueW
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x4101ad
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x410186
push edi
lea ecx, [ebp - 0x818]
call fcn.00401a70
mov esi, dword [ebp - 0x818]
push edi
push esi
push 0xffffffffffffffff
push str.FpInstall::fpSHDeleteValueW
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp edi, dword [esi - 8]
jg 0x410077
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x410202
cmp dword [esi - 0xc], 0
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
je 0x410202
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4101e0
cmp dword [esi - 8], 0
jge 0x4101d2
push 0x80070057
call fcn.00401b10
xor ecx, ecx
mov dword [esi - 0xc], 0
mov word [esi], cx
jmp 0x410202
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4101f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
lea esi, [eax + 0x10]
mov ecx, dword [ebp - 0x830]
mov edx, dword [ebp - 0x820]
mov eax, dword [ebp - 0x82c]
push ecx
mov ecx, dword [ebp - 0x81c]
push edx
mov edx, dword [ebp - 0x824]
push eax
push ecx
mov byte [ebp - 4], 2
mov eax, dword [edx]
push 0x8b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.LOG__u:_u__s__s:_u__SHDeleteValueW_call:_ret_ld__0x_x__s__s_r_n
push 0xffffffffffffffff
lea ecx, [ebp - 0x810]
push 0x400
push ecx
call fcn.0044bc45
lea eax, [esi - 0x10]
add esp, 0x34
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410276
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x828]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41029c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x49899c]
test eax, eax
je 0x4102b3
lea ecx, [ebp - 0x810]
push ecx
push 0x20
call eax
add esp, 8
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4102d6
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x81c]
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.0044b96b
mov esp, ebp
pop ebp
ret