Function at 0x50ef2a
Capabilities:
Hide graphical window

Disassembly:
push 0x54
mov eax, 0x6ed438
call fcn.00682c92
mov edi, ecx
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x608]
mov esi, 0xb0
sub eax, dword [edi + 0x604]
xor ebx, ebx
cdq
idiv esi
mov dword [ebp - 0x60], ebx
test eax, eax
je 0x50f095
and dword [ebp - 0x5c], ebx
mov eax, dword [edi + 0x608]
sub eax, dword [edi + 0x604]
cdq
idiv esi
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov esi, eax
push ecx
mov ecx, edi
call fcn.00512cb8
imul ecx, esi, 0xf
mov esi, dword [ebp - 0x5c]
sub eax, ecx
shr eax, 1
add eax, esi
mov dword [ebp - 0x20], eax
add eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x260]
cmp eax, 2
jne 0x50efbf
mov dword [ebp - 0x1c], 0x160
mov dword [ebp - 0x14], 0x16f
jmp 0x50efd2
cmp eax, 3
jne 0x50efd2
mov dword [ebp - 0x1c], 0x179
mov dword [ebp - 0x14], 0x188
mov ecx, dword [edi + 0x604]
lea eax, [ecx + 0x18]
add ecx, 8
add eax, ebx
add ecx, ebx
push eax
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call fcn.004783cd
mov eax, dword [edi + 0x608]
sub eax, dword [edi + 0x604]
pop ecx
pop ecx
cdq
mov ecx, 0xb0
idiv ecx
cmp eax, 1
jbe 0x50f068
mov eax, dword [ebp - 0x60]
push 0
push 0
add eax, 0x21fc
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esp
push 0x76cfa0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov eax, dword [edi + 0x604]
mov ecx, edi
push 0
push 0
push dword [edi + 0x310]
add eax, 0x1c
add eax, ebx
push eax
call fcn.00512cd4
mov ecx, dword [edi + 0x604]
add ecx, 0x1c
push 0
add ecx, ebx
call fcn.004798ac
mov eax, dword [edi + 0x604]
push 8
push dword [ebx + eax + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x608]
add esi, 0xf
sub eax, dword [edi + 0x604]
mov dword [ebp - 0x5c], esi
mov esi, 0xb0
cdq
add ebx, esi
idiv esi
mov ecx, dword [ebp - 0x60]
inc ecx
mov dword [ebp - 0x60], ecx
cmp ecx, eax
jb 0x50ef70
xor ebx, ebx
cmp dword [edi + 0x260], 3
jne 0x50f12b
movaps xmm0, xmmword [0x70e5f0]
lea eax, [ebp - 0x40]
push 1
push 1
push 0x3f3
push eax
push ecx
mov ecx, esp
push 0x76cfa0
movups xmmword [ebp - 0x40], xmm0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push dword [edi + 0x31c]
lea esi, [edi + 0x3d8]
mov ecx, edi
push dword [edi + 0x320]
push dword [edi + 0x318]
push esi
call fcn.00512cd4
push ebx
mov ecx, esi
call fcn.004798cc
push 0xffebf5e4
push ebx
lea eax, [ebp - 0x58]
push 0x12
push eax
call fcn.004772f3
pop ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x50f10c
mov eax, dword [eax]
push ecx
mov ecx, esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov ecx, esi
call fcn.00479a37
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.0042292c
mov eax, dword [edi + 0x608]
mov ecx, 0xb0
sub eax, dword [edi + 0x604]
cdq
idiv ecx
cmp eax, 1
jbe 0x50f158
push ebx
push 0xbb8
push 0x804
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 1
push ebx
mov ecx, edi
call fcn.0050f586
call fcn.00682c3c
ret