Function at 0x5a6470
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 0x5a69d5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0055e89c
xor edx, edx
call fcn.0055e9c0
test eax, eax
jg 0x5a69b7
mov eax, ebx
call fcn.005b5228
test al, al
je 0x5a69b7
cmp byte [ebx + 0x3c], 0
jne 0x5a69b7
mov eax, dword [ebx + 0x2cc]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x5a64d7
cmp byte [ebx + 0x41], 0
jne 0x5a69b7
mov eax, ebx
call fcn.005a5d38
test al, al
jne 0x5a69b7
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x273], 1
je 0x5a69b7
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x1da], 0
je 0x5a69b7
cmp dword [ebx + 0x2e0], 0
je 0x5a6528
mov eax, dword [ebx + 0x2cc]
cmp dword [eax + 0x290], 0
je 0x5a69b7
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x277], 1
jne 0x5a6555
mov eax, dword [0x63d1c4]
cmp dword [eax], 0
je 0x5a6555
mov eax, dword [0x63d1c4]
mov eax, dword [eax]
cmp dword [eax + 0xec], 0
jg 0x5a69b7
test byte [ebx + 0x2d4], 0x80
jne 0x5a69b7
cmp dword [ebx + 0x29c], 0
jne 0x5a65fe
push 0
mov ecx, dword [0x63d0a4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x5a6090]
call fcn.00474200
mov esi, eax
mov dword [ebx + 0x29c], esi
mov eax, dword [ebx + 0x2cc]
push dword [eax + 8]
push 0x5a69ec
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.0040c75c
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405d00
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 0x5a69b7
call fcn.0045e6f0
mov eax, dword [ebx + 0x29c]
call fcn.0045eab4
test al, al
jne 0x5a65fe
lea eax, [ebx + 0x29c]
call fcn.0041252c
jmp 0x5a69b7
cmp dword [ebx + 0x2e0], 0
je 0x5a66da
mov eax, ebx
call fcn.005b1740
mov esi, eax
mov eax, ebx
call fcn.005b0dcc
imul esi, eax
inc esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x2cc]
call fcn.00474df0
mov esi, eax
mov eax, ebx
call fcn.005b0cd8
add esi, eax
sub esi, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.005b4428
sub esi, dword [ebp - 0x40]
mov eax, dword [ebx + 0x2e0]
call fcn.005a5ab4
sub esi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.0045e714
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x5a6687
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x2cc]
call fcn.0045e714
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0xc00000
je 0x5a6687
sub esi, 4
mov eax, dword [ebx + 0x2cc]
call fcn.0045e714
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
call fcn.005a587c
mov edi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.00474dd0
add edi, eax
mov dword [ebp - 0x18], edi
mov edi, dword [ebx + 0x2cc]
mov eax, edi
call fcn.0045e714
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
call fcn.005a587c
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x5a68c9
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 0x5a671a
cmp byte [esi + 0x277], 1
je 0x5a671a
mov eax, esi
call fcn.00474df0
mov esi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.00474dd0
mov dword [ebp - 0x18], eax
jmp 0x5a6734
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.0045e714
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 0x5a678c
lea edx, [ebp - 0x2c]
mov eax, edi
call fcn.00575170
mov eax, dword [ebx + 0x2cc]
call fcn.00474df0
neg eax
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.00474dd0
mov edx, eax
neg edx
lea eax, [ebp - 0x2c]
pop ecx
call fcn.00408244
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 0x5a6799
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.005a70c4
mov edi, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x2cc]
call fcn.0045e714
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x2cc]
call fcn.0045e714
lea edx, [ebp - 0x10]
call fcn.005a63d4
mov eax, dword [ebx + 0x2cc]
call fcn.0045e714
lea edx, [ebp - 0x2c]
call fcn.00577110
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 0x5a681d
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x277], 1
jne 0x5a68b5
mov eax, dword [ebx + 0x2cc]
call fcn.0045e714
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 0x5a6866
lea eax, [ebx + 0x29c]
call fcn.0041252c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.0045e714
push eax
call sub.user32.dll_ReleaseDC
jmp 0x5a69b7
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
jle 0x5a68a0
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x20]
jge 0x5a68a0
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.0045e714
push eax
call sub.user32.dll_ReleaseDC
push 0
push edi
mov eax, dword [ebx + 0x29c]
call fcn.0045e714
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 0x5a6924
push 0x658
mov eax, ebx
call fcn.005b1590
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.0045e714
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5a6983
push 0xffffffffffffffec
mov eax, edi
call fcn.0045e714
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x5a695e
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.0045e714
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5a6983
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.0045e714
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebx + 0x29c]
call fcn.0045e714
push eax
call sub.user32.dll_ShowWindow
push 0x105
push 0
push 0
mov eax, dword [ebx + 0x29c]
call fcn.0045e714
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 0x5a69dc
lea eax, [ebp - 0x34]
call fcn.00405964
lea eax, [ebp - 0x30]
call fcn.00405964
ret