Function at 0x542185
Capabilities:
Hide graphical window

Disassembly:
push 0x34
mov eax, 0x5b3f9a
call fcn.0053f6df
mov edi, ecx
lea ecx, [ebp + 8]
call fcn.00551bf6
test al, al
je 0x5421a6
xor eax, eax
jmp 0x542602
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 0x10]
call esi
push 0xffffffffffffffec
push dword [edi + 0x10]
mov dword [edi + 0x290], eax
call esi
mov dword [edi + 0x294], eax
lea ebx, [edi + 0x1c]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 2
call fcn.005456ce
push 0xc8
push str.width
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
call fcn.0055107b
mov ecx, eax
call fcn.00551027
push 0xc8
mov dword [ebp - 0x3c], eax
lea ecx, [ebp + 8]
push str.height
lea eax, [ebp - 0x38]
push eax
call fcn.0055107b
mov ecx, eax
call fcn.00551027
mov dword [ebp - 0x38], eax
lea ecx, [ebp + 8]
push str.ncRect
lea eax, [ebp - 0x28]
push eax
call fcn.0055107b
mov ecx, eax
call fcn.005520ca
push eax
lea ecx, [ebp - 0x34]
call fcn.00406240
and dword [ebp - 4], 0
lea eax, [edi + 0x28c]
push eax
lea eax, [edi + 0x288]
push eax
lea eax, [edi + 0x284]
push eax
lea eax, [edi + 0x280]
push eax
push str._d__d__d__d
push dword [ebp - 0x34]
call fcn.0052cc80
add esp, 0x18
lea eax, [ebp - 0x40]
lea ecx, [ebp + 8]
push str.minsize
push eax
call fcn.0055107b
mov ecx, eax
call fcn.005520ca
push eax
lea ecx, [ebp - 0x30]
call fcn.00406240
lea eax, [edi + 0x2a0]
mov byte [ebp - 4], 1
push eax
lea eax, [edi + 0x29c]
push eax
push 0x641068
push dword [ebp - 0x30]
call fcn.0052cc80
add esp, 0x10
push 0
push str.translucent
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.0055107b
mov ecx, eax
call fcn.00551007
movzx eax, al
lea ecx, [ebp + 8]
mov dword [edi + 0x2a4], eax
lea eax, [ebp - 0x28]
push 0x64f98c
push eax
call fcn.0055107b
mov ecx, eax
call fcn.005520ca
lea ecx, [edi + 0x27c]
push eax
call fcn.00406200
push 0
push str.enablePaintChild
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.0055107b
mov ecx, eax
call fcn.00551007
movzx eax, al
lea ecx, [ebp + 8]
mov dword [edi + 0x274], eax
lea eax, [ebp - 0x28]
push str.title
push eax
call fcn.0055107b
mov ecx, eax
call fcn.005520ca
push eax
lea ecx, [ebp - 0x24]
call fcn.00406240
push 0
push 0xfde9
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405610
add esp, 0x10
lea ecx, [edi + 0x300]
mov byte [ebp - 4], 3
push eax
call fcn.00405520
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404870
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00404870
mov ecx, edi
call fcn.005420de
cmp dword [edi + 0x2a4], 0
je 0x542395
or dword [edi + 0x294], 0x80000
push 0
push str.appwin
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.0055107b
mov ecx, eax
call fcn.00551007
test al, al
je 0x5423c9
or dword [edi + 0x294], 0x40000
or dword [edi + 0x290], 0x80000
jmp 0x5423f1
push 0
push str.toolwindow
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.0055107b
mov ecx, eax
call fcn.00551007
test al, al
je 0x5423f1
or dword [edi + 0x294], 0x80
push 0
push str.resize
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.0055107b
mov ecx, eax
call fcn.00551007
movzx eax, al
mov dword [edi + 0x298], eax
test eax, eax
je 0x542422
or dword [edi + 0x290], 0x70000
push 0
push dword [edi + 0x290]
mov ecx, edi
push 0
call fcn.00540d11
push 0
push dword [edi + 0x294]
mov ecx, edi
push 0
call fcn.00540d63
cmp dword [edi + 0x2a4], 0
je 0x5424cb
push 0xffffffffffffffec
push dword [edi + 0x10]
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [edi + 0x10]
call esi
xor eax, eax
lea ecx, [edi + 0x314]
push eax
push dword [edi + 0x10]
push 0xa
push 0xa
push eax
push eax
push 0x8000080
push SysReAllocString
push str.dummyLayeredWnd
call fcn.0053fd86
push 0xffffffffffffffec
push dword [edi + 0x324]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [edi + 0x324]
call esi
push 2
push 0
push 0
push dword [edi + 0x324]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 4
push dword [edi + 0x324]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
call esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x54250e
push 6
push dword [ebp - 0x38]
xor eax, eax
push dword [ebp - 0x3c]
push eax
push eax
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x10]
call esi
mov eax, dword [edi + 0x27c]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x542528
mov ecx, dword [0x684cb0]
push esi
push eax
call fcn.0054a244
push str.body
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.005510ba
mov ecx, ebx
push dword [eax]
call fcn.00545fdd
push str.0_0__0__0
lea ecx, [ebp - 0x2c]
call fcn.00406240
push 0x64f9d0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00406240
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push 1
push ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404870
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00404870
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00546498
push esi
push esi
push 1
push 0xa
mov ecx, ebx
call fcn.005456ce
push esi
push esi
push 1
push 0x18
mov ecx, ebx
call fcn.005456ce
mov ecx, edi
call fcn.00542a73
mov dword [ebp - 0x24], esi
mov eax, dword [edi + 0x2dc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00547282
cmp dword [ebp - 0x24], 0
je 0x5425e9
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00404870
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00404870
xor eax, eax
inc eax
call fcn.0053f69a
ret 4