Function at 0x1001e23
Capabilities:
Check mutex on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push edi
push ebx
xor edi, edi
push 0x1001ac0
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1001e64
push eax
push 0x1001ca0
push dword [ebp + 8]
push dword [ebp + 8]
call fcn.010022f6
push dword [ebp + 8]
call fcn.01001d7e
jmp 0x1001e81
push ebx
push 0x1001acc
call esi
test eax, eax
jne 0x1001e89
push eax
push 0x1001ca4
push dword [ebp + 8]
push dword [ebp + 8]
call fcn.010022f6
xor eax, eax
inc eax
jmp 0x1002066
push 0x1001a44
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x1001ea7
push 0x64
pop edi
jmp 0x1002027
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1001ebe
push 0x65
jmp 0x1002001
push esi
push 0x10019cc
call dword [sym.imp.SHLWAPI.dll_Ordinal_67]
cmp eax, esi
mov dword [ebp + 0x10], eax
je 0x1001f5c
cmp ebx, esi
mov dword [ebp - 0x14], 1
je 0x1001ef0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x10], eax
jmp 0x1001ef3
mov dword [ebp - 0x10], esi
push 0x1001b6c
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1001f32
push 0x1001b50
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1001f2b
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp + 0x14]
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 0x18]
push eax
push 0x5dc
push 2
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4a
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
jmp 0x1002002
mov esi, 0x1001a68
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x1001fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x1001f90
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, eax
inc edi
neg edi
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x6b
jmp 0x1002002
cmp eax, 0x45a
jne 0x1001fc3
push 0x1001ae0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, eax
inc edi
neg edi
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x6c
jmp 0x1002002
push 0x1001a74
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1001fc7
push 0x66
jmp 0x1002001
cmp dword [section..data], 0
mov eax, ebx
jne 0x1001fd7
mov eax, 0x1001adc
push dword [ebp + 0x14]
push eax
push 0x3f
call esi
and dword [section..data], 0
cmp eax, 0x714
je 0x1001fc7
test eax, eax
jge 0x100200b
cmp eax, 0x8004100a
je 0x1002002
cmp eax, 0x80040113
je 0x1002002
push 0x67
pop edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x1002023
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x1002064
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
lea eax, [ebp - 0x7c]
push eax
push 0x63
push dword [ebp + 8]
call esi
push 0xff
lea eax, [ebp - 0x17c]
push eax
push edi
push dword [ebp + 8]
call esi
push 0x10030
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x17c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10