Function at 0x10001732
Capabilities:
Hide graphical window

Disassembly:
push ebp
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x10001739
cmp dword [0x10015eb8], 0
je 0x1000178d
call fcn.10004ba3
mov eax, dword [0x10016c08]
push eax
push eax
mov edx, str._DrawRuntime___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], 0
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 0x10001b37
mov ebp, dword [0x10015f04]
push dword [ebp + 0x10]
call fcn.1000765c
and eax, eax
je 0x10001892
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 0x10001831
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_ShowWindow
jmp 0x1000184e
mov ebx, 1
cmp ebx, dword [esp]
jne 0x1000184e
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 0x1000186f
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_EnableWindow
jmp 0x1000188c
mov ebx, 1
cmp ebx, dword [esp]
jne 0x1000188c
push 1
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_EnableWindow
pop eax
jmp 0x10001b37
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 0x100018c3
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 0x100018df
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 0x100018fb
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 0x10001917
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 0x10001930
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 0x10001949
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 0x10001965
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 0x1000197e
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 0x10001b37
lea eax, [0x100029ec]
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 [0x10016c08]
push dword [esp + 0x18]
mov ebp, dword [0x10015f04]
mov edx, dword [ebp + 0x18]
push dword [0x10016c08]
call fcn.1000f4a0
mov edx, dword [ebp + 0x1c]
call fcn.1000f4a0
inc dword [0x10016c08]
push dword [esp + 0x18]
push dword [esp + 0x18]
push 0
push 0
push 0xffffffff
mov edx, dword [0x10014a0c]
add dword [esp + 0x14], edx
call fcn.100092e1
pop dword [0x10016c08]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x10001b29
push dword [esp + 0x20]
push str.ChildObject
push dword [esp + 0x20]
call fcn.10007b0e
push eax
call sub.USER32.DLL_SetPropA
push dword [esp + 0x30]
push str.ClassID
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 0x10001ab5
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_ShowWindow
jmp 0x10001ad2
mov ebx, 1
cmp ebx, dword [esp]
jne 0x10001ad2
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 0x10001af3
push 0
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_EnableWindow
jmp 0x10001b10
mov ebx, 1
cmp ebx, dword [esp]
jne 0x10001b10
push 1
mov ebp, dword [0x10015f04]
push dword [ebp + 0xc]
call sub.USER32.DLL_EnableWindow
pop eax
push 0x1001100d
push str.On_Create
mov ebp, dword [0x10015f04]
push dword [ebp + 8]
call fcn.10003f56
call fcn.1000974a
push dword [esp + 0x10]
call fcn.10007737
xor eax, eax
add esp, 0x24
pop ebx
pop ebp
ret