Function at 0x4c187f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x58e700]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x68], ebx
push edi
lea ecx, [ebx + 0x698]
mov dword [ebp - 0x58], esi
and dword [esi + 0x754], 0
mov byte [esi + 0x75c], 0
mov dword [esi + 0x750], ebx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi + 0x758], eax
lea eax, [ebp - 0x60]
mov esi, dword [esi + 0x750]
mov ecx, esi
push eax
call fcn.004c12d5
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.004c12bb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x58]
mov esi, eax
mov ecx, dword [ebp - 0x5c]
lea edi, [ebp - 0x78]
mov eax, dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
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 - 0x6c]
add ecx, esi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
test eax, eax
jle 0x4c191e
lea edi, [edx + eax]
mov dword [ebp - 0xc], edi
jmp 0x4c1921
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x84]
sub ecx, esi
and dword [ebp - 0x50], 0
lea esi, [ebx + 0x550]
mov dword [ebp - 0x54], eax
sub edi, edx
mov eax, dword [esi]
mov dword [ebp - 0x64], ecx
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jle 0x4c198c
mov ebx, dword [ebp - 0x50]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x50], eax
mov edx, dword [eax]
call dword [edx + 0x100]
test al, al
je 0x4c197d
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x80]
push dword [ebp - 0x64]
push edi
mov edx, dword [ecx]
push eax
call dword [edx + 0x14c]
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
mov ecx, esi
inc ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x4c1949
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x54]
mov ecx, ebx
mov esi, dword [ebp - 0x5c]
add eax, 4
cmp eax, esi
push 2
cmovl esi, eax
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0049a266
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x4c]
push eax
push 1
mov dword [ebp - 0x4c], 0x28
call fcn.004bd728
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.00496615
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jle 0x4c1a42
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4c1a18
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov eax, ecx
sub eax, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
mov ecx, ebx
push 2
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0049a266
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx]
lea esi, [ebp - 0x14]
push 0
sub esp, 0x10
mov ecx, ebx
mov edi, esp
push 0x80
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0049a266
mov ebx, dword [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0049f68a
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4c1a85
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4c1a80
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005026a3
mov esp, ebp
pop ebp
ret 4