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

Disassembly:
push ebp
sub esp, 0x294
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x294], eax
push 0xc
mov eax, 0x1005bf4b
call fcn.10031c17
mov eax, dword [ebp + 0x2a0]
xor edi, edi
push 0x206
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x8e]
push edi
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 4], edi
mov word [ebp + 0x8c], di
call fcn.10031d30
add esp, 0xc
call fcn.10008630
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x1001e157
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, edi
je 0x1001e169
push str.GetSystemWow64DirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x1001e169
push 0x208
lea ecx, [ebp + 0x8c]
push ecx
call eax
jmp 0x1001e169
push 0x208
lea eax, [ebp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 7
pop esi
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], esi
call fcn.100011bf
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp + 0x1c]
push str._s_npkcrypt.sys
push eax
mov dword [ebp - 4], ebx
call fcn.10007397
add esp, 0xc
push edi
lea ecx, [ebp]
mov dword [ebp + 0x18], esi
call fcn.100011bf
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp]
push str._s_npkcx.ocx
push eax
mov byte [ebp - 4], 2
call fcn.10007397
add esp, 0xc
push edi
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], esi
call fcn.100011bf
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp + 0x54]
push str._s_npkagt.exe
push eax
mov byte [ebp - 4], 3
call fcn.10007397
add esp, 0xc
push edi
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x88], esi
call fcn.100011bf
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp + 0x70]
push str._s_npkfxx.ocx
push eax
mov byte [ebp - 4], 4
call fcn.10007397
add esp, 0xc
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], esi
call fcn.100011bf
lea eax, [ebp + 0x8c]
push eax
lea eax, [ebp + 0x38]
push str._s_npkfxtr.exe
push eax
mov byte [ebp - 4], 5
call fcn.10007397
mov eax, dword [ebp + 0x20]
add esp, 0xc
push 8
pop esi
cmp dword [ebp + 0x34], esi
jae 0x1001e244
lea eax, [ebp + 0x20]
push edi
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
je 0x1001e2bc
cmp dword [ebp + 0x18], esi
mov eax, dword [ebp + 4]
jae 0x1001e25c
lea eax, [ebp + 4]
push edi
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
je 0x1001e2bc
cmp dword [ebp + 0x6c], esi
mov eax, dword [ebp + 0x58]
jae 0x1001e274
lea eax, [ebp + 0x58]
push edi
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
je 0x1001e2bc
cmp dword [ebp + 0x88], esi
mov eax, dword [ebp + 0x74]
jae 0x1001e28f
lea eax, [ebp + 0x74]
push edi
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
je 0x1001e2bc
cmp dword [ebp + 0x50], esi
mov eax, dword [ebp + 0x3c]
jae 0x1001e2a7
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
je 0x1001e2bc
mov dword [ebp - 0x14], ebx
jmp 0x1001e33d
mov dword [ebp - 0x14], 2
call fcn.10008048
cmp eax, ebx
jne 0x1001e2d3
push str.onceonceinca
jmp 0x1001e2d8
push str.Global_npkagt_s_mutex
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
call esi
mov ebx, 0xb7
cmp eax, ebx
je 0x1001e2fb
call esi
cmp eax, 5
jne 0x1001e302
mov dword [ebp - 0x14], 3
lea eax, [ebp - 0x10]
push eax
call fcn.1001d65d
pop ecx
push str.GlobalSingleMutexNpkFXTr
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x10], eax
call esi
cmp eax, ebx
je 0x1001e329
call esi
cmp eax, 5
jne 0x1001e330
mov dword [ebp - 0x14], 3
lea eax, [ebp - 0x10]
push eax
call fcn.1001d65d
xor ebx, ebx
pop ecx
inc ebx
mov ecx, dword [ebp - 0x18]
call fcn.10001dc7
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push str._02d
push dword [ebp - 0x18]
call fcn.10007397
add esp, 0xc
push edi
push ebx
lea ecx, [ebp + 0x38]
call fcn.1000131a
push edi
push ebx
lea ecx, [ebp + 0x70]
call fcn.1000131a
push edi
push ebx
lea ecx, [ebp + 0x54]
call fcn.1000131a
push edi
push ebx
lea ecx, [ebp]
call fcn.1000131a
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.1000131a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x294]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x298
leave
ret