Function at 0x1002ba50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10130bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
call fcn.100025a0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x1002babf
cmp byte [eax + 0x1cc], 0
je 0x1002babf
mov ecx, dword [eax + 0x1c8]
mov eax, dword [ecx + 0x14c]
cmp byte [eax + 0x30], 0
je 0x1002babf
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1002bab8
call fcn.1007e510
test al, al
je 0x1002babf
push 0
call fcn.10021dc0
mov eax, dword [ebp + 8]
push 0
push 0x10167b74
push 0x10167540
push 0
push eax
call fcn.101239e9
add esp, 0x14
mov ebx, 1
test eax, eax
je 0x1002bb1d
mov edx, dword [esi + 0x23c]
test edx, edx
je 0x1002bb1d
mov edi, dword [edx + 0x124]
test edi, edi
je 0x1002bb1d
xor ecx, ecx
test edi, edi
jle 0x1002bb1d
mov edx, dword [edx + 0x120]
cmp eax, dword [edx]
je 0x1002bd1c
mov edi, dword [esi + 0x23c]
add ecx, ebx
add edx, 4
cmp ecx, dword [edi + 0x124]
jl 0x1002bb02
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esi + 0x1e0]
push ecx
call fcn.10030480
mov edi, dword [esi + 0x1fc]
cmp byte [edi + 0x30], 0
je 0x1002bb4c
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bb57
mov byte [edi + 0x64], bl
cmp dword [esp + 0x10], ebx
je 0x1002bd25
mov edi, dword [esi + 0x1c8]
mov byte [esi + 0x1cc], 0
cmp byte [edi + 0x30], 0
je 0x1002bb83
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bb8e
mov byte [edi + 0x64], bl
cmp dword [esp + 0x10], 2
jne 0x1002bd9a
mov edi, dword [esi + 0x204]
cmp byte [edi + 0x30], 0
je 0x1002bbb4
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bbbf
mov byte [edi + 0x64], bl
mov edi, dword [esi + 0x1f4]
cmp byte [edi + 0x30], 0
je 0x1002bbda
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bbe5
mov byte [edi + 0x64], bl
mov edi, dword [esi + 0x1d0]
mov byte [esi + 0x1d4], bl
cmp byte [edi + 0x30], bl
je 0x1002bc03
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push ebx
mov ecx, edi
mov byte [edi + 0x30], bl
call eax
cmp dword [edi + 0x84], edi
je 0x1002bc0e
mov byte [edi + 0x64], bl
mov edi, dword [esi + 0x1c4]
cmp byte [edi + 0x30], 0
je 0x1002bc29
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bc34
mov byte [edi + 0x64], bl
mov edi, dword [esi + 0x1dc]
cmp byte [edi + 0x30], 0
je 0x1002bc4f
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bc5a
mov byte [edi + 0x64], bl
call fcn.10051b20
test eax, eax
je 0x1002bc9d
xor eax, eax
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x12c]
cdq
push ebx
push edx
push eax
push ecx
call fcn.10051b20
add esp, 4
mov ecx, eax
call fcn.100526f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.10061940
call fcn.100025a0
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x1002bcc8
mov eax, dword [eax + 0x1e8]
test eax, eax
je 0x1002bcc8
mov eax, dword [eax + 0x12c]
test eax, eax
je 0x1002bcc8
push 0
push eax
call ebx
call fcn.100025a0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x1002bcfe
mov edi, dword [eax + 0x200]
test edi, edi
je 0x1002bcfe
mov eax, dword [edi + 0x12c]
test eax, eax
je 0x1002bcfe
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1002bcfe
mov ecx, dword [edi + 0x12c]
push 0
push ecx
call ebx
mov eax, dword [esp + 0x10]
call fcn.1002b850
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x10], ecx
jmp 0x1002bb25
mov edi, dword [esi + 0x1c4]
mov byte [esi + 0x1cc], bl
cmp byte [edi + 0x30], 0
je 0x1002bd46
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bd51
mov byte [edi + 0x64], bl
mov edi, dword [esi + 0x1dc]
cmp byte [edi + 0x30], 0
je 0x1002bd6c
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bd77
mov byte [edi + 0x64], bl
mov edi, dword [esi + 0x1c8]
cmp byte [edi + 0x30], bl
je 0x1002bd8f
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push ebx
mov ecx, edi
mov byte [edi + 0x30], bl
call eax
cmp dword [edi + 0x84], edi
je 0x1002bd9a
mov byte [edi + 0x64], bl
mov edi, dword [esi + 0x1d0]
mov byte [esi + 0x1d4], 0
cmp byte [edi + 0x30], 0
je 0x1002bdbc
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, edi
mov byte [edi + 0x30], 0
call eax
cmp dword [edi + 0x84], edi
je 0x1002bdc7
mov byte [edi + 0x64], bl
cmp dword [esp + 0x10], 0xffffffff
jne 0x1002bc5a
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4