Function at 0x5a7368
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a78cd
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0055f794
xor edx, edx
call fcn.0055f8b8
test eax, eax
jg 0x5a78af
mov eax, ebx
call fcn.005b6120
test al, al
je 0x5a78af
cmp byte [ebx + 0x3c], 0
jne 0x5a78af
mov eax, dword [ebx + 0x2cc]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x5a73cf
cmp byte [ebx + 0x41], 0
jne 0x5a78af
mov eax, ebx
call fcn.005a6c30
test al, al
jne 0x5a78af
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x273], 1
je 0x5a78af
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x1da], 0
je 0x5a78af
cmp dword [ebx + 0x2e0], 0
je 0x5a7420
mov eax, dword [ebx + 0x2cc]
cmp dword [eax + 0x290], 0
je 0x5a78af
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x277], 1
jne 0x5a744d
mov eax, dword [0x63f244]
cmp dword [eax], 0
je 0x5a744d
mov eax, dword [0x63f244]
mov eax, dword [eax]
cmp dword [eax + 0xec], 0
jg 0x5a78af
test byte [ebx + 0x2d4], 0x80
jne 0x5a78af
cmp dword [ebx + 0x29c], 0
jne 0x5a74f6
push 0
mov ecx, dword [0x63f124]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x5a6f88]
call fcn.00475014
mov esi, eax
mov dword [ebx + 0x29c], esi
mov eax, dword [ebx + 0x2cc]
push dword [eax + 8]
push 0x5a78e4
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.0040c924
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405bbc
mov edx, dword [ebp - 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebx + 0x29c]
mov dword [eax + 0x368], ebx
test eax, eax
je 0x5a78af
call fcn.0045f504
mov eax, dword [ebx + 0x29c]
call fcn.0045f8c8
test al, al
jne 0x5a74f6
lea eax, [ebx + 0x29c]
call fcn.004126f4
jmp 0x5a78af
cmp dword [ebx + 0x2e0], 0
je 0x5a75d2
mov eax, ebx
call fcn.005b2638
mov esi, eax
mov eax, ebx
call fcn.005b1cc4
imul esi, eax
inc esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x2cc]
call fcn.00475c04
mov esi, eax
mov eax, ebx
call fcn.005b1bd0
add esi, eax
sub esi, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.005b5320
sub esi, dword [ebp - 0x40]
mov eax, dword [ebx + 0x2e0]
call fcn.005a69ac
sub esi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x5a757f
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0xc00000
je 0x5a757f
sub esi, 4
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
call fcn.005a6774
mov edi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.00475be4
add edi, eax
mov dword [ebp - 0x18], edi
mov edi, dword [ebx + 0x2cc]
mov eax, edi
call fcn.0045f528
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
call fcn.005a6774
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x5a77c1
mov eax, dword [ebx + 0x2cc]
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebx + 0x2cc]
cmp dword [esi + 0x30], 0
jne 0x5a7612
cmp byte [esi + 0x277], 1
je 0x5a7612
mov eax, esi
call fcn.00475c04
mov esi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.00475be4
mov dword [ebp - 0x18], eax
jmp 0x5a762c
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.0045f528
push eax
call sub.user32.dll_GetWindowRect
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x2cc]
cmp byte [edi + 0x273], 2
jne 0x5a7684
lea edx, [ebp - 0x2c]
mov eax, edi
call fcn.00576068
mov eax, dword [ebx + 0x2cc]
call fcn.00475c04
neg eax
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.00475be4
mov edx, eax
neg edx
lea eax, [ebp - 0x2c]
pop ecx
call fcn.00408100
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edi, eax
jmp 0x5a7691
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.005a7fbc
mov edi, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
lea edx, [ebp - 0x10]
call fcn.005a72cc
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
lea edx, [ebp - 0x2c]
call fcn.00578008
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
push 4
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.gdi32.dll_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebx + 0x2cc]
cmp dword [eax + 0x30], 0
jne 0x5a7715
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x277], 1
jne 0x5a77ad
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x5a775e
lea eax, [ebx + 0x29c]
call fcn.004126f4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
push eax
call sub.user32.dll_ReleaseDC
jmp 0x5a78af
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
jle 0x5a7798
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x20]
jge 0x5a7798
mov ecx, dword [ebp - 0x20]
push ecx
push edx
mov edx, dword [ebp - 0x28]
push edx
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
push 1
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.gdi32.dll_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.0045f528
push eax
call sub.user32.dll_ReleaseDC
push 0
push edi
mov eax, dword [ebx + 0x29c]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x29c]
mov edi, dword [eax]
call dword [edi + 0x88]
mov edi, dword [ebx + 0x2cc]
cmp byte [edi + 0x277], 1
jne 0x5a781c
push 0x658
mov eax, ebx
call fcn.005b2488
push eax
mov eax, dword [ebx + 0x2cc]
mov eax, dword [eax + 0x48]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x29c]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5a787b
push 0xffffffffffffffec
mov eax, edi
call fcn.0045f528
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x5a7856
push 0x658
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x29c]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5a787b
push 0x658
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x29c]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebx + 0x29c]
call fcn.0045f528
push eax
call sub.user32.dll_ShowWindow
push 0x105
push 0
push 0
mov eax, dword [ebx + 0x29c]
call fcn.0045f528
push eax
call sub.user32.dll_RedrawWindow
push 0x28
call sub.KERNEL32.DLL_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a78d4
lea eax, [ebp - 0x34]
call fcn.00405820
lea eax, [ebp - 0x30]
call fcn.00405820
ret