Function at 0x10001388
Capabilities:
Hide graphical window

Disassembly:
push ebp
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x1000138f
cmp dword [0x10015eb8], 0
je 0x100013e3
call fcn.10004ba3
mov eax, dword [0x10016c08]
push eax
push eax
mov edx, str._DrawDesign:_ClassID
call fcn.1000f4a0
mov eax, dword [0x10016c08]
push eax
push eax
mov eax, dword [esp + 0x40]
cdq
push edx
push eax
call fcn.100061a0
pop eax
mov edx, dword [0x10014a0c]
add dword [esp], edx
call fcn.1000265f
pop dword [0x10016c08]
mov eax, dword [esp + 0x38]
mov dword [0x10015ed8], eax
mov dword [0x10015ee4], 1
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x44]
sub ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x48]
sub ebx, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
push dword [esp + 0x30]
call fcn.10003cf7
and eax, eax
je 0x1000172a
mov ebp, dword [0x10015f04]
push dword [ebp + 0x10]
call fcn.1000765c
and eax, eax
je 0x100014e8
push 1
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_MoveWindow
push dword [esp + 0x4c]
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x10001487
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_ShowWindow
jmp 0x100014a4
mov ebx, 1
cmp ebx, dword [esp]
jne 0x100014a4
push 5
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_ShowWindow
pop eax
push dword [esp + 0x50]
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x100014c5
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_EnableWindow
jmp 0x100014e2
mov ebx, 1
cmp ebx, dword [esp]
jne 0x100014e2
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_EnableWindow
pop eax
jmp 0x1000172a
push dword [esp + 0x38]
call fcn.10007737
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov ebp, dword [0x10015f04]
mov ebx, dword [ebp + 0x20]
cmp ebx, 1
jne 0x10001519
mov ebx, dword [esp + 0x14]
or ebx, 0x100000
mov dword [esp + 0x14], ebx
mov ebp, dword [0x10015f04]
mov ebx, dword [ebp + 0x24]
cmp ebx, 1
jne 0x10001535
mov ebx, dword [esp + 0x14]
or ebx, 0x1000000
mov dword [esp + 0x14], ebx
mov ebp, dword [0x10015f04]
mov ebx, dword [ebp + 0x28]
cmp ebx, 1
jne 0x10001551
mov ebx, dword [esp + 0x14]
or ebx, 0x4000000
mov dword [esp + 0x14], ebx
mov ebp, dword [0x10015f04]
mov ebx, dword [ebp + 0x2c]
cmp ebx, 1
jne 0x1000156d
mov ebx, dword [esp + 0x14]
or ebx, 0x8000000
mov dword [esp + 0x14], ebx
mov ebp, dword [0x10015f04]
mov ebx, dword [ebp + 0x30]
cmp ebx, 1
jne 0x10001586
mov ebx, dword [esp + 0x14]
or ebx, 1
mov dword [esp + 0x14], ebx
mov ebp, dword [0x10015f04]
mov ebx, dword [ebp + 0x34]
cmp ebx, 1
jne 0x1000159f
mov ebx, dword [esp + 0x14]
or ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebp, dword [0x10015f04]
mov ebx, dword [ebp + 0x38]
cmp ebx, 1
jne 0x100015bb
mov ebx, dword [esp + 0x14]
or ebx, 0x200
mov dword [esp + 0x14], ebx
mov ebp, dword [0x10015f04]
mov ebx, dword [ebp + 0x3c]
cmp ebx, 1
jne 0x100015d4
mov ebx, dword [esp + 0x14]
or ebx, 0x40
mov dword [esp + 0x14], ebx
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0xffffffff
call fcn.10007af1
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x1000172a
lea eax, [0x1000290a]
push eax
push 0xfffffffc
push dword [esp + 0x20]
call fcn.10007b0e
push eax
call sub.USER32.DLL_SetWindowLongA
mov dword [esp + 0x1c], eax
push dword [esp + 0x1c]
push str.OldProc
push dword [esp + 0x20]
call fcn.10007b0e
push eax
call sub.USER32.DLL_SetPropA
push dword [esp + 0x14]
push 0x1001100d
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0
push 0
push 0xffffffff
call fcn.100092e1
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x1000171c
push dword [esp + 0x20]
push str.ChildObject
push dword [esp + 0x20]
call fcn.10007b0e
push eax
call sub.USER32.DLL_SetPropA
push dword [esp + 0x18]
call fcn.10007b0e
mov ebp, dword [0x10015f04]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x14], eax
push dword [esp + 0x4c]
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x100016c0
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_ShowWindow
jmp 0x100016dd
mov ebx, 1
cmp ebx, dword [esp]
jne 0x100016dd
push 5
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_ShowWindow
pop eax
push dword [esp + 0x50]
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x100016fe
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_EnableWindow
jmp 0x1000171b
mov ebx, 1
cmp ebx, dword [esp]
jne 0x1000171b
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_EnableWindow
pop eax
call fcn.1000974a
push dword [esp + 0x10]
call fcn.10007737
xor eax, eax
add esp, 0x24
pop ebx
pop ebp
ret