Function at 0x40e200
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46765c
mov eax, dword fs:[0]
push eax
sub esp, 0x820
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 ecx
push eax
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x820], ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor edi, edi
mov dword [ebp - 0x81c], eax
cmp dword [0x493428], edi
je 0x40e585
cmp dword [0x493424], edi
je 0x40e585
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 0x40e2bb
mov ecx, eax
movzx esi, cx
push esi
call fcn.00401960
add esp, 8
cmp eax, edi
je 0x40e36c
push esi
push eax
lea ecx, [ebp - 0x814]
call fcn.00401b20
mov ebx, dword [ebp - 0x814]
jmp 0x40e36c
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 0x40e318
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40e2f6
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 0x40e330
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
jmp 0x40e36c
mov esi, dword [ebx - 0x10]
cmp dword [ebx - 0xc], edi
lea eax, [ebx - 0x10]
je 0x40e36c
cmp dword [eax + 0xc], edi
lea ecx, [eax + 0xc]
jge 0x40e344
cmp dword [ebx - 8], edi
jge 0x40e33a
push 0x80070057
call fcn.00401dc0
xor eax, eax
mov dword [ebx - 0xc], edi
mov word [ebx], ax
jmp 0x40e36c
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e35a
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 0x40e387
or eax, 0xffffffff
jmp 0x40e38b
sub eax, ebx
sar eax, 1
lea ecx, [eax + 1]
lea esi, [ebp - 0x824]
lea edx, [ebp - 0x814]
call fcn.004015f0
mov dword [ebp - 0x828], 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::fpSHDeleteKeyW
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x40e403
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401960
add esp, 8
test eax, eax
je 0x40e4bb
push edi
push eax
lea ecx, [ebp - 0x818]
call fcn.00401b20
mov esi, dword [ebp - 0x818]
jmp 0x40e4bb
push edi
push edi
push 0xffffffffffffffff
push str.FpInstall::fpSHDeleteKeyW
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x40e466
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40e43f
push edi
lea ecx, [ebp - 0x818]
call fcn.00401d20
mov esi, dword [ebp - 0x818]
push edi
push esi
push 0xffffffffffffffff
push str.FpInstall::fpSHDeleteKeyW
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp edi, dword [esi - 8]
jg 0x40e330
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x40e4bb
cmp dword [esi - 0xc], 0
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
je 0x40e4bb
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x40e499
cmp dword [esi - 8], 0
jge 0x40e48b
push 0x80070057
call fcn.00401dc0
xor ecx, ecx
mov dword [esi - 0xc], 0
mov word [esi], cx
jmp 0x40e4bb
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e4af
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 - 0x820]
mov edx, dword [ebp - 0x82c]
mov eax, dword [ebp - 0x81c]
push ecx
mov ecx, dword [ebp - 0x828]
push edx
push eax
mov byte [ebp - 4], 2
mov edx, dword [ecx]
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.004491b5
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 0x40e525
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 - 0x824]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e54b
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 0x40e562
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 0x40e585
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