Function at 0x4ae7f0
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 edi, edx
mov esi, eax
mov byte [0x4f16f0], 1
mov eax, esi
mov edx, dword [0x454e3c]
call fcn.00403bb8
test al, al
je 0x4ae842
push 0
mov dx, 4
xor eax, eax
call fcn.004077f8
push eax
mov eax, dword [0x4f18bc]
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.00445e64
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4ae844
xor ebx, ebx
test ebx, ebx
je 0x4ae860
cmp dword [ebx + 0x218], 0
je 0x4ae860
call fcn.004b0804
test al, al
je 0x4ae860
mov byte [ebp - 0x65], 1
jmp 0x4ae864
mov byte [ebp - 0x65], 0
call fcn.004b0804
test al, al
je 0x4aef64
mov eax, esi
mov edx, dword [0x454e3c]
call fcn.00403bb8
test al, al
je 0x4aef64
mov eax, ebx
call fcn.004d17bc
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.004babd4
mov dword [0x4f2ef8], eax
mov eax, dword [0x4f2ef8]
call fcn.00427c60
call fcn.00423358
mov eax, dword [0x4f2ef8]
call fcn.00427c60
call fcn.004237d0
mov dword [0x4f16e8], eax
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [0x4f2ef8]
call fcn.004ac3ec
cmp dword [0x4f2ef8], 0
je 0x4af248
cmp dword [ebx + 0x218], 0
jne 0x4ae932
mov eax, dword [0x4f2ef8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [0x4f2ef8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004175e4
lea edx, [ebp - 0x9c]
mov cl, 0xff
mov eax, dword [0x4f2ef8]
call fcn.0049f244
xor eax, eax
mov dword [0x4f16e8], eax
mov eax, dword [0x4f2ef8]
call fcn.00427c60
call fcn.004236c8
movzx eax, di
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x6c], 0x118
mov eax, dword [0x4f2ef8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [0x4f2ef8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x7c]
xor edx, edx
xor eax, eax
call fcn.004175bc
cmp dword [ebp - 0x10], 0
jle 0x4ae990
mov byte [ebp - 0x4a], 0
jmp 0x4ae996
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x4a], al
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x4b], 0
mov byte [ebp - 0x49], 1
cmp dword [ebx + 0x218], 0
je 0x4aeb0d
cmp byte [ebx + 0x1c8], 0
je 0x4ae9d3
lea edx, [ebp - 0x9c]
mov eax, ebx
call fcn.004d7140
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x60], eax
jmp 0x4aeacc
mov eax, dword [ebx + 0x1fc]
call fcn.00445e64
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4aea84
mov eax, dword [ebx + 0x54]
call fcn.004be3d8
mov eax, dword [eax + 0x88]
mov di, word [eax + 0x2e]
mov eax, dword [ebx + 0x54]
call fcn.004be3d8
mov eax, dword [eax + 0x88]
cmp di, word [eax + 0x2c]
je 0x4aea84
lea edx, [ebp - 0x9c]
mov eax, ebx
call fcn.004d7140
mov edi, dword [ebp - 0x98]
mov eax, dword [ebx + 0x218]
call fcn.004c60b8
add edi, eax
xor edx, edx
mov eax, ebx
call fcn.004c7980
sub edi, eax
mov eax, dword [ebx + 0x1fc]
call fcn.00445e64
xor ecx, ecx
mov edx, dword [ebx + 0x218]
call fcn.004c6050
sub edi, eax
mov eax, dword [ebx + 0x54]
call fcn.004be3d8
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2c]
add edi, eax
mov eax, dword [ebx + 0x54]
call fcn.004be3d8
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
sub edi, eax
mov dword [ebp - 0x60], edi
jmp 0x4aeacc
lea edx, [ebp - 0x9c]
mov eax, ebx
call fcn.004d7140
mov edi, dword [ebp - 0x98]
mov eax, dword [ebx + 0x218]
call fcn.004c60b8
add edi, eax
xor edx, edx
mov eax, ebx
call fcn.004c7980
sub edi, eax
mov eax, dword [ebx + 0x1fc]
call fcn.00445e64
xor ecx, ecx
mov edx, dword [ebx + 0x218]
call fcn.004c6050
sub edi, eax
mov dword [ebp - 0x60], edi
mov eax, dword [ebx + 0x1fc]
call fcn.00445e64
xor ecx, ecx
mov edx, dword [ebx + 0x218]
call fcn.004c6050
push eax
mov eax, dword [ebx + 0x218]
call fcn.004c60d8
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0x9c]
mov eax, ebx
call fcn.004d7140
add edi, dword [ebp - 0x9c]
mov dword [ebp - 0x64], edi
jmp 0x4aeb17
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x8c]
push eax
mov eax, esi
call fcn.00445e64
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x455140]
call fcn.00457bf0
mov edi, eax
mov dword [0x4f16e4], edi
mov dword [edi + 0xc], 0xffffff9e
xor edx, edx
mov eax, edi
call fcn.004593b4
mov eax, dword [ebx + 0x218]
test eax, eax
je 0x4aebd1
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [0x4f16e4]
call fcn.0043edec
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [0x4f16e4]
call fcn.0043ee10
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x74]
call fcn.0043ee38
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x70]
call fcn.0043ee5c
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x48]
mov eax, dword [0x4f16e4]
call fcn.0043ee38
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x4f16e4]
call fcn.0043ee5c
jmp 0x4aec05
mov edx, dword [esi + 0x40]
mov eax, dword [0x4f16e4]
call fcn.0043edec
mov edx, dword [esi + 0x44]
mov eax, dword [0x4f16e4]
call fcn.0043ee10
mov edx, dword [esi + 0x48]
mov eax, dword [0x4f16e4]
call fcn.0043ee38
mov edx, dword [esi + 0x4c]
mov eax, dword [0x4f16e4]
call fcn.0043ee5c
push 0xffffffffffffffec
mov eax, esi
call fcn.00445e64
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4aec2d
mov dl, 3
mov eax, dword [0x4f16e4]
call fcn.004596b0
or edi, 0xffffffff
jmp 0x4aec42
push 3
mov eax, dword [ebx + 0x1fc]
call fcn.00445e64
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x64]
push eax
push edi
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov edi, eax
push 0xffffffffffffffec
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [ebx + 0x218], 0
je 0x4aece7
push 0xffffffffffffffec
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
call fcn.00445e64
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x4c]
push eax
push 0x1fffffff
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [0x4f2ef8]
call fcn.00427c60
call fcn.004237d0
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push edi
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
mov eax, dword [0x4f18a4]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x74]
call fcn.004babd4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004175e4
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x50]
call fcn.00427c60
call fcn.004237d0
xor ecx, ecx
pop edx
call fcn.004b4274
cmp dword [ebp - 0x10], 0
jle 0x4aedfe
push ebp
call fcn.004ae48c
pop ecx
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x10]
jg 0x4aedf8
push ebp
call fcn.004ae5e4
pop ecx
push 2
lea eax, [ebp - 0x4c]
push eax
push 0x1fffffff
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x50]
call fcn.00427c60
call fcn.004237d0
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push edi
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
mov eax, dword [0x4f18a4]
mov eax, dword [eax]
call eax
push ebp
call fcn.004ae794
pop ecx
inc dword [ebp - 0x58]
cmp dword [ebp - 0x10], 0
jle 0x4aedf0
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x10]
jle 0x4aed9a
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x4a], al
cmp dword [ebx + 0x218], 0
je 0x4aee1d
push 0
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
call fcn.00445e64
push eax
call sub.user32.dll_ShowWindow
push edi
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x4f16f0], 0
mov eax, dword [ebx + 0x1fc]
cmp byte [eax + 0x2e0], 0
je 0x4aee43
mov dl, byte [ebp - 0xc]
call fcn.0045c828
push 0
push 1
push 0xb
mov eax, esi
call fcn.00445e64
push eax
call sub.user32.dll_SendMessageA
mov edi, dword [ebx + 0x218]
test edi, edi
je 0x4aee7c
push 0
mov eax, dword [ebx + 0x218]
call fcn.004db1b0
push eax
mov eax, dword [edi + 0x10]
call fcn.00445e64
push eax
call sub.user32.dll_SetWindowRgn
push 0x585
push 0
push 0
mov eax, esi
call fcn.00445e64
push eax
call sub.user32.dll_RedrawWindow
mov esi, dword [ebx + 0x218]
test esi, esi
je 0x4aef3c
mov eax, dword [ebp - 0x6c]
or eax, 4
push eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x64]
push eax
push 0
mov eax, dword [esi + 0x10]
call fcn.00445e64
push eax
call sub.user32.dll_SetWindowPos
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x4a], al
push 0
call sub.user32.dll_GetDC
mov edi, eax
push 2
lea eax, [ebp - 0x4c]
push eax
push 0x1fffffff
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x50]
call fcn.00427c60
call fcn.004237d0
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push edi
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
call fcn.00445e64
push eax
mov eax, dword [0x4f18a4]
mov eax, dword [eax]
call eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 4
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x10]
call fcn.00445e64
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x4f16e4
call fcn.0040e228
xor eax, eax
mov dword [0x4f16e8], eax
lea eax, [ebp - 0x50]
call fcn.0040e228
mov eax, 0x4f2ef8
call fcn.0040e228
jmp 0x4af248
cmp dword [0x4f16e4], 0
jne 0x4aef74
mov eax, esi
call fcn.004ac828
cmp dword [0x4f16e4], 0
je 0x4af248
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004bab94
mov dword [0x4f2ef8], eax
mov eax, dword [0x4f2ef8]
call fcn.00427c60
call fcn.00423358
mov eax, dword [0x4f2ef8]
call fcn.00427c60
call fcn.004237d0
mov dword [0x4f16e8], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [0x4f2ef8]
call fcn.004ac3ec
cmp dword [0x4f2ef8], 0
je 0x4af248
xor eax, eax
mov dword [0x4f16e8], eax
mov eax, dword [0x4f2ef8]
call fcn.00427c60
call fcn.004236c8
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004babd4
mov dword [ebp - 0x54], eax
movzx eax, di
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x65], 0
jne 0x4af044
test ebx, ebx
je 0x4af044
mov edi, ebx
mov eax, edi
call fcn.004c6a3c
cmp dword [0x4f16e4], 0
je 0x4af248
push 0
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004c6e2c
push eax
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_GetWindowDC
mov edi, eax
cmp dword [ebp - 0x10], 0
jle 0x4af122
mov eax, 0xff
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x5c], eax
mov ebx, 0xff
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x10]
jg 0x4af122
push 0
mov edx, ebx
xor eax, eax
call fcn.00429ee8
push eax
mov ecx, 0x4f2ef8
mov edx, 0x4f16ec
lea eax, [ebp - 0x54]
call fcn.004ba8c4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x54]
call fcn.00427c60
call fcn.004237d0
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
mov eax, dword [0x4f1af4]
cmp dword [eax], 0
je 0x4af0fb
push 0
mov dx, 3
xor eax, eax
call fcn.004077f8
push eax
mov eax, dword [0x4f18bc]
mov eax, dword [eax]
push eax
mov eax, dword [0x4f1af4]
mov eax, dword [eax]
call fcn.00445e64
push eax
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x58]
sub ebx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x10]
jg 0x4af122
cmp dword [ebp - 0x10], 0
jle 0x4af116
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x10]
jle 0x4af082
push 0xcc0020
push 0
push 0
mov eax, dword [0x4f2ef8]
call fcn.00427c60
call fcn.004237d0
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
mov eax, dword [0x4f1af4]
cmp dword [eax], 0
je 0x4af17f
push 0
mov dx, 3
xor eax, eax
call fcn.004077f8
push eax
mov eax, dword [0x4f18bc]
mov eax, dword [eax]
push eax
mov eax, dword [0x4f1af4]
mov eax, dword [eax]
call fcn.00445e64
push eax
call sub.user32.dll_SendMessageA
mov byte [0x4f16f0], 0
cmp byte [esi + 0x57], 0
je 0x4af20a
push 0
push 1
push 0xb
mov eax, esi
call fcn.00445e64
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x4f1990]
cmp dword [eax], 6
jl 0x4af1bf
push 0x585
push 0
push 0
mov eax, esi
call fcn.00445e64
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x454e3c]
call fcn.00403bb8
test al, al
je 0x4af1eb
push 0xffffffffffffffec
mov eax, esi
call fcn.00445e64
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4af20a
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_SetWindowPos
push edi
mov eax, dword [0x4f16e4]
call fcn.00445e64
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x4f16e4
call fcn.0040e228
lea eax, [ebp - 0x54]
call fcn.0040e228
xor eax, eax
mov dword [0x4f16e8], eax
mov eax, 0x4f16ec
call fcn.0040e228
mov eax, 0x4f2ef8
call fcn.0040e228
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4