Function at 0x40a190
Capabilities:
Check mutex on windows
Check os version
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4594e3
mov eax, dword fs:[0]
push eax
mov eax, 0x148c
call fcn.0043e420
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1354], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x137c], esi
mov dword [ebp - 0x1378], esi
mov dword [ebp - 0x1358], 0
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x40a7cf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
xor eax, eax
push 0x11c
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x1498]
mov dword [ebp - 0x1358], 1
mov dword [ebp - 0x124], 0x740068
mov dword [ebp - 0x120], 0x700074
mov dword [ebp - 0x11c], 0x3a0073
mov dword [ebp - 0x118], 0x2f002f
mov dword [ebp - 0x114], 0x2e0063
mov dword [ebp - 0x110], 0x6a0067
mov dword [ebp - 0x10c], 0x71002e
mov dword [ebp - 0x108], 0x2e0071
mov dword [ebp - 0x104], 0x6f0063
mov dword [ebp - 0x100], 0x2f006d
mov dword [ebp - 0xfc], 0x610063
mov dword [ebp - 0xf8], 0x2f0071
mov dword [ebp - 0xf4], 0x610063
mov dword [ebp - 0xf0], 0x3f0071
mov dword [ebp - 0xec], 0x760070
mov dword [ebp - 0xe8], 0x720065
mov dword [ebp - 0xe4], 0x25003d
mov dword [ebp - 0xe0], 0x260075
mov dword [ebp - 0xdc], 0x760063
mov dword [ebp - 0xd8], 0x720065
mov dword [ebp - 0xd4], 0x25003d
mov dword [ebp - 0xd0], 0x260075
mov dword [ebp - 0xcc], 0x69006d
mov dword [ebp - 0xc8], 0x3d0064
mov dword [ebp - 0xc4], 0x750025
mov dword [ebp - 0xc0], 0x730026
mov dword [ebp - 0xbc], 0x620075
mov dword [ebp - 0xb8], 0x640069
mov dword [ebp - 0xb4], 0x25003d
mov dword [ebp - 0xb0], 0x260075
mov dword [ebp - 0xac], 0x690073
mov dword [ebp - 0xa8], 0x3d0064
mov dword [ebp - 0xa4], 0x750025
mov dword [ebp - 0xa0], 0x630026
mov dword [ebp - 0x9c], 0x300070
mov dword [ebp - 0x98], 0x25003d
mov dword [ebp - 0x94], 0x260073
mov dword [ebp - 0x90], 0x700063
mov dword [ebp - 0x8c], 0x3d0031
mov dword [ebp - 0x88], 0x750025
mov dword [ebp - 0x84], 0x630026
mov dword [ebp - 0x80], 0x320070
mov dword [ebp - 0x7c], 0x25003d
mov dword [ebp - 0x78], 0x260075
mov dword [ebp - 0x74], 0x700063
mov dword [ebp - 0x70], 0x3d0033
mov dword [ebp - 0x6c], 0x750025
mov dword [ebp - 0x68], 0x700026
mov dword [ebp - 0x64], 0x310069
mov dword [ebp - 0x60], 0x25003d
mov dword [ebp - 0x5c], 0x260075
mov dword [ebp - 0x58], 0x690070
mov dword [ebp - 0x54], 0x3d0032
mov dword [ebp - 0x50], 0x750025
mov dword [ebp - 0x4c], 0x700026
mov dword [ebp - 0x48], 0x330069
mov dword [ebp - 0x44], 0x25003d
mov dword [ebp - 0x40], 0x260075
mov dword [ebp - 0x3c], 0x690070
mov dword [ebp - 0x38], 0x3d0034
mov dword [ebp - 0x34], 0x750025
mov dword [ebp - 0x30], 0x700026
mov dword [ebp - 0x2c], 0x310073
mov dword [ebp - 0x28], 0x25003d
mov dword [ebp - 0x24], 0x260073
mov dword [ebp - 0x20], 0x730070
mov dword [ebp - 0x1c], 0x3d0032
mov dword [ebp - 0x18], 0x730025
push eax
call fcn.0043fa60
add esp, 0xc
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x118
mov esi, eax
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.0043fa60
mov ebx, dword [ebp - 0x1354]
add esp, 0xc
mov dword [ebp - 0x244], 0x11c
test esi, esi
je 0x40a4d4
lea eax, [ebp - 0x244]
push eax
call esi
test eax, eax
je 0x40a4fe
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x244]
push eax
call esi
test eax, eax
jne 0x40a4fe
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0x114
push eax
call esi
test eax, eax
je 0x40a511
mov ecx, 0x47
lea esi, [ebp - 0x244]
lea edi, [ebp - 0x1498]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x20]
lea edi, [ebp - 0x330]
push 0x1ae
mov dword [ebp - 0x1374], eax
mov ecx, 0x17
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x1354], 0
mov esi, str.GlobalB07C25FC_871E_485D_A97B_CB3A4A0B9D37
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0043fa60
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x40a7d9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1350], eax
push esi
lea eax, [ebp - 0x330]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x1350]
push str._s_M_d
push eax
call fcn.00409830
mov esi, dword [ebp - 0x1350]
add esp, 0x10
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
test edi, edi
jne 0x40a5b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40a5d0
mov dword [ebp - 0x1354], 1
test edi, edi
je 0x40a5d0
cmp edi, 0xffffffff
je 0x40a5d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40a5ee
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x18]
lea ecx, [ebp - 0x134c]
mov dword [ebp - 0x1370], eax
lea eax, [ebx + 0x24]
push eax
call fcn.004016b0
mov dword [ebp - 4], 2
mov eax, dword [ebx + 8]
mov dword [ebp - 0x136c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x1368], eax
xor eax, eax
cmp dword [ebx + 0x1c], eax
setne al
inc eax
mov dword [ebp - 0x1364], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1360], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x135c], eax
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x1350], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x40a668
cmp ecx, dword [esi]
jne 0x40a668
lock inc dword [eax]
jmp 0x40a697
mov eax, dword [ecx]
lea ebx, [esi + 4]
push 2
push dword [ebx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x40a7e3
mov eax, dword [ebx]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov edx, dword [ebx]
inc edx
push edx
push dword [ebp - 0x1350]
call fcn.00409570
add esp, 8
add esi, 0x10
mov dword [ebp - 0x1350], esi
push 0x1002
lea eax, [ebp - 0x1334]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0043fa60
push 0
cmp dword [ebp - 0x1338], 8
lea eax, [ebp - 0x134c]
push esi
push dword [ebp - 0x135c]
cmovae eax, dword [ebp - 0x134c]
push dword [ebp - 0x1360]
push dword [ebp - 0x1364]
push dword [ebp - 0x1490]
push dword [ebp - 0x1494]
push dword [ebp - 0x1368]
push dword [ebp - 0x136c]
push eax
push 0
push dword [ebp - 0x1370]
lea eax, [ebp - 0x124]
push dword [ebp - 0x1354]
push dword [ebp - 0x1374]
push 0x1388
push eax
lea eax, [ebp - 0x1334]
push 0x801
push eax
call fcn.00409930
lea eax, [ebp - 0x1334]
add esp, 0x54
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a736
mov ebx, dword [ebp - 0x1378]
sub eax, edx
sar eax, 1
mov ecx, ebx
push eax
lea eax, [ebp - 0x1334]
push eax
call fcn.00409600
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x40a773
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1338]
cmp edx, 8
jb 0x40a7af
mov ecx, dword [ebp - 0x134c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a7a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7e8
push edx
push ecx
call fcn.0043dbf3
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407690
push 0x80004005
call fcn.00407690
call fcn.004096f0
call fcn.004420bc
int3