Function at 0x41fca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a1fc
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x4bc704]
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 + 0xc]
mov ebx, dword [ebp + 8]
mov edi, edx
mov edx, dword [ebp + 0x10]
push edx
push ecx
push 1
push eax
push ebx
push edi
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x81c], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [0x4c8060], 0
mov dword [ebp - 0x820], eax
je 0x41feee
cmp dword [0x4c805c], 0
je 0x41feee
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 0x41fd61
mov ecx, eax
movzx esi, cx
push esi
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41fd71
lea edx, [ebp - 0x814]
push edx
mov eax, esi
call fcn.004049f0
jmp 0x41fd71
push str.Fp_RegeditFun.cpp
lea eax, [ebp - 0x814]
call fcn.00404530
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x814]
push 0x5c
push esi
call fcn.00468696
add esp, 8
test eax, eax
jne 0x41fd92
or eax, 0xffffffff
jmp 0x41fd96
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
lea esi, [ebp - 0x824]
lea edx, [ebp - 0x814]
call fcn.004045c0
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x818], eax
mov eax, str.FpInstall::fpSHSetValueW
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x41fe06
mov ecx, eax
movzx eax, cx
push eax
mov dword [ebp - 0x82c], eax
call fcn.00404830
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x41fe16
mov eax, dword [ebp - 0x82c]
lea edx, [ebp - 0x818]
push edx
call fcn.004049f0
jmp 0x41fe16
push str.FpInstall::fpSHSetValueW
lea eax, [ebp - 0x818]
call fcn.00404530
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x81c]
mov edx, dword [ebp - 0x828]
push eax
push ecx
push edx
push ebx
push edi
mov edi, dword [ebp - 0x820]
push edi
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov esi, dword [ebp - 0x818]
push 0x57
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__SHSetValueW_string_value_call:_ret_ld__0x_x__s__s__s__lu_r_n
push 0xffffffffffffffff
lea ecx, [ebp - 0x810]
push 0x400
push ecx
call fcn.00468675
lea eax, [esi - 0x10]
add esp, 0x3c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fe86
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 0x41feac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4c805c]
test eax, eax
je 0x41fec3
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 0x41feec
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.00467ce1
mov esp, ebp
pop ebp
ret