Function at 0x427080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576a8e
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5bafe0]
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 eax, dword [ebp + 8]
mov ebx, edx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x14c], eax
mov eax, dword [edx + 0x48]
or edi, 0xffffffff
push eax
lea esi, [ebp - 0x144]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x134], edi
call fcn.004d1420
mov edx, dword [ebx + 0x30]
xor esi, esi
xor eax, eax
lea ecx, [edx + 0x53d0]
lea ecx, [ecx]
cmp dword [ecx], esi
je 0x427102
inc eax
add ecx, 0x1844
cmp eax, 3
jb 0x4270f0
jmp 0x42711f
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*8 + 0x232a0]
mov dword [ecx], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], esi
mov dword [ebp - 0x134], eax
mov edi, eax
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x427198
push 0x1d
push str.ReleaseMutex___mutex.cpp157_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], al
call fcn.00402e40
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0x10
jb 0x427162
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x138], eax
jmp 0x42716b
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x138], ecx
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x15c]
call fcn.0052b87d
push 0x5a95d8
lea eax, [ebp - 0x15c]
push eax
mov dword [ebp - method.std::logic_error.virtual_0], vtable.pix::ipc_error.0
call fcn.00532abb
cmp edi, 0xffffffff
je 0x4272a2
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x48]
mov edx, dword [ebx + 0x30]
push eax
push edx
push edi
push esi
lea esi, [ebp - 0x130]
call fcn.00417f20
lea esi, [ebx + 0x40]
mov dword [ebp - 4], 1
mov dword [ebp - 0x150], esi
mov dword [esi], 0
mov eax, dword [ebp - 0x14c]
mov byte [ebp - 4], 2
test eax, eax
jne 0x4271ee
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x50]
xor ecx, ecx
test eax, eax
je 0x4271ec
mov ecx, dword [eax + 4]
mov eax, ecx
mov ecx, dword [ebp - 0x148]
push ecx
push eax
lea edi, [ebp - 0x130]
call fcn.00428030
mov dword [esi], eax
mov ecx, edi
call fcn.00468710
mov byte [ebp - 4], 1
mov dword [esi], 0
test eax, eax
jne 0x427290
mov ebx, dword [ebx + 0xc]
push eax
push 0x30000001
call fcn.004c4ab0
mov edi, dword [ebp - 0x13c]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x427246
push 0
push 0
push 0xa00a
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x134]
lea edx, [eax + eax*2 + 0x4656]
mov eax, dword [edi + 0x30]
cmp dword [eax + edx*8], 0
je 0x427290
mov ebx, dword [edi + 0xc]
push 0
push 0x30000000
call fcn.004c4ab0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x48]
push eax
lea esi, [ebp - 0x140]
call fcn.004d1420
mov eax, edi
call fcn.00427da0
mov edx, dword [ebp - 0x140]
push edx
call fcn.004d1370
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.00418070
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.0052b755
mov esp, ebp
pop ebp
ret 4