Function at 0x101f677
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
call fcn.0102535a
and dword [ebp - 4], 0
mov ebx, eax
mov eax, dword [ebp + 8]
cmp eax, 0xfffffff7
je 0x101f9d4
cmp eax, 0xfffffff8
je 0x101f960
cmp eax, 0xfffffff9
je 0x101f94b
cmp eax, 0xfffffffb
je 0x101f879
cmp eax, 0xfffffffc
je 0x101f7c1
cmp eax, 0xfffffffd
je 0x101f6c9
xor eax, eax
jmp 0x101f9d7
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_IsIconic]
mov esi, 0x103ba30
jne 0x101f747
mov eax, dword [0x103bb48]
test eax, eax
je 0x101f747
push 0x3e
push eax
call fcn.010079f0
test eax, eax
jne 0x101f747
push 0x3e
push esi
call fcn.010079f0
test eax, eax
jne 0x101f747
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
call edi
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
call ebx
cmp byte [0x103ba30], 0x21
jne 0x101f75a
push 0x103ba31
jmp 0x101f9cf
push 0x40
push esi
call fcn.010079f0
mov byte [eax], 0
inc eax
push 0x3e
push eax
mov dword [ebp + 8], eax
call fcn.010079f0
test eax, eax
jne 0x101f7b3
push 0x3e
push dword [0x103bb48]
call fcn.010079f0
test eax, eax
je 0x101f7b3
push dword [0x103d5a0]
and dword [0x103d498], 0
call edi
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
call ebx
push esi
push dword [ebp + 8]
call fcn.0100a479
jmp 0x101f9d4
mov eax, dword [ebx + 0xc]
push 2
push dword [eax + 0xc]
push 0x1001cfc
call fcn.01008eb2
test eax, eax
mov dword [ebp + 8], eax
mov esi, 0x103ba30
mov edi, 0x100
je 0x101f84f
push 0
push 4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0xc]
push 0
push 0x103d314
push dword [eax + 0x1c]
call fcn.0100821f
test eax, eax
jne 0x101f83f
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0100821f
test eax, eax
jne 0x101f83f
push edi
push 0x10015b8
push esi
call fcn.0100e69c
push edi
push ebx
push dword [ebp - 0xc]
call fcn.01029609
push eax
push esi
call fcn.0100e69c
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call fcn.01008bb0
cmp dword [ebp - 4], 0
jne 0x101f868
push 0x3e
push dword [0x103bb48]
call fcn.010079f0
test eax, eax
je 0x101f868
push edi
push eax
push esi
call fcn.0100e69c
push dword [0x103d314]
push esi
call fcn.0100a314
jmp 0x101f9d4
mov eax, dword [0x103d314]
and dword [ebp - 0x12], 0
mov dword [ebp - 0x16], eax
mov eax, dword [ebx + 0xc]
push 2
mov word [ebp - 0x18], 0xa
push dword [eax + 0xc]
push 0x1001cfc
call fcn.01008eb2
test eax, eax
mov dword [ebp + 8], eax
mov esi, 0x103ba30
mov edi, 0x100
je 0x101f90d
push ebx
push dword [ebp - 0x16]
call fcn.01002fb0
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x101f8fd
push 0
push 4
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0100821f
test eax, eax
jne 0x101f8fd
push edi
push 0x10015b8
push esi
call fcn.0100e69c
push edi
push ebx
push dword [ebp - 8]
call fcn.01029609
push eax
push esi
call fcn.0100e69c
mov dword [ebp - 4], 1
push 1
push dword [ebp + 8]
call fcn.01008bb0
cmp dword [ebp - 4], 0
jne 0x101f926
push 0x3e
push dword [0x103bb48]
call fcn.010079f0
test eax, eax
je 0x101f926
push edi
push eax
push esi
call fcn.0100e69c
lea eax, [ebp - 0x18]
push eax
push 0x202
push esi
call fcn.01009628
test eax, eax
jne 0x101f9d4
push 1
push 2
call fcn.01026a0b
jmp 0x101f9d4
push dword [0x103d310]
push 1
push dword [0x103d314]
call fcn.01009628
jmp 0x101f9d4
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x101f9c9
mov eax, dword [0x103bb48]
test eax, eax
je 0x101f9c9
push 0x3e
push eax
call fcn.010079f0
test eax, eax
jne 0x101f9c9
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
call dword [sym.imp.USER32.dll_IsIconic]
neg eax
sbb eax, eax
and eax, 4
add eax, 5
push eax
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x103d314]
call fcn.01004fe0
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4