Function at 0x4c0ff0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffac
mov edi, edx
mov esi, eax
mov byte [0x51f428], 1
mov eax, esi
mov edx, dword [0x459994]
call fcn.00403d40
test al, al
je 0x4c103a
push 0
mov dx, 4
xor eax, eax
call fcn.00407b28
push eax
mov eax, dword [0x51fe18]
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.0044a994
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4c103c
xor ebx, ebx
test ebx, ebx
je 0x4c1059
cmp dword [ebx + 0x200], 0
je 0x4c1059
call fcn.004c2aac
test al, al
je 0x4c1059
mov byte [esp + 0x14], 1
jmp 0x4c105e
mov byte [esp + 0x14], 0
cmp byte [esp + 0x14], 0
je 0x4c16d4
mov eax, esi
mov edx, dword [0x459994]
call fcn.00403d40
test al, al
je 0x4c16d4
mov eax, dword [ebx + 0x1e4]
cmp byte [eax + 0x2e0], 0
je 0x4c10a0
mov dl, byte [eax + 0x2e1]
mov byte [esp + 0x30], dl
mov dl, 1
call fcn.00461380
jmp 0x4c10a5
mov byte [esp + 0x30], 0xff
mov eax, ebx
call fcn.004ee940
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
call fcn.004cb814
mov dword [0x5223e8], eax
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.0042441c
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.00424894
mov dword [0x51f420], eax
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [0x5223e8]
call fcn.004c0ab4
cmp dword [0x5223e8], 0
je 0x4c19a7
xor eax, eax
mov dword [0x51f420], eax
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.0042478c
movzx eax, di
shr eax, 3
mov edi, eax
mov dword [esp + 0x18], 0x118
mov eax, dword [0x5223e8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x5223e8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
xor edx, edx
xor eax, eax
call fcn.00417e80
test edi, edi
jle 0x4c1169
mov byte [esp + 0x2e], 0
jmp 0x4c1171
mov al, byte [esp + 0x30]
mov byte [esp + 0x2e], al
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x2f], 1
cmp byte [ebx + 0x1bc], 0
je 0x4c11a1
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004f4638
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
jmp 0x4c1294
mov eax, dword [ebx + 0x1e4]
call fcn.0044a994
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4c124f
mov eax, dword [ebx + 0x54]
call fcn.004ce558
mov eax, dword [eax + 0x88]
mov bp, word [eax + 0x2e]
mov eax, dword [ebx + 0x54]
call fcn.004ce558
mov eax, dword [eax + 0x88]
cmp bp, word [eax + 0x2c]
je 0x4c124f
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004f4638
mov ebp, dword [esp + 0x48]
mov eax, dword [ebx + 0x200]
call fcn.004e3e1c
add ebp, eax
xor edx, edx
mov eax, ebx
call fcn.004e56dc
sub ebp, eax
mov eax, dword [ebx + 0x1e4]
call fcn.0044a994
xor ecx, ecx
mov edx, dword [ebx + 0x200]
call fcn.004e3db4
sub ebp, eax
mov eax, dword [ebx + 0x54]
call fcn.004ce558
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2c]
add ebp, eax
mov eax, dword [ebx + 0x54]
call fcn.004ce558
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
sub ebp, eax
mov dword [esp + 0xc], ebp
jmp 0x4c1294
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004f4638
mov ebp, dword [esp + 0x48]
mov eax, dword [ebx + 0x200]
call fcn.004e3e1c
add ebp, eax
xor edx, edx
mov eax, ebx
call fcn.004e56dc
sub ebp, eax
mov eax, dword [ebx + 0x1e4]
call fcn.0044a994
xor ecx, ecx
mov edx, dword [ebx + 0x200]
call fcn.004e3db4
sub ebp, eax
mov dword [esp + 0xc], ebp
mov eax, dword [ebx + 0x1e4]
call fcn.0044a994
xor ecx, ecx
mov edx, dword [ebx + 0x200]
call fcn.004e3db4
push eax
mov eax, dword [ebx + 0x200]
call fcn.004e3e3c
mov ebp, eax
pop eax
sub ebp, eax
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004f4638
add ebp, dword [esp + 0x44]
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x31]
push eax
mov eax, esi
call fcn.0044a994
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x459c98]
call fcn.0045c748
mov ebp, eax
mov dword [0x51f41c], ebp
mov dword [ebp + 0xc], 0xffffff9e
xor edx, edx
mov eax, ebp
call fcn.0045df0c
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [0x51f41c]
call fcn.0044391c
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [0x51f41c]
call fcn.00443940
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x48]
mov eax, dword [0x51f41c]
call fcn.00443968
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x51f41c]
call fcn.0044398c
push 0xffffffffffffffec
mov eax, esi
call fcn.0044a994
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4c1388
mov dl, 3
mov eax, dword [0x51f41c]
call fcn.0045e208
or ebp, 0xffffffff
jmp 0x4c139d
push 3
mov eax, dword [ebx + 0x1e4]
call fcn.0044a994
push eax
call sub.user32.dll_GetWindow
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x20]
push eax
push ebp
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [esp + 4], eax
push 0xffffffffffffffec
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowLongA
push 0xffffffffffffffec
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x30]
push eax
push 0x1fffffff
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.00424894
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
mov eax, dword [0x51fdf0]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_ShowWindow
test edi, edi
jle 0x4c1556
xor eax, eax
mov al, byte [esp + 0x30]
cdq
idiv edi
mov dword [esp + 8], eax
xor ebp, ebp
cmp edi, ebp
jl 0x4c154e
xor edx, edx
mov dl, byte [esp + 0x30]
xor eax, eax
mov al, byte [esp + 0x2e]
add eax, dword [esp + 8]
call fcn.0042ae90
mov byte [esp + 0x2e], al
push 2
lea eax, [esp + 0x30]
push eax
push 0x1fffffff
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.00424894
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
mov eax, dword [0x51fdf0]
mov eax, dword [eax]
call eax
mov eax, dword [0x5201c4]
cmp dword [eax], 0
je 0x4c153a
push 0
mov dx, 3
xor eax, eax
call fcn.00407b28
push eax
mov eax, dword [0x51fe18]
mov eax, dword [eax]
push eax
mov eax, dword [0x5201c4]
mov eax, dword [eax]
call fcn.0044a994
push eax
call sub.user32.dll_SendMessageA
inc ebp
test edi, edi
jle 0x4c1546
push 8
call sub.kernel32.dll_Sleep
cmp edi, ebp
jge 0x4c14ae
mov al, byte [esp + 0x30]
mov byte [esp + 0x2e], al
push 0
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esp + 0x18]
or eax, 4
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x20]
push eax
push 0
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowPos
push 2
lea eax, [esp + 0x30]
push eax
push 0x1fffffff
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.00424894
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
call fcn.0044a994
push eax
mov eax, dword [0x51fdf0]
mov eax, dword [eax]
call eax
push 0
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_ReleaseDC
mov byte [0x51f428], 0
mov eax, dword [ebx + 0x1e4]
cmp byte [eax + 0x2e0], 0
je 0x4c1616
mov dl, byte [esp + 0x30]
call fcn.00461380
push 0
push 1
push 0xb
mov eax, esi
call fcn.0044a994
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x200]
call fcn.004f83e4
push eax
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowRgn
push 0x585
push 0
push 0
mov eax, esi
call fcn.0044a994
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x51f41c
call fcn.0040e9e4
push 4
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x20]
push eax
mov eax, esi
call fcn.0044a994
push eax
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x10]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
mov dword [0x51f420], eax
mov eax, 0x5223e8
call fcn.0040e9e4
jmp 0x4c19a7
cmp dword [0x51f41c], 0
jne 0x4c16e4
mov eax, esi
call fcn.004c0ed4
cmp dword [0x51f41c], 0
je 0x4c19a7
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004cb7d4
mov dword [0x5223e8], eax
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.0042441c
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.00424894
mov dword [0x51f420], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [0x5223e8]
call fcn.004c0ab4
cmp dword [0x5223e8], 0
je 0x4c19a7
xor eax, eax
mov dword [0x51f420], eax
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.0042478c
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004cb814
mov dword [esp], eax
movzx eax, di
shr eax, 3
mov edi, eax
cmp byte [esp + 0x14], 0
jne 0x4c17ae
test ebx, ebx
je 0x4c17ae
mov ebp, ebx
mov eax, ebp
call fcn.004e47a0
cmp dword [0x51f41c], 0
je 0x4c19a7
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebp
call fcn.004e4b84
push eax
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_GetWindowDC
mov dword [esp + 4], eax
test edi, edi
jle 0x4c1880
mov eax, 0xff
cdq
idiv edi
mov dword [esp + 8], eax
mov ebx, 0xff
xor ebp, ebp
cmp edi, ebp
jl 0x4c1880
push 0
mov edx, ebx
xor eax, eax
call fcn.0042af0c
push eax
mov ecx, 0x5223e8
mov edx, 0x51f424
lea eax, [esp + 8]
call fcn.004cb504
push 0xcc0020
push 0
push 0
mov eax, dword [esp + 0xc]
call fcn.00428d38
call fcn.00424894
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x5201c4]
cmp dword [eax], 0
je 0x4c1864
push 0
mov dx, 3
xor eax, eax
call fcn.00407b28
push eax
mov eax, dword [0x51fe18]
mov eax, dword [eax]
push eax
mov eax, dword [0x5201c4]
mov eax, dword [eax]
call fcn.0044a994
push eax
call sub.user32.dll_SendMessageA
inc ebp
sub ebx, dword [esp + 8]
cmp edi, ebp
jl 0x4c1880
test edi, edi
jle 0x4c1878
push 8
call sub.kernel32.dll_Sleep
cmp edi, ebp
jge 0x4c17e5
push 0xcc0020
push 0
push 0
mov eax, dword [0x5223e8]
call fcn.00428d38
call fcn.00424894
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x5201c4]
cmp dword [eax], 0
je 0x4c18e1
push 0
mov dx, 3
xor eax, eax
call fcn.00407b28
push eax
mov eax, dword [0x51fe18]
mov eax, dword [eax]
push eax
mov eax, dword [0x5201c4]
mov eax, dword [eax]
call fcn.0044a994
push eax
call sub.user32.dll_SendMessageA
mov byte [0x51f428], 0
push 0
push 1
push 0xb
mov eax, esi
call fcn.0044a994
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x51ff8c]
cmp dword [eax], 6
jl 0x4c191b
push 0x585
push 0
push 0
mov eax, esi
call fcn.0044a994
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x459994]
call fcn.00403d40
test al, al
je 0x4c1947
push 0xffffffffffffffec
mov eax, esi
call fcn.0044a994
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4c1966
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [esp + 4]
push eax
mov eax, dword [0x51f41c]
call fcn.0044a994
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x51f41c
call fcn.0040e9e4
mov eax, esp
call fcn.0040e9e4
xor eax, eax
mov dword [0x51f420], eax
mov eax, 0x51f424
call fcn.0040e9e4
mov eax, 0x5223e8
call fcn.0040e9e4
add esp, 0x54
pop ebp
pop edi
pop esi
pop ebx
ret