Function at 0x58d4e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab7a4
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x61de38]
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 dword [ebp - 0x30], ecx
push 0xa0
call fcn.0041a8c1
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x58d634
mov dword [ebx], vtable.awy::MemoryCollection::Memory.0
lea edi, [ebx + 4]
mov dword [ebp - 0x28], edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 4], vtable.awy::FileMemory.0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0x6279a8
mov byte [ebp - 4], 5
lea esi, [edi + 0x58]
mov dword [edi + 0x50], 0
push 0
mov dword [edi + 0x54], 0
mov dword [ebp - 0x2c], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00403210
mov dword [esi], eax
lea eax, [edi + 0x84]
push 0
mov dword [edi + 0x60], vtable.awy::ThreadWhile.0
push eax
mov dword [edi + 0x80], vtable.awy::CriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [edi + 0x64], 0xffffffff
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x40], 1
mov dword [ebx], vtable.awy::MemCollectionItem_class_awy::Application_.0
jmp 0x58d636
xor ebx, ebx
push 0x3e8
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x634c50
push ebx
mov dword [0x63523c], ebx
call fcn.004134a0
push ecx
mov ecx, dword [0x63523c]
lea ecx, [ecx + 4]
call fcn.00417940
test eax, eax
je 0x58db82
mov esi, dword [0x63523c]
test esi, esi
je 0x58d679
add esi, 4
jmp 0x58d67b
xor esi, esi
cmp dword [esi + 0x40], 0
je 0x58d705
push dword [esi + 0x44]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x58d6c1
cmp dword [esi + 0x34], 0
je 0x58d6bb
push ecx
mov dword [esi + 0x34], 0
call ebx
mov ecx, dword [esi + 0x30]
push ecx
call edi
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x58d6fe
mov eax, dword [esi + 0x30]
test eax, eax
je 0x58d6f5
cmp dword [esi + 0x34], 0
je 0x58d6eb
push eax
mov dword [esi + 0x34], 0
call ebx
mov eax, dword [esi + 0x30]
push eax
call edi
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 1
jmp 0x58d705
mov dword [esi + 0x40], 0
call fcn.004169a0
push 7
push str.log.txt
mov ecx, eax
call fcn.004120f0
call fcn.004169a0
mov ecx, eax
call fcn.00417360
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [ebp - 0x30]
call fcn.00429cc0
push 0
call fcn.0042ba86
mov ecx, dword [ebp - 0x30]
add esp, 4
push 0x5ea52c
call fcn.0042ac30
push 0x80
call fcn.0041a8c1
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x58d772
mov ecx, eax
call fcn.0041bfb1
mov ebx, eax
mov dword [ebp - 0x28], eax
jmp 0x58d777
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0042cbc9
push 0x7f00
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
push 0
push eax
push 0
call fcn.0041ca2a
push eax
lea ecx, [ebp - 0x34]
call fcn.004065e0
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 7
mov eax, dword [ebx]
xorps xmm0, xmm0
push ecx
push 0
push 0
push dword [ebp - 0x34]
mov ecx, ebx
push 0
movups xmmword [ebp - 0x20], xmm0
call dword [eax + 0x58]
call fcn.00413760
mov dword [ebp - 0x24], eax
mov edi, dword [eax]
mov esi, dword [edi]
cmp esi, edi
je 0x58d7f7
nop
push 0x5ea560
lea ecx, [esi + 0x30]
call fcn.004041b0
test eax, eax
jne 0x58d7f7
mov esi, dword [esi]
cmp esi, edi
jne 0x58d7e0
xor ebx, ebx
lea eax, [esi + 8]
cmp esi, edi
cmovne ebx, eax
test ebx, ebx
jne 0x58d8a0
lea ecx, [ebp - 0x68]
call fcn.00413e70
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], 0x6279a8
mov byte [ebp - 4], 8
lea eax, [ebp - 0x68]
mov ebx, dword [ebp - 0x24]
push eax
mov esi, dword [ebx]
mov edi, dword [esi + 4]
push edi
push esi
call fcn.00405160
mov edx, eax
mov ecx, 0x4444443
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x58dba0
inc eax
mov dword [ebx + 4], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ebx]
mov ebx, dword [eax + 4]
add ebx, 8
mov byte [ebp - 4], 7
cmp dword [ebp - 0x3c], 0
je 0x58d870
push dword [ebp - 0x40]
call fcn.0041a8f9
add esp, 4
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0x6279a8
call fcn.00413f30
test ebx, ebx
je 0x58d8a0
push 0x12
push 0x5ea560
lea ecx, [ebx + 0x28]
call fcn.00411530
push 0x5de547
push 0
call fcn.00568331
mov edx, eax
mov dword [ebp - 0x18], 0
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x14], ecx
mov eax, 0x6279a8
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x58d8e9
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58d8d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00411530
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
lea edi, [eax + ecx]
mov byte [ebp - 4], 9
cmp eax, edi
jae 0x58d914
mov esi, eax
push 0x5ea574
mov edx, edi
mov ecx, esi
call fcn.00411eb0
add esp, 4
test eax, eax
jne 0x58d9a3
inc esi
cmp esi, edi
jb 0x58d8f6
push 0x5ea57c
lea ecx, [ebp - 0x1c]
call fcn.00402e80
test eax, eax
jne 0x58d9a3
mov edi, dword [ebx + 8]
mov esi, dword [edi]
cmp esi, edi
je 0x58d949
push 0x5ea590
lea ecx, [esi + 0x14]
call fcn.004041b0
test eax, eax
jne 0x58d949
mov esi, dword [esi]
cmp esi, edi
jne 0x58d932
xor ecx, ecx
lea eax, [esi + 8]
cmp esi, edi
cmovne ecx, eax
test ecx, ecx
jne 0x58d99c
mov edi, dword [ebx]
mov esi, dword [edi]
cmp esi, edi
je 0x58d977
nop
push 0x5ea590
lea ecx, [esi + 0x14]
call fcn.004041b0
test eax, eax
jne 0x58d977
mov esi, dword [esi]
cmp esi, edi
jne 0x58d960
xor ecx, ecx
lea eax, [esi + 8]
cmp esi, edi
cmovne ecx, eax
test ecx, ecx
je 0x58d989
push dword [ecx]
jmp 0x58d98e
push 0x5fc1f0
push 0x5ea590
mov ecx, ebx
call fcn.00414020
mov ecx, eax
push 0
jmp 0x58da7d
mov edi, dword [ebx + 8]
mov esi, dword [edi]
cmp esi, edi
je 0x58d9c7
nop dword [eax]
push 0x5ea584
lea ecx, [esi + 0x14]
call fcn.004041b0
test eax, eax
jne 0x58d9c7
mov esi, dword [esi]
cmp esi, edi
jne 0x58d9b0
xor ecx, ecx
lea eax, [esi + 8]
cmp esi, edi
cmovne ecx, eax
test ecx, ecx
jne 0x58da7b
mov edi, dword [ebx]
mov esi, dword [edi]
cmp esi, edi
je 0x58d9f8
push 0x5ea584
lea ecx, [esi + 0x14]
call fcn.004041b0
test eax, eax
jne 0x58d9f8
mov esi, dword [esi]
cmp esi, edi
jne 0x58d9e1
xor ecx, ecx
lea eax, [esi + 8]
cmp esi, edi
cmovne ecx, eax
test ecx, ecx
je 0x58da18
push dword [ecx]
mov ecx, ebx
push 0x5ea584
call fcn.00414020
mov ecx, eax
jmp 0x58da7b
mov edi, dword [ebx + 8]
lea edx, [ebx + 8]
mov esi, dword [edi]
cmp esi, edi
je 0x58da4a
nop dword [eax]
nop dword [eax + eax]
push 0x5ea584
lea ecx, [esi + 0x14]
call fcn.004041b0
test eax, eax
jne 0x58da47
mov esi, dword [esi]
cmp esi, edi
jne 0x58da30
lea edx, [ebx + 8]
xor ecx, ecx
lea eax, [esi + 8]
cmp esi, edi
cmovne ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x58da6c
push 0x5ea584
mov ecx, edx
call fcn.004074a0
mov ecx, eax
mov dword [ebp - 0x24], eax
push 0
push 0x5fc1f0
call fcn.00411530
mov ecx, dword [ebp - 0x24]
push 1
push 0x5fc250
push ecx
call fcn.004115b0
add esp, 0xc
lea ecx, [ebx + 8]
push 0x5ea59c
call fcn.004075d0
test eax, eax
jne 0x58dac1
push 0x5ea59c
mov ecx, ebx
call fcn.004075d0
mov ecx, ebx
test eax, eax
je 0x58dab2
push dword [eax]
jmp 0x58dab7
push 0x5fc1f0
push 0x5ea59c
call fcn.00414020
push dword [eax]
call fcn.00567b2e
add esp, 4
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xa
push 0x12d78
test eax, eax
jne 0x58db03
call fcn.0041a8c1
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x28]
test eax, eax
je 0x58db2a
push edi
push 0x67
mov ecx, eax
call fcn.00592610
mov esi, eax
jmp 0x58db2c
call fcn.0041a8c1
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x28]
test eax, eax
je 0x58db2a
push edi
push 0x86
mov ecx, eax
call fcn.00592610
mov esi, eax
jmp 0x58db2c
xor esi, esi
mov eax, dword [ebp - 0x30]
mov ecx, esi
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x24], esi
mov dword [eax + 0x20], edi
mov eax, dword [esi]
call dword [eax + 0x174]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
mov dword [ebp - 0x24], 0
call fcn.004169a0
mov ecx, eax
call fcn.004170b0
mov ecx, 0x634c50
call fcn.00413510
cmp dword [ebp - 0x18], 0
je 0x58db7a
push dword [ebp - 0x1c]
call fcn.0041a8f9
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.004039b0
xor eax, eax
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.0055c6fa
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0055dbbe
int3