Function at 0x1002a19c
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100cea68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x34], eax
push esi
push edi
mov edi, dword [ebx + 0x2c]
test edi, edi
je 0x1002a37b
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
mov esi, dword [eax]
mov ecx, esi
call dword [0x100d6738]
mov ecx, edi
call esi
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0x18], 0x40
je 0x1002a224
mov edi, dword [ebx + 0x2c]
mov dword [ebx + 0x30], 1
push 8
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d6738]
mov ecx, edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x64
push 0x4c5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1002a259
test byte [ecx + 0x18], 0x80
je 0x1002a25c
mov edi, dword [ebx + 0x2c]
and dword [ebx + 0x30], 0
push 0
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d6738]
mov ecx, edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4c5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0x18], 4
jne 0x1002a282
mov edi, dword [ebx + 0x2c]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d6738]
mov ecx, edi
call esi
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 0x26], 1
cmp dword [ecx + 4], eax
jne 0x1002a286
mov byte [ebp - 0x26], 0
test byte [ecx + 0x18], 1
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jne 0x1002a2ac
mov eax, dword [ebp - 0xc]
sub eax, edx
cmp dword [ecx + 0x10], eax
jne 0x1002a2a6
mov eax, dword [ebp - 8]
sub eax, esi
cmp dword [ecx + 0x14], eax
je 0x1002a2ac
mov byte [ebp - 0x27], 1
jmp 0x1002a2b0
mov byte [ebp - 0x27], 0
test byte [ecx + 0x18], 2
jne 0x1002a2c6
cmp dword [ecx + 8], edx
jne 0x1002a2c0
cmp dword [ecx + 0xc], esi
je 0x1002a2c6
mov byte [ebp - 0x25], 1
jmp 0x1002a2ca
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x26], 0
je 0x1002a343
and dword [ebp - 0x30], 0
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [ebx + 0x2c]
shr eax, 3
and eax, 0xffffff01
mov dword [ebp - 0x2c], eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x100d6738]
mov ecx, edi
call esi
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x2c]
shr eax, 3
and eax, 1
cmp cl, al
je 0x1002a31c
movzx eax, cl
sub eax, 2
jmp 0x1002a31f
mov eax, dword [ebp - 0x30]
mov edi, dword [ebx + 0x2c]
xor ecx, ecx
push 0x13
push ecx
push ecx
push ecx
push ecx
push eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d6738]
mov ecx, edi
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, byte [ebp - 0x27]
mov cl, byte [ebp - 0x25]
test al, al
jne 0x1002a351
test cl, cl
je 0x1002a372
movzx eax, al
xor eax, 1
add eax, 0x404
test cl, cl
jne 0x1002a363
or eax, 2
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebx + 4]
call fcn.10027bde
mov eax, dword [ebp - 0x34]
mov dword [eax], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c6890
mov esp, ebp
pop ebp
ret 8