Function at 0x1017d17
Capabilities:
Check mutex on windows

Disassembly:
push 0xd0
mov eax, 0x1044698
call fcn.010015e0
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x40], 0x1002be4
mov dword [ebp - 0x3c], ebx
push 0x1017f38
push ebx
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
lea ecx, [ebp - 0x40]
call fcn.01002cc0
cmp dword [ebp - 0x3c], ebx
je 0x10207ab
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x64]
push eax
push 0x1017f0c
mov ecx, esi
call fcn.01017f67
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x1017dcd
lea eax, [ebp - 0x54]
push eax
push 0x1017ee4
mov ecx, esi
call fcn.01017f67
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x1017dcd
lea eax, [ebp - 0x74]
push eax
push 0x1017eac
mov ecx, esi
call fcn.01017f67
mov dword [ebp - 0x20], eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x20], ebx
jl 0x1017e7b
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0xdc]
call fcn.01007919
mov edi, dword [esi + 0x3c]
push dword [edi]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.01007a64
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x1017e25
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.010079b5
mov dword [ebp - 0x34], eax
cmp dword [eax + 0x44], ebx
jne 0x10207b8
cmp dword [ebp - 0x18], ebx
jne 0x1017e09
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x50], ebx
ja 0x10207e7
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x60], ebx
ja 0x10209c7
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x70], ebx
ja 0x1020ade
cmp dword [ebp - 0xd8], ebx
ja 0x1020cb6
push dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
call fcn.01007a64
mov edi, eax
cmp edi, ebx
jne 0x1020cbf
lea ecx, [ebp - 0xdc]
call fcn.010044f7
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x1002be4
call fcn.01002cc0
lea ecx, [ebp - 0x74]
call fcn.01004450
lea ecx, [ebp - 0x54]
call fcn.01004450
lea ecx, [ebp - 0x64]
call fcn.01004450
mov eax, dword [ebp - 0x20]
call fcn.010015c0
ret
call fcn.0100f56e
mov dword [ebp - 0x20], eax
jmp 0x1017dd6
lea ecx, [eax + 0x20]
push ecx
push eax
lea ecx, [ebp - 0xdc]
call fcn.010056a3
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x3c]
call fcn.0103b0bf
mov edi, dword [esi + 0x3c]
push dword [edi]
mov ecx, edi
call fcn.01007a64
mov dword [ebp - 0x18], eax
jmp 0x1017e20
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.010068b5
push eax
mov ecx, esi
call fcn.0103b067
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x10209b6
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x2c], ebx
jbe 0x1020996
push 0x104a104
lea ecx, [ebp - 0x1c]
call fcn.01003060
push dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.010068b5
push eax
lea ecx, [ebp - 0x1c]
call fcn.01003fbc
mov eax, dword [ebp - 0x1c]
push 2
pop edi
cmp dword [eax - 0xc], edi
jl 0x102089e
push edi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
call fcn.01007c5b
or dword [ebp - 0x14], 1
push 0x1007d2c
push eax
mov byte [ebp - 4], 7
call fcn.0100422d
test al, al
jne 0x1020898
push edi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
call fcn.01007c5b
or dword [ebp - 0x14], edi
push 0x1007d24
push eax
call fcn.0100422d
test al, al
je 0x102089e
mov byte [ebp - 0xd], 1
jmp 0x10208a1
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 2
je 0x10208b6
mov ecx, dword [ebp - 0x44]
and dword [ebp - 0x14], 0xfffffffd
add ecx, 0xfffffff0
call fcn.01002990
test byte [ebp - 0x14], 1
mov dword [ebp - 4], 6
je 0x10208d2
mov ecx, dword [ebp - 0x38]
and dword [ebp - 0x14], 0xfffffffe
add ecx, 0xfffffff0
call fcn.01002990
cmp byte [ebp - 0xd], bl
je 0x10208e9
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.01007ddc
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x94]
call fcn.01007a16
xor eax, eax
inc eax
push eax
push eax
push eax
push eax
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 8
call fcn.010165e1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xdc]
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0103ba6c
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x94]
push eax
call fcn.010193f1
cmp eax, ebx
je 0x102094c
cmp dword [eax + 0x18], ebx
je 0x1020962
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.010056a3
lea ecx, [ebp - 0xbc]
call fcn.01004292
lea ecx, [ebp - 0x94]
call fcn.01003b4c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.01002990
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jb 0x1020825
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.01004450
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x50]
jae 0x1017e31
jmp 0x10207e7
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.01004450
jmp 0x1017e31
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.010068b5
push eax
mov ecx, esi
call fcn.0103b067
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x1020acd
xor edi, edi
cmp dword [ebp - 0x2c], ebx
jbe 0x1020aad
push edi
lea ecx, [ebp - 0x30]
call fcn.010068b5
push eax
lea ecx, [ebp - 0x94]
call fcn.01007a16
xor eax, eax
inc eax
push eax
push eax
push eax
push eax
push ebx
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.010068b5
push eax
lea ecx, [ebp - 0xbc]
call fcn.010165e1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xdc]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0103ba6c
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x94]
push eax
call fcn.010193f1
cmp eax, ebx
je 0x1020a73
cmp dword [eax + 0x18], ebx
je 0x1020a89
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.010056a3
lea ecx, [ebp - 0xbc]
call fcn.01004292
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xa
call fcn.01003b4c
inc edi
cmp edi, dword [ebp - 0x2c]
jb 0x1020a04
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.01004450
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x60]
jae 0x1017e3d
jmp 0x10209c7
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.01004450
jmp 0x1017e3d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x74]
call fcn.010068b5
push eax
lea ecx, [ebp - 0x1c]
call fcn.01003f3f
push 2
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.01007c5b
or dword [ebp - 0x14], 4
push 0x1007d24
push eax
mov byte [ebp - 4], 0xe
call fcn.0100422d
test al, al
jne 0x1020b3f
push 2
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
call fcn.01007c5b
or dword [ebp - 0x14], 8
push 0x1007d2c
push eax
call fcn.0100422d
mov byte [ebp - 0xd], bl
test al, al
je 0x1020b43
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 8
je 0x1020b58
mov ecx, dword [ebp - 0x38]
and dword [ebp - 0x14], 0xfffffff7
add ecx, 0xfffffff0
call fcn.01002990
test byte [ebp - 0x14], 4
mov dword [ebp - 4], 0xd
je 0x1020b74
mov ecx, dword [ebp - 0x44]
and dword [ebp - 0x14], 0xfffffffb
add ecx, 0xfffffff0
call fcn.01002990
cmp byte [ebp - 0xd], bl
je 0x1020b8b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.01007ddc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.0103b067
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x1020c9a
xor edi, edi
cmp dword [ebp - 0x2c], ebx
jbe 0x1020c6f
push edi
lea ecx, [ebp - 0x30]
call fcn.010068b5
push eax
lea ecx, [ebp - 0x94]
call fcn.01007a16
push 1
push 1
push ebx
push 1
push ebx
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.010068b5
push eax
lea ecx, [ebp - 0xbc]
call fcn.010165e1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xdc]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.0103ba6c
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x94]
push eax
call fcn.0103b0bf
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x94]
push eax
call fcn.0103b16d
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.010056a3
lea ecx, [ebp - 0xbc]
call fcn.01004292
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xf
call fcn.01003b4c
inc edi
cmp edi, dword [ebp - 0x2c]
jb 0x1020bc0
lea ecx, [ebp - 0x30]
call fcn.01004450
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.01002990
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x70]
jae 0x1017e49
jmp 0x1020ade
lea ecx, [ebp - 0x30]
call fcn.01004450
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.01002990
jmp 0x1017e49
mov byte [esi + 0x5a], 1
jmp 0x1017e55
add esi, 0x28
mov dword [ebp - 0x38], esi
push edi
lea ecx, [ebp - 0xdc]
mov esi, edi
call fcn.01007ab2
push dword [esi + 0x14]
mov ecx, dword [ebp - 0x38]
mov edi, eax
call fcn.01015df5
cmp edi, ebx
je 0x1017e70
jmp 0x1020cc5