Function at 0x4076a0
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4200b0
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x42e7a0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42e7a0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push str.Guid_894EF89C_A99A_48fb_BDF9_0D26DB8B825E_
push 0
push 0
mov dword [esp + 0x2c], ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push str.Guid_C1917976_3A58_4778_B838_4E930047B948_
push 0
push 0
mov ebp, eax
call esi
call edi
cmp eax, 2
jne 0x407714
cmp ebp, eax
jne 0x407891
push 0
push 0x4229bc
push str.InstallPath
push str.SoftwareSAMSUNGKies2.0
call fcn.00414760
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0x4229bc
lea ecx, [esp + 0x18]
mov dword [esp + 0x240], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x407804
lea ecx, [esp + 0x18]
call dword [0x422778]
push 0x104
lea eax, [esp + 0x28]
push eax
push 0
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x5c
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
cmp eax, 0xffffffff
je 0x4077da
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.Kies.exe
jmp 0x4077ee
push 0x4229b8
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x4239a4
lea ecx, [esp + 0x18]
call dword [0x4224b8]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x40785b
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
push 0x4229b8
mov ecx, eax
mov byte [esp + 0x240], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
mov byte [esp + 0x23c], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
test bl, bl
je 0x407850
push 0x4239a4
jmp 0x407855
push str.Kies.exe
call dword [0x4224b8]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x407867
xor esi, esi
jmp 0x40786a
mov esi, dword [eax + 0x20]
push 1
push 0
push str._trayagent
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0041d7e6
add esp, 0x22c
ret