Function at 0x43f140
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56088b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x88], ebx
mov esi, dword [ebp + 0xc]
lea edi, [ebx + 4]
mov ecx, edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x7c], edi
call fcn.0043f810
test al, al
je 0x43f198
push 0xffffffffffffffff
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call fcn.0048ba7e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0043e4a0
xor ebx, ebx
mov byte [ebp - 4], 2
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.0043f760
mov edx, dword [ebp - 0x40]
mov esi, eax
mov eax, dword [ebp - 0x30]
cmp esi, 0xffffffff
je 0x43f333
nop
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
cmp eax, ebx
jb 0x43f733
sub eax, ebx
mov ecx, esi
sub ecx, ebx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, edx
push ecx
lea ecx, [ebp - 0x28]
lea eax, [eax + ebx*2]
push eax
call fcn.00407de0
cmp dword [ebp - 0x64], 0x7ffffff
mov ebx, dword [ebp - 0x68]
mov byte [ebp - 4], 3
je 0x43f738
lea eax, [ebp - 0x68]
mov dword [ebp - 0x90], eax
push 0x20
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], 0
call fcn.0048ba7e
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x1c]
inc esi
add esp, 4
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 2
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
inc dword [ebp - 0x64]
mov eax, dword [ebx + 4]
mov dword [edx], ebx
mov dword [edx + 4], eax
mov dword [ebx + 4], edx
mov dword [eax], edx
mov eax, dword [ebp - 0x74]
mov ebx, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], eax
cmp dword [eax + 0x14], 8
jb 0x43f2cc
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edx, dword [eax + 0x10]
cmovae ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x70], eax
cmp edx, eax
ja 0x43f31e
sub eax, edx
cmp esi, eax
ja 0x43f31e
test edx, edx
jne 0x43f2fb
mov ebx, dword [ebp - 0x5c]
mov esi, ebx
jmp 0x43f324
inc eax
lea esi, [ecx + esi*2]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x84], eax
sub eax, esi
sar eax, 1
je 0x43f31e
movzx ecx, word [ebx]
cmp word [esi], cx
je 0x43f35d
add esi, 2
sub eax, 1
jne 0x43f311
or esi, 0xffffffff
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x70]
cmp esi, 0xffffffff
jne 0x43f1f0
cmp ebx, eax
jae 0x43f401
mov ecx, eax
mov dword [ebp - 0x18], 0
xor esi, esi
mov dword [ebp - 0x14], 7
sub ecx, ebx
mov word [ebp - 0x28], si
cmp eax, ebx
jb 0x43f733
jmp 0x43f39c
mov eax, dword [ebp - 0x74]
mov ecx, ebx
cmp dword [eax + 0x10], 0
jbe 0x43f381
mov ebx, esi
sub ebx, dword [ebp - 0x6c]
lea ecx, [ecx]
mov ax, word [ebx + ecx]
cmp ax, word [ecx]
jne 0x43f388
add ecx, 2
sub edx, 1
jne 0x43f370
sub esi, dword [ebp - 0x78]
sar esi, 1
jmp 0x43f321
mov ebx, dword [ebp - 0x6c]
add esi, 2
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
jmp 0x43f308
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, edx
lea ecx, [ebp - 0x28]
lea eax, [eax + ebx*2]
push eax
call fcn.00407de0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x68]
call fcn.00419d80
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x43f401
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f3f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f747
push edx
push ecx
call fcn.0048baae
add esp, 8
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x70], edx
mov esi, dword [esi]
mov ebx, dword [edx]
mov dword [ebp - 0x6c], esi
mov ecx, dword [esi]
mov eax, ebx
mov dword [ebp - 0x5c], ebx
cmp ecx, esi
je 0x43f47d
cmp eax, edx
je 0x43f5ab
cmp dword [ecx + 0x1c], 8
lea esi, [ecx + 8]
jb 0x43f430
mov esi, dword [ecx + 8]
cmp dword [eax + 0x1c], 8
lea edx, [eax + 8]
jb 0x43f43c
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0x18]
cmp ebx, dword [ecx + 0x18]
jne 0x43f470
test ebx, ebx
je 0x43f464
sub edx, esi
mov dword [ebp - 0x78], edx
lea ecx, [ecx]
mov dx, word [esi + edx]
cmp dx, word [esi]
jne 0x43f470
mov edx, dword [ebp - 0x78]
add esi, 2
sub ebx, 1
jne 0x43f450
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x6c]
jmp 0x43f418
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x6c]
mov ebx, dword [ebx]
jmp 0x43f411
mov ebx, dword [ebp - 0x5c]
cmp ebx, edx
je 0x43f5ab
mov eax, dword [ebp + 8]
mov esi, ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x43f49b
mov esi, dword [esi]
sub eax, 1
jne 0x43f494
cmp ebx, esi
je 0x43f4e0
mov eax, dword [ebx + 4]
xor edi, edi
mov dword [eax], esi
mov dword [esi + 4], eax
lea esp, [esp]
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebx]
add eax, 8
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0041ea10
push 0x20
push dword [ebp - 0x5c]
call fcn.0048baae
add esp, 0x10
mov dword [ebp - 0x5c], ebx
inc edi
cmp ebx, esi
jne 0x43f4b0
sub dword [ebp - 0x64], edi
mov edx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x43f4f3
mov byte [eax], 0
mov edx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x14], 7
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], cx
mov esi, dword [edx]
mov byte [ebp - 4], 6
cmp esi, edx
je 0x43f559
mov edi, dword [ebp - 0x74]
cmp dword [esi + 0x18], 0
je 0x43f550
test eax, eax
je 0x43f532
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x43f526
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402820
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
jb 0x43f53e
mov ecx, dword [esi + 8]
push dword [esi + 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402820
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x18]
mov esi, dword [esi]
cmp esi, edx
jne 0x43f512
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0043e5c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x43f5a2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f598
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f742
push edx
push ecx
call fcn.0048baae
add esp, 8
mov edx, dword [ebp - 0x68]
mov byte [ebp - 0x5d], 1
jmp 0x43f5af
mov byte [ebp - 0x5d], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x40]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x43f5f0
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x43f5e3
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f747
push ecx
push ebx
call fcn.0048baae
mov edx, dword [ebp - 0x68]
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [edx + 4]
mov dword [eax], 0
mov ebx, dword [edx]
test ebx, ebx
je 0x43f633
mov esi, dword [ebx]
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0041ea10
push 0x20
push ebx
call fcn.0048baae
add esp, 0x10
mov ebx, esi
test esi, esi
jne 0x43f613
push 0x20
push dword [ebp - 0x68]
call fcn.0048baae
add esp, 8
mov eax, dword [edi + 0x18]
mov dword [ebp - 4], 7
test eax, eax
jne 0x43f70b
lea eax, [ebp - 0x58]
push eax
call fcn.0041d670
add esp, 4
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043f8e0
cmp dword [eax + 0x14], 8
jb 0x43f672
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
cmp edx, 8
jb 0x43f6ba
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f6b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f74c
push edx
push ecx
call fcn.0048baae
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x43f704
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f6fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f74c
push edx
push ecx
call fcn.0048baae
add esp, 8
mov eax, dword [edi + 0x18]
test eax, eax
je 0x43f712
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048babc
mov esp, ebp
pop ebp
ret 8
call fcn.00404500
push str.list_too_long
call fcn.00489229
call fcn.004973d9
call fcn.004973d9
call fcn.004973d9
int3