Function at 0x41fe30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x550
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
cmp dword [0x42446c], 0
je 0x41fe68
mov eax, dword [0x42446c]
jmp 0x420403
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.National_Instruments_LabWindows_CVI_Analysis_Library__d
lea eax, [ebp - 0x550]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x550]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41fea5
xor eax, eax
jmp 0x420403
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x42446c], 0
je 0x41fed8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42446c]
jmp 0x420403
push 0x4224e4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
push str.GetModuleHandleExA
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424470], eax
push 0x422508
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424474], eax
push 0x422518
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424478], eax
push 0x422528
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42447c], eax
cmp dword [0x424470], 0
je 0x41ffb2
lea eax, [ebp - 0x24]
push eax
push 0x424474
push 6
call dword [0x424470]
test eax, eax
je 0x41ffb2
cmp dword [ebp - 0x24], 0
je 0x41ffb2
cmp dword [0x424474], 0
je 0x41ffb2
cmp dword [0x424478], 0
je 0x41ffb2
cmp dword [0x42447c], 0
je 0x41ffb2
push 0
push 8
lea ecx, [ebp - 0x48]
push ecx
push 1
push 0
push 0x424474
push 0x80000010
call dword [0x424474]
test eax, eax
je 0x41ffb2
cmp dword [ebp - 0x48], 0
je 0x41ffb2
cmp dword [ebp - 0x48], 0xffffffff
je 0x41ffb2
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [0x424478]
mov dword [ebp - 0x28], eax
mov ecx, dword [str.nianlys.dll]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x42446c], eax
cmp dword [ebp - 0x28], 0
je 0x41ffd6
mov edx, dword [ebp - 0x2c]
push edx
push 0
call dword [0x42447c]
cmp dword [0x42446c], 0
je 0x41fffd
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42446c]
jmp 0x420403
push 0x42253c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420072
push 0x400
lea edx, [ebp - 0x448]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x420072
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x42004f
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + edx]
test ecx, ecx
je 0x420064
jmp 0x42003d
mov edx, dword [ebp - 0xc]
sub edx, 0xa
mov dword [ebp - 0xc], edx
jmp 0x420154
push 0x422548
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4200e4
push 0x400
lea eax, [ebp - 0x448]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x4200e4
lea edx, [ebp - 0x448]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
jmp 0x4200c4
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + eax]
test edx, edx
je 0x4200d9
jmp 0x4200b2
mov eax, dword [ebp - 0xc]
sub eax, 0xc
mov dword [ebp - 0xc], eax
jmp 0x420154
push 0x422558
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420154
push 0x400
lea ecx, [ebp - 0x448]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x420154
lea eax, [ebp - 0x448]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x420136
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 4]
movsx eax, byte [edx + ecx]
test eax, eax
je 0x42014b
jmp 0x420124
mov ecx, dword [ebp - 0xc]
sub ecx, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x4201d6
mov edx, dword [str.nianlys.dll]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + eax - 0x448]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x30], 0
je 0x42019d
jmp 0x420170
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x42446c], eax
cmp dword [0x42446c], 0
je 0x4201d6
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42446c]
jmp 0x420403
mov dword [ebp - 0xc], 0x400
call fcn.0041fcc0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4203ce
lea eax, [ebp - 0x20]
push eax
push str.SOFTWARENational_InstrumentsCommonInstaller
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0041fcf0
add esp, 0xc
test eax, eax
je 0x4203ce
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x448]
push eax
push str.NISHAREDDIR
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041fd70
add esp, 0x14
test eax, eax
je 0x4203ce
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0041fdf0
add esp, 8
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041fcd0
add esp, 4
mov eax, dword [str.Analysis_]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
lea edx, [ebp + ecx - 0x449]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x34], 0
je 0x420292
jmp 0x420265
mov ecx, dword [str.nianlys.dll]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x38], 0
je 0x4202d1
jmp 0x4202a4
lea ecx, [ebp - 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x42446c], eax
cmp dword [0x42446c], 0
je 0x42030a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42446c]
jmp 0x420403
mov ecx, dword [ebp - 0xc]
mov byte [ebp + ecx - 0x449], 0x5c
mov edx, dword [str.Analysis_]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + eax - 0x448]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x3c], 0
je 0x420358
jmp 0x42032b
mov eax, dword [str.nianlys.dll]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x40], 0
je 0x420396
jmp 0x420369
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x42446c], eax
cmp dword [0x42446c], 0
je 0x4203cc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42446c]
jmp 0x420403
jmp 0x4203ea
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0041fdf0
add esp, 8
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041fcd0
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x42446c]
mov esp, ebp
pop ebp
ret