Function at 0x4a71ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffac
mov edi, edx
mov esi, eax
mov byte [0x4fc698], 1
mov eax, esi
mov edx, dword [0x459218]
call fcn.00403ae4
test al, al
je 0x4a71f6
push 0
mov dx, 4
xor eax, eax
call fcn.004077e8
push eax
mov eax, dword [0x4fc978]
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.0044a0b8
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4a71f8
xor ebx, ebx
test ebx, ebx
je 0x4a7215
cmp dword [ebx + 0x1f8], 0
je 0x4a7215
call fcn.004d9cd4
test al, al
je 0x4a7215
mov byte [esp + 0x14], 1
jmp 0x4a721a
mov byte [esp + 0x14], 0
cmp byte [esp + 0x14], 0
je 0x4a7890
mov eax, esi
mov edx, dword [0x459218]
call fcn.00403ae4
test al, al
je 0x4a7890
mov eax, dword [ebx + 0x1dc]
cmp byte [eax + 0x2e0], 0
je 0x4a725c
mov dl, byte [eax + 0x2e1]
mov byte [esp + 0x30], dl
mov dl, 1
call fcn.00460dc8
jmp 0x4a7261
mov byte [esp + 0x30], 0xff
mov eax, ebx
call fcn.004ce3b0
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.004e2b48
mov dword [0x4fde18], eax
mov eax, dword [0x4fde18]
call fcn.00428438
call fcn.00423594
mov eax, dword [0x4fde18]
call fcn.00428438
call fcn.00423a44
mov dword [0x4fc690], eax
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [0x4fde18]
call fcn.004a6c70
cmp dword [0x4fde18], 0
je 0x4a7b63
xor eax, eax
mov dword [0x4fc690], eax
mov eax, dword [0x4fde18]
call fcn.00428438
call fcn.0042393c
movzx eax, di
shr eax, 3
mov edi, eax
mov dword [esp + 0x18], 0x118
mov eax, dword [0x4fde18]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4fde18]
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.00417c90
test edi, edi
jle 0x4a7325
mov byte [esp + 0x2e], 0
jmp 0x4a732d
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 + 0x1b0], 0
je 0x4a735d
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004d3fb4
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
jmp 0x4a7450
mov eax, dword [ebx + 0x1dc]
call fcn.0044a0b8
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4a740b
mov eax, dword [ebx + 0x54]
call fcn.004bbabc
mov eax, dword [eax + 0x88]
mov bp, word [eax + 0x2e]
mov eax, dword [ebx + 0x54]
call fcn.004bbabc
mov eax, dword [eax + 0x88]
cmp bp, word [eax + 0x2c]
je 0x4a740b
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004d3fb4
mov ebp, dword [esp + 0x48]
mov eax, dword [ebx + 0x1f8]
call fcn.004c3954
add ebp, eax
xor edx, edx
mov eax, ebx
call fcn.004c51f0
sub ebp, eax
mov eax, dword [ebx + 0x1dc]
call fcn.0044a0b8
xor ecx, ecx
mov edx, dword [ebx + 0x1f8]
call fcn.004c38ec
sub ebp, eax
mov eax, dword [ebx + 0x54]
call fcn.004bbabc
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2c]
add ebp, eax
mov eax, dword [ebx + 0x54]
call fcn.004bbabc
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
sub ebp, eax
mov dword [esp + 0xc], ebp
jmp 0x4a7450
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004d3fb4
mov ebp, dword [esp + 0x48]
mov eax, dword [ebx + 0x1f8]
call fcn.004c3954
add ebp, eax
xor edx, edx
mov eax, ebx
call fcn.004c51f0
sub ebp, eax
mov eax, dword [ebx + 0x1dc]
call fcn.0044a0b8
xor ecx, ecx
mov edx, dword [ebx + 0x1f8]
call fcn.004c38ec
sub ebp, eax
mov dword [esp + 0xc], ebp
mov eax, dword [ebx + 0x1dc]
call fcn.0044a0b8
xor ecx, ecx
mov edx, dword [ebx + 0x1f8]
call fcn.004c38ec
push eax
mov eax, dword [ebx + 0x1f8]
call fcn.004c3974
mov ebp, eax
pop eax
sub ebp, eax
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004d3fb4
add ebp, dword [esp + 0x44]
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x31]
push eax
mov eax, esi
call fcn.0044a0b8
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x45951c]
call fcn.0045c178
mov ebp, eax
mov dword [0x4fc68c], ebp
mov dword [ebp + 0xc], 0xffffff9e
xor edx, edx
mov eax, ebp
call fcn.0045d94c
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [0x4fc68c]
call fcn.00442fd0
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [0x4fc68c]
call fcn.00442ff4
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x48]
mov eax, dword [0x4fc68c]
call fcn.0044301c
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x4fc68c]
call fcn.00443040
push 0xffffffffffffffec
mov eax, esi
call fcn.0044a0b8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4a7544
mov dl, 3
mov eax, dword [0x4fc68c]
call fcn.0045dc48
or ebp, 0xffffffff
jmp 0x4a7559
push 3
mov eax, dword [ebx + 0x1dc]
call fcn.0044a0b8
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 [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [esp + 4], eax
push 0xffffffffffffffec
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_SetWindowLongA
push 0xffffffffffffffec
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0044a0b8
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 [0x4fde18]
call fcn.00428438
call fcn.00423a44
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
mov eax, dword [0x4fc960]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_ShowWindow
test edi, edi
jle 0x4a7712
xor eax, eax
mov al, byte [esp + 0x30]
cdq
idiv edi
mov dword [esp + 8], eax
xor ebp, ebp
cmp edi, ebp
jl 0x4a770a
xor edx, edx
mov dl, byte [esp + 0x30]
xor eax, eax
mov al, byte [esp + 0x2e]
add eax, dword [esp + 8]
call fcn.0042a5f0
mov byte [esp + 0x2e], al
push 2
lea eax, [esp + 0x30]
push eax
push 0x1fffffff
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x4fde18]
call fcn.00428438
call fcn.00423a44
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
mov eax, dword [0x4fc960]
mov eax, dword [eax]
call eax
mov eax, dword [0x4fcbb4]
cmp dword [eax], 0
je 0x4a76f6
push 0
mov dx, 3
xor eax, eax
call fcn.004077e8
push eax
mov eax, dword [0x4fc978]
mov eax, dword [eax]
push eax
mov eax, dword [0x4fcbb4]
mov eax, dword [eax]
call fcn.0044a0b8
push eax
call sub.user32.dll_SendMessageA
inc ebp
test edi, edi
jle 0x4a7702
push 8
call sub.kernel32.dll_Sleep
cmp edi, ebp
jge 0x4a766a
mov al, byte [esp + 0x30]
mov byte [esp + 0x2e], al
push 0
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0044a0b8
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 + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0044a0b8
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 [0x4fde18]
call fcn.00428438
call fcn.00423a44
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0044a0b8
push eax
mov eax, dword [0x4fc960]
mov eax, dword [eax]
call eax
push 0
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_ReleaseDC
mov byte [0x4fc698], 0
mov eax, dword [ebx + 0x1dc]
cmp byte [eax + 0x2e0], 0
je 0x4a77d2
mov dl, byte [esp + 0x30]
call fcn.00460dc8
push 0
push 1
push 0xb
mov eax, esi
call fcn.0044a0b8
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x1f8]
call fcn.004d7ca8
push eax
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0044a0b8
push eax
call sub.user32.dll_SetWindowRgn
push 0x585
push 0
push 0
mov eax, esi
call fcn.0044a0b8
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x4fc68c
call fcn.0040e478
push 4
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0044a0b8
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.0044a0b8
push eax
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0044a0b8
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
mov dword [0x4fc690], eax
mov eax, 0x4fde18
call fcn.0040e478
jmp 0x4a7b63
cmp dword [0x4fc68c], 0
jne 0x4a78a0
mov eax, esi
call fcn.004a7090
cmp dword [0x4fc68c], 0
je 0x4a7b63
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004e2b08
mov dword [0x4fde18], eax
mov eax, dword [0x4fde18]
call fcn.00428438
call fcn.00423594
mov eax, dword [0x4fde18]
call fcn.00428438
call fcn.00423a44
mov dword [0x4fc690], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [0x4fde18]
call fcn.004a6c70
cmp dword [0x4fde18], 0
je 0x4a7b63
xor eax, eax
mov dword [0x4fc690], eax
mov eax, dword [0x4fde18]
call fcn.00428438
call fcn.0042393c
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004e2b48
mov dword [esp], eax
movzx eax, di
shr eax, 3
mov edi, eax
cmp byte [esp + 0x14], 0
jne 0x4a796a
test ebx, ebx
je 0x4a796a
mov ebp, ebx
mov eax, ebp
call fcn.004c42d0
cmp dword [0x4fc68c], 0
je 0x4a7b63
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebp
call fcn.004c46b4
push eax
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_GetWindowDC
mov dword [esp + 4], eax
test edi, edi
jle 0x4a7a3c
mov eax, 0xff
cdq
idiv edi
mov dword [esp + 8], eax
mov ebx, 0xff
xor ebp, ebp
cmp edi, ebp
jl 0x4a7a3c
push 0
mov edx, ebx
xor eax, eax
call fcn.0042a66c
push eax
mov ecx, 0x4fde18
mov edx, 0x4fc694
lea eax, [esp + 8]
call fcn.004e2838
push 0xcc0020
push 0
push 0
mov eax, dword [esp + 0xc]
call fcn.00428438
call fcn.00423a44
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 [0x4fcbb4]
cmp dword [eax], 0
je 0x4a7a20
push 0
mov dx, 3
xor eax, eax
call fcn.004077e8
push eax
mov eax, dword [0x4fc978]
mov eax, dword [eax]
push eax
mov eax, dword [0x4fcbb4]
mov eax, dword [eax]
call fcn.0044a0b8
push eax
call sub.user32.dll_SendMessageA
inc ebp
sub ebx, dword [esp + 8]
cmp edi, ebp
jl 0x4a7a3c
test edi, edi
jle 0x4a7a34
push 8
call sub.kernel32.dll_Sleep
cmp edi, ebp
jge 0x4a79a1
push 0xcc0020
push 0
push 0
mov eax, dword [0x4fde18]
call fcn.00428438
call fcn.00423a44
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 [0x4fcbb4]
cmp dword [eax], 0
je 0x4a7a9d
push 0
mov dx, 3
xor eax, eax
call fcn.004077e8
push eax
mov eax, dword [0x4fc978]
mov eax, dword [eax]
push eax
mov eax, dword [0x4fcbb4]
mov eax, dword [eax]
call fcn.0044a0b8
push eax
call sub.user32.dll_SendMessageA
mov byte [0x4fc698], 0
push 0
push 1
push 0xb
mov eax, esi
call fcn.0044a0b8
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x4fca54]
cmp dword [eax], 6
jl 0x4a7ad7
push 0x585
push 0
push 0
mov eax, esi
call fcn.0044a0b8
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x459218]
call fcn.00403ae4
test al, al
je 0x4a7b03
push 0xffffffffffffffec
mov eax, esi
call fcn.0044a0b8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4a7b22
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [esp + 4]
push eax
mov eax, dword [0x4fc68c]
call fcn.0044a0b8
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x4fc68c
call fcn.0040e478
mov eax, esp
call fcn.0040e478
xor eax, eax
mov dword [0x4fc690], eax
mov eax, 0x4fc694
call fcn.0040e478
mov eax, 0x4fde18
call fcn.0040e478
add esp, 0x54
pop ebp
pop edi
pop esi
pop ebx
ret