Function at 0x1000c211
Capabilities:
Check mutex on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcf4
mov eax, dword [0x10027120]
xor eax, esp
mov dword [esp + 0xcf0], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
cmp dword [eax + 0x20], ebx
jne 0x1000c262
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x14]
lea ebx, [esp + 0x18]
lea esi, [esp + 0x1c]
call fcn.1000bbc5
xor ebx, ebx
jmp 0x1000c26a
mov eax, dword [eax + 0x24]
mov dword [0x10029420], eax
push 0x12
pop ecx
mov esi, 0x10024630
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x36
lea eax, [esp + 0xc6]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.1000f470
add esp, 0xc
push dword [0x10029420]
lea eax, [esp + 0x7c]
push 0x1002467c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + eax*2 + 0x80]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
je 0x1000c2cf
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov byte [esp + 0x20], bl
lea edi, [esp + 0x21]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3c
lea eax, [esp + 0x3c]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.1000f470
add esp, 0xc
cmp dword [0x10029424], ebx
jne 0x1000c371
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x14]
xor ecx, ecx
call fcn.1000bcdb
pop ecx
test eax, eax
jne 0x1000c32e
lea eax, [esp + 0xc]
xor ecx, ecx
push eax
inc ecx
call fcn.1000bcdb
pop ecx
test eax, eax
je 0x1000c37e
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov edx, edi
call fcn.1000c685
pop ecx
test eax, eax
je 0x1000c37e
push esi
push edi
lea ebx, [esp + 0x28]
call fcn.1000c609
add esi, 0xffffffac
add edi, 0x54
push esi
push edi
mov edi, dword [esp + 0x40]
call fcn.1000bdf9
add esp, 0x10
mov dword [0x10029424], eax
xor ebx, ebx
jmp 0x1000c37e
mov eax, dword [0x100294a0]
cmp eax, ebx
je 0x1000c38e
mov dword [esp + 0x30], eax
cmp dword [esp + 0x10], ebx
je 0x1000c38e
push dword [esp + 0x10]
call fcn.1000d764
pop ecx
mov dword [esp + 0x18], ebx
mov byte [esp + 0xf8], bl
mov byte [esp + 0x2f8], bl
call fcn.1000d2f0
test eax, eax
lea eax, [esp + 0x2f8]
jne 0x1000c3b7
lea eax, [esp + 0xf8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x34]
lea edx, [esp + 0x300]
lea ecx, [esp + 0x100]
call fcn.1000be5e
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x1000c56d
mov eax, dword [esp + 0xc]
cmp byte [eax], bl
je 0x1000c56d
lea esi, [esp + 0x4f8]
call fcn.1000d220
mov eax, esi
push eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
call fcn.1000c7b6
pop ecx
test eax, eax
je 0x1000c4b7
cmp dword [esp + 0x14], ebx
je 0x1000c4cf
mov esi, dword [esp + 0xc]
cmp esi, ebx
je 0x1000c4b7
push esi
call fcn.1000d662
pop ecx
push esi
push dword [esp + 0x18]
mov dword [esp + 0x18], eax
push eax
call fcn.100151d0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
add esp, 0xc
push eax
mov ecx, esi
call fcn.1000c685
pop ecx
test eax, eax
je 0x1000c4ad
mov edi, dword [esp + 0x10]
push esi
push edi
lea ebx, [esp + 0x28]
call fcn.1000c609
cmp dword [0x10029424], 0
pop ecx
pop ecx
jne 0x1000c492
lea eax, [esi - 0x54]
add edi, 0x54
push eax
push edi
mov edi, dword [esp + 0x38]
call fcn.1000bdf9
pop ecx
pop ecx
mov dword [0x10029424], eax
mov ebx, dword [esp + 0x14]
xor edi, edi
inc edi
push esi
mov ecx, edi
call fcn.1000bc19
pop ecx
push esi
xor ecx, ecx
call fcn.1000bc19
pop ecx
xor ebx, ebx
push dword [esp + 0x10]
call fcn.1000d764
pop ecx
cmp dword [esp + 0x14], ebx
je 0x1000c4cf
push dword [esp + 0x14]
call fcn.1000d764
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
call fcn.1000d2f0
test eax, eax
je 0x1000c56d
cmp byte [esp + 0xf8], bl
je 0x1000c56d
lea esi, [esp + 0x4f8]
lea eax, [esp + 0xf8]
mov dword [esp + 0x10], ebx
call fcn.1000d220
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, 3
jge 0x1000c56d
lea eax, [esp + 0x4f8]
push eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
call fcn.1000c7b6
pop ecx
test eax, eax
je 0x1000c56d
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x1000c56d
cmp dword [esp + 0xc], ebx
je 0x1000c56d
push dword [esp + 0xc]
mov ebx, esi
xor ecx, ecx
call fcn.1000bc19
pop ecx
push dword [esp + 0xc]
xor ecx, ecx
inc ecx
mov dword [esp + 0x20], eax
call fcn.1000bc19
pop ecx
push esi
call fcn.1000d764
xor eax, eax
xor ebx, ebx
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
cmp dword [esp + 0x1c], eax
je 0x1000c500
neg edi
sbb edi, edi
and edi, 0xa5
add edi, 0xf
imul edi, edi, 0xea60
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000c392