Function at 0x101d862
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
call fcn.01022ea0
and dword [esp + 0x10], 0
mov edi, eax
mov eax, dword [esp + 0x28]
cmp eax, 0xfffffff7
je 0x101dbc1
cmp eax, 0xfffffff8
je 0x101db4d
cmp eax, 0xfffffff9
je 0x101db38
cmp eax, 0xfffffffb
je 0x101da60
cmp eax, 0xfffffffc
je 0x101d9a7
cmp eax, 0xfffffffd
je 0x101d8b2
xor eax, eax
jmp 0x101dbc4
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_IsIconic]
mov esi, 0x1037a10
jne 0x101d930
mov eax, dword [0x1037b28]
test eax, eax
je 0x101d930
push 0x3e
push eax
call fcn.01007321
test eax, eax
jne 0x101d930
push 0x3e
push esi
call fcn.01007321
test eax, eax
jne 0x101d930
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call ebp
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call edi
cmp byte [0x1037a10], 0x21
jne 0x101d943
push 0x1037a11
jmp 0x101dbbc
push 0x40
push esi
call fcn.01007321
and byte [eax], 0
lea ebx, [eax + 1]
push 0x3e
push ebx
call fcn.01007321
test eax, eax
jne 0x101d99b
push 0x3e
push dword [0x1037b28]
call fcn.01007321
test eax, eax
je 0x101d99b
push dword [0x1039580]
and dword [0x1039478], 0
call ebp
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call edi
push esi
push ebx
call fcn.01009982
jmp 0x101dbc1
mov eax, dword [edi + 0xc]
push 2
push dword [eax + 0xc]
push 0x1001cec
call fcn.010086d3
mov ebx, eax
test ebx, ebx
mov esi, 0x1037a10
mov ebp, 0x100
je 0x101da36
push 0
push 4
lea eax, [esp + 0x30]
push eax
mov eax, dword [edi + 0xc]
push 0
push 0x10392f4
push dword [eax + 0x1c]
call fcn.01007aca
test eax, eax
jne 0x101da27
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.01007aca
test eax, eax
jne 0x101da27
push ebp
push 0x10015a8
push esi
call fcn.0100d647
push ebp
push edi
push dword [esp + 0x1c]
call fcn.01026c1a
push eax
push esi
call fcn.0100d647
mov dword [esp + 0x10], 1
push 1
push ebx
call fcn.010083fe
cmp dword [esp + 0x10], 0
jne 0x101da4f
push 0x3e
push dword [0x1037b28]
call fcn.01007321
test eax, eax
je 0x101da4f
push ebp
push eax
push esi
call fcn.0100d647
push dword [0x10392f4]
push esi
call fcn.01009844
jmp 0x101dbc1
mov eax, dword [0x10392f4]
and dword [esp + 0x1e], 0
mov dword [esp + 0x1a], eax
mov eax, dword [edi + 0xc]
push 2
mov word [esp + 0x1c], 0xa
push dword [eax + 0xc]
push 0x1001cec
call fcn.010086d3
mov ebx, eax
test ebx, ebx
mov esi, 0x1037a10
mov ebp, 0x100
je 0x101daf9
push edi
push dword [esp + 0x1e]
call fcn.01002eee
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
je 0x101daea
push 0
push 4
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.01007aca
test eax, eax
jne 0x101daea
push ebp
push 0x10015a8
push esi
call fcn.0100d647
push ebp
push edi
push dword [esp + 0x1c]
call fcn.01026c1a
push eax
push esi
call fcn.0100d647
mov dword [esp + 0x10], 1
push 1
push ebx
call fcn.010083fe
cmp dword [esp + 0x10], 0
jne 0x101db12
push 0x3e
push dword [0x1037b28]
call fcn.01007321
test eax, eax
je 0x101db12
push ebp
push eax
push esi
call fcn.0100d647
lea eax, [esp + 0x18]
push eax
push 0x202
push esi
call fcn.01008d52
test eax, eax
jne 0x101dbc1
push 1
push 2
call fcn.01024353
jmp 0x101dbc1
push dword [0x10392f0]
push 1
push dword [0x10392f4]
call fcn.01008d52
jmp 0x101dbc1
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x101dbb6
mov eax, dword [0x1037b28]
test eax, eax
je 0x101dbb6
push 0x3e
push eax
call fcn.01007321
test eax, eax
jne 0x101dbb6
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call dword [sym.imp.USER32.dll_IsIconic]
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x1039478]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x10392f4]
call fcn.01004c50
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4