Function at 0x416340
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ebbc
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x4c31d0]
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 ecx
push eax
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x828], ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [0x4cd6c0], 0
mov dword [ebp - 0x824], eax
je 0x416571
cmp dword [0x4cd6bc], 0
je 0x416571
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x814], eax
mov eax, str.Fp_RegeditFun.cpp
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4163f3
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.00401690
add esp, 8
test eax, eax
je 0x416403
push esi
push eax
lea ecx, [ebp - 0x814]
call fcn.00401850
jmp 0x416403
mov ebx, str.Fp_RegeditFun.cpp
lea edi, [ebp - 0x814]
call fcn.00401440
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x814]
push 0x5c
push esi
call fcn.0046ce1e
add esp, 8
test eax, eax
jne 0x416424
or eax, 0xffffffff
jmp 0x416428
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
lea esi, [ebp - 0x820]
lea edx, [ebp - 0x814]
call fcn.004013e0
mov esi, eax
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x818], eax
mov ecx, str.FpInstall::fpSHDeleteKeyW
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x41648f
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401690
add esp, 8
test eax, eax
je 0x41649f
push edi
push eax
lea ecx, [ebp - 0x818]
call fcn.00401850
jmp 0x41649f
mov ebx, str.FpInstall::fpSHDeleteKeyW
lea edi, [ebp - 0x818]
call fcn.00401440
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0x81c]
mov edi, dword [ebp - 0x824]
push eax
push ecx
push edi
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov esi, dword [ebp - 0x818]
push 0x7b
push edx
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__SHDeleteKeyW_call:_ret_ld__0x_x__s_r_n
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0046cd7d
lea eax, [esi - 0x10]
add esp, 0x30
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416509
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 - 0x820]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41652f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4cd6bc]
test eax, eax
je 0x416546
lea ecx, [ebp - 0x810]
push ecx
push 0x20
call eax
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41656f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.0046ca85
mov esp, ebp
pop ebp
ret