Function at 0x410130
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4871b9
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f8], ecx
mov dword [ebp - 0x1f4], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1f8]
call fcn.00427340
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1f8]
add ecx, 0xe8
call fcn.00409b90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx], vtable.App.2.0
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0xac], vtable.App.1.0
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0xe8], vtable.App.0
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x100
call fcn.0040ee20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x120
call fcn.00415b60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x148
call fcn.00415b60
mov byte [ebp - 4], 4
push 0x494720
mov ecx, dword [ebp - 0x1f8]
add ecx, 8
call fcn.004021d0
mov ecx, dword [ebp - 0x1f8]
mov byte [ecx + 0xec], 0
mov edx, dword [ebp - 0x1f8]
mov byte [edx + 0xf4], 0
mov eax, dword [ebp - 0x1f8]
mov byte [eax + 0xf6], 0
mov ecx, dword [ebp - 0x1f8]
mov byte [ecx + 0xf7], 0
mov edx, dword [ebp - 0x1f8]
mov byte [edx + 0xf8], 0
mov eax, dword [ebp - 0x1f8]
mov byte [eax + 0xf9], 0
mov ecx, dword [ebp - 0x1f8]
mov byte [ecx + 0xfa], 0
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0xfc], 0
push 0x494734
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x100
call fcn.004021d0
push 0x4afbd4
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x120
call fcn.004064f0
mov eax, dword [ebp - 0x1f8]
mov byte [eax + 0x11c], 1
mov ecx, dword [ebp - 0x1f8]
mov byte [ecx + 0x11d], 0
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x13c], 0
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x140], 0
mov ecx, dword [ebp - 0x1f8]
mov byte [ecx + 0x164], 0
mov edx, dword [ebp - 0x1f8]
mov byte [edx + 0x178], 0
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x17c], 0
push 0x49473c
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00427fe0
mov ecx, eax
call fcn.00428630
mov dword [ebp - 0x1fc], eax
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x200]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00402d50
add esp, 0xc
mov dword [ebp - 0x204], eax
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x208], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x208]
push eax
call fcn.004299c0
add esp, 4
mov ecx, dword [ebp - 0x1f8]
mov byte [ecx + 0xf5], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.00401e50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.00401e50
mov ecx, dword [ebp - 0x1f8]
call fcn.00413020
push 0x494748
lea ecx, [ebp - 0x84]
call fcn.00401d70
mov byte [ebp - 4], 7
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x1f8]
call fcn.00428360
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00401db0
mov ecx, dword [ebp - 0x1f8]
call fcn.00410e00
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x1f8]
call fcn.004113f0
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x210], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x148
call fcn.004064f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00401db0
push 0x494758
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x100
push ecx
call fcn.00402e20
add esp, 8
movzx edx, al
test edx, edx
je 0x41047f
mov eax, dword [ebp - 0x1f8]
movzx ecx, byte [eax + 0xf5]
test ecx, ecx
je 0x41047f
mov edx, dword [ebp - 0x1f8]
mov byte [edx + 0xf4], 1
push 0x49463f
mov eax, dword [ebp - 0x1f8]
add eax, 0x148
push eax
call fcn.0040f250
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4104d7
push 0x494770
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x100
call fcn.004021d0
push 0x8e
mov ecx, dword [ebp - 0x1f8]
call fcn.00427c50
push 1
mov ecx, dword [ebp - 0x1f8]
call fcn.00427c80
jmp 0x410b2b
push 0x4afbf0
lea ecx, [ebp - 0x2c]
call fcn.00406440
mov byte [ebp - 4], 9
push 0x494790
mov edx, dword [ebp - 0x1f8]
add edx, 0x100
push edx
call fcn.00402e20
add esp, 8
movzx eax, al
test eax, eax
jne 0x41052a
push 0x4947a8
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x100
push ecx
call fcn.00402e20
add esp, 8
movzx edx, al
test edx, edx
je 0x410537
push 0x4947cc
lea ecx, [ebp - 0x2c]
call fcn.00406b00
lea ecx, [ebp - 0x2c]
call fcn.00402050
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x140], eax
push 0
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x1f8]
movzx edx, byte [ecx + 0xf6]
test edx, edx
jne 0x4105b4
cmp dword [ebp - 0x30], 0
je 0x4105b4
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1f8]
call fcn.00412e10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00401db0
jmp 0x410b2b
mov ecx, dword [ebp - 0x1f8]
call fcn.004119b0
mov edx, dword [ebp - 0x1f8]
mov byte [edx + 0x164], 1
call fcn.00427fe0
test eax, eax
je 0x4106b0
lea eax, [ebp - 0xbc]
push eax
call fcn.00427fe0
mov ecx, eax
call fcn.004288c0
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x218], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1f4]
or edx, 1
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x218]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00427ca0
add esp, 8
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edx
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x1f4]
or eax, 2
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4947d4
lea edx, [ebp - 0xf4]
push edx
call fcn.00406880
add esp, 0xc
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1f4]
or ecx, 4
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x228]
push edx
call fcn.00429810
add esp, 4
mov dword [ebp - 0x22c], 0
jmp 0x410789
lea eax, [ebp - 0x110]
push eax
call fcn.00427fe0
mov ecx, eax
call fcn.004288c0
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xd
mov edx, dword [ebp - 0x1f4]
or edx, 8
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00427ca0
add esp, 8
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x1f4]
or eax, 0x10
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x23c]
push ecx
push str.data:
lea edx, [ebp - 0x148]
push edx
call fcn.00406880
add esp, 0xc
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1f4]
or ecx, 0x20
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x244]
push edx
call fcn.00427fe0
mov ecx, eax
call fcn.00428c30
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x1f4]
and eax, 0x20
je 0x4107ad
and dword [ebp - 0x1f4], 0xffffffdf
lea ecx, [ebp - 0x148]
call fcn.00401db0
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1f4]
and ecx, 0x10
je 0x4107d1
and dword [ebp - 0x1f4], 0xffffffef
lea ecx, [ebp - 0x12c]
call fcn.00401db0
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x1f4]
and edx, 8
je 0x4107f5
and dword [ebp - 0x1f4], 0xfffffff7
lea ecx, [ebp - 0x110]
call fcn.00401e50
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x1f4]
and eax, 4
je 0x410819
and dword [ebp - 0x1f4], 0xfffffffb
lea ecx, [ebp - 0xf4]
call fcn.00401db0
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1f4]
and ecx, 2
je 0x41083d
and dword [ebp - 0x1f4], 0xfffffffd
lea ecx, [ebp - 0xd8]
call fcn.00401db0
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x1f4]
and edx, 1
je 0x410861
and dword [ebp - 0x1f4], 0xfffffffe
lea ecx, [ebp - 0xbc]
call fcn.00401e50
call fcn.00427fe0
test eax, eax
je 0x41094a
lea eax, [ebp - 0x164]
push eax
call fcn.00427fe0
mov ecx, eax
call fcn.00428740
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x1f4]
or edx, 0x40
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x180]
push ecx
call fcn.00427ca0
add esp, 8
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x1f4]
or eax, 0x80
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x254]
push ecx
push 0x4947e4
lea edx, [ebp - 0x19c]
push edx
call fcn.00406880
add esp, 0xc
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x1f4]
or ecx, 0x100
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x25c]
push edx
call fcn.00429810
add esp, 4
mov dword [ebp - 0x260], 0
jmp 0x410a2b
lea eax, [ebp - 0x1b8]
push eax
call fcn.00427fe0
mov ecx, eax
call fcn.00428740
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x268], ecx
mov dword [ebp - 4], 0x13
mov edx, dword [ebp - 0x1f4]
or edx, 0x200
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x268]
push eax
lea ecx, [ebp - 0x1d4]
push ecx
call fcn.00427ca0
add esp, 8
mov dword [ebp - 0x26c], eax
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], edx
mov dword [ebp - 4], 0x14
mov eax, dword [ebp - 0x1f4]
or eax, 0x400
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x270]
push ecx
push str.user_data:
lea edx, [ebp - 0x1f0]
push edx
call fcn.00406880
add esp, 0xc
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x278], eax
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1f4]
or ecx, 0x800
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x278]
push edx
call fcn.00427fe0
mov ecx, eax
call fcn.00428c30
mov dword [ebp - 0x260], 0
mov dword [ebp - 4], 0x14
mov eax, dword [ebp - 0x1f4]
and eax, 0x800
je 0x410a54
and dword [ebp - 0x1f4], 0xfffff7ff
lea ecx, [ebp - 0x1f0]
call fcn.00401db0
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1f4]
and ecx, 0x400
je 0x410a7e
and dword [ebp - 0x1f4], 0xfffffbff
lea ecx, [ebp - 0x1d4]
call fcn.00401db0
mov dword [ebp - 4], 0x12
mov edx, dword [ebp - 0x1f4]
and edx, 0x200
je 0x410aa8
and dword [ebp - 0x1f4], 0xfffffdff
lea ecx, [ebp - 0x1b8]
call fcn.00401e50
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x1f4]
and eax, 0x100
je 0x410ad1
and dword [ebp - 0x1f4], 0xfffffeff
lea ecx, [ebp - 0x19c]
call fcn.00401db0
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1f4]
and ecx, 0x80
je 0x410afb
and dword [ebp - 0x1f4], 0xffffff7f
lea ecx, [ebp - 0x180]
call fcn.00401db0
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x1f4]
and edx, 0x40
je 0x410b1f
and dword [ebp - 0x1f4], 0xffffffbf
lea ecx, [ebp - 0x164]
call fcn.00401e50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00401db0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret 0x10