Function at 0x1003d640
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c08c5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x100fe39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x90], edi
cmp byte [edi + 0x38], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
je 0x1003d764
call fcn.1004e090
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003d75d
push 0x58
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], eax
push 0x100d30a8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.10008e70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x100d2fcc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10008e70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
push 0x2f
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10004210
mov esi, eax
mov byte [ebp - 4], 2
push str.TaskBarWndImpl::Init____has_init___true__break.
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.100067d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100053b0
xor al, al
jmp 0x1003e093
mov eax, dword [ebp + 8]
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov byte [edi + 0x38], 1
mov dword [edi + 0x30], eax
mov byte [ebp - 0x86], 0
call esi
test eax, eax
jne 0x1003d865
call fcn.1004e090
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003e086
push 0x58
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], eax
push 0x100d3148
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.10008e70
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x100d30a4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10008e70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x44]
push 0x37
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10004210
mov esi, eax
mov byte [ebp - 4], 6
push str.TaskBarWndImpl::Init____CreateTaskBarMutex___fail__init_fail.
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
call fcn.100067d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100053b0
jmp 0x1003e086
push dword [edi + 4]
call esi
test eax, eax
je 0x1003df98
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x80], 0
push 9
push eax
call fcn.1002e410
add esp, 8
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 8
lea esi, [edi + 0x78]
cmp esi, eax
je 0x1003d907
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x1003d8d7
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1003d8c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e0b0
mov eax, edx
push ecx
push eax
call fcn.1004f19d
mov eax, dword [ebp - 0x8c]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.10005430
lea eax, [ebp - 0x84]
push eax
push 0x100d4408
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetPropertyStoreForWindow]
test eax, eax
js 0x1003d9d9
cmp dword [esi + 0x14], 8
jb 0x1003d93b
mov esi, dword [esi]
xor ecx, ecx
mov eax, 0x80070057
test esi, esi
cmovne eax, ecx
je 0x1003d9ad
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003d950
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
mov dword [ebp - 0x8c], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, 0x8007000e
cmovne eax, edx
mov dword [ebp - 0x94], eax
je 0x1003d9ad
mov eax, dword [ebp - 0x8c]
push eax
push esi
push eax
push ecx
call fcn.1000ebd0
mov eax, 0x1f
add esp, 0x10
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x94]
test eax, eax
js 0x1003d9d9
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x20]
push edx
push 0x100d446c
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x80]
test eax, eax
movzx ecx, cl
mov eax, 1
cmovns ecx, eax
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x84]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x1003d9f0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x80], 0
je 0x1003df98
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [edi + 0x224], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], eax
jne 0x1003df98
push str.TaskBarTpiSubWndExist
push 1
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x224], eax
test eax, eax
je 0x1003df98
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1003da7e
push dword [edi + 0x224]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x224], 0
jmp 0x1003df98
call fcn.1004e090
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003db59
push 0x58
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], eax
push 0x100d22a0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], al
call fcn.10008e70
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x44]
push 3
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0x100d229c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10008e70
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x6c]
push 0x2ea
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10004210
mov esi, eax
mov byte [ebp - 4], 0xb
push str.TaskBarWndImpl::CreateTaskBarMutex__
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x12c]
call fcn.100067d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.100053b0
xorps xmm0, xmm0
mov byte [ebp - 0x85], 0
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x6c], xmm0
call fcn.10058f20
mov dword [ebp - 4], 0xd
lea ecx, [edi + 0xd0]
push dword [ebp - 0x2c]
call fcn.1001ece0
movzx ecx, byte [ebp - 0x85]
test al, al
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.100566c0
cmp byte [ebp - 0x2c], 0
je 0x1003df98
lea eax, [ebp - 0x80]
push eax
push 0x100d36d8
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetPropertyStoreForWindow]
test eax, eax
js 0x1003df98
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x20]
mov eax, 0xb
mov word [ebp - 0x20], ax
or eax, 0xffffffff
push edx
mov word [ebp - 0x18], ax
mov eax, dword [ecx]
push 0x100d4458
push ecx
call dword [eax + 0x18]
test eax, eax
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [eax]
js 0x1003df95
call dword [ecx + 0x1c]
test eax, eax
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [eax]
js 0x1003df95
call dword [ecx + 8]
mov ecx, edi
call fcn.1003e0c0
test al, al
jne 0x1003ddf8
call fcn.1004e090
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003dd77
push 0x58
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], eax
push 0x100d3288
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.10008e70
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
push 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x100d31a4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10008e70
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x44]
push 0x42
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10004210
mov esi, eax
mov byte [ebp - 4], 0x15
push str.TaskBarWndImpl::Init____InitTaskBarLists_fail__break.
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x12c]
call fcn.100067d0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1003dd18
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dd0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e0b0
push edx
push ecx
call fcn.1004f19d
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1003dd65
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dd5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e0b5
push edx
push ecx
call fcn.1004f19d
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ecx, dword [0x101037c4]
test ecx, ecx
jne 0x1003dde3
push 0x100fe02c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101037c4], 0
jne 0x1003ddd2
push 4
call fcn.1004f16d
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0x17
test eax, eax
je 0x1003ddbc
mov ecx, eax
mov dword [eax], 0
call fcn.10053500
jmp 0x1003ddbe
xor eax, eax
mov dword [ebp - 4], 0xffffffff
xor edx, edx
lea ecx, [ebp - 0x2c]
lock or dword [ecx], edx
mov dword [0x101037c4], eax
push 0x100fe02c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101037c4]
push 0
push 0
push 1
push 0x100d323c
push str.init_task_list_fail
call fcn.100535b0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x40000000
mov dword [ebp - 0x2c], eax
je 0x1003de32
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov dword [ebp - 0x80], esi
jmp 0x1003de42
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x2c], 0
jne 0x1003dec1
test esi, esi
je 0x1003de70
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x30000000
cmp eax, 0x10000000
je 0x1003deaf
xor esi, esi
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x1003df8e
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x1003df8e
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [ebp - 0x3c], xmm0
test esi, esi
jne 0x1003deb4
movups xmmword [ebp - 0x54], xmm0
jmp 0x1003def8
push 2
push esi
jmp 0x1003de75
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x1003def8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push edi
call esi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x80]
call esi
push 2
lea eax, [ebp - 0x54]
push eax
push edi
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x54]
cdq
sub eax, edx
mov dword [ebp - 0x90], esi
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x50]
cdq
sub eax, edx
mov dword [ebp - 0x84], ecx
mov esi, eax
mov eax, dword [ebp - 0x80]
cdq
sub eax, edx
sar esi, 1
mov edx, dword [ebp - 0x90]
add ecx, edx
sar eax, 1
sub esi, eax
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jle 0x1003df55
mov ecx, eax
sub ecx, edx
jmp 0x1003df5b
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x80]
cmovl ecx, dword [ebp - 0x3c]
add eax, esi
mov edx, dword [ebp - 0x30]
cmp eax, edx
jle 0x1003df73
mov esi, edx
sub esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x38]
cmp esi, eax
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
cmovl esi, eax
push esi
push ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
jmp 0x1003e093
call dword [ecx + 8]
call fcn.1004e090
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003e070
push 0x58
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
push 0x100d31a8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10008e70
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x6c]
push 3
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
push 0x100d3144
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
call fcn.10008e70
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x28]
push 0x3c
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10004210
mov esi, eax
mov byte [ebp - 4], 0x11
push str.TaskBarWndImpl::Init____ChangeRandomWindowAppUserModelID_fail__break.
push esi
call fcn.10006300
add esp, 8
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x12c]
call fcn.100067d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6c]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100053b0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003e086
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, edi
call fcn.100407e0
mov al, byte [ebp - 0x86]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f51c
mov esp, ebp
pop ebp
ret 8
call fcn.1008b33c
call fcn.1008b33c
int3