Function at 0x491e39
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
and dword [ebx + 0x450], 0
mov byte [ebx + 0x458], 0
lea ecx, [esi + 0x610]
mov dword [ebx + 0x44c], esi
mov eax, dword [ecx]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x54], esi
call dword [eax + 8]
mov ecx, dword [ebx + 0x44c]
mov dword [ebx + 0x454], eax
lea eax, [ebp - 0x60]
push eax
call fcn.004918fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
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 0x491ec8
lea edi, [edx + eax]
mov dword [ebp - 0xc], edi
jmp 0x491ecb
mov edi, dword [ebp - 0xc]
and dword [ebp - 0x50], 0
sub ecx, esi
mov esi, dword [ebp - 0x54]
sub edi, edx
add esi, 0x4c8
mov dword [ebp - 0x58], ecx
mov ecx, esi
xor ebx, ebx
mov eax, dword [esi]
call dword [eax + 0xc]
test eax, eax
jle 0x491f2c
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x64], eax
mov edx, dword [eax]
call dword [edx + 0xf4]
test al, al
je 0x491f20
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x80]
push dword [ebp - 0x58]
push edi
mov edx, dword [ecx]
push eax
call dword [edx + 0x140]
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x50], eax
mov eax, dword [esi]
mov ecx, esi
inc ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x491eec
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
add eax, 4
mov esi, dword [ebp - 0x54]
cmp eax, ecx
push 2
cmovl ecx, eax
mov eax, dword [ebp - 0x10]
add eax, ecx
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 0x44]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.0045b92b
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [ebp - 0x68]
lea edi, [ebp - 0x4c]
push 0xa
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x28
push eax
push 1
mov ecx, ebx
call fcn.0048e100
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.00459275
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jle 0x491fdf
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 0x491fba
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov eax, ecx
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push 2
push eax
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x44]
push 0
call fcn.0045b92b
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x54]
lea esi, [ebp - 0x14]
push 0
sub esp, 0x10
mov edi, esp
mov ecx, dword [ecx + 0x44]
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 fcn.0045b92b
push eax
mov ecx, ebx
call fcn.004671cb
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x49201c
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x492017
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.004ac267
mov esp, ebp
pop ebp
ret 4