Function at 0x4a3fda
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, ecx
push edi
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
test eax, 0x8000000
je 0x4a400a
and dword [ebx + 0x88], 0
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
test al, 2
je 0x4a401c
mov dword [ebx + 0x64], 1
xor esi, esi
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
mov edi, esi
mov dword [ebp - 0x2c], esi
push eax
mov ecx, ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
movups xmmword [ebp - 0x24], xmm0
call fcn.004a0c19
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push esi
call fcn.0044b2f1
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebx + 0x68], 1
pop ecx
pop ecx
cmp eax, 0x16
je 0x4a407e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebx + 0xa4], eax
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4a40d6
mov dword [ecx + 0x68], eax
mov edx, dword [ebx + 0x30]
mov edi, dword [ebx + 0x80]
mov esi, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ebx + 0x74]
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], ecx
mov dword [edx + 0x80], esi
mov dword [edx + 0x54], edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0xffffff
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebx + 0x30]
push eax
push dword [ebx + 4]
call fcn.0049a446
mov eax, dword [ebx + 0xa4]
xor esi, esi
mov edi, dword [ebp - 0x34]
push 3
xor edx, edx
pop ecx
div ecx
mov ecx, eax
shl ecx, 2
cmp dword [ebx + 0x64], esi
je 0x4a4164
push esi
push ecx
mov eax, esp
push 0
push 0x500000c0
push 0
mov dword [eax], 0x3ff
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
sub edx, ecx
mov ecx, dword [ebp - 0x20]
add eax, 3
mov esi, dword [ebp - 0x18]
add ecx, 3
push ecx
mov dword [ebp - 0x14], eax
add esi, 0xfffffffe
mov eax, esp
mov dword [ebp - 0x10], ecx
dec edx
mov dword [ebp - 8], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov dword [eax], ecx
lea ecx, [ebx + 0x34]
push dword [ebx + 4]
call fcn.004998d1
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 5
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [ebx + 0xa0]
push 0x30
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x6c]
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4a4179
sub edi, eax
and edi, 0xfffffffc
push edi
push eax
call fcn.004054f0
pop ecx
pop ecx
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x4a41a7
mov esi, edi
jmp 0x4a4191
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.004023e0
add esi, 4
cmp esi, dword [ebp - 0x2c]
jne 0x4a4184
mov ecx, dword [ebp - 0x28]
sub ecx, edi
and ecx, 0xfffffffc
push ecx
push edi
call fcn.004054f0
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.004b3004
leave
ret 0x10