Function at 0x10053f00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
mov esi, ecx
mov dword [esp + 4], 0
push edi
push 4
mov dword [esp + 0x20], esi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [esi + 4]
mov edi, eax
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 4]
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
movaps xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100540fc
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x100540fc
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jne 0x10053faa
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 4]
jne 0x10053fbf
mov eax, dword [esp + 0x28]
push 1
push edi
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10053fbf
cmp eax, 0x100
jne 0x10053fbf
cmp dword [esp + 0x28], 0x1b
jne 0x10053fbf
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
push 0xfffffffffffffff0
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x1005406c
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [0x103658f0]
mov edx, eax
sub ecx, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
js 0x100540c0
nop dword [eax]
mov eax, dword [sym.nsInstall.dll_class_DuiLib::CDuiPtrArray_DuiLib::CPaintManagerUI::m_aPreMessages]
mov esi, edx
mov edi, dword [eax + ecx*4]
test edx, edx
je 0x10054061
nop
mov eax, dword [edi + 0x84]
cmp dword [esp + 0x20], eax
je 0x10054020
cmp esi, eax
jne 0x1005404c
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call sym.nsInstall.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::TranslateAcceleratorW_struct_tagMSG__
test al, al
jne 0x100540d6
lea eax, [esp + 0x18]
mov ecx, edi
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call sym.nsInstall.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::PreMessageHandler_unsigned_int__unsigned_int__long_int__long_int__
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x10054010
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0xc], ecx
jns 0x10054000
jmp 0x100540c0
mov ecx, dword [0x103658f0]
xor eax, eax
test ecx, ecx
jle 0x100540c0
mov edx, dword [esp + 0x20]
mov edi, dword [sym.nsInstall.dll_class_DuiLib::CDuiPtrArray_DuiLib::CPaintManagerUI::m_aPreMessages]
mov esi, dword [edi + eax*4]
cmp edx, dword [esi + 0x84]
je 0x10054094
inc eax
cmp eax, ecx
jl 0x10054082
jmp 0x100540c0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call sym.nsInstall.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::TranslateAcceleratorW_struct_tagMSG__
test al, al
jne 0x100540d6
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call sym.nsInstall.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::PreMessageHandler_unsigned_int__unsigned_int__long_int__long_int__
test al, al
jne 0x100540d6
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esp + 0x24], 0x12
je 0x100540f8
mov esi, dword [esp + 0x1c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x10053f65
jmp 0x100540fc
mov edi, dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esp + 0x24], 0x12
jne 0x1005411d
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret