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

Disassembly:
push 0xffffffffffffffff
push 0x420150
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 ebx, 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 ebp, 2
jne 0x407cc3
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 0x407c1e
lea ecx, [esp + 0x1c]
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 + 0x20]
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 + 0x20]
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 0x407bf4
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
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 + 0x20]
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 0x407c08
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 + 0x1c]
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 0x407c7a
push 1
lea eax, [esp + 0x24]
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 + 0x20]
sete byte [esp + 0x1b]
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]
cmp byte [esp + 0x1b], 0
lea ecx, [esp + 0x14]
je 0x407c6f
push 0x4239a4
jmp 0x407c74
push str.Kies.exe
call dword [0x4224b8]
mov eax, dword [ebx + 0x8a8]
cmp eax, 0x464
je 0x407c99
cmp eax, 0x465
je 0x407c99
push 1
push 0
push str._WIFI
jmp 0x407ca2
push 1
push 0
push str._ACONNECTION
mov ebx, dword [ebx + 0x20]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_]
push eax
push 0
push ebx
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