Function at 0x41ea30
Capabilities:
Check mutex on windows
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43907a
mov eax, dword fs:[0]
push eax
sub esp, 0x9dc
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x9d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3740]
xor eax, esp
push eax
lea eax, [esp + 0x9f0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xa04]
xor ebp, ebp
push ebp
lea eax, [esp + 0x1c]
push str.AOMEI_PXE_Boot_Tool
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QObject::tr_char_const___char_const__]
add esp, 0xc
push eax
mov ecx, 0x4c3904
mov dword [esp + 0x9fc], ebp
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x9f8], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41eac5
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
call sub.Comn.dll_GetObjectLogPXE
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 0x43f4dc
call eax
push str.GlobalAomeiPxe
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41eb70
push ebp
push ebp
push 3
push ebp
push ebp
push 0xc0000000
push str..pipeAomeiPxePipe
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [0x43f488]
mov edx, dword [0x43f48c]
push 0x3f8
mov esi, eax
lea eax, [esp + 0x5f8]
push ebp
push eax
mov dword [esp + 0x5f8], ecx
mov dword [esp + 0x5fc], edx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebp
lea ecx, [esp + 0x1c]
push ecx
push 0x400
lea edx, [esp + 0x5f8]
push edx
push esi
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41eb69
push str.WriteFile_to_Pipe_error_n
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 4
xor eax, eax
jmp 0x41ef1f
push str.CrashDumpWorker.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebp
jne 0x41eb91
push str.Load_CrashDumpWorker.dll_Error
call dword [sym.imp.QtCore4.dll_void___cdecl_qDebug_char_const__]
add esp, 4
jmp 0x41ebad
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AddCrashCallBack
push esi
call edi
push str.SetCrashDumpOn
push esi
call edi
cmp eax, ebp
je 0x41ebad
call eax
mov esi, dword [esp + 0xa00]
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.00420e30
push 0x11c
lea eax, [esp + 0xd4]
push ebp
push eax
mov dword [esp + 0xa04], 1
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0xd0]
push ecx
mov dword [esp + 0xd4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0xffffffffffffffff
push str.:res_tool_pxe_image.png
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x24], eax
add esp, 4
mov eax, esp
mov dword [esp + 0x1c], esp
push ebp
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa04], 2
mov dword [eax], ebp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QPixmap::constructor_class_QString_const___char_const___class_QFlags_enum_Qt::ImageConversionFlag__]
mov bl, 3
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x9fc], bl
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::constructor_class_QPixmap_const__]
push eax
mov byte [esp + 0x9fc], 4
call dword [sym.imp.QtGui4.dll_public:_static_void___cdecl_QApplication::setWindowIcon_class_QIcon_const__]
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x9f8], bl
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QIcon::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x9f8], 2
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QPixmap::destructor_void_]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x9f8], 1
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41ec99
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
call dword [sym.imp.QtGui4.dll_public:_static_class_QDesktopWidget____cdecl_QApplication::desktop_void_]
cmp eax, ebp
je 0x41ecc8
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
add ecx, 0x10
add eax, 1
cmp eax, 0x556
mov dword [0x4c31ac], eax
jg 0x41ecc8
mov dword [0x4c31ac], 0x556
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ebp
lea ecx, [esp + 0x44]
mov dword [eax], ebp
call fcn.0041d190
push 0x1fe
lea eax, [esp + 0x3f2]
push ebp
mov ebx, 5
push eax
mov byte [esp + 0xa04], bl
mov word [esp + 0x3f8], bp
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x200
lea ecx, [esp + 0x3f0]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x1fe
lea edx, [esp + 0x1f2]
push ebp
push edx
mov word [esp + 0x1f8], bp
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x200
lea eax, [esp + 0x1f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x1ec]
push ecx
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
lea edx, [esp + 0x3ec]
push edx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x9fc], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
cmp dword [esp + 0xd4], ebx
mov byte [esp + 0x9f8], 7
lea ecx, [esp + 0x98]
jbe 0x41ed9b
push str._netsh.exe_advfirewall_firewall_delete_rule_name___ampxe_
jmp 0x41edc7
push str._netsh_firewall_delete_allowedprogram__
call dword [0x43e22c]
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x9c]
call dword [0x43e228]
push 0x43f318
lea ecx, [esp + 0x9c]
call dword [0x43e22c]
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x1b]
call fcn.0041ce00
lea edx, [esp + 0x1ec]
push edx
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
cmp dword [esp + 0xd4], ebx
mov byte [esp + 0x9f8], 8
lea ecx, [esp + 0x7c]
jbe 0x41ee2f
push str._netsh.exe_advfirewall_firewall_add_rule_name___ampxe__dirin_program___
call dword [0x43e22c]
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x80]
call dword [0x43e228]
push str.__action_allow_
jmp 0x41ee66
push str._netsh.exe_firewall_add_allowedprogram__
call dword [0x43e22c]
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x80]
call dword [0x43e228]
push 0x43f318
lea ecx, [esp + 0x80]
call dword [0x43e22c]
push 0x43f1f8
lea ecx, [esp + 0x80]
call dword [0x43e22c]
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1b]
call fcn.0041ce00
cmp esi, 2
lea eax, [esp + 0x3c]
mov dword [0x4c3900], eax
jne 0x41eeab
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov al, byte [edx]
cmp al, 0x53
je 0x41eea0
cmp al, 0x73
jne 0x41eeab
lea ecx, [esp + 0x3c]
call fcn.0041d0c0
jmp 0x41eeb5
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::show_void_]
call dword [sym.imp.QtGui4.dll_public:_static_int___cdecl_QApplication::exec_void_]
lea ecx, [esp + 0x7c]
mov esi, eax
mov byte [esp + 0x9f8], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x9f8], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [esp + 0x98]
mov byte [esp + 0x9f8], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9f8], 1
call fcn.0041cf00
lea ecx, [esp + 0x28]
mov dword [esp + 0x9f8], 0xffffffff
call fcn.00420e60
mov eax, esi
mov ecx, dword [esp + 0x9f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9d8]
xor ecx, esp
call fcn.00437634
add esp, 0x9e8
ret