Function at 0x40e5b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4675fc
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x48d1d0]
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 [0x493428], edi
je 0x40e946
cmp dword [0x493424], edi
je 0x40e946
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 0x40e672
mov ecx, eax
movzx esi, cx
push esi
call fcn.00401960
add esp, 8
cmp eax, edi
je 0x40e723
push esi
push eax
lea ecx, [ebp - 0x814]
call fcn.00401b20
mov ebx, dword [ebp - 0x814]
jmp 0x40e723
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 0x40e6cf
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40e6ad
push esi
lea ecx, [ebp - 0x814]
call fcn.00401d20
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 0x40e6e7
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
jmp 0x40e723
mov esi, dword [ebx - 0x10]
cmp dword [ebx - 0xc], edi
lea eax, [ebx - 0x10]
je 0x40e723
cmp dword [eax + 0xc], edi
lea ecx, [eax + 0xc]
jge 0x40e6fb
cmp dword [ebx - 8], edi
jge 0x40e6f1
push 0x80070057
call fcn.00401dc0
xor eax, eax
mov dword [ebx - 0xc], edi
mov word [ebx], ax
jmp 0x40e723
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e711
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.00449256
add esp, 8
cmp eax, edi
jne 0x40e73e
or eax, 0xffffffff
jmp 0x40e742
sub eax, ebx
sar eax, 1
lea ecx, [eax + 1]
lea esi, [ebp - 0x828]
lea edx, [ebp - 0x814]
call fcn.004015f0
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 0x40e7ba
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401960
add esp, 8
test eax, eax
je 0x40e872
push edi
push eax
lea ecx, [ebp - 0x818]
call fcn.00401b20
mov esi, dword [ebp - 0x818]
jmp 0x40e872
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 0x40e81d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40e7f6
push edi
lea ecx, [ebp - 0x818]
call fcn.00401d20
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 0x40e6e7
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x40e872
cmp dword [esi - 0xc], 0
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
je 0x40e872
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x40e850
cmp dword [esi - 8], 0
jge 0x40e842
push 0x80070057
call fcn.00401dc0
xor ecx, ecx
mov dword [esi - 0xc], 0
mov word [esi], cx
jmp 0x40e872
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e866
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.004491b5
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 0x40e8e6
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 0x40e90c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x493424]
test eax, eax
je 0x40e923
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 0x40e946
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.00448edb
mov esp, ebp
pop ebp
ret