Function at 0x446b70
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1f49
mov eax, dword fs:[0]
push eax
sub esp, 0xc70
push ebx
push esi
push edi
mov eax, dword [0x4d6720]
xor eax, esp
push eax
lea eax, [esp + 0xc80]
mov dword fs:[0], eax
mov esi, ecx
push 0x4a6b10
call fcn.0043edb0
add esp, 4
test eax, eax
je 0x446bd4
cmp dword [0x4d8a54], 0
je 0x446bdb
mov eax, dword [0x4d8764]
test eax, eax
je 0x446bd4
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x4d8764]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
jmp 0x446f7c
push str.WOSB_Mutex_Settings
mov ebx, 1
push ebx
push 0
mov dword [0x4d8a54], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x446f0b
call fcn.00468b49
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x446c25
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
cmp dword [esi + 0x3f8], 0
mov dword [esp + 0xc88], 0
je 0x446c9c
push ebx
lea ecx, [esp + 0x18]
push 0x77
push ecx
call fcn.00401dd0
push 0x4b46b0
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0xca0], bl
call fcn.00401b10
add esp, 0x18
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8c], 2
call fcn.00401a50
lea ecx, [esp + 0x10]
call fcn.0041f860
lea ecx, [esp + 0x14]
mov byte [esp + 0xc88], 0
call fcn.0041f860
push ebx
lea eax, [esp + 0x18]
push 0xec
push eax
call fcn.00401dd0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc90], 3
call fcn.00401990
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xc88], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446cef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push esi
mov esi, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x30]
call fcn.0047112d
mov ecx, dword [esp + 0x7c]
and ecx, 0xfffffdff
or ecx, 0x200180
mov dword [esp + 0x7c], ecx
push 0
lea ecx, [esp + 0x3cc]
mov byte [esp + 0xc8c], 4
mov dword [esp + 0xa0], 0x439640
call fcn.00415ff0
lea ecx, [esp + 0x79c]
mov byte [esp + 0xc88], 5
call fcn.00416300
push 0
lea ecx, [esp + 0xd4]
mov byte [esp + 0xc8c], 6
call fcn.004193a0
mov eax, dword [esp + 0x43c]
mov ecx, 0xffffffdf
and dword [eax + 4], ecx
mov eax, dword [esp + 0x810]
and dword [eax + 4], ecx
mov eax, dword [esp + 0x144]
and dword [eax + 4], ecx
mov eax, dword [esp + 0x43c]
or dword [eax + 4], ebx
mov eax, dword [esp + 0x810]
or dword [eax + 4], ebx
mov eax, dword [esp + 0x144]
or dword [eax + 4], ebx
push 0
push 0
push 0x6b
mov byte [esp + 0xc94], 7
call fcn.0041dc20
mov edx, dword [esp + 0x448]
push 0
push 0
push 0xac
mov dword [edx + 0xc], eax
call fcn.0041dc20
mov ecx, dword [esp + 0x828]
push 0
push 0
push 0x42f
mov dword [ecx + 0xc], eax
call fcn.0041dc20
mov edx, dword [esp + 0x168]
mov dword [edx + 0xc], eax
add esp, 0x24
lea eax, [esp + 0x3c8]
push eax
lea ecx, [esp + 0x28]
call fcn.00470eae
lea ecx, [esp + 0x79c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00470eae
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x28]
call fcn.00470eae
push 0
push 3
lea ecx, [esp + 0x28]
call fcn.004056f0
lea ecx, [esp + 0x24]
mov byte [esp + 0xc88], 8
call fcn.0047087b
cmp eax, ebx
jne 0x446ea8
push 0
call fcn.0042ea10
add esp, 4
test eax, eax
jne 0x446e97
push ebx
lea eax, [esp + 0x14]
push 0xed
push eax
call fcn.00401dd0
mov edi, dword [esp + 0x1c]
push 0xe2
push edi
push 4
mov byte [esp + 0xca0], 9
call fcn.0042fc90
push ebx
push 0x10
push edi
call fcn.0041d870
add esp, 0x24
lea ecx, [esp + 0x10]
call fcn.0041f860
mov edi, dword [esp + 0x1c]
jmp 0x446ea8
mov ecx, dword [0x4d7dcc]
push ecx
mov ecx, 0x4d7d14
call fcn.00414670
lea ecx, [esp + 0x20]
mov byte [esp + 0xc88], 7
call fcn.00405130
lea ecx, [esp + 0xd0]
mov byte [esp + 0xc88], 6
call fcn.004194c0
lea ecx, [esp + 0x79c]
mov byte [esp + 0xc88], 5
call fcn.004161a0
lea ecx, [esp + 0x3c8]
mov byte [esp + 0xc88], 4
call fcn.004155f0
lea ecx, [esp + 0x24]
mov byte [esp + 0xc88], 0
call fcn.00470d67
lea eax, [esi - 0x10]
jmp 0x446f3b
push ebx
lea ecx, [esp + 0x20]
push 0xee
push ecx
call fcn.00401dd0
mov eax, dword [eax]
push ebx
push 0x10
push eax
mov dword [esp + 0xca0], 0xa
call fcn.0041d870
mov eax, dword [esp + 0x34]
add esp, 0x18
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov dword [esp + 0xc88], ecx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x446f5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x446f66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4d8a54], 0
mov dword [0x4d8764], 0
mov eax, ebx
mov ecx, dword [esp + 0xc80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc7c
ret