Function at 0x10200e6
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
call fcn.01024430
and dword [esp + 0x10], 0
mov edi, eax
mov eax, dword [esp + 0x28]
cmp eax, 0xfffffff7
je 0x1020429
cmp eax, 0xfffffff8
je 0x10203b5
cmp eax, 0xfffffff9
je 0x10203a0
cmp eax, 0xfffffffb
je 0x10202d5
cmp eax, 0xfffffffc
je 0x102022b
cmp eax, 0xfffffffd
je 0x1020136
xor eax, eax
jmp 0x102042c
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov esi, 0x1038980
jne 0x10201b4
mov eax, dword [0x1038ba0]
test eax, eax
je 0x10201b4
push 0x3e
push eax
call fcn.01007829
test eax, eax
jne 0x10201b4
push 0x3e
push esi
call fcn.01007829
test eax, eax
jne 0x10201b4
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call ebp
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call edi
cmp byte [0x1038980], 0x21
jne 0x10201c7
push 0x1038981
jmp 0x1020424
push 0x40
push esi
call fcn.01007829
and byte [eax], 0
lea ebx, [eax + 1]
push 0x3e
push ebx
call fcn.01007829
test eax, eax
jne 0x102021f
push 0x3e
push dword [0x1038ba0]
call fcn.01007829
test eax, eax
je 0x102021f
push dword [0x103a3c0]
and dword [0x103a83c], 0
call ebp
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call edi
push esi
push ebx
call fcn.01009228
jmp 0x1020429
mov eax, dword [edi + 0xc]
push 2
push dword [eax + 0xc]
push 0x1001d70
call fcn.0100885f
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, eax
test ebx, ebx
mov esi, 0x1038980
je 0x10202a8
lea eax, [esp + 0x28]
push 0
push eax
mov eax, dword [edi + 0xc]
push 0
push 0x103a82c
push dword [eax + 0x1c]
call fcn.01007e05
test eax, eax
jne 0x10202a0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push 0
push eax
push ebx
call fcn.01007e05
test eax, eax
jne 0x10202a0
push 0x10015dc
push esi
call ebp
push edi
push dword [esp + 0x18]
call fcn.01027b44
push eax
push esi
call ebp
mov dword [esp + 0x10], 1
push 1
push ebx
call fcn.01008938
cmp dword [esp + 0x10], 0
jne 0x10202c4
push 0x3e
push dword [0x1038ba0]
call fcn.01007829
test eax, eax
je 0x10202c4
push eax
push esi
call ebp
push dword [0x103a82c]
push esi
call fcn.0100937f
jmp 0x1020429
mov eax, dword [0x103a82c]
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 0x1001d70
call fcn.0100885f
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, eax
test ebx, ebx
mov esi, 0x1038980
je 0x102035e
push edi
push dword [esp + 0x1e]
call fcn.01002ed6
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
je 0x1020356
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0x30]
push 0
push eax
push ebx
call fcn.01007e05
test eax, eax
jne 0x1020356
push 0x10015dc
push esi
call ebp
push edi
push dword [esp + 0x18]
call fcn.01027b44
push eax
push esi
call ebp
mov dword [esp + 0x10], 1
push 1
push ebx
call fcn.01008938
cmp dword [esp + 0x10], 0
jne 0x102037a
push 0x3e
push dword [0x1038ba0]
call fcn.01007829
test eax, eax
je 0x102037a
push eax
push esi
call ebp
lea eax, [esp + 0x18]
push eax
push 0x202
push esi
call fcn.01008fd4
test eax, eax
jne 0x1020429
push 1
push 2
call fcn.0102498f
jmp 0x1020429
push dword [0x103a81c]
push 1
push dword [0x103a82c]
call fcn.01008fd4
jmp 0x1020429
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x102041e
mov eax, dword [0x1038ba0]
test eax, eax
je 0x102041e
push 0x3e
push eax
call fcn.01007829
test eax, eax
jne 0x102041e
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call dword [sym.imp.USER32.dll_IsIconic]
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x103a83c]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103a3c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x103a82c]
call fcn.010046cf
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4