Function at 0x4c9471
Capabilities:
Hide graphical window

Disassembly:
push 0xa0
mov eax, 0x5639f5
call fcn.00539a44
cmp dword [ebp + 8], 0
mov esi, ecx
mov dword [ebp - 0x54], esi
jne 0x4c9492
xor eax, eax
jmp 0x4c991c
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [esi + 0x10]
call edi
push 0xffffffffffffffec
push dword [esi + 0x10]
mov dword [esi + 0x3b8], eax
call edi
mov dword [esi + 0x3bc], eax
push 0
add esi, 0x1c
push 2
xor ebx, ebx
mov dword [ebp - 0x64], esi
call fcn.004bb4fc
mov esi, 0xc8
push esi
push str.width
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba41b
push esi
mov dword [ebp - 0x60], eax
push str.height
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba41b
mov dword [ebp - 0x5c], eax
push str.ncRect
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040319e
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x4c9529
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x54]
lea ecx, [ebx + 0x3b4]
push ecx
lea ecx, [ebx + 0x3b0]
push ecx
lea ecx, [ebx + 0x3ac]
push ecx
lea ecx, [ebx + 0x3a8]
push ecx
push str._d__d__d__d
push eax
call fcn.00532f6e
add esp, 0x18
push str.minsize
lea edi, [ebp - 0x58]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
push eax
lea ecx, [ebp - 0x48]
call fcn.0040319e
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x4c9584
lea eax, [ebp - 0x44]
lea ecx, [ebx + 0x3c8]
push ecx
lea ecx, [ebx + 0x3c4]
push ecx
push 0x57d3d0
push eax
call fcn.00532f6e
add esp, 0x10
push esi
push str.translucent
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
movzx eax, al
push esi
mov dword [ebx + 0x3cc], eax
push str.shadow
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
movzx eax, al
mov dword [ebx + 0x3f0], eax
push 0x57d550
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
lea ecx, [ebx + 0x370]
push eax
call fcn.0040317d
push str.shadowactive
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
push eax
lea ecx, [ebx + 0x3f4]
call fcn.0040317d
push str.shadownoactive
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
push eax
lea ecx, [ebx + 0x410]
call fcn.0040317d
push 1
push str.xmlsize
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
mov byte [ebp - 0x4d], al
cmp dword [ebx + 0x3cc], esi
je 0x4c966d
or dword [ebx + 0x3bc], 0x80000
push esi
push str.appwin
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
test al, al
je 0x4c969d
or dword [ebx + 0x3bc], 0x40000
or dword [ebx + 0x3b8], 0x80000
jmp 0x4c96c1
push esi
push str.toolwindow
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
test al, al
je 0x4c96c1
or dword [ebx + 0x3bc], 0x80
push esi
push str.resize
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
movzx eax, al
mov dword [ebx + 0x3c0], eax
cmp eax, esi
je 0x4c96ee
or dword [ebx + 0x3b8], 0x70000
push dword [ebx + 0x3b8]
xor eax, eax
mov edi, ebx
call fcn.0047d415
push dword [ebx + 0x3bc]
mov esi, ebx
call fcn.00488a34
xor esi, esi
cmp dword [ebx + 0x3cc], esi
je 0x4c979a
push 0xffffffffffffffec
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x10]
call edi
push esi
push dword [ebx + 0x10]
push 0xa
push 0xa
push esi
push esi
push 0x8000080
push 0x80000000
push str.dummyLayeredWnd
lea esi, [ebx + 0x460]
call fcn.004bf1f8
push 0xffffffffffffffec
push dword [ebx + 0x470]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [ebx + 0x470]
call edi
push 2
push 0
push 0
push dword [ebx + 0x470]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 4
push dword [ebx + 0x470]
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
lea eax, [ebp - 0x90]
push 0xfde9
push eax
lea ecx, [ebx + 0x370]
call fcn.0040bb8d
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x4c97be
mov eax, dword [eax + 4]
jmp 0x4c97c1
add eax, 4
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
push 1
lea ecx, [ebp - 0x90]
call fcn.004053e5
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0x10]
call esi
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4c9805
mov eax, 0xc8
cmp dword [ebp - 0x6c], eax
jne 0x4c9821
cmp dword [ebp - 0x68], eax
jne 0x4c9821
cmp byte [ebp - 0x4d], 0
je 0x4c9821
push 6
push dword [ebp - 0x5c]
xor eax, eax
push dword [ebp - 0x60]
push eax
push eax
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x57d594
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
call fcn.004ba522
mov edi, dword [ebp - 0x64]
push dword [eax]
mov ecx, edi
call fcn.004bba3c
push str.0_0__0__0
lea ecx, [ebp - 0x90]
call fcn.0040319e
push 0x57d428
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.0040319e
push 1
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x14]
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.00403211
push 0
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.00403211
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0x10]
call esi
push edi
lea eax, [ebp - 0x74]
call fcn.004bb58e
push 1
push 0xa
xor ebx, ebx
mov esi, edi
call fcn.004bb4fc
push 1
push 0x18
call fcn.004bb4fc
mov esi, dword [ebp - 0x54]
mov eax, esi
call fcn.004c9b61
mov dword [ebp - 0x54], ebx
mov eax, dword [esi + 0x438]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
mov byte [ebp - 4], 5
call fcn.004bbe6c
cmp dword [ebp - 0x54], ebx
je 0x4c9903
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00403211
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403211
xor eax, eax
inc eax
call fcn.00539ac7
ret 4