Function at 0x567454
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x567ba3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5674a9
mov eax, dword [ebp - 4]
test byte [eax + 0x3e0], 4
je 0x5674a9
lea edx, [ebp - 0x44]
mov eax, dword [0x70b710]
call fcn.0040f848
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x46ef74]
call fcn.0042a864
call fcn.004091d8
mov eax, dword [0x712c0c]
call fcn.0056e178
mov eax, dword [ebp - 4]
or byte [eax + 0x3e0], 4
xor edx, edx
push ebp
push 0x567b84
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x567b3c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x21d], 0
je 0x567a30
xor eax, eax
push ebp
push 0x56750c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa8
call fcn.00408128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x567523
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e3], 4
je 0x567557
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2e3]
sub al, 4
je 0x567547
add al, 0xfe
sub al, 2
jae 0x56763a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x56763a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x5675ad
mov eax, dword [0x712c0c]
mov eax, dword [eax + 0x58]
call fcn.0050eaa0
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x56757f
adc ebx, 0
mov eax, dword [0x712c0c]
mov eax, dword [eax + 0x58]
call fcn.0050eae0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x56759b
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x712c0c]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x74]
jmp 0x5675f1
mov eax, dword [ebp - 4]
call fcn.00563b68
lea edx, [ebp - 0x14]
call fcn.00569330
lea eax, [ebp - 0x14]
call fcn.00411c6c
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5675d4
adc ebx, 0
add ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
call fcn.00411c7c
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5675ee
adc esi, 0
add esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x5675fa
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x567603
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xd8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
je 0x56793c
mov eax, dword [ebp - 4]
call fcn.0056449c
jmp 0x56793c
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2e3]
mov edx, eax
add dl, 0xfa
sub dl, 2
jae 0x567841
mov eax, dword [0x712c0c]
mov edi, dword [eax + 0x58]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e3], 7
jne 0x567681
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x55b6fc]
call fcn.0040803c
test al, al
je 0x567681
mov eax, dword [ebp - 4]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2de], 2
jne 0x5676af
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3d8]
mov eax, dword [ebp - 4]
call fcn.0056262c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3dc]
mov eax, dword [ebp - 4]
call fcn.00562664
test edi, edi
je 0x567749
cmp edi, dword [ebp - 4]
je 0x567749
cmp byte [edi + 0x2e2], 1
jne 0x567702
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.00518c14
push eax
call sub.user32.dll_GetWindowRect
mov ebx, dword [edi + 0x58]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x5676ea
adc ebx, 0
add ebx, dword [ebp - 0x14]
mov esi, dword [edi + 0x5c]
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5676fd
adc esi, 0
add esi, dword [ebp - 0x10]
jmp 0x567738
mov eax, edi
call fcn.0056219c
mov ebx, eax
mov eax, dword [edi + 0x58]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x58]
sar eax, 1
jns 0x56771b
adc eax, 0
add ebx, eax
mov eax, edi
call fcn.005621bc
mov esi, eax
mov eax, dword [edi + 0x5c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x5c]
sar eax, 1
jns 0x567736
adc eax, 0
add esi, eax
mov eax, edi
call fcn.00563b68
lea edx, [ebp - 0x14]
call fcn.00569330
jmp 0x567788
mov eax, dword [0x712c10]
call fcn.005697d8
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x567762
adc ebx, 0
mov eax, dword [0x712c10]
call fcn.005697d0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x56777b
adc esi, 0
lea edx, [ebp - 0x14]
mov eax, dword [0x712c10]
call fcn.0056abd4
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jge 0x567791
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, eax
jge 0x56779a
mov esi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2de], 2
jne 0x56780a
mov eax, dword [ebp - 4]
call fcn.0051907c
test al, al
je 0x56780a
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00568afc
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00568b38
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x290]
push eax
call sub.user32.dll_GetWindowPlacement
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0050ea44
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x290]
push eax
call sub.user32.dll_SetWindowPlacement
jmp 0x567827
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xd8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
je 0x56793c
mov eax, dword [ebp - 4]
call fcn.0056449c
jmp 0x56793c
cmp al, 5
jne 0x56793c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x56788f
mov eax, dword [0x712c0c]
mov eax, dword [eax + 0x58]
call fcn.0050eaa0
mov ebx, eax
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x58]
sar ebx, 1
jns 0x567871
adc ebx, 0
mov eax, dword [0x712c0c]
mov eax, dword [eax + 0x58]
call fcn.0050eae0
mov esi, eax
mov eax, dword [ebp - 4]
sub esi, dword [eax + 0x5c]
sar esi, 1
jns 0x5678eb
adc esi, 0
jmp 0x5678eb
mov eax, dword [0x712c10]
call fcn.005697f8
mov ebx, eax
sar ebx, 1
jns 0x5678a2
adc ebx, 0
mov eax, dword [0x712c10]
call fcn.005697e8
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
sar eax, 1
jns 0x5678bb
adc eax, 0
sub ebx, eax
mov eax, dword [0x712c10]
call fcn.005697f0
mov esi, eax
sar esi, 1
jns 0x5678d0
adc esi, 0
mov eax, dword [0x712c10]
call fcn.005697e0
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
sar eax, 1
jns 0x5678e9
adc eax, 0
sub esi, eax
mov eax, dword [0x712c10]
call fcn.005697e8
cmp ebx, eax
jge 0x567905
mov eax, dword [0x712c10]
call fcn.005697e8
mov ebx, eax
mov eax, dword [0x712c10]
call fcn.005697e0
cmp esi, eax
jge 0x56791f
mov eax, dword [0x712c10]
call fcn.005697e0
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xd8]
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e3], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x567a0b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2de], 2
jne 0x567998
push 0
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
push 0x223
mov eax, dword [0x712c0c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3d0]
push eax
call sub.user32.dll_SendMessageW
push 3
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
call sub.user32.dll_ShowWindow
jmp 0x5679e9
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2de]
mov eax, dword [eax*4 + 0x6f3cb8]
push eax
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
push 0x413da8
call sub.user32.dll_CallWindowProcW
mov eax, dword [ebp - 4]
call fcn.0050f684
push 0
push 0
push 0x234
mov eax, dword [0x712c0c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x3d0]
push eax
call sub.user32.dll_SendMessageW
jmp 0x567b6a
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2de]
mov eax, dword [eax*4 + 0x6f3cb8]
push eax
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
call sub.user32.dll_ShowWindow
jmp 0x567b6a
xor eax, eax
push ebp
push 0x567a54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov si, 0xffa9
call fcn.00408128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x567a6b
mov eax, dword [0x712c10]
mov eax, dword [eax + 0x74]
cmp eax, dword [ebp - 4]
jne 0x567a82
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00565ae4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2e2], 1
jne 0x567a9e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x108]
jmp 0x567b6a
mov eax, dword [ebp - 4]
test byte [eax + 0x3e0], 8
je 0x567acc
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
call sub.user32.dll_SetWindowPos
jmp 0x567b6a
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00518c14
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x567b01
mov eax, dword [ebp - 4]
call fcn.00518c14
call fcn.0055f42c
test eax, eax
jne 0x567b01
mov eax, dword [ebp - 4]
call fcn.00518c14
call fcn.0055f754
mov ebx, eax
test ebx, ebx
je 0x567b2a
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
call sub.user32.dll_SetWindowPos
push ebx
call sub.user32.dll_SetActiveWindow
jmp 0x567b6a
push 0
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
call sub.user32.dll_ShowWindow
jmp 0x567b6a
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x567b6a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x567b6a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x21d], 0
je 0x567b6a
push 1
mov eax, dword [ebp - 4]
call fcn.00518c14
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567b8b
mov eax, dword [ebp - 4]
and byte [eax + 0x3e0], 0xfb
pop eax
jmp eax