Function at 0x6edb70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov byte [esp + 4], dl
mov dword [esp], eax
mov esi, 0x777b08
mov eax, dword [0x770e40]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x6edf7e
mov eax, dword [esp]
call fcn.0072401c
test al, al
je 0x6edbb2
mov eax, dword [0x770938]
mov byte [eax], 0
xor ebx, ebx
mov eax, dword [esi]
call fcn.0040978c
dec eax
mov dword [esp + 8], eax
cmp ebx, dword [esp + 8]
jg 0x6edc66
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x6edc5b
mov eax, ebp
mov edx, dword [0x5a45b4]
call fcn.00405c04
test al, al
je 0x6edc5b
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x2b6], 1
je 0x6edc5b
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x38], 0
jne 0x6edc5b
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x61], 0
je 0x6edc5b
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.006d897c
mov edi, eax
test edi, edi
je 0x6edc5b
mov eax, dword [edi + 0x5c]
call fcn.006ea9cc
cmp eax, dword [esp]
jne 0x6edc5b
mov eax, dword [edi + 0x214]
and eax, 0x10000
cmp eax, 0x10000
je 0x6edc45
inc ebx
jmp 0x6edc5c
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
push eax
call sub.user32.dll_SendMessageW
inc ebx
cmp ebx, dword [esp + 8]
jle 0x6edbca
xor ebx, ebx
jmp 0x6edf6e
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x6edf6d
mov eax, ebp
mov edx, dword [0x5a45b4]
call fcn.00405c04
test al, al
je 0x6edf6d
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x2b6], 1
je 0x6edf6d
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x38], 0
jne 0x6edf6d
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x61], 0
je 0x6edf6d
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.006d897c
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x2b2], 1
je 0x6edf6d
test edi, edi
je 0x6edf6d
mov eax, dword [edi + 0x5c]
call fcn.006ea9cc
cmp eax, dword [esp]
jne 0x6edf6d
mov eax, dword [edi + 0x214]
and eax, 0x10000
cmp eax, 0x10000
je 0x6edd15
inc ebx
jmp 0x6edf6e
cmp byte [esp + 4], 0
je 0x6edf23
mov eax, dword [edi + 0x5c]
call fcn.006ea9cc
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x6eddad
mov eax, dword [edi + 0x234]
cmp byte [eax + 0x358], 0
je 0x6edd56
mov eax, dword [edi + 0x234]
movzx eax, byte [eax + 0x359]
mov byte [esp + 0x14], al
jmp 0x6edd5b
mov byte [esp + 0x14], 0xff
cmp byte [edi + 0x80], 0
je 0x6edd9a
mov eax, dword [edi + 0x5c]
call fcn.006ea9cc
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
movzx eax, byte [eax + 7]
push eax
mov eax, dword [edi + 0x5c]
call fcn.006ea9cc
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
movzx edx, word [eax + 4]
movzx ecx, byte [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.006d7520
jmp 0x6eddad
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.006d7520
and dword [edi + 0x214], 0xffffefff
cmp dword [edi + 0x250], 0
je 0x6ede61
mov eax, dword [edi + 0x234]
cmp byte [eax + 0x2b2], 2
jne 0x6ede61
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
mov edx, 0xfffffff0
call fcn.0040f520
and eax, 0xefffffff
push eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
mov edx, 0xfffffff0
pop ecx
call fcn.0040f7e8
call sub.user32.dll_GetActiveWindow
mov dword [esp + 0x10], eax
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
mov edx, 0xfffffff0
call fcn.0040f520
or eax, 0x10000000
push eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
mov edx, 0xfffffff0
pop ecx
call fcn.0040f7e8
cmp dword [esp + 0x10], 0
je 0x6ede61
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SetActiveWindow
mov byte [edi + 0x208], 0
cmp byte [edi + 0x80], 0
je 0x6edf08
mov eax, dword [0x770ab8]
cmp dword [eax], 6
jge 0x6ede93
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
push eax
call sub.user32.dll_SetWindowRgn
mov eax, edi
call fcn.006f9e3c
mov dl, 1
mov eax, edi
call fcn.006fa008
mov dword [esp + 0xc], 0x185
mov eax, dword [esp + 0xc]
push eax
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
push eax
call sub.user32.dll_RedrawWindow
cmp dword [edi + 0x250], 0
je 0x6edf63
push 0
mov eax, dword [edi + 0x250]
xor ecx, ecx
xor edx, edx
call fcn.00711780
push eax
mov eax, dword [edi + 0x250]
mov eax, dword [eax + 0x18]
call fcn.005056c8
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [edi + 0x250]
mov cl, 0xff
mov dl, 1
call fcn.007108c8
jmp 0x6edf63
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
push eax
call sub.user32.dll_RedrawWindow
jmp 0x6edf63
and dword [edi + 0x214], 0xffffefff
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
push eax
call sub.user32.dll_SendMessageW
cmp byte [esp + 4], 0
je 0x6edf63
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005056c8
push eax
call sub.user32.dll_RedrawWindow
and dword [edi + 0x214], 0xfffeffff
inc ebx
mov eax, dword [esi]
call fcn.0040978c
dec eax
cmp ebx, eax
jle 0x6edc6d
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret