Function at 0x490d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x50c0e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
mov byte [eax + 0x75c], 0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x750], edx
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x754], 0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x750]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x758], eax
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x750]
call fcn.00490270
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x70]
mov ecx, dword [edx + 0x750]
call fcn.00490230
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x84]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x88], 0
jle 0x490e3f
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], 0
jmp 0x490e6f
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x550
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x550]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x78], eax
jge 0x490ef7
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x550
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x550]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x100]
call eax
movzx ecx, al
test ecx, ecx
jne 0x490ec1
jmp 0x490e66
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax + 0x14c]
call edx
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0x74], eax
jmp 0x490e66
mov ecx, dword [ebp - 0x74]
add ecx, 4
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x84]
jge 0x490f16
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
jmp 0x490f22
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x8c]
mov dword [ebp - 8], edx
push 2
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00427670
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x4c], 0x28
lea edx, [ebp - 0x4c]
push edx
push 1
mov ecx, dword [ebp - 0x70]
call fcn.00422a20
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 - 0x6c]
call fcn.00421b00
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x60]
jle 0x491020
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x88], 0
jle 0x490fc9
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x88]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x84]
jge 0x490fdf
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
jmp 0x490feb
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x90]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
push 2
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00427670
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], edx
push 0x80
push SysReAllocString
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00427670
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00430970
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x49108d
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x80], eax
jmp 0x491070
push 5
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8378
mov esp, ebp
pop ebp
ret 4