Function at 0x446970
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x602280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xa34]
push esi
call fcn.00446400
lea ecx, [ebp - 0xa34]
call fcn.00440290
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
cmp word [ebp - 0x20c], ax
jne 0x4469dc
xor ecx, ecx
jmp 0x4469f4
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4469e5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00423770
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004467b0
add esp, 8
cmp dword [ebp - 0x214], 0
jne 0x446ae7
push edi
push 1
push 0xffffffffffffffff
push 0x595014
lea ecx, [ebp - 0x23c]
call fcn.004468f0
push 1
push 0xffffffffffffffff
push 0x5e4cf0
lea ecx, [ebp - 0x23c]
mov edi, eax
call fcn.004468f0
push 1
push 0xffffffffffffffff
push 0x5e4cf0
lea ecx, [ebp - 0x23c]
mov esi, eax
call fcn.004468f0
sub edi, esi
lea ecx, [ebp - 0x23c]
dec edi
inc eax
push edi
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00423ce0
mov esi, eax
lea eax, [ebp - 0x224]
pop edi
cmp eax, esi
je 0x446ad0
cmp dword [ebp - 0x210], 8
jb 0x446aa7
push dword [ebp - 0x224]
call fcn.0054b7e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x210], 7
push esi
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], ax
call fcn.00424b10
cmp dword [ebp - 0x240], 8
jb 0x446ae7
push dword [ebp - 0x254]
call fcn.0054b7e0
add esp, 4
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x446bc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x446bc5
push ebx
call fcn.0044d5d4
lea eax, [ebp - 0x2d8]
push eax
call fcn.00449a9d
add esp, 8
mov ecx, eax
call fcn.00447de0
push eax
call fcn.0044d8d8
add esp, 4
lea ecx, [ebp - 0x2d8]
call fcn.004477c0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa34]
call fcn.0043ead0
cmp dword [eax + 0x14], 8
jb 0x446b69
mov eax, dword [eax]
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0
push 0x96c80000
push eax
push 0
lea ecx, [ebp - 0xa34]
call fcn.00446e36
cmp dword [ebp - 0x240], 8
jb 0x446bab
push dword [ebp - 0x254]
call fcn.0054b7e0
add esp, 4
lea ecx, [ebp - 0xa34]
call fcn.00446cd5
lea ecx, [ebp - 0xa34]
call fcn.00447372
xor esi, esi
jmp 0x446c35
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa34]
call fcn.0043ead0
cmp dword [eax + 0x14], 8
jb 0x446bdf
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [ebp - 0x240], 8
mov esi, eax
jb 0x446c01
push dword [ebp - 0x254]
call fcn.0054b7e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
test esi, esi
je 0x446c32
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
or esi, 0xffffffff
cmp dword [ebp - 0x210], 8
jb 0x446c4c
push dword [ebp - 0x224]
call fcn.0054b7e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x210], 7
cmp dword [ebp - 0x228], 8
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], ax
jb 0x446c80
push dword [ebp - 0x23c]
call fcn.0054b7e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x228], 7
lea ecx, [ebp - 0xa34]
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
call fcn.00446590
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054bf74
mov esp, ebp
pop ebp
ret 0x10