Function at 0x57e890
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x25c], 0
je 0x57f109
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x57f109
mov byte [0x5f3bf8], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
test eax, eax
je 0x57e929
cmp dword [eax + 0x28], 0
jne 0x57e8ef
call fcn.005c80a8
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x6c], eax
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowRgn
test eax, eax
jne 0x57e919
call fcn.00584a0c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
call fcn.005c7a58
jmp 0x57e94a
mov eax, dword [ebp - 0x5c]
call fcn.005b17c8
push 0
mov ecx, dword [0x5f4c98]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4e3720]
call fcn.00478ad0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x57f109
mov eax, esi
call fcn.00562298
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.004297b8
push 0
mov eax, dword [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x28c]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.0057ddf0
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x2bc], 0
jne 0x57e9ed
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x3c], 0
je 0x57e9ca
push 0x1fffffff
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.005b55bc
lea edx, [ebp - 0x9c]
mov cl, 0xff
mov eax, dword [ebp - 0x2c]
call fcn.0056a048
jmp 0x57e9ed
push 0x1fffffff
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x2c]
call fcn.005cc4ac
lea edx, [ebp - 0x9c]
mov cl, 0xff
mov eax, dword [ebp - 0x2c]
call fcn.0056a048
cmp dword [ebp - 0x2c], 0
je 0x57f109
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.00429b98
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x2c]
call fcn.005cc57c
movzx eax, bx
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], 0x718
lea ecx, [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.005cc5c8
cmp dword [ebp - 0x10], 0
jle 0x57ea43
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.005ccd8c
jmp 0x57ea4e
mov dl, byte [ebp - 0xc]
lea eax, [ebp - 0x54]
call fcn.005ccd8c
xor eax, eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x2bc], 0
je 0x57eb6b
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.0045f978
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x57eab1
mov dl, 1
mov eax, dword [ebp - 0x5c]
call fcn.005abdac
mov ebx, eax
xor edx, edx
mov eax, dword [ebp - 0x5c]
call fcn.005a9248
add eax, 4
cmp ebx, eax
jl 0x57eab5
xor ebx, ebx
jmp 0x57eab7
mov bl, 1
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0xd5], bl
test bl, bl
je 0x57eb0f
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x2bc]
xor ecx, ecx
call fcn.005a9150
mov ebx, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.005b6d7c
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
call fcn.005a9360
add esi, eax
add ebx, esi
mov dword [ebp - 0x78], ebx
jmp 0x57eb20
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
call fcn.005c7820
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x2bc]
xor ecx, ecx
call fcn.005a9150
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
call fcn.005a933c
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.005b6d7c
add ebx, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], ebx
jmp 0x57eb9f
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x5c]
call fcn.005aa264
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x234]
mov edx, dword [ebp - 0x2c]
call fcn.0057e214
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowLongA
test eax, eax
jne 0x57ebce
call fcn.00584a0c
push 0xffffffffffffffec
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x57ec3a
mov dl, 3
mov eax, dword [ebp - 0x6c]
call fcn.0047a3dc
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.0045f794
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.0045f7b8
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowLongA
test eax, eax
jne 0x57ec35
call fcn.00584a0c
or esi, 0xffffffff
jmp 0x57ec66
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
test byte [eax + 0x2f4], 8
je 0x57ec56
mov dl, 3
mov eax, dword [ebp - 0x6c]
call fcn.0047a3dc
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
mov esi, eax
push 0
call sub.user32.dll_GetDC
mov ebx, eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x80000
jne 0x57ecb5
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowLongA
test eax, eax
jne 0x57ecb5
call fcn.00584a0c
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.00429ca0
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
mov eax, dword [0x5f47ac]
mov eax, dword [eax]
call eax
test al, al
jne 0x57ecf4
call fcn.00584a0c
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
sub edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
mov edi, dword [eax]
call dword [edi + 0x84]
push 0x65b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x57ed49
call fcn.00584a0c
push 4
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x40]
push eax
push esi
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x57ed8b
call fcn.00584a0c
lea eax, [ebp - 0x68]
call fcn.0056228c
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x58]
call fcn.005cc4ac
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042e7d8
call fcn.00429ca0
xor ecx, ecx
pop edx
call fcn.0055c4f0
push 3
mov eax, dword [ebp - 0x58]
call fcn.0042e7d8
call fcn.00429ca0
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x57ee63
push ebp
call fcn.0057e248
pop ecx
xor esi, esi
cmp esi, dword [ebp - 0x10]
jg 0x57ee5d
push ebp
call fcn.0057e410
pop ecx
call sub.kernel32.dll_GetTickCount
mov edi, eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042e7d8
call fcn.00429ca0
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
mov eax, dword [0x5f47ac]
mov eax, dword [eax]
call eax
test al, al
jne 0x57ee3a
call fcn.00584a0c
push ebp
call fcn.0057e6d4
pop ecx
test al, al
je 0x57ee5d
inc esi
cmp dword [ebp - 0x10], 0
jle 0x57ee58
mov edx, 0xc
mov eax, edi
call fcn.005ccd40
cmp esi, dword [ebp - 0x10]
jle 0x57eded
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x60]
or eax, 4
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x7c]
push eax
push 0
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x57ee9f
call fcn.00584a0c
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0042e7d8
call fcn.00429ca0
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
mov eax, dword [0x5f47ac]
mov eax, dword [eax]
call eax
test al, al
jne 0x57eede
call fcn.00584a0c
lea eax, [ebp - 0x58]
call fcn.0040f124
push ebx
push 0
call sub.user32.dll_ReleaseDC
cmp dword [ebp - 0x5c], 0
je 0x57f109
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0x287], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
xor ecx, ecx
mov dl, 1
call fcn.0057fb14
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
movzx eax, byte [eax + 0x22b]
mov eax, dword [eax*4 + 0x5f3c08]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_ShowWindow
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x57ef78
call fcn.00584a0c
push ebp
call fcn.0057e7e8
pop ecx
mov byte [0x5f3bf8], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
test eax, eax
je 0x57ef97
mov byte [eax + 0x25], 1
mov eax, dword [0x5f4960]
cmp dword [eax], 6
jne 0x57efe6
mov eax, dword [0x5f4d78]
cmp dword [eax], 0
jne 0x57efe6
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowLongA
test eax, eax
jne 0x57efe6
call fcn.00584a0c
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x2bc], 0
je 0x57effe
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 0x5c]
call fcn.005aa44c
push 0x585
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
call sub.user32.dll_RedrawWindow
test eax, eax
jne 0x57f024
call fcn.00584a0c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
test eax, eax
je 0x57f035
mov byte [eax + 0x25], 0
lea eax, [ebp - 0x2c]
call fcn.0040f124
call fcn.005a9494
test al, al
je 0x57f06f
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
mov edx, dword [0x5f4c98]
mov edx, dword [edx]
cmp eax, dword [edx + 0x44]
je 0x57f065
push 0x18
call sub.kernel32.dll_Sleep
jmp 0x57f06f
mov eax, 0x18
call fcn.005cccd4
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004668b8
push eax
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowPos
test eax, eax
jne 0x57f0a2
call fcn.00584a0c
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x2bc], 0
jne 0x57f0b8
lea eax, [ebp - 0x6c]
call fcn.0040f124
jmp 0x57f0eb
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2bc]
xor ecx, ecx
xor edx, edx
call fcn.005c7e70
push eax
mov eax, dword [ebp - 0x6c]
call fcn.004668b8
push eax
call sub.user32.dll_SetWindowRgn
test eax, eax
jne 0x57f0e4
call fcn.00584a0c
push ebp
call fcn.0057e7e8
pop ecx
mov eax, dword [ebp - 0x5c]
cmp word [eax + 0xb2], 0
je 0x57f109
mov ebx, dword [ebp - 0x5c]
xor edx, edx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4