Function at 0x44f200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4e4050]
xor eax, esp
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
jne 0x44f312
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x110
jne 0x44f270
sub esp, 8
mov dword [esi + 0x9c], 1
call fcn.0044faa0
mov dword [edi], eax
cmp dword [esi + 0x9c], 0
jne 0x44f482
mov eax, dword [esi + 0x70]
lea edi, [esi + 0x70]
mov dword [esp + 0x1c], eax
jmp 0x44f2aa
cmp ebx, 0x4e
jne 0x44f298
cmp dword [edx + 8], 0xffffff9c
jne 0x44f298
mov dword [edi], 1
lea eax, [ebx - 0x4d]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0047de56
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi + 0x70]
lea edi, [esi + 0x70]
mov dword [esp + 0x1c], eax
cmp ebx, 0x110
jne 0x44f328
cmp byte [esi + 0x75], 0
mov dword [edi], 1
je 0x44f2c6
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x44f2e8
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.004508a0
mov ecx, dword [esp + 0x14]
mov dword [edi], 0
mov dword [ecx], 0
cmp dword [edi], 0
jne 0x44f47c
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0047de56
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 2
jne 0x44f343
push str.IsExterior
push dword [esi + 4]
mov dword [edi], 1
call dword [sym.imp.USER32.dll_RemovePropW]
jmp 0x44f2f3
cmp ebx, 0x4e
jne 0x44f3a2
cmp dword [edx + 8], 0xffffff38
jne 0x44f375
mov eax, dword [esi + 4]
mov dword [edx + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x10]
push ecx
push dword [esp + 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
push eax
push edx
sub esp, 8
mov ecx, esi
call fcn.00450660
cmp dword [esp + 0x20], 0
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
jne 0x44f47c
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x44f451
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x44f3eb
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x18]
cmp ecx, 2
jne 0x44f3dc
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44f3f4
test ecx, ecx
jne 0x44f3ef
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44f3f4
mov ecx, dword [esp + 0x18]
cmp ecx, 1
je 0x44f472
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x50]
push eax
call fcn.004503e0
lea eax, [esp + 0x24]
push eax
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x101d
push dword [esi + 0xac]
call ebx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
sub ecx, 3
movzx eax, cx
push eax
push 1
push 0x101e
push dword [esi + 0xac]
call ebx
jmp 0x44f472
cmp ebx, 0x24
jne 0x44f30c
cmp dword [ecx + 0x14], 0xffffffff
je 0x44f472
cmp dword [ecx + 0x18], 0xffffffff
je 0x44f472
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047de56
mov esp, ebp
pop ebp
ret 0x18