Function at 0x6fa3a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, 0x801a0c
cmp dword [ebx], 0
je 0x6fa3d9
mov eax, dword [ebx]
cmp dword [eax + 0x140], 0
je 0x6fa3d9
mov eax, dword [ebx]
add eax, 0x140
call fcn.00429de8
cmp dword [ebp - 4], 0
jle 0x6fa62d
cmp dword [ebx], 0
jne 0x6fa407
mov ecx, dword [0x802ef8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x6f743c]
call fcn.006fd98c
mov dword [ebx], eax
xor edx, edx
mov eax, dword [ebx]
call fcn.0070fd0c
cmp dword [ebp + 8], 0
je 0x6fa41f
mov eax, dword [ebp + 8]
call fcn.0051cd60
mov edx, dword [ebx]
mov dword [edx + 0xcc], eax
jmp 0x6fa429
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xcc], edx
mov eax, dword [ebx]
mov byte [eax + 0x12d], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x120], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x130]
test eax, eax
je 0x6fa458
cmp edi, eax
je 0x6fa458
mov eax, dword [ebx]
add eax, 0x130
call fcn.00429de8
mov eax, dword [ebx]
mov dword [eax + 0x130], edi
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x124], edx
mov eax, dword [esi]
mov edx, dword [ebx]
mov dword [edx + 0x140], eax
movzx eax, byte [ebp + 0xc]
mov edx, dword [ebx]
mov byte [edx + 0x12c], al
mov edx, 0xc
mov eax, dword [ebx]
call fcn.0070fd2c
mov eax, dword [ebp - 4]
mov ecx, 0xc
cdq
idiv ecx
mov edx, dword [ebx]
mov dword [edx + 0x128], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x130]
call fcn.0072f9fc
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xd4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0xd8], edx
movzx edx, byte [ebp + 0x10]
mov eax, dword [ebx]
add eax, 0xdc
call fcn.0073029c
mov eax, dword [esi]
call fcn.0051cd60
mov edx, 0xffffffec
call fcn.00413114
or eax, 0x80000
or eax, 0x8000000
push eax
mov eax, dword [esi]
call fcn.0051cd60
mov edx, 0xffffffec
pop ecx
call fcn.00413438
mov eax, dword [ebx]
add eax, 0xdc
push eax
push 0
mov eax, dword [esi]
call fcn.0051cd60
mov edx, dword [ebx]
lea ecx, [edx + 0xd4]
mov edx, edi
call fcn.00701340
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xd0], edx
push 0x71f
push 0
push 0
push 0
push 0
push 0
mov eax, dword [esi]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [esi]
call fcn.0051cd60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi]
call fcn.0051cd60
mov edx, 0xffffffec
call fcn.00413114
test al, 8
je 0x6fa571
or edi, 0xffffffff
jmp 0x6fa592
cmp dword [ebp + 8], 0
je 0x6fa583
mov eax, dword [ebp + 8]
test byte [eax + 0x3cc], 8
je 0x6fa588
or edi, 0xffffffff
jmp 0x6fa592
mov eax, dword [ebp + 8]
call fcn.0051cd60
mov edi, eax
push 0x318
mov eax, dword [ebx]
mov eax, dword [eax + 0xd8]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xd4]
push eax
mov eax, dword [esi]
call fcn.005ca3e4
push eax
mov eax, dword [esi]
call fcn.005ca3c4
push eax
push edi
mov eax, dword [esi]
call fcn.0051cd60
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx]
add eax, 0x134
call fcn.00429de8
mov eax, dword [ebx]
add eax, 0xd4
call fcn.0070ceec
mov edx, dword [ebx]
mov dword [edx + 0x134], eax
mov eax, dword [ebx]
call fcn.006fd6dc
jmp 0x6fa60c
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.006fda1c
mov edx, 0xc
mov eax, edi
call fcn.00730250
mov eax, dword [ebx]
mov eax, dword [eax + 0x120]
mov edx, dword [ebx]
cmp eax, dword [edx + 0x128]
jle 0x6fa5f0
mov eax, dword [ebx]
cmp dword [eax + 0x140], 0
jne 0x6fa62d
xor eax, eax
mov dword [esi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc