Function at 0x4ea0c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov edi, edx
mov esi, eax
mov byte [0x637d4c], 1
mov eax, esi
mov edx, dword [0x469024]
call fcn.00404838
test al, al
je 0x4ea10b
push 0
push 0x40000
mov eax, dword [0x639b58]
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4ea10d
xor ebx, ebx
test ebx, ebx
je 0x4ea12a
cmp dword [ebx + 0x1f8], 0
je 0x4ea12a
call fcn.005334b4
test al, al
je 0x4ea12a
mov byte [esp + 0x14], 1
jmp 0x4ea12f
mov byte [esp + 0x14], 0
cmp byte [esp + 0x14], 0
je 0x4ea7c2
mov eax, esi
mov edx, dword [0x469024]
call fcn.00404838
test al, al
je 0x4ea7c2
mov eax, dword [ebx + 0x1dc]
cmp byte [eax + 0x328], 0
je 0x4ea172
movzx edx, byte [eax + 0x329]
mov byte [esp + 0x30], dl
mov dl, 1
call fcn.0047284c
jmp 0x4ea177
mov byte [esp + 0x30], 0xff
mov eax, ebx
call fcn.004ff720
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.0053cbb8
mov dword [0x641e60], eax
mov eax, dword [0x641e60]
call fcn.00434af4
call fcn.0042f9ac
mov eax, dword [0x641e60]
call fcn.00434af4
call fcn.0042fee8
mov dword [0x637d44], eax
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [0x641e60]
call fcn.004e9b80
cmp dword [0x641e60], 0
je 0x4eaa92
xor eax, eax
mov dword [0x637d44], eax
mov eax, dword [0x641e60]
call fcn.00434af4
call fcn.0042fdb4
movzx eax, di
shr eax, 3
mov edi, eax
mov dword [esp + 0x18], 0x118
mov eax, dword [0x641e60]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x641e60]
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.0041b7b4
test edi, edi
jle 0x4ea23b
mov byte [esp + 0x2e], 0
jmp 0x4ea244
movzx eax, 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 0x4ea274
lea edx, [esp + 0x4c]
mov eax, ebx
call fcn.00505430
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
jmp 0x4ea367
mov eax, dword [ebx + 0x1dc]
call fcn.0045e79c
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4ea322
mov eax, dword [ebx + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x88]
movzx ebp, word [eax + 0x2e]
mov eax, dword [ebx + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x88]
cmp bp, word [eax + 0x2c]
je 0x4ea322
lea edx, [esp + 0x4c]
mov eax, ebx
call fcn.00505430
mov ebp, dword [esp + 0x50]
mov eax, dword [ebx + 0x1f8]
call fcn.004f4bf4
add ebp, eax
xor edx, edx
mov eax, ebx
call fcn.004f64c4
sub ebp, eax
mov eax, dword [ebx + 0x1dc]
call fcn.0045e79c
xor ecx, ecx
mov edx, dword [ebx + 0x1f8]
call fcn.004f4b8c
sub ebp, eax
mov eax, dword [ebx + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2c]
add ebp, eax
mov eax, dword [ebx + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
sub ebp, eax
mov dword [esp + 0xc], ebp
jmp 0x4ea367
lea edx, [esp + 0x4c]
mov eax, ebx
call fcn.00505430
mov ebp, dword [esp + 0x50]
mov eax, dword [ebx + 0x1f8]
call fcn.004f4bf4
add ebp, eax
xor edx, edx
mov eax, ebx
call fcn.004f64c4
sub ebp, eax
mov eax, dword [ebx + 0x1dc]
call fcn.0045e79c
xor ecx, ecx
mov edx, dword [ebx + 0x1f8]
call fcn.004f4b8c
sub ebp, eax
mov dword [esp + 0xc], ebp
mov eax, dword [ebx + 0x1dc]
call fcn.0045e79c
xor ecx, ecx
mov edx, dword [ebx + 0x1f8]
call fcn.004f4b8c
push eax
mov eax, dword [ebx + 0x1f8]
call fcn.004f4c14
mov ebp, eax
pop eax
sub ebp, eax
lea edx, [esp + 0x4c]
mov eax, ebx
call fcn.00505430
add ebp, dword [esp + 0x4c]
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x3c]
push eax
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4693a0]
call fcn.0046c388
mov ebp, eax
mov dword [0x637d40], ebp
mov dword [ebp + 0xc], 0xffffff9e
xor edx, edx
mov eax, ebp
call fcn.0046e3c4
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046d110
mov edx, eax
mov eax, dword [0x637d40]
call fcn.00455d34
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0046d130
mov edx, eax
mov eax, dword [0x637d40]
call fcn.00455d68
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x48]
mov eax, dword [0x637d40]
call fcn.00455d9c
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x637d40]
call fcn.00455dd0
push 0xffffffffffffffec
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4ea463
mov dl, 3
mov eax, dword [0x637d40]
call fcn.0046e7e4
or ebp, 0xffffffff
jmp 0x4ea478
push 3
mov eax, dword [ebx + 0x1dc]
call fcn.0045e79c
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 + 0x4c]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x20]
push eax
push ebp
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [esp + 4], eax
push 0xffffffffffffffec
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowLongA
push 0xffffffffffffffec
mov eax, dword [0x637d40]
call fcn.0045e79c
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.0045e79c
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 [0x641e60]
call fcn.00434af4
call fcn.0042fee8
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
mov eax, dword [0x639788]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
call sub.user32.dll_ShowWindow
test edi, edi
jle 0x4ea643
movzx eax, byte [esp + 0x30]
cdq
idiv edi
mov dword [esp + 8], eax
xor ebp, ebp
cmp edi, ebp
jl 0x4ea63a
movzx eax, byte [esp + 0x30]
movzx edx, byte [esp + 0x2e]
add edx, dword [esp + 8]
cmp eax, edx
jle 0x4ea5a9
movzx eax, byte [esp + 0x2e]
add eax, dword [esp + 8]
mov dword [esp + 0x34], eax
jmp 0x4ea5b2
movzx eax, byte [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2e], al
push 2
lea eax, [esp + 0x30]
push eax
push 0x1fffffff
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x641e60]
call fcn.00434af4
call fcn.0042fee8
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
mov eax, dword [0x639788]
mov eax, dword [eax]
call eax
mov eax, dword [0x639bd0]
cmp dword [eax], 0
je 0x4ea626
push 0
push 0x30000
mov eax, dword [0x639b58]
mov eax, dword [eax]
push eax
mov eax, dword [0x639bd0]
mov eax, dword [eax]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
inc ebp
test edi, edi
jle 0x4ea632
push 8
call sub.kernel32.dll_Sleep_1
cmp edi, ebp
jge 0x4ea588
movzx eax, byte [esp + 0x30]
mov byte [esp + 0x2e], al
push 0
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0045e79c
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 + 0x4c]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x20]
push eax
push 0
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0045e79c
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 [0x641e60]
call fcn.00434af4
call fcn.0042fee8
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.0045e79c
push eax
mov eax, dword [0x639788]
mov eax, dword [eax]
call eax
push 0
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_ReleaseDC
mov byte [0x637d4c], 0
mov eax, dword [ebx + 0x1dc]
cmp byte [eax + 0x328], 0
je 0x4ea704
movzx edx, byte [esp + 0x30]
call fcn.0047284c
push 0
push 1
push 0xb
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x1f8]
call fcn.0050917c
push eax
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowRgn
push 0x585
push 0
push 0
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x637d40
call fcn.00410e78
push 4
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0045e79c
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 + 0x4c]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x20]
push eax
mov eax, esi
call fcn.0045e79c
push eax
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x10]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
mov dword [0x637d44], eax
mov eax, 0x641e60
call fcn.00410e78
jmp 0x4eaa92
cmp dword [0x637d40], 0
jne 0x4ea7d2
mov eax, esi
call fcn.004e9fac
cmp dword [0x637d40], 0
je 0x4eaa92
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.0053cb78
mov dword [0x641e60], eax
mov eax, dword [0x641e60]
call fcn.00434af4
call fcn.0042f9ac
mov eax, dword [0x641e60]
call fcn.00434af4
call fcn.0042fee8
mov dword [0x637d44], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [0x641e60]
call fcn.004e9b80
cmp dword [0x641e60], 0
je 0x4eaa92
xor eax, eax
mov dword [0x637d44], eax
mov eax, dword [0x641e60]
call fcn.00434af4
call fcn.0042fdb4
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.0053cbb8
mov dword [esp], eax
movzx eax, di
shr eax, 3
mov edi, eax
cmp byte [esp + 0x14], 0
jne 0x4ea89c
test ebx, ebx
je 0x4ea89c
mov ebp, ebx
mov eax, ebp
call fcn.004f55a4
cmp dword [0x637d40], 0
je 0x4eaa92
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebp
call fcn.004f5988
push eax
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowDC
mov dword [esp + 4], eax
test edi, edi
jle 0x4ea972
mov eax, 0xff
cdq
idiv edi
mov dword [esp + 8], eax
mov ebx, 0xff
xor ebp, ebp
cmp edi, ebp
jl 0x4ea972
test ebx, ebx
jge 0x4ea8df
xor eax, eax
mov dword [esp + 0x38], eax
jmp 0x4ea8e3
mov dword [esp + 0x38], ebx
push 0
mov eax, dword [esp + 0x3c]
push eax
mov ecx, 0x641e60
mov edx, 0x637d48
lea eax, [esp + 8]
call fcn.0053c8a8
push 0xcc0020
push 0
push 0
mov eax, dword [esp + 0xc]
call fcn.00434af4
call fcn.0042fee8
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 [0x639bd0]
cmp dword [eax], 0
je 0x4ea956
push 0
push 0x30000
mov eax, dword [0x639b58]
mov eax, dword [eax]
push eax
mov eax, dword [0x639bd0]
mov eax, dword [eax]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
inc ebp
sub ebx, dword [esp + 8]
cmp edi, ebp
jl 0x4ea972
test edi, edi
jle 0x4ea96a
push 8
call sub.kernel32.dll_Sleep_1
cmp edi, ebp
jge 0x4ea8d3
push 0xcc0020
push 0
push 0
mov eax, dword [0x641e60]
call fcn.00434af4
call fcn.0042fee8
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 [0x639bd0]
cmp dword [eax], 0
je 0x4ea9cc
push 0
push 0x30000
mov eax, dword [0x639b58]
mov eax, dword [eax]
push eax
mov eax, dword [0x639bd0]
mov eax, dword [eax]
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
mov byte [0x637d4c], 0
push 0
push 1
push 0xb
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x63995c]
cmp dword [eax], 6
jl 0x4eaa06
push 0x585
push 0
push 0
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x469024]
call fcn.00404838
test al, al
je 0x4eaa32
push 0xffffffffffffffec
mov eax, esi
call fcn.0045e79c
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4eaa51
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [esp + 4]
push eax
mov eax, dword [0x637d40]
call fcn.0045e79c
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x637d40
call fcn.00410e78
mov eax, esp
call fcn.00410e78
xor eax, eax
mov dword [0x637d44], eax
mov eax, 0x637d48
call fcn.00410e78
mov eax, 0x641e60
call fcn.00410e78
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret