Function at 0x40d434
Capabilities:
Hide graphical window

Disassembly:
push 0xa8
mov eax, 0x563663
call fcn.00539a44
cmp dword [ebp + 8], 0
mov esi, ecx
mov dword [ebp - 0x54], esi
jne 0x40d455
xor eax, eax
jmp 0x40d8e8
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
lea edi, [esi + 4]
push 0xfffffffffffffff0
push dword [edi]
mov dword [ebp - 0x5c], edi
call ebx
push 0xffffffffffffffec
push dword [edi]
mov dword [esi + 0x3cc], eax
call ebx
mov dword [esi + 0x3d0], eax
push 0
add esi, 0x30
push 2
xor ebx, ebx
mov dword [ebp - 0x68], esi
call fcn.004bb4fc
mov esi, 0xc8
push esi
push str.width
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba41b
push esi
mov dword [ebp - 0x64], eax
push str.height
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba41b
mov dword [ebp - 0x60], eax
push str.ncRect
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
push eax
lea ecx, [ebp - 0x30]
call fcn.0040319e
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40d4f0
lea eax, [ebp - 0x2c]
mov ebx, dword [ebp - 0x54]
lea ecx, [ebx + 0x3c8]
push ecx
lea ecx, [ebx + 0x3c4]
push ecx
lea ecx, [ebx + 0x3c0]
push ecx
lea ecx, [ebx + 0x3bc]
push ecx
push str._d__d__d__d
push eax
call fcn.00532f6e
add esp, 0x18
push str.minsize
lea edi, [ebp - 0x6c]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040319e
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x40d54b
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x3dc]
push ecx
lea ecx, [ebx + 0x3d8]
push ecx
push 0x57d3d0
push eax
call fcn.00532f6e
add esp, 0x10
push esi
push str.translucent
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
movzx eax, al
push esi
mov dword [ebx + 0x3e0], eax
push str.shadow
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
movzx eax, al
mov dword [ebx + 0x404], eax
push 0x57d550
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
lea ecx, [ebx + 0x384]
push eax
call fcn.0040317d
push str.shadowactive
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
push eax
lea ecx, [ebx + 0x408]
call fcn.0040317d
push str.shadownoactive
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba4a4
push eax
lea ecx, [ebx + 0x424]
call fcn.0040317d
cmp dword [ebx + 0x3e0], esi
je 0x40d61a
or dword [ebx + 0x3d0], 0x80000
push esi
push str.appwin
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
test al, al
je 0x40d64a
or dword [ebx + 0x3d0], 0x40000
or dword [ebx + 0x3cc], 0x80000
jmp 0x40d66e
push esi
push str.toolwindow
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
test al, al
je 0x40d66e
or dword [ebx + 0x3d0], 0x80
push esi
push str.resize
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba55c
call fcn.004ba46f
movzx eax, al
mov dword [ebx + 0x3d4], eax
cmp eax, esi
je 0x40d69b
or dword [ebx + 0x3cc], 0x70000
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x3cc]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi]
mov dword [ebp - 0x58], eax
call esi
mov ecx, eax
or ecx, dword [ebp - 0x58]
cmp eax, ecx
je 0x40d6c7
push ecx
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 0x3d0]
push 0xffffffffffffffec
push dword [edi]
mov dword [ebp - 0x58], eax
call esi
mov ecx, eax
or ecx, dword [ebp - 0x58]
cmp eax, ecx
je 0x40d6ea
push ecx
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebx + 0x3e0], 0
je 0x40d778
mov eax, dword [edi]
push 0xffffffffffffffec
push eax
call esi
mov ecx, dword [edi]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
push eax
push dword [edi]
lea esi, [ebx + 0x474]
push 0xa
push 0xa
push eax
push eax
push 0x8000080
push 0x80000000
push str.dummyLayeredWnd
call fcn.004bf1f8
mov eax, dword [ebx + 0x484]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx + 0x484]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 2
push 0
push 0
push dword [ebx + 0x484]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 4
push dword [ebx + 0x484]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x98]
push 0xfde9
push eax
lea ecx, [ebx + 0x384]
call fcn.0040bb8d
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x40d79c
mov eax, dword [eax + 4]
jmp 0x40d79f
add eax, 4
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.004053e5
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x7c]
push eax
push dword [edi]
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40d7dd
cmp dword [ebp - 0x64], eax
jle 0x40d7eb
cmp dword [ebp - 0x60], eax
jle 0x40d7eb
push 6
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push edi
call fcn.0040ff80
push 0x57d594
lea edi, [ebp - 0x50]
lea eax, [ebp + 8]
call fcn.004ba522
mov edi, dword [ebp - 0x68]
push dword [eax]
mov ecx, edi
call fcn.004bba3c
push str.0_0__0__0
lea ecx, [ebp - 0x98]
call fcn.0040319e
push 0x57d428
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.0040319e
push 1
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0xb4]
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 - 0xb4]
call fcn.00403211
push 0
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00403211
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x5c]
push dword [eax]
call esi
push edi
lea eax, [ebp - 0x7c]
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.0040d8f0
mov dword [ebp - 0x54], ebx
mov eax, dword [esi + 0x44c]
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 0x40d8cf
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403211
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00403211
xor eax, eax
inc eax
call fcn.00539ac7
ret 4