Function at 0x10043d4
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
push 0x30
stosd dword es:[edi], eax
pop eax
push 0x32
mov word [ebp - 0x24], ax
pop eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x22], ax
mov dword [ebp - 0x20], 0x10015e4
mov esi, 0x1015de8
push esi
call fcn.01003464
push 0x10015b4
mov dword [0x1015e08], 0x10012a8
mov dword [section..data], esi
call fcn.01003532
mov eax, dword [section..data]
mov edi, section..data
cmp eax, edi
je 0x100445d
test dword [eax + 0x1c], 0x800
je 0x100445d
push 0x10012b8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010030f3
push ebx
push ebx
xor esi, esi
inc esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
test eax, eax
jne 0x10044ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [section..data]
cmp eax, edi
je 0x10046e0
test dword [eax + 0x1c], 0x800
je 0x10046e0
push dword [ebp - 4]
push 0x10012b8
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003119
jmp 0x10046db
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 0x1001264
call dword [sym.imp.ntdll.dll_EtwEventRegister]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x10044e9
mov eax, dword [section..data]
cmp eax, edi
je 0x10046e0
test dword [eax + 0x1c], 0x800
je 0x10046e0
push dword [ebp - 4]
push 0x10012b8
push 0xc
jmp 0x100449b
lea eax, [ebp - 0xc]
push eax
push 0x1001594
call sub.slc.dll_SLGetWindowsInformationDWORD
test eax, eax
jge 0x10044fe
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0xc], ebx
jne 0x100451c
lea eax, [ebp - 0x24]
push eax
push 0x1001298
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.01005863
jmp 0x10046db
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
cmp esi, ebx
jge 0x1004564
push esi
call fcn.010036c9
mov dword [ebp - 4], eax
mov eax, dword [section..data]
cmp eax, edi
je 0x10046e0
test dword [eax + 0x1c], 0x800
je 0x10046e0
push esi
push 0x10012b8
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003119
jmp 0x10046db
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x10], 1
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
cmp esi, ebx
jge 0x10045af
push esi
call fcn.010036c9
mov dword [ebp - 4], eax
mov eax, dword [section..data]
cmp eax, edi
je 0x10046e0
test dword [eax + 0x1c], 0x800
je 0x10046e0
push esi
push 0x10012b8
push 0xe
jmp 0x1004554
cmp dword [ebp - 4], ebx
jne 0x10046db
push 0x1001584
push 2
call dword [sym.imp.msvcrt.dll__wsetlocale]
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
call fcn.010056b1
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1004600
mov eax, dword [section..data]
cmp eax, edi
je 0x10046e0
test dword [eax + 0x1c], 0x800
je 0x10046e0
push dword [ebp - 4]
push 0x10012b8
push 0xf
jmp 0x100449b
push 0x100001
push ebx
push 0x1001558
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0x1001528
call dword [sym.imp.KERNEL32.dll_CreateMutexExW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x100465f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [section..data]
cmp eax, edi
je 0x1004695
test dword [eax + 0x1c], 0x800
je 0x1004695
push dword [ebp - 4]
push 0x10012b8
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003119
jmp 0x1004690
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
call fcn.01004259
mov dword [ebp - 4], eax
cmp eax, 0x3fa
je 0x100467e
cmp eax, 2
jne 0x1004690
push ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc esi
cmp esi, 5
jb 0x100466a
mov eax, dword [section..data]
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x10046e0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [section..data]
cmp eax, edi
je 0x10046d4
test dword [eax + 0x1c], 0x800
je 0x10046d4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [section..data]
push esi
push 0x10012b8
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003432
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [section..data]
cmp dword [ebp - 8], ebx
je 0x10046f4
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ClosePrivateNamespace]
mov eax, dword [section..data]
cmp dword [ebp - 0x10], ebx
je 0x1004704
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [section..data]
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0x18]
je 0x1004755
cmp dword [ebp - 4], ebx
jne 0x100471a
push ebx
push ebx
push 0x1001288
jmp 0x1004738
lea eax, [ebp - 4]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 1
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], ebx
push 0x1001278
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_EtwEventWrite]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_EtwEventUnregister]
mov eax, dword [section..data]
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x100477a
test dword [eax + 0x1c], 0x800
je 0x100477a
push dword [ebp - 4]
push 0x10012b8
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003119
call fcn.0100357f
mov eax, dword [ebp - 4]
leave
ret