Function at 0x1000b650
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10041280]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10043614], 0
jne 0x1000b67a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10043614], eax
push 0xffffffffffffffff
mov eax, dword [0x10043614]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.10009a30
add esp, 4
movzx edx, byte [0x10042410]
test edx, edx
je 0x1000b6ba
movzx eax, byte [0x10043618]
test eax, eax
je 0x1000b6b3
mov dword [ebp + 0x10], 0x30
jmp 0x1000b6ba
mov dword [ebp + 0x10], 0x20
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
call fcn.1000a320
cmp dword [0x10042414], 0xffffffff
jne 0x1000b6e4
call fcn.10009f90
mov dword [0x10042414], eax
cmp dword [0x10042414], 0xffffffff
jne 0x1000b71d
push 0x1003debc
push 0x1003ded4
push 0x32e
push 0x1003dee4
call fcn.10009640
add esp, 0x10
mov eax, dword [0x10043614]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
or eax, 0xffffffff
jmp 0x1000b97e
mov ecx, dword [ebp + 0x10]
push ecx
push str.SLA_ChallengeEx_input_leght__d
push 0x1003df18
push 0x333
push 0x1003df28
call fcn.10009640
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.10002bf0
movzx edx, byte [0x10042410]
test edx, edx
je 0x1000b7a1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.10009e10
add esp, 8
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002cb0
lea ecx, [ebp - 0x34]
call fcn.10002d60
lea ecx, [ebp - 0x1c]
call fcn.10002f10
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x1c]
call fcn.10002ef0
push eax
push str.mtk_SLA_ChallengeEx_token__s
push 0x1003df5c
push 0x33a
push 0x1003df6c
call fcn.10009640
add esp, 0x14
mov dword [ebp - 0x38], 0xfffffffe
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
push 4
lea edx, [ebp - 0x44]
push edx
push 0x10042414
call fcn.1000a0a0
add esp, 0xc
test eax, eax
jne 0x1000b7d9
jmp 0x1000b916
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
push 4
lea ecx, [ebp + 0x10]
push ecx
push 0x10042414
call fcn.1000a0a0
add esp, 0xc
test eax, eax
jne 0x1000b7fe
jmp 0x1000b916
mov edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp - 0x38], edx
movzx eax, byte [0x10042410]
test eax, eax
je 0x1000b845
lea ecx, [ebp - 0x1c]
call fcn.10002f10
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002ef0
push eax
push 0x10042414
call fcn.1000a0a0
add esp, 0xc
test eax, eax
jne 0x1000b83a
jmp 0x1000b916
mov ecx, dword [ebp - 0x38]
sub ecx, 1
mov dword [ebp - 0x38], ecx
jmp 0x1000b86c
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x10042414
call fcn.1000a0a0
add esp, 0xc
test eax, eax
jne 0x1000b863
jmp 0x1000b916
mov ecx, dword [ebp - 0x38]
sub ecx, 1
mov dword [ebp - 0x38], ecx
push 4
lea edx, [ebp - 0x40]
push edx
push 0x10042414
call fcn.1000a020
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x1000b88b
jmp 0x1000b916
mov ecx, dword [ebp - 0x38]
sub ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x40], 0
jne 0x1000b89c
jmp 0x1000b916
mov edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.1000dc3e
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x1000b8bc
jmp 0x1000b916
mov ecx, dword [ebp - 0x38]
sub ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x3c]
push eax
push 0x10042414
call fcn.1000a020
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x1000b8e3
jmp 0x1000b916
mov edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp - 0x38], edx
movzx eax, byte [0x10042410]
test eax, eax
je 0x1000b907
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.10009bc0
add esp, 8
mov dword [ebp - 0x38], 0
xor eax, eax
jne 0x1000b7b6
mov ecx, dword [ebp - 0x38]
push ecx
push 0x1003df80
push str.SLA_ChallengeEx
push 0x360
push 0x1003dfac
call fcn.10009640
add esp, 0x14
cmp dword [ebp - 0x38], 0
je 0x1000b950
cmp dword [ebp - 0x3c], 0
je 0x1000b94e
mov edx, dword [ebp - 0x3c]
push edx
call fcn.1000c4dd
add esp, 4
jmp 0x1000b960
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3c]
mov dword [edx], eax
mov ecx, dword [0x10043614]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x1c]
call fcn.10002d60
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c244
mov esp, ebp
pop ebp
ret 0x18