Function at 0x4fefc6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
and dword [esi + 0x2c4], 0
lea ecx, [ebx + 0x368]
mov byte [esi + 0x2cc], 1
mov dword [esi + 0x2c0], ebx
mov eax, dword [ecx]
push edi
mov dword [ebp - 0x68], esi
call dword [eax + 4]
mov dword [esi + 0x2c8], eax
mov eax, dword [ebx + 0x37c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x380]
lea ecx, [ebx + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx]
mov dword [ebp - 0x5c], ecx
call dword [eax + 0xc4]
mov esi, eax
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x6c]
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
test ecx, ecx
jle 0x4ff05b
add ecx, esi
mov dword [ebp - 0xc], ecx
jmp 0x4ff05e
mov ecx, dword [ebp - 0xc]
sub ecx, esi
sub eax, edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea edi, [eax - 1]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa8]
and dword [ebp - 0x50], 0
mov esi, eax
mov eax, dword [ebx]
imul esi, edi
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
jle 0x4ff0d1
push dword [ebp - 0x50]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov edi, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x17c]
test al, al
je 0x4ff0c2
mov eax, dword [edi]
push 1
push dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
push dword [ebp - 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x1e8]
add esi, dword [ebp - 0x7c]
mov eax, dword [ebx]
inc dword [ebp - 0x50]
mov ecx, ebx
call dword [eax + 0xc]
cmp dword [ebp - 0x50], eax
jl 0x4ff090
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
jle 0x4ff0df
add esi, 4
mov eax, dword [ebp - 0x54]
cmp esi, eax
jge 0x4ff0e8
mov eax, esi
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, eax
call fcn.004db295
push 2
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [ebp - 0x68]
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
push 1
mov ecx, ebx
mov dword [ebp - 0x4c], 0x28
call fcn.004cdea4
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.004cd556
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jle 0x4ff197
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x4ff16a
add eax, ecx
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 0x54]
jl 0x4ff172
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x74]
mov ecx, eax
push 2
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x50]
sub ecx, esi
mov dword [ebp - 0x10], ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov byte [ebx + 0x2cc], 0
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
mov ecx, eax
call fcn.004dbb4c
push 0
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x80
push SysReAllocString
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp - 0x50]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.004cea7f
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 0
push 1
push 0x86
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00512610
leave
ret 4